Robin Malfait
d07553bc65
3.0.2
v3.0.2
2021-12-13 15:43:17 +01:00
Robin Malfait
60ee7bbf52
update changelog
2021-12-13 15:43:08 +01:00
Robin Malfait
860c61cd61
temporarily disable optimize universal defaults ( #6461 )
...
* temporarily disable optimize universal defaults
* update changelog
2021-12-13 15:39:18 +01:00
depfu[bot]
42683dfc09
Update eslint to version 8.4.1
2021-12-11 23:59:58 +00:00
Adam Wathan
8a4b2f0627
Update version
v3.0.1
2021-12-10 20:28:26 -05:00
Jordan Pittman
429fe07a5f
Fix defaults optimization when vendor prefixes are involved ( #6369 )
2021-12-10 10:45:33 -05:00
Robin Malfait
08241c3f75
Detect circular dependencies when using @apply ( #6365 )
...
* detect circular dependencies when using `@apply`
* update changelog
* ensure we split by the separator
2021-12-10 16:08:45 +01:00
depfu[bot]
838185bd0e
Update @swc/jest to version 0.2.11 ( #6264 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-10 11:45:56 +01:00
depfu[bot]
eebf529b38
Update esbuild to version 0.14.2 ( #6285 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-10 11:45:44 +01:00
Robin Malfait
b399e8db90
Add default interop to public available functions ( #6348 )
...
* add `default` interop to public available functions
* update changelog
2021-12-10 11:25:10 +01:00
Robin Malfait
81f52a24f4
Ensure complex variants with multiple classes work ( #6311 )
...
* ensure complex variants with multiple classes work
* update changelog
2021-12-10 10:57:40 +01:00
Robin Malfait
99baa6e323
3.0.0
v3.0.0
2021-12-09 17:26:02 +01:00
Robin Malfait
c8b1543401
update changelog
2021-12-09 17:23:56 +01:00
Robin Malfait
4c224225f4
add missing changelog item
2021-12-09 16:43:18 +01:00
depfu[bot]
3229ca0ef3
Update @swc/core to version 1.2.118
2021-12-09 07:54:35 +00:00
Adam Wathan
e6e24b8519
Update CHANGELOG.md
2021-12-08 19:42:25 -05:00
Robin Malfait
36357786bf
Partially revert tuple syntax PR for screens: #6104 ( #6289 )
...
* partially revert tuple syntax PR for `screens`: #6104
* update changelog
2021-12-07 18:49:40 +01:00
depfu[bot]
dd06552c50
Update jest to version 27.4.3
2021-12-07 12:15:10 +00:00
depfu[bot]
a6f7a722b3
Update jest-diff to version 27.4.2
2021-12-07 09:22:31 +00:00
Robin Malfait
b857d80e94
Ensure that we test every value for the length datatype ( #6283 )
...
* ensure that we test every value for the `length` datatype
* update changelog
2021-12-06 20:19:45 +01:00
Adam Wathan
e2d5f214e2
Update changelog
2021-12-06 11:38:38 -05:00
Adam Wathan
31b5540c02
Update changelog
2021-12-06 11:37:35 -05:00
Adam Wathan
c48e629955
Support negative scale values
2021-12-06 10:47:16 -05:00
depfu[bot]
a834b20ebf
Update postcss-value-parser to version 4.2.0
2021-12-06 11:59:35 +00:00
depfu[bot]
bbe1fe7fd6
Update cssnano to version 5.0.12
2021-12-04 19:45:06 +00:00
Adam Wathan
9749e340e7
Use real files for custom transformer test
2021-12-04 13:38:40 -05:00
depfu[bot]
8e98f3c111
Update postcss to version 8.4.4
2021-12-03 19:45:45 +00:00
Robin Malfait
ea139f20a2
Improve [0] arbitrary value support ( #6259 )
...
* test `text-[0]` instead of `w-[0]`
* update changelog
2021-12-03 19:23:01 +01:00
Robin Malfait
078186a1ef
Add css functions to data types ( #6258 )
...
* update changelog
* add tests to verify that `w-[0]` works
* ensure that `min`, `max` and `clamp` also work with arbitrary values
* update changelog
2021-12-03 18:15:03 +01:00
Avi Avinav
add8d62ea7
Add 0 as an arbitrary value for utilities (jit) ( #6233 )
2021-12-03 17:45:37 +01:00
depfu[bot]
94f1bb65c2
Update prettier to version 2.5.0
2021-12-02 14:23:35 +00:00
Jonathan Reinink
89c7f7d094
Update changelog
2021-12-01 06:16:36 -05:00
Jonathan Reinink
8c9b635894
Remove aspect-attrs utility ( #6228 )
2021-12-01 06:16:12 -05:00
depfu[bot]
81241ab512
Update @swc/cli to version 0.1.52
2021-12-01 04:30:46 +00:00
Robin Malfait
a41c4ec704
update changelog
2021-11-29 16:36:32 +01:00
Avi Avinav
f267d91e40
Remove menu element styles ( #6213 )
...
* Remove `main` element default styles
* Remove `menu` element default styles
2021-11-29 15:44:34 +01:00
Robin Malfait
12ea363e1a
Fix decoration utility ambiguity ( #6217 )
...
* remove `any` data type for decoration color plugin
The main reason for the `any` type is so that we don't have to parse the
value and can assume that this plugin handles "any" value you give it.
This is useful because `decoration-[var(--something)]` would be
correctly translated to the correct decoration property. However, we
introduce another plugin with the same `decoration` prefix.
This means that now both `textDecorationColor` and
`textDecorationThickness` have the same base utility name: `decoration`.
- `textDecorationColor` had ['color', 'any']
- `textDecorationThickness` had ['length', 'percentage']
This means that `3px` fit both in the `length` data type of the
`textDecorationThickness` plugin and in the `any` data type of the
`textDecorationColor` plugin.
Removing the `any` fixes this.
TL;DR: Only have `any` when there are no conflicting utility names.
* remove utility that doesn't generate css
Having `decoration-[var(--abc)]` is ambiguous because there are multiple
plugins that have a `decoration` utility name. In order for this to work
you have to prefix it with the type: `decoration-[color:var(--abc)]`
which is already tested in this file.
2021-11-29 15:25:43 +01:00
Robin Malfait
6b82ca89bc
Fix modifiers for arbitrary values ( #6199 )
...
* fix modifiers for arbitrary properties
The main issue was that we are splitting on the separator and popping
the last section of to know the _base_ utility. However, in this case it
would be something like `markers]` which is incorrect.
Instead we only split by the separator and ignore the separtor if it
exists between square brackets.
* add tests for modifiers + arbitrary values that contain the separator
2021-11-25 15:07:43 +01:00
Adam Wathan
22b7cb5418
Fix mistake in test to cause test to fail
2021-11-25 07:05:33 -05:00
Adam Wathan
b5802a3f72
Update changelog
2021-11-24 12:14:51 -05:00
Oscar Lee-Vermeren
d22604af04
Add remaining text-decoration utilities ( #6004 )
...
* Add `text-decoration-style` utilities
* Add remaining `text-decoration` utilities
* Add test for default underline offset
* Remove text-underline-position, don't rename underline utilities, remove DEFAULT values for decoration thickness and underline offset
* Add auto/from-font values, update tests
Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-11-24 12:13:08 -05:00
Oscar Lee-Vermeren
70853bafe2
Ignore .DS_Store ( #6005 )
2021-11-23 15:23:18 -05:00
Adam Wathan
a1bc20385d
Update changelog
2021-11-23 15:21:47 -05:00
Adam Wathan
463777f0c8
Update changelog
2021-11-23 15:21:06 -05:00
Peter Neupauer
0c4af0febc
Add aspect ratio dimensions value ( #6178 )
...
* Add aspect ratio `dimensions` value
* Update defaultConfig.stub.js
Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-11-23 15:20:54 -05:00
Luke Warlow
a321e3c843
Add variants for orientation media feature ( #6046 )
...
* Add variants for orientation media feature
* Rename to portrait and landscape
Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-11-23 14:59:25 -05:00
Adam Wathan
d261531e2a
Add support for arbitrary properties ( #6161 )
...
* Basic implementation + some failing tests for edge cases
* Use asClass instead of nameClass
* Solve edge cases around content with colons
* Avoid duplicating work when parsing arbitrary properties
* Update changelog
2021-11-22 12:38:37 -05:00
Robin Malfait
56c1646300
Revert "Add ::file-selector-button reset ( #6125 )"
...
This reverts commit f94a117500266a8f5e9cfec3b03db81493b1b047.
2021-11-18 17:29:12 +01:00
Robin Malfait
f94a117500
Add ::file-selector-button reset ( #6125 )
...
* add ::file-selector-button reset
Otherwise you have to apply `file:border-solid` which you don't have to
do for other elements with borders.
See: https://play.tailwindcss.com/EvtdftCPt6
* update changelog
2021-11-18 14:25:19 +01:00
Robin Malfait
03f9de9008
Add combinable touch-action support ( #6115 )
...
* add combinable `touch-action` support
* update changelog
2021-11-17 16:04:13 +01:00