You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 29, 2020. It is now read-only.
Copy file name to clipboardexpand all lines: CHANGELOG.md
+12-1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project mostly adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [2.2.0] - 2020-02-03
9
+
10
+
### Added
11
+
- Added a `default` transition property, which generates a simple `transition` class and includes all the properties from `colors` as well as `opacity`, `box-shadow`, and `transform` (taken from Tailwind 1.2)
12
+
- Added a `shadow` transition property (taken from Tailwind 1.2)
- The `transition-colors` utility now includes the `fill` and `stroke` properties, in addition to `background-color`, `border-color`, and `color` (taken from Tailwind 1.2)
17
+
8
18
## [2.1.0] - 2019-09-04
9
19
10
20
### Changed since 2.1.0-beta.2
@@ -104,7 +114,8 @@ and this project mostly adheres to [Semantic Versioning](https://semver.org/spec
/* when the default duration is a value other than zero: */
@@ -111,9 +124,9 @@ The default configuration generates the following CSS:
111
124
transition-duration: 0ms;
112
125
transition-duration: var(--transition-duration);
113
126
}
114
-
.transition-100 {
115
-
--transition-duration: 100ms;
116
-
transition-duration: 100ms;
127
+
.transition-50 {
128
+
--transition-duration: 50ms;
129
+
transition-duration: 50ms;
117
130
transition-duration: var(--transition-duration);
118
131
}
119
132
.transition-[duration-key] {
@@ -181,4 +194,4 @@ Which you can then use in your HTML like this:
181
194
</button>
182
195
```
183
196
184
-
Note: The `transitionDuration`, `transitionTimingFunction`, and `transitionDelay` theme objects accept a `default` key that doesn’t generate any class; it is used to define a custom property on all elements and pseudo-elements (`*, *::before, *::after`) if the value differs from the CSS-defined default. These custom properties are then used to set actual properties on elements that have a `transition-[property]` or `transition-[duration]` class, so that you don’t have to define a duration, timing function, or delay every time.
197
+
Note: The `transitionProperty`, `transitionDuration`, `transitionTimingFunction`, and `transitionDelay` theme objects accept a `default` key. For `transitionProperty`, it generates a simple `transition` class (instead of `transition-default`), but for the other three, `default` doesn’t generate any class; it is used to define a custom property on all elements and pseudo-elements (`*, *::before, *::after`) if the value differs from the CSS-defined default. These custom properties are then used to set actual properties on elements that have a `transition-[property]` or `transition-[duration]` class, so that you don’t have to define a duration, timing function, or delay every time.
0 commit comments