@spark-ui/tailwind-plugins 2.10.12 → 2.10.13

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.13](https://github.com/adevinta/spark/compare/@spark-ui/tailwind-plugins@2.10.12...@spark-ui/tailwind-plugins@2.10.13) (2023-06-01)
7
+
8
+ **Note:** Version bump only for package @spark-ui/tailwind-plugins
9
+
6
10
  ## [2.10.12](https://github.com/adevinta/spark/compare/@spark-ui/tailwind-plugins@2.10.11...@spark-ui/tailwind-plugins@2.10.12) (2023-05-26)
7
11
 
8
12
  **Note:** Version bump only for package @spark-ui/tailwind-plugins
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/tailwind-plugins",
3
- "version": "2.10.12",
3
+ "version": "2.10.13",
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": "4b26172028b2bd2b83ce1728eaa5170bf25d0afe"
26
+ "gitHead": "00f4500be0c6dcb48c9f45be5d7474bc40a6d8e0"
27
27
  }
@@ -22,8 +22,8 @@ function getCSSVariableReferences(_theme) {
22
22
 
23
23
  const { fontSize, colors, screens } = tailwindCategoryKeys
24
24
 
25
- /* eslint-disable complexity */
26
25
  function traverse(theme, paths = []) {
26
+ /* eslint-disable-next-line complexity */
27
27
  Object.entries(theme).forEach(([key, value]) => {
28
28
  // 👀 see: https://tailwindcss.com/docs/font-size#providing-a-default-line-height
29
29
  if (isObject(value) && !paths.length && key === fontSize) {
@@ -6,7 +6,7 @@ const match6or8Hex = `#?[${hexCharacters}]{6}([${hexCharacters}]{2})?`
6
6
  const nonHexChars = new RegExp(`[^#${hexCharacters}]`, 'gi')
7
7
  const validHexSize = new RegExp(`^${match3or4Hex}$|^${match6or8Hex}$`, 'i')
8
8
 
9
- /* eslint-disable complexity */
9
+ /* eslint-disable-next-line complexity */
10
10
  function hexRgb(hex, options = {}) {
11
11
  if (typeof hex !== 'string' || nonHexChars.test(hex) || !validHexSize.test(hex)) {
12
12
  throw new TypeError('Expected a valid hex string')