Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Commit ee8bd71

Browse files
committed
Merge branch 'main' into context-dependencies
2 parents 88c334c + eedc66e commit ee8bd71

File tree

141 files changed

+6066
-2912
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+6066
-2912
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Bug Report
2+
description: Create a bug report for @tailwindcss/jit.
3+
title: ''
4+
labels: []
5+
issue_body: true
6+
body:
7+
- type: input
8+
attributes:
9+
label: What version of @tailwindcss/jit are you using?
10+
description: 'For example: v0.1.3'
11+
validations:
12+
required: true
13+
- type: input
14+
attributes:
15+
label: What version of Node.js are you using?
16+
description: 'For example: v12.0.0'
17+
validations:
18+
required: true
19+
- type: input
20+
attributes:
21+
label: What browser are you using?
22+
description: 'For example: Chrome, Safari, or N/A'
23+
validations:
24+
required: true
25+
- type: input
26+
attributes:
27+
label: What operating system are you using?
28+
description: 'For example: macOS, Windows'
29+
validations:
30+
required: true
31+
- type: input
32+
attributes:
33+
label: Reproduction repository
34+
description: A public GitHub repo that demonstrates the bug. If it's really unnecessary, link me to a YouTube video you think is awesome instead.
35+
validations:
36+
required: true
37+
- type: markdown
38+
attributes:
39+
value: "## Describe your issue\nDescribe the problem you're seeing, any important steps to reproduce and what behavior you expect instead"

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
blank_issues_enabled: false
2+
contact_links:

.github/logo.svg

Lines changed: 19 additions & 0 deletions
Loading

.github/workflows/main.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: [12.x, 15.x]
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Use Node ${{ matrix.node-version }}
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
21+
- name: Use cached node_modules
22+
id: cache
23+
uses: actions/cache@v2
24+
with:
25+
path: node_modules
26+
key: nodeModules-${{ hashFiles('**/package-lock.json') }}-${{ matrix.node-version }}
27+
restore-keys: |
28+
nodeModules-
29+
30+
- name: Install dependencies
31+
if: steps.cache.outputs.cache-hit != 'true'
32+
run: npm install
33+
env:
34+
CI: true
35+
36+
- name: Test
37+
run: npm run test -- --coverage
38+
env:
39+
CI: true

CHANGELOG.md

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
- Nothing yet!
11+
12+
## [0.1.10] - 2021-03-25
13+
14+
### Fixed
15+
16+
- Fix divide-style not generating, and divide-width not handling '0' properly ([#157](https://github.com/tailwindlabs/tailwindcss-jit/pull/157))
17+
18+
## [0.1.9] - 2021-03-25
19+
20+
### Fixed
21+
22+
- Respect order of sibling declarations when mixing `@apply` with regular CSS properties ([#155](https://github.com/tailwindlabs/tailwindcss-jit/pull/155))
23+
24+
## [0.1.8] - 2021-03-24
25+
26+
### Added
27+
28+
- Direct support for @import 'tailwindcss/{layer}' syntax ([#145](https://github.com/tailwindlabs/tailwindcss-jit/pull/145))
29+
- Support for custom extractors ([#125](https://github.com/tailwindlabs/tailwindcss-jit/pull/125))
30+
31+
### Fixed
32+
33+
- Fix `@apply` with animation utilities stripping keyframe names ([#150](https://github.com/tailwindlabs/tailwindcss-jit/pull/150))
34+
- Fix using `@apply` multiple times within a single rule ([#151](https://github.com/tailwindlabs/tailwindcss-jit/pull/151))
35+
36+
## [0.1.7] - 2021-03-22
37+
38+
### Fixed
39+
40+
- Clone nodes to prevent bugs related to rule cache mutation ([#141](https://github.com/tailwindlabs/tailwindcss-jit/pull/141))
41+
42+
43+
## [0.1.6] - 2021-03-22
44+
45+
### Fixed
46+
47+
- Add initial support for recursive `@apply` ([#136](https://github.com/tailwindlabs/tailwindcss-jit/pull/136))
48+
49+
## [0.1.5] - 2021-03-20
50+
51+
### Fixed
52+
53+
- Fix extending gradient colors directly ([#127](https://github.com/tailwindlabs/tailwindcss-jit/pull/127))
54+
55+
## [0.1.4] - 2021-03-19
56+
57+
### Added
58+
59+
- Support arbitrary values for `transition-duration` ([#99](https://github.com/tailwindlabs/tailwindcss-jit/pull/99))
60+
- Support completely arbitrary values for `margin` ([#105](https://github.com/tailwindlabs/tailwindcss-jit/pull/105))
61+
- Support CSS custom properties in arbitrary values ([d628fbc](https://github.com/tailwindlabs/tailwindcss-jit/commit/d628fbc3d393267ce3d1a1d11eed6c3025e6b8f0))
62+
- Support completely arbitrary values for `inset` ([3ea5421](https://github.com/tailwindlabs/tailwindcss-jit/commit/3ea542170c8631afbfaf5ea341e9860178cf9843)
63+
- Support completely arbitrary `width`/`height`/`min-width`/`max-width`/`min-height`/`max-height` ([76ba529](https://github.com/tailwindlabs/tailwindcss-jit/commit/76ba529d3b120481d153066d348b5dc316cc581f), [6e55976](https://github.com/tailwindlabs/tailwindcss-jit/commit/6e55976ed9c86cc749509c239c751af066d57152))
64+
65+
### Fixed
66+
67+
- Fix issues when project paths have spaces ([#106](https://github.com/tailwindlabs/tailwindcss-jit/pull/106))
68+
- Fix negative classes when using a prefix ([#114](https://github.com/tailwindlabs/tailwindcss-jit/pull/114))
69+
- Fix issues with Windows-style paths ([#118](https://github.com/tailwindlabs/tailwindcss-jit/pull/118))
70+
- Ensure commas are escaped when applying variants ([#119](https://github.com/tailwindlabs/tailwindcss-jit/pull/119)
71+
72+
## [0.1.3] - 2021-03-17
73+
74+
### Fixed
75+
76+
- Escape commas in class names to workaround minifier bug ([#91](https://github.com/tailwindlabs/tailwindcss-jit/pull/91))
77+
78+
## [0.1.2] - 2021-03-17
79+
80+
### Fixed
81+
82+
- Don't apply !important to direct children of at-rules or in keyframes ([#69](https://github.com/tailwindlabs/tailwindcss-jit/pull/69))
83+
- Fix handling of outline offsets ([#89](https://github.com/tailwindlabs/tailwindcss-jit/pull/89))
84+
85+
## [0.1.1] - 2021-03-15
86+
87+
### Fixed
88+
89+
- Don't collapse adjacent `@font-face` rules ([#30](https://github.com/tailwindlabs/tailwindcss-jit/pull/30))
90+
91+
## [0.1.0] - 2021-03-15
92+
93+
### Added
94+
95+
- Everything!
96+
97+
[unreleased]: https://github.com/tailwindlabs/tailwindcss-jit/compare/v0.1.10...HEAD
98+
[0.1.10]: https://github.com/tailwindlabs/tailwindcss-jit/compare/v0.1.9...v0.1.10
99+
[0.1.9]: https://github.com/tailwindlabs/tailwindcss-jit/compare/v0.1.8...v0.1.9
100+
[0.1.8]: https://github.com/tailwindlabs/tailwindcss-jit/compare/v0.1.7...v0.1.8
101+
[0.1.7]: https://github.com/tailwindlabs/tailwindcss-jit/compare/v0.1.6...v0.1.7
102+
[0.1.6]: https://github.com/tailwindlabs/tailwindcss-jit/compare/v0.1.5...v0.1.6
103+
[0.1.5]: https://github.com/tailwindlabs/tailwindcss-jit/compare/v0.1.4...v0.1.5
104+
[0.1.4]: https://github.com/tailwindlabs/tailwindcss-jit/compare/v0.1.3...v0.1.4
105+
[0.1.3]: https://github.com/tailwindlabs/tailwindcss-jit/compare/v0.1.2...v0.1.3
106+
[0.1.2]: https://github.com/tailwindlabs/tailwindcss-jit/compare/v0.1.1...v0.1.2
107+
[0.1.1]: https://github.com/tailwindlabs/tailwindcss-jit/compare/v0.1.0...v0.1.1
108+
[0.1.0]: https://github.com/tailwindlabs/tailwindcss-jit/releases/tag/v0.1.0

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Tailwind Labs
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)