@spark-ui/tailwind-plugins 3.0.4 → 3.1.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,18 @@
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.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
+
8
+ ### Features
9
+
10
+ - **tailwind-plugins:** add progress bar animation ([5e101a8](https://github.com/adevinta/spark/commit/5e101a8715a0320aba85ebaef3d6e524780267d5))
11
+ - **tailwind-plugins:** update indeterminate bar animation name ([bcf64eb](https://github.com/adevinta/spark/commit/bcf64eb0e22343e4dc4f43cd09f79772a4e7cfc8))
12
+ - **tailwind-plugins:** update indeterminate bar name ([f22ed12](https://github.com/adevinta/spark/commit/f22ed120fef197c5240090a891af9e12186140e8))
13
+
14
+ ## [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)
15
+
16
+ **Note:** Version bump only for package @spark-ui/tailwind-plugins
17
+
6
18
  ## [3.0.4](https://github.com/adevinta/spark/compare/@spark-ui/tailwind-plugins@3.0.3...@spark-ui/tailwind-plugins@3.0.4) (2023-08-16)
7
19
 
8
20
  **Note:** Version bump only for package @spark-ui/tailwind-plugins
@@ -53,7 +53,7 @@ module.exports = plugin.withOptions(
53
53
  ...removeKeyFromObj(theme('transitionDuration'), 'DEFAULT'),
54
54
  ...commonValuesObj,
55
55
  },
56
- }
56
+ },
57
57
  )
58
58
 
59
59
  matchUtilities(
@@ -67,7 +67,7 @@ module.exports = plugin.withOptions(
67
67
  ...removeKeyFromObj(theme('transitionDuration'), 'DEFAULT'),
68
68
  ...commonValuesObj,
69
69
  },
70
- }
70
+ },
71
71
  )
72
72
 
73
73
  matchUtilities(
@@ -76,7 +76,7 @@ module.exports = plugin.withOptions(
76
76
  animationIterationCount: value,
77
77
  }),
78
78
  },
79
- { values: { ...arrToObj(iterations), ...commonValuesObj } }
79
+ { values: { ...arrToObj(iterations), ...commonValuesObj } },
80
80
  )
81
81
 
82
82
  matchUtilities(
@@ -90,7 +90,7 @@ module.exports = plugin.withOptions(
90
90
  ...removeKeyFromObj(theme('transitionTimingFunction'), 'DEFAULT'),
91
91
  ...commonValuesObj,
92
92
  },
93
- }
93
+ },
94
94
  )
95
95
 
96
96
  fillModes.forEach(mode => {
@@ -137,14 +137,24 @@ module.exports = plugin.withOptions(
137
137
  '0%': { transform: 'translateX(0)' },
138
138
  '100%': { transform: 'translateX(-100px)' },
139
139
  },
140
+ standaloneIndeterminateBar: {
141
+ '0%': {
142
+ transform: 'translateX(0%) scaleX(0.2)',
143
+ },
144
+ '100%': {
145
+ transform: 'translateX(100%) scaleX(1)',
146
+ },
147
+ },
140
148
  },
141
149
  animation: {
142
150
  'slide-top': 'slideTop 0.5s ease-in-out',
143
151
  'slide-right': 'slideRight 0.5s ease-in-out',
144
152
  'slide-bottom': 'slideBottom 0.5s ease-in-out',
145
153
  'slide-left': 'slideLeft 0.5s ease-in-out',
154
+ 'standalone-indeterminate-bar':
155
+ 'standaloneIndeterminateBar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running',
146
156
  },
147
157
  },
148
158
  },
149
- })
159
+ }),
150
160
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/tailwind-plugins",
3
- "version": "3.0.4",
3
+ "version": "3.1.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": "4418303fb349e4f78f12c416f054a5efee14fc8f"
26
+ "gitHead": "342255fa39ae1d445200c86d0d46dd638c7b2311"
27
27
  }
package/sizings/index.js CHANGED
@@ -66,5 +66,5 @@ module.exports = plugin.withOptions(
66
66
  translate: getCSSVariableReferences(),
67
67
  },
68
68
  },
69
- })
69
+ }),
70
70
  )
@@ -11,12 +11,12 @@ const missingDefaultThemeErrorMsg =
11
11
 
12
12
  const additionalItemsErrorMsg = (themeLabel, keys) =>
13
13
  `The following keys: ${JSON.stringify(
14
- keys
14
+ keys,
15
15
  )} do not adhere to our Spark Theme interface and should be removed from the ${themeLabel} theme`
16
16
 
17
17
  const missingItemsErrorMsg = (themeLabel, keys) =>
18
18
  `The following keys: ${JSON.stringify(
19
- keys
19
+ keys,
20
20
  )} are missing from the ${themeLabel} theme, but required to comply with our Spark Theme interface`
21
21
 
22
22
  module.exports = plugin.withOptions(
@@ -72,7 +72,7 @@ module.exports = plugin.withOptions(
72
72
  addBase({
73
73
  [`[data-theme="${key}"]`]: getObjectDifferences(
74
74
  getCSSVariableDeclarations(themes.default, htmlFontSize),
75
- getCSSVariableDeclarations(value, htmlFontSize)
75
+ getCSSVariableDeclarations(value, htmlFontSize),
76
76
  ),
77
77
  })
78
78
  })
@@ -87,5 +87,5 @@ module.exports = plugin.withOptions(
87
87
  if (!themes.default) throw new Error(missingDefaultThemeErrorMsg)
88
88
 
89
89
  return { theme: getCSSVariableReferences(themes.default) }
90
- }
90
+ },
91
91
  )
@@ -9,7 +9,7 @@ module.exports = plugin.withOptions(() => ({ addUtilities, theme }) => {
9
9
  },
10
10
  '.u-shadow-border-transition': {
11
11
  transition: `box-shadow ${theme('transitionDuration.100')} ${theme(
12
- 'transitionTimingFunction.in'
12
+ 'transitionTimingFunction.in',
13
13
  )}, border-color ${theme('transitionDuration.300')} ${theme('transitionTimingFunction.in')}`,
14
14
  },
15
15
  '.u-no-scrollbar': {