@spark-ui/tailwind-plugins 3.6.0 → 3.7.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,13 @@
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.7.0](https://github.com/adevinta/spark/compare/@spark-ui/tailwind-plugins@3.6.0...@spark-ui/tailwind-plugins@3.7.0) (2024-04-12)
7
+
8
+ ### Features
9
+
10
+ - **snackbar:** add left gesture to close ([5a0fe20](https://github.com/adevinta/spark/commit/5a0fe200b8dd632b4c6f6c0319f44bc2e5183564))
11
+ - **snackbar:** improve swipe hook and updating styles ([1addc58](https://github.com/adevinta/spark/commit/1addc584567523c149ebfc3dc863e2996f3a028b))
12
+
6
13
  # [3.6.0](https://github.com/adevinta/spark/compare/@spark-ui/tailwind-plugins@3.5.0...@spark-ui/tailwind-plugins@3.6.0) (2024-01-04)
7
14
 
8
15
  ### Features
@@ -163,6 +163,14 @@ module.exports = plugin.withOptions(
163
163
  '0%': { transform: 'translateX(0)' },
164
164
  '100%': { transform: 'translateX(-100%)' },
165
165
  },
166
+ swipeOutRight: {
167
+ '0%': { transform: 'translateX(var(--swipe-position-x))' },
168
+ '100%': { transform: 'translateX(100vw)' },
169
+ },
170
+ swipeOutLeft: {
171
+ '0%': { transform: 'translateX(var(--swipe-position-x))' },
172
+ '100%': { transform: 'translateX(-100vw)' },
173
+ },
166
174
  standaloneIndeterminateBar: {
167
175
  '0%': {
168
176
  left: '0',
@@ -197,6 +205,9 @@ module.exports = plugin.withOptions(
197
205
  'slide-out-left': 'slideOutLeft 0.4s cubic-bezier(0.05, 0.7, 0.1, 1)',
198
206
  'standalone-indeterminate-bar':
199
207
  'standaloneIndeterminateBar 1s ease-out infinite normal none running',
208
+ // swipeOut
209
+ 'swipe-out-right': 'swipeOutRight 0.1s ease-out',
210
+ 'swipe-out-left': 'swipeOutLeft 0.1s ease-out',
200
211
  },
201
212
  },
202
213
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/tailwind-plugins",
3
- "version": "3.6.0",
3
+ "version": "3.7.0",
4
4
  "description": "Spark Tailwind plugins",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "homepage": "https://sparkui.vercel.app",
37
37
  "license": "MIT",
38
- "gitHead": "25220468e758c9c4bad519c93d6bbbf45ae109ab"
38
+ "gitHead": "0f4337672a59af327db0c62e0efbd14545bf4003"
39
39
  }