@spark-ui/tailwind-plugins 3.0.5 → 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 +14 -0
- package/animations/index.js +56 -12
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,20 @@
|
|
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
|
+
|
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)
|
13
|
+
|
14
|
+
### Features
|
15
|
+
|
16
|
+
- **tailwind-plugins:** add progress bar animation ([5e101a8](https://github.com/adevinta/spark/commit/5e101a8715a0320aba85ebaef3d6e524780267d5))
|
17
|
+
- **tailwind-plugins:** update indeterminate bar animation name ([bcf64eb](https://github.com/adevinta/spark/commit/bcf64eb0e22343e4dc4f43cd09f79772a4e7cfc8))
|
18
|
+
- **tailwind-plugins:** update indeterminate bar name ([f22ed12](https://github.com/adevinta/spark/commit/f22ed120fef197c5240090a891af9e12186140e8))
|
19
|
+
|
6
20
|
## [3.0.5](https://github.com/adevinta/spark/compare/@spark-ui/tailwind-plugins@3.0.4...@spark-ui/tailwind-plugins@3.0.5) (2023-08-23)
|
7
21
|
|
8
22
|
**Note:** Version bump only for package @spark-ui/tailwind-plugins
|
package/animations/index.js
CHANGED
@@ -121,28 +121,72 @@ module.exports = plugin.withOptions(
|
|
121
121
|
theme: {
|
122
122
|
extend: {
|
123
123
|
keyframes: {
|
124
|
-
|
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(-
|
152
|
+
'100%': { transform: 'translateY(-100%)' },
|
127
153
|
},
|
128
|
-
|
154
|
+
slideOutRight: {
|
129
155
|
'0%': { transform: 'translateX(0)' },
|
130
|
-
'100%': { transform: 'translateX(
|
156
|
+
'100%': { transform: 'translateX(100%)' },
|
131
157
|
},
|
132
|
-
|
158
|
+
slideOutBottom: {
|
133
159
|
'0%': { transform: 'translateY(0)' },
|
134
|
-
'100%': { transform: 'translateY(
|
160
|
+
'100%': { transform: 'translateY(100%)' },
|
135
161
|
},
|
136
|
-
|
162
|
+
slideOutLeft: {
|
137
163
|
'0%': { transform: 'translateX(0)' },
|
138
|
-
'100%': { transform: 'translateX(-
|
164
|
+
'100%': { transform: 'translateX(-100%)' },
|
165
|
+
},
|
166
|
+
standaloneIndeterminateBar: {
|
167
|
+
'0%': {
|
168
|
+
transform: 'translateX(0%) scaleX(0.2)',
|
169
|
+
},
|
170
|
+
'100%': {
|
171
|
+
transform: 'translateX(100%) scaleX(1)',
|
172
|
+
},
|
139
173
|
},
|
140
174
|
},
|
141
175
|
animation: {
|
142
|
-
'
|
143
|
-
'
|
144
|
-
|
145
|
-
'slide-
|
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)',
|
188
|
+
'standalone-indeterminate-bar':
|
189
|
+
'standaloneIndeterminateBar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running',
|
146
190
|
},
|
147
191
|
},
|
148
192
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spark-ui/tailwind-plugins",
|
3
|
-
"version": "3.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": "
|
26
|
+
"gitHead": "c56865b3d1a8af06fe80467a4805ba3fd9521d84"
|
27
27
|
}
|