@spark-ui/tailwind-plugins 2.10.3 → 2.10.4

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,10 @@
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
+ ## [2.10.4](https://github.com/adevinta/spark/compare/@spark-ui/tailwind-plugins@2.10.3...@spark-ui/tailwind-plugins@2.10.4) (2023-05-03)
7
+
8
+ **Note:** Version bump only for package @spark-ui/tailwind-plugins
9
+
6
10
  ## [2.10.3](https://github.com/adevinta/spark/compare/@spark-ui/tailwind-plugins@2.10.2...@spark-ui/tailwind-plugins@2.10.3) (2023-05-03)
7
11
 
8
12
  **Note:** Version bump only for package @spark-ui/tailwind-plugins
package/index.js CHANGED
@@ -3,6 +3,7 @@ const animations = require('./animations')
3
3
  const sizings = require('./sizings')
4
4
  const utilities = require('./utilities')
5
5
  const sparkTheme = require('./spark-theme')
6
+ const tailwindConfigViewerMisc = require('./tailwind.config.viewer.misc')
6
7
  const tailwindcssRadix = require('tailwindcss-radix')
7
8
 
8
9
  /**
@@ -33,4 +34,5 @@ module.exports = {
33
34
  utilities,
34
35
  sparkTheme,
35
36
  sparkConfig,
37
+ tailwindConfigViewerMisc,
36
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/tailwind-plugins",
3
- "version": "2.10.3",
3
+ "version": "2.10.4",
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": "a03300bea49586547c83275edaebfcd4fdca3203"
26
+ "gitHead": "512b8b0fb9691d24234a7674833d6f7689c942c4"
27
27
  }
@@ -0,0 +1,56 @@
1
+ module.exports = {
2
+ 'animations fill mode': {
3
+ 'spark-anime-fill-forwards': 'animation-fill-mode: forwards;',
4
+ 'spark-anime-fill-backwards': 'animation-fill-mode: backwards;',
5
+ 'spark-anime-fill-both': 'animation-fill-mode: both;',
6
+ 'spark-anime-fill-none': 'animation-fill-mode: none;',
7
+ },
8
+ 'animations duration': {
9
+ 'spark-anime-duration-{anyValueFromThemeTransitionDuration}':
10
+ 'animation-duration: anyValueFromThemeTransitionDuration ms;',
11
+ 'spark-anime-duration-[arbitraryValue]': 'animation-duration: arbitraryValue ms;',
12
+ },
13
+ 'animations delay': {
14
+ 'spark-anime-delay-{anyValueFromThemeTransitionDuration}':
15
+ 'animation-delay: anyValueFromThemeTransitionDuration ms;',
16
+ 'spark-anime-delay-[arbitraryValue]': 'animation-delay: arbitraryValue ms;',
17
+ },
18
+ 'animations timing function': {
19
+ 'spark-anime-easing-linear': 'animation-timing-function: linear;',
20
+ 'spark-anime-easing-in': 'animation-timing-function: cubic-bezier(0.4, 0, 1, 1);',
21
+ 'spark-anime-easing-out': 'animation-timing-function: cubic-bezier(0, 0, 0.2, 1);',
22
+ 'spark-anime-easing-in-out': 'animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);',
23
+ 'spark-anime-easing-in-back': 'animation-timing-function: cubic-bezier(0.3, -0.05, 0.7, -0.5);',
24
+ 'spark-anime-easing-out-back': 'animation-timing-function: cubic-bezier(0.45, 1.45, 0.8, 1);',
25
+ 'spark-anime-easing-in-out-back': 'animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);',
26
+ },
27
+ 'animations direction': {
28
+ 'spark-anime-direction-normal': 'animation-direction: normal;',
29
+ 'spark-anime-direction-reverse': 'animation-direction: reverse;',
30
+ 'spark-anime-direction-alternate': 'animation-direction: alternate;',
31
+ 'spark-anime-direction-alternate-reverse': 'animation-direction: alternate-reverse;',
32
+ },
33
+ 'animations iteration count': {
34
+ 'spark-anime-iteration-1': 'animation-iteration-count: 1;',
35
+ 'spark-anime-iteration-2': 'animation-iteration-count: 2;',
36
+ 'spark-anime-iteration-3': 'animation-iteration-count: 3;',
37
+ 'spark-anime-iteration-infinite': 'animation-iteration-count: infinite;',
38
+ 'spark-anime-iteration-[arbitraryValue]': 'animation-iteration-count: arbitraryValue;',
39
+ },
40
+ 'animations play state': {
41
+ 'spark-anime-play-running': 'animation-play-state: running;',
42
+ 'spark-anime-play-paused': 'animation-play-state: paused;',
43
+ },
44
+
45
+ keyframes: {
46
+ 'animate-slide-top': 'slide top animation (element with be translated to the top)',
47
+ 'animate-slide-right': 'slide right animation (element with be translated to the right)',
48
+ 'animate-slide-bottom': 'slide bottom animation (element with be translated to the bottom)',
49
+ 'animate-slide-left': 'slide left animation (element with be translated to the left)',
50
+ },
51
+ utilities: {
52
+ 'u-current-font-size': 'width: 1em; height: 1em;',
53
+ 'u-shadow-border-transition':
54
+ 'transition: box-shadow 100ms ease-in, border-color 300ms ease-in;',
55
+ },
56
+ }