Skip to content

Commit 5008e1f

Browse files
committed
chore: release v0.2.10
1 parent 1bd41bc commit 5008e1f

7 files changed

Lines changed: 325 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,77 @@
1+
[Compare changes](https://github.com/cwcss/crosswind/compare/v0.2.9...v0.2.10)
2+
3+
## 🚀 Features
4+
5+
- reload the config file during watch mode ([807b74d](https://github.com/cwcss/crosswind/commit/807b74d)) _(by Chris <chrisbreuer93@gmail.com>)_
6+
- adopt the Tailwind v4 radius and shadow scales ([deac57c](https://github.com/cwcss/crosswind/commit/deac57c)) _(by Chris <chrisbreuer93@gmail.com>)_
7+
- nest stacked at-rule variants and add darkMode media strategy ([53e0fda](https://github.com/cwcss/crosswind/commit/53e0fda)) _(by Chris <chrisbreuer93@gmail.com>)_
8+
- support max-* breakpoint variants and order media types first ([362c833](https://github.com/cwcss/crosswind/commit/362c833)) _(by Chris <chrisbreuer93@gmail.com>)_
9+
- extract classes from clsx/array/class:list/:class expressions ([2d45ae5](https://github.com/cwcss/crosswind/commit/2d45ae5)) _(by Chris <chrisbreuer93@gmail.com>)_
10+
11+
## 🐛 Bug Fixes
12+
13+
- use Tailwind v4's adaptive placeholder color in preflight ([67b8176](https://github.com/cwcss/crosswind/commit/67b8176)) _(by Chris <chrisbreuer93@gmail.com>)_
14+
- resolve iconify collections from Bun's isolated-install store ([1a0d618](https://github.com/cwcss/crosswind/commit/1a0d618)) _(by Chris <chrisbreuer93@gmail.com>)_
15+
- compose touch pan/pinch utilities through variables ([c229564](https://github.com/cwcss/crosswind/commit/c229564)) _(by Chris <chrisbreuer93@gmail.com>)_
16+
- emit only custom colors as :root CSS variables ([3160b0a](https://github.com/cwcss/crosswind/commit/3160b0a)) _(by Chris <chrisbreuer93@gmail.com>)_
17+
- canonical colon-syntax negatives and valid bracket color families ([597e2b3](https://github.com/cwcss/crosswind/commit/597e2b3)) _(by Chris <chrisbreuer93@gmail.com>)_
18+
- correct utility cascade ranking for important, rounded corners, and gaps ([0427381](https://github.com/cwcss/crosswind/commit/0427381)) _(by Chris <chrisbreuer93@gmail.com>)_
19+
- stop fast-path lookup tables shadowing theme overrides ([a6065ab](https://github.com/cwcss/crosswind/commit/a6065ab)) _(by Chris <chrisbreuer93@gmail.com>)_
20+
- compose ring utilities through the variable system with fallbacks ([faa09db](https://github.com/cwcss/crosswind/commit/faa09db)) _(by Chris <chrisbreuer93@gmail.com>)_
21+
- give transition utilities Tailwind's default duration and easing ([14e0799](https://github.com/cwcss/crosswind/commit/14e0799)) _(by Chris <chrisbreuer93@gmail.com>)_
22+
- make form-* utilities generate CSS at all ([a03b48d](https://github.com/cwcss/crosswind/commit/a03b48d)) _(by Chris <chrisbreuer93@gmail.com>)_
23+
- reject negative padding utilities ([aee4139](https://github.com/cwcss/crosswind/commit/aee4139)) _(by Chris <chrisbreuer93@gmail.com>)_
24+
- clear compiled-class state in generator reset ([0c19f0c](https://github.com/cwcss/crosswind/commit/0c19f0c)) _(by Chris <chrisbreuer93@gmail.com>)_
25+
- honor config watch/verbose fields and warn on zero-match content patterns ([2dc0a15](https://github.com/cwcss/crosswind/commit/2dc0a15)) _(by Chris <chrisbreuer93@gmail.com>)_
26+
- apply preset rules, shortcuts, variants, and preflights ([36302ad](https://github.com/cwcss/crosswind/commit/36302ad)) _(by Chris <chrisbreuer93@gmail.com>)_
27+
- make analyze stats honest and dedupe overlapping scan patterns ([b600be6](https://github.com/cwcss/crosswind/commit/b600be6)) _(by Chris <chrisbreuer93@gmail.com>)_
28+
- ignore non-string safelist entries instead of crashing the build ([182fa84](https://github.com/cwcss/crosswind/commit/182fa84)) _(by Chris <chrisbreuer93@gmail.com>)_
29+
- emit real CSS for compile-class groups under the hashed selector ([154b7c7](https://github.com/cwcss/crosswind/commit/154b7c7)) _(by Chris <chrisbreuer93@gmail.com>)_
30+
- deep-merge plugin theme overrides, honor extract options, inject into fragments ([f1925b5](https://github.com/cwcss/crosswind/commit/f1925b5)) _(by Chris <chrisbreuer93@gmail.com>)_
31+
- stop watch mode crashing on non-** content patterns and debounce rebuilds ([05b9f7d](https://github.com/cwcss/crosswind/commit/05b9f7d)) _(by Chris <chrisbreuer93@gmail.com>)_
32+
- make --no-preflight work and scan .stx in the init template ([202a5d2](https://github.com/cwcss/crosswind/commit/202a5d2)) _(by Chris <chrisbreuer93@gmail.com>)_
33+
- validate decoration, SVG dash, and text-emphasis values; accept hwb() and short-hex alpha ([4b9ba1b](https://github.com/cwcss/crosswind/commit/4b9ba1b)) _(by Chris <chrisbreuer93@gmail.com>)_
34+
- validate border-radius side/corner values and support bare side forms ([a6f2529](https://github.com/cwcss/crosswind/commit/a6f2529)) _(by Chris <chrisbreuer93@gmail.com>)_
35+
- validate outline, mask, and text-shadow values ([3a3d788](https://github.com/cwcss/crosswind/commit/3a3d788)) _(by Chris <chrisbreuer93@gmail.com>)_
36+
- drop rules with unknown variants and support arbitrary variants ([7d54f25](https://github.com/cwcss/crosswind/commit/7d54f25)) _(by Chris <chrisbreuer93@gmail.com>)_
37+
- emit media query blocks in mobile-first breakpoint order ([900bf90](https://github.com/cwcss/crosswind/commit/900bf90)) _(by Chris <chrisbreuer93@gmail.com>)_
38+
- generate static-map utilities under variants ([fdb6304](https://github.com/cwcss/crosswind/commit/fdb6304)) _(by Chris <chrisbreuer93@gmail.com>)_
39+
- validate scroll margin/padding, column-gap, and perspective values ([16fdc32](https://github.com/cwcss/crosswind/commit/16fdc32)) _(by Chris <chrisbreuer93@gmail.com>)_
40+
- expand short hex with alpha correctly in opacity modifiers ([b54a337](https://github.com/cwcss/crosswind/commit/b54a337)) _(by Chris <chrisbreuer93@gmail.com>)_
41+
- reject unknown words in gradient color stops ([323b9f1](https://github.com/cwcss/crosswind/commit/323b9f1)) _(by Chris <chrisbreuer93@gmail.com>)_
42+
- validate divide, space-between, and ring/border opacity values ([268d6d0](https://github.com/cwcss/crosswind/commit/268d6d0)) _(by Chris <chrisbreuer93@gmail.com>)_
43+
- escape all non-identifier characters in class selectors ([45d9cd8](https://github.com/cwcss/crosswind/commit/45d9cd8)) _(by Chris <chrisbreuer93@gmail.com>)_
44+
- stop the important modifier mutating shared rule property objects ([2b3a5ab](https://github.com/cwcss/crosswind/commit/2b3a5ab)) _(by Chris <chrisbreuer93@gmail.com>)_
45+
- validate filter, ring, columns, aspect, align-self, and border-spacing values ([d53348d](https://github.com/cwcss/crosswind/commit/d53348d)) _(by Chris <chrisbreuer93@gmail.com>)_
46+
- validate spacing-derived utility values ([c5fd362](https://github.com/cwcss/crosswind/commit/c5fd362)) _(by Chris <chrisbreuer93@gmail.com>)_
47+
- validate width, height, size, and min/max sizing values ([5670e7a](https://github.com/cwcss/crosswind/commit/5670e7a)) _(by Chris <chrisbreuer93@gmail.com>)_
48+
- validate typography values and stop quoting bare words as content ([b2ef16c](https://github.com/cwcss/crosswind/commit/b2ef16c)) _(by Chris <chrisbreuer93@gmail.com>)_
49+
- validate transform scale, rotate, skew, and translate values ([dfa7487](https://github.com/cwcss/crosswind/commit/dfa7487)) _(by Chris <chrisbreuer93@gmail.com>)_
50+
- validate transition and animation time values ([fbd1e87](https://github.com/cwcss/crosswind/commit/fbd1e87)) _(by Chris <chrisbreuer93@gmail.com>)_
51+
- validate z-index, order, and opacity values instead of passing words through ([52a5c42](https://github.com/cwcss/crosswind/commit/52a5c42)) _(by Chris <chrisbreuer93@gmail.com>)_
52+
53+
## ⚡ Performance Improvements
54+
55+
- actually minify preflight and keyframes in minified output ([f27abc5](https://github.com/cwcss/crosswind/commit/f27abc5)) _(by Chris <chrisbreuer93@gmail.com>)_
56+
57+
## 📚 Documentation
58+
59+
- declare Tailwind v4 semantics as the compass ([c40c586](https://github.com/cwcss/crosswind/commit/c40c586)) _(by Chris <chrisbreuer93@gmail.com>)_
60+
- align README init snippet with the actual scaffold ([8123862](https://github.com/cwcss/crosswind/commit/8123862)) _(by Chris <chrisbreuer93@gmail.com>)_
61+
62+
## 💅 Styles
63+
64+
- build the color fast-path overlay from a diff map ([c9bc43b](https://github.com/cwcss/crosswind/commit/c9bc43b)) _(by Chris <chrisbreuer93@gmail.com>)_
65+
66+
## 🧹 Chores
67+
68+
- release v0.2.10 ([8cbe056](https://github.com/cwcss/crosswind/commit/8cbe056)) _(by Chris <chrisbreuer93@gmail.com>)_
69+
- **pkg**: add sideEffects:false for bundler tree-shaking (publint) ([1bd41bc](https://github.com/cwcss/crosswind/commit/1bd41bc)) _(by Chris <chrisbreuer93@gmail.com>)_
70+
71+
## Contributors
72+
73+
- _Chris <chrisbreuer93@gmail.com>_
74+
175
[Compare changes](https://github.com/cwcss/crosswind/compare/v0.2.8...v0.2.9)
276

377
## 🐛 Bug Fixes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@cwcss/crosswind",
33
"type": "module",
44
"sideEffects": false,
5-
"version": "0.2.9",
5+
"version": "0.2.10",
66
"description": "A performant Utility-First CSS framework. Similar to Tailwind or UnoCSS.",
77
"author": "Chris Breuer <chris@stacksjs.org>",
88
"license": "MIT",

packages/crosswind/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cwcss/crosswind",
33
"type": "module",
4-
"version": "0.2.9",
4+
"version": "0.2.10",
55
"description": "A performant Utility-First CSS framework. Similar to Tailwind or UnoCSS.",
66
"author": "Chris Breuer <chris@stacksjs.org>",
77
"license": "MIT",
Lines changed: 246 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,246 @@
1+
@layer cw-base {
2+
/*
3+
! Tailwind CSS Preflight | MIT License | https://tailwindcss.com
4+
*/
5+
6+
*,
7+
::before,
8+
::after {
9+
box-sizing: border-box;
10+
border-width: 0;
11+
border-style: solid;
12+
border-color: var(--border-color, currentColor);
13+
}
14+
15+
::before,
16+
::after {
17+
--cw-content: '';
18+
}
19+
20+
html,
21+
:host {
22+
line-height: 1.5;
23+
-webkit-text-size-adjust: 100%;
24+
-moz-tab-size: 4;
25+
tab-size: 4;
26+
font-family: ui-sans-serif, system-ui, sans-serif;
27+
font-feature-settings: normal;
28+
font-variation-settings: normal;
29+
-webkit-tap-highlight-color: transparent;
30+
}
31+
32+
body {
33+
margin: 0;
34+
line-height: inherit;
35+
}
36+
37+
hr {
38+
height: 0;
39+
color: inherit;
40+
border-top-width: 1px;
41+
}
42+
43+
abbr:where([title]) {
44+
text-decoration: underline dotted;
45+
}
46+
47+
h1,
48+
h2,
49+
h3,
50+
h4,
51+
h5,
52+
h6 {
53+
font-size: inherit;
54+
font-weight: inherit;
55+
}
56+
57+
a {
58+
color: inherit;
59+
text-decoration: inherit;
60+
}
61+
62+
b,
63+
strong {
64+
font-weight: bolder;
65+
}
66+
67+
code,
68+
kbd,
69+
samp,
70+
pre {
71+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
72+
font-feature-settings: normal;
73+
font-variation-settings: normal;
74+
font-size: 1em;
75+
}
76+
77+
small {
78+
font-size: 80%;
79+
}
80+
81+
sub,
82+
sup {
83+
font-size: 75%;
84+
line-height: 0;
85+
position: relative;
86+
vertical-align: baseline;
87+
}
88+
89+
sub {
90+
bottom: -0.25em;
91+
}
92+
93+
sup {
94+
top: -0.5em;
95+
}
96+
97+
table {
98+
text-indent: 0;
99+
border-color: var(--border-color, inherit);
100+
border-collapse: collapse;
101+
}
102+
103+
button,
104+
input,
105+
optgroup,
106+
select,
107+
textarea {
108+
font-family: inherit;
109+
font-feature-settings: inherit;
110+
font-variation-settings: inherit;
111+
font-size: 100%;
112+
font-weight: inherit;
113+
line-height: inherit;
114+
letter-spacing: inherit;
115+
color: inherit;
116+
margin: 0;
117+
padding: 0;
118+
}
119+
120+
button,
121+
select {
122+
text-transform: none;
123+
}
124+
125+
button,
126+
input:where([type='button']),
127+
input:where([type='reset']),
128+
input:where([type='submit']) {
129+
-webkit-appearance: button;
130+
background-color: transparent;
131+
background-image: none;
132+
}
133+
134+
:-moz-focusring {
135+
outline: auto;
136+
}
137+
138+
:-moz-ui-invalid {
139+
box-shadow: none;
140+
}
141+
142+
progress {
143+
vertical-align: baseline;
144+
}
145+
146+
::-webkit-inner-spin-button,
147+
::-webkit-outer-spin-button {
148+
height: auto;
149+
}
150+
151+
[type='search'] {
152+
-webkit-appearance: textfield;
153+
outline-offset: -2px;
154+
}
155+
156+
::-webkit-search-decoration {
157+
-webkit-appearance: none;
158+
}
159+
160+
::-webkit-file-upload-button {
161+
-webkit-appearance: button;
162+
font: inherit;
163+
}
164+
165+
summary {
166+
display: list-item;
167+
}
168+
169+
blockquote,
170+
dl,
171+
dd,
172+
h1,
173+
h2,
174+
h3,
175+
h4,
176+
h5,
177+
h6,
178+
hr,
179+
figure,
180+
p,
181+
pre {
182+
margin: 0;
183+
}
184+
185+
fieldset {
186+
margin: 0;
187+
padding: 0;
188+
}
189+
190+
legend {
191+
padding: 0;
192+
}
193+
194+
ol,
195+
ul,
196+
menu {
197+
list-style: none;
198+
margin: 0;
199+
padding: 0;
200+
}
201+
202+
dialog {
203+
padding: 0;
204+
}
205+
206+
textarea {
207+
resize: vertical;
208+
}
209+
210+
input::placeholder,
211+
textarea::placeholder {
212+
opacity: 1;
213+
color: color-mix(in oklab, currentColor 50%, transparent);
214+
}
215+
216+
button,
217+
[role="button"] {
218+
cursor: pointer;
219+
}
220+
221+
:disabled {
222+
cursor: default;
223+
}
224+
225+
img,
226+
svg,
227+
video,
228+
canvas,
229+
audio,
230+
iframe,
231+
embed,
232+
object {
233+
display: block;
234+
vertical-align: middle;
235+
}
236+
237+
img,
238+
video {
239+
max-width: 100%;
240+
height: auto;
241+
}
242+
243+
[hidden] {
244+
display: none;
245+
}
246+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<div class="p-4 p-4 -mt-2 [mask-type:luminance]"><span class="p-4"></span></div>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default { content: ['./nonexistent/**/*.html'], output: './out/t.css', minify: false }

packages/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "crosswind-vscode",
3-
"version": "0.2.9",
3+
"version": "0.2.10",
44
"description": "VS Code extension for Crosswind (placeholder package)",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)