@symbo.ls/scratch 2.29.62 → 2.29.64

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@symbo.ls/scratch",
3
3
  "description": "Φ / CSS framework and methodology.",
4
4
  "author": "symbo.ls",
5
- "version": "2.29.62",
5
+ "version": "2.29.64",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
@@ -25,9 +25,9 @@
25
25
  "prepublish": "rimraf -I dist && npm run build && npm run copy:package:cjs"
26
26
  },
27
27
  "dependencies": {
28
- "@domql/utils": "^2.29.62",
29
- "@symbo.ls/utils": "^2.29.62",
28
+ "@domql/utils": "^2.29.64",
29
+ "@symbo.ls/utils": "^2.29.64",
30
30
  "color-contrast-checker": "^1.5.0"
31
31
  },
32
- "gitHead": "ef55f04122303f2f7386ab9076cafe54b883dcce"
32
+ "gitHead": "9ca1d85168f72178a86206c16cf02d0d762386f0"
33
33
  }
@@ -223,11 +223,13 @@ export const generateSequencePosition = (sequenceProps, position = 0) => {
223
223
  export const getSequenceValue = (value = 'A', sequenceProps) => {
224
224
  const CONFIG = getActiveConfig()
225
225
  const { UNIT } = CONFIG
226
+
226
227
  const { sequence, unit = UNIT.default, useVariable } = sequenceProps
227
228
 
228
229
  if (isString(value) && value.slice(0, 2) === '--') return `var(${value})`
229
230
 
230
231
  const prefix = `--${toDashCase(sequenceProps.type.replace('.', '-'))}-`
232
+
231
233
  const startsWithDashOrLetterRegex = /^-?[a-zA-Z]/i
232
234
  const startsWithDashOrLetter = startsWithDashOrLetterRegex.test(value)
233
235