@spark-ui/tailwind-plugins 3.1.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.2.0](https://github.com/adevinta/spark/compare/@spark-ui/tailwind-plugins@3.1.0...@spark-ui/tailwind-plugins@3.2.0) (2023-08-25)
7
+
8
+ ### Features
9
+
10
+ - **tailwind-plugins:** added base missing keyframe animations ([fcfaf65](https://github.com/adevinta/spark/commit/fcfaf651b09ee9e414c171771b64e48b65b1aa4f))
11
+
6
12
  # [3.1.0](https://github.com/adevinta/spark/compare/@spark-ui/tailwind-plugins@3.0.5...@spark-ui/tailwind-plugins@3.1.0) (2023-08-25)
7
13
 
8
14
  ### Features
@@ -121,21 +121,47 @@ module.exports = plugin.withOptions(
121
121
  theme: {
122
122
  extend: {
123
123
  keyframes: {
124
- slideTop: {
124
+ fadeIn: {
125
+ '0%': { opacity: 0 },
126
+ '100%': { opacity: 1 },
127
+ },
128
+ fadeOut: {
129
+ '0%': { opacity: 1 },
130
+ '100%': { opacity: 0 },
131
+ },
132
+ // slideIn
133
+ slideInTop: {
134
+ '0%': { transform: 'translateY(-100%)' },
135
+ '100%': { transform: 'translateY(0)' },
136
+ },
137
+ slideInRight: {
138
+ '0%': { transform: 'translateX(100%)' },
139
+ '100%': { transform: 'translateX(0)' },
140
+ },
141
+ slideInBottom: {
142
+ '0%': { transform: 'translateY(100%)' },
143
+ '100%': { transform: 'translateY(0)' },
144
+ },
145
+ slideInLeft: {
146
+ '0%': { transform: 'translateX(-100%)' },
147
+ '100%': { transform: 'translateX(0)' },
148
+ },
149
+ // slideOut
150
+ slideOutTop: {
125
151
  '0%': { transform: 'translateY(0)' },
126
- '100%': { transform: 'translateY(-100px)' },
152
+ '100%': { transform: 'translateY(-100%)' },
127
153
  },
128
- slideRight: {
154
+ slideOutRight: {
129
155
  '0%': { transform: 'translateX(0)' },
130
- '100%': { transform: 'translateX(100px)' },
156
+ '100%': { transform: 'translateX(100%)' },
131
157
  },
132
- slideBottom: {
158
+ slideOutBottom: {
133
159
  '0%': { transform: 'translateY(0)' },
134
- '100%': { transform: 'translateY(100px)' },
160
+ '100%': { transform: 'translateY(100%)' },
135
161
  },
136
- slideLeft: {
162
+ slideOutLeft: {
137
163
  '0%': { transform: 'translateX(0)' },
138
- '100%': { transform: 'translateX(-100px)' },
164
+ '100%': { transform: 'translateX(-100%)' },
139
165
  },
140
166
  standaloneIndeterminateBar: {
141
167
  '0%': {
@@ -147,10 +173,18 @@ module.exports = plugin.withOptions(
147
173
  },
148
174
  },
149
175
  animation: {
150
- 'slide-top': 'slideTop 0.5s ease-in-out',
151
- 'slide-right': 'slideRight 0.5s ease-in-out',
152
- 'slide-bottom': 'slideBottom 0.5s ease-in-out',
153
- 'slide-left': 'slideLeft 0.5s ease-in-out',
176
+ 'fade-in': 'fadeIn 0.25s cubic-bezier(0.2, 0, 0, 1)',
177
+ 'fade-out': 'fadeOut 0.25s cubic-bezier(0.2, 0, 0, 1)',
178
+ // slideIn
179
+ 'slide-in-top': 'slideInTop 0.4s cubic-bezier(0.05, 0.7, 0.1, 1)',
180
+ 'slide-in-right': 'slideInRight 0.4s cubic-bezier(0.05, 0.7, 0.1, 1)',
181
+ 'slide-in-bottom': 'slideInBottom 0.4s cubic-bezier(0.05, 0.7, 0.1, 1)',
182
+ 'slide-in-left': 'slideInLeft 0.4s cubic-bezier(0.05, 0.7, 0.1, 1)',
183
+ // slideOut
184
+ 'slide-out-top': 'slideOutTop 0.4s cubic-bezier(0.05, 0.7, 0.1, 1)',
185
+ 'slide-out-right': 'slideOutRight 0.4s cubic-bezier(0.05, 0.7, 0.1, 1)',
186
+ 'slide-out-bottom': 'slideOutBottom 0.4s cubic-bezier(0.05, 0.7, 0.1, 1)',
187
+ 'slide-out-left': 'slideOutLeft 0.4s cubic-bezier(0.05, 0.7, 0.1, 1)',
154
188
  'standalone-indeterminate-bar':
155
189
  'standaloneIndeterminateBar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running',
156
190
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/tailwind-plugins",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "Spark Tailwind plugins",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -23,5 +23,5 @@
23
23
  },
24
24
  "homepage": "https://sparkui.vercel.app",
25
25
  "license": "MIT",
26
- "gitHead": "342255fa39ae1d445200c86d0d46dd638c7b2311"
26
+ "gitHead": "c56865b3d1a8af06fe80467a4805ba3fd9521d84"
27
27
  }