Commit Graph

677 Commits (aa282c19a034f4fb6a9213a1db80751ebdd74f08)

Author SHA1 Message Date
Brad Cornes aa282c19a0 Bump versions, update lockfiles and notices 2022-10-20 18:03:15 +01:00
Brad Cornes 8d42934ea2 Bump bundled version of `tailwindcss` to `3.2.0` 2022-10-20 17:59:31 +01:00
Brad Cornes 30bf090d71 Add missing default function 2022-10-20 17:48:54 +01:00
Brad Cornes 733d872d8d
Improve extraction for variable colors (#638) 2022-10-20 12:59:28 +01:00
Brad Cornes 6c47780242
Fix `@layer` syntax highlighting (#637) 2022-10-20 11:44:33 +01:00
Brad Cornes 802c15d5d3 0.9.1 2022-10-19 18:47:50 +01:00
Robin Malfait 3f9762e003
Handle the `DEFAULT` case for `matchVariant` (#635)
* handle the `DEFAULT` case

* Prettier

Co-authored-by: Brad Cornes <hello@bradley.dev>
2022-10-19 18:18:06 +01:00
Brad Cornes a12e3ae686 0.9.0 2022-10-18 21:22:49 +01:00
Brad Cornes 534774cbc0 Update `package-lock.json` 2022-10-18 20:51:24 +01:00
Brad Cornes b26e122fac
Add automatic support for multi-config workspaces, including `@config` resolution (#633)
* wip

* wip

* Boot client if a CSS file contains `@config`

* wip

* Check document exists

* wip

* Fix duplicate document selector

* wip

* Use enum for document selector priorities

* Delete unused functions

* Remove unused state type

* Share glob patterns

* Update config file glob

* fix logs

* Fix filename checks on Windows

* Don't show error popups

* wip

* handle negated content paths

* Handle non-tailwind dependency installs

* add package root to document selectors

* tidy

* wip

* dedupe document selectors

* Fix `@config` regex

* Fix document selectors when using `experimental.configFile`

* Remove log
2022-10-18 20:35:02 +01:00
Brad Cornes 68750d859b
Merge pull request #630 from tailwindlabs/next
Theme helper improvements, support `@config`, adopt `getVariants`, bump bundled modules
2022-10-18 20:24:24 +01:00
Brad Cornes fd5c1ef854 Update `package-lock.json` 2022-10-18 19:18:35 +01:00
Brad Cornes 315070a2aa Bump `tailwindcss` and plugins 2022-10-18 17:04:50 +01:00
Brad Cornes 0b2a208d27 Remove arbitrary value snippet placeholder
`&` doesn't always make sense as a placeholder, for example with the container queries plugin
2022-10-18 14:04:33 +01:00
Brad Cornes 8393aa68bf Fix completion text 2022-10-18 14:03:51 +01:00
Brad Cornes 875cb6f324 Tweak type 2022-10-17 18:35:55 +01:00
Brad Cornes 2509d09857 Remove unused import 2022-10-17 18:07:29 +01:00
Brad Cornes f59adbe35b Adopt `getVariants` API 2022-10-17 18:05:04 +01:00
Brad Cornes bf57dd14bc Add support for `@config` 2022-10-17 17:59:07 +01:00
Brad Cornes 1b730cb656 Theme helper improvements 2022-10-17 17:56:00 +01:00
Brad Cornes c9acd0d124
Fix IntelliSense when separator is `--` (#628)
* Fix IntelliSense when separator is `--`

* Tidy up
2022-10-13 09:23:19 +01:00
Brad Cornes d073bb9de6 Show completions when using parameterized and/or labelled variants 2022-10-07 16:54:25 +01:00
Brad Cornes 72569b00dd
Fix `configFile` path resolution (#617) 2022-09-30 15:09:12 +01:00
Brad Cornes f49c7e84a1 Bump `@tailwindcss/language-server` 2022-09-13 17:35:00 +01:00
Brad Cornes 8aa2064684
Merge settings with defaults (#605) 2022-09-13 17:31:09 +01:00
Brad Cornes 9ca9359fec 0.8.7 2022-09-12 11:35:24 +01:00
Brad Cornes f2e0256b9e Update `@types/vscode` and VS Code `engines` version 2022-09-12 11:31:00 +01:00
Brad Cornes 53560ea071 Bump `@tailwindcss/language-server` 2022-09-12 11:12:10 +01:00
Brad Cornes 8f9088a15c Update `ThirdPartyNotices.txt` 2022-09-12 11:07:54 +01:00
Brad Cornes c3885adf3e Update lockfiles 2022-09-12 11:07:33 +01:00
A.I d32e11fa60
fix: guard against optional client capabilities (#602)
for client like lsp-mode for emacs which doesn't have colorProvider,
server is failing to start, and according to the specification, the
capabilities here is all optional, so we should guard the nil situation.
2022-09-12 10:13:02 +01:00
Brad Cornes aeb1595b86
Use patched version of `enhanced-resolve` (#600) 2022-09-07 16:49:29 +01:00
Brad Cornes f7463a87ee Bump vs code dependencies 2022-09-07 16:45:22 +01:00
Brad Cornes 86d93aaa18
Ignore commented out code (#599) 2022-09-01 15:06:47 +01:00
Josh Price 92410c1bf8
Support Surface templates (#597)
Surface support is defined here https://github.com/msaraiva/vscode-surface/blob/master/syntaxes/surface.json

See https://github.com/tailwindlabs/tailwindcss-intellisense/issues/407 and 1253902e88
2022-08-30 10:06:34 +01:00
Brad Cornes 112fae6a6c
Replace `multi-regexp2` with `becke-ch--regex--s0-0-v1--base--pl--lib` (#590) 2022-08-05 16:58:50 +01:00
Brad Cornes 0efcdd773e
Support `node:` module prefix (#585) 2022-07-25 17:43:37 +01:00
Brad Cornes d298014070
Support `require.extensions` mutations (#583) 2022-07-25 16:28:54 +01:00
dependabot[bot] 31d20e3a37
Bump terser from 4.6.12 to 4.8.1 (#578)
Bumps [terser](https://github.com/terser/terser) from 4.6.12 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-22 18:19:30 +01:00
Brad Cornes 4b0a5f332f Remove `terser` dependency, update lockfiles 2022-07-22 18:11:58 +01:00
Brad Cornes f368c1c454
Don't watch `package.json` files (#573) 2022-07-06 17:08:36 +01:00
Brad Cornes d09a4b11f1
Deduplicate classlist candidates (#572) 2022-07-06 16:40:29 +01:00
Brad Cornes 05a8685c49 Bump `dset` to `v3.1.2` 2022-07-06 16:12:54 +01:00
Brad Cornes 0dda9ee66f Update `package-lock.json` 2022-07-06 16:10:20 +01:00
Brad Cornes a39da43e4c
Support `insiders` versions of `tailwindcss` (#571)
* Support `insiders` versions of `tailwindcss`

* Revert import reorder
2022-07-06 16:07:13 +01:00
Brad Cornes 407af8d135 0.8.6 2022-06-02 15:16:51 +01:00
Brad Cornes 15bc6dbc19 Improve `theme` helper detection 2022-06-02 14:40:37 +01:00
Brad Cornes 64aa320d18 0.8.5 2022-05-30 11:27:38 +01:00
Brad Cornes 6f298b2e19 Fix `@types/vscode` version 2022-05-30 11:24:25 +01:00
Brad Cornes a8978d0f83
Improve support for arbitrary variants (#558)
* Support arbitrary variants

* Bump typescript and types versions

* Revert `@types/vscode` version bump
2022-05-30 11:12:02 +01:00