@symbo.ls/scratch 2.11.410 → 2.11.430
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/dist/cjs/defaultConfig/index.js +3 -1
- package/dist/cjs/defaultConfig/responsive.js +3 -1
- package/dist/cjs/factory.js +76 -44
- package/dist/cjs/index.js +2362 -2279
- package/dist/cjs/set.js +2328 -2247
- package/dist/cjs/system/color.js +2207 -2129
- package/dist/cjs/system/document.js +2127 -2049
- package/dist/cjs/system/font.js +1926 -1847
- package/dist/cjs/system/index.js +2346 -2265
- package/dist/cjs/system/reset.js +2131 -2053
- package/dist/cjs/system/shadow.js +2218 -2139
- package/dist/cjs/system/spacing.js +1975 -1896
- package/dist/cjs/system/svg.js +1907 -1829
- package/dist/cjs/system/theme.js +2215 -2137
- package/dist/cjs/system/timing.js +1979 -1898
- package/dist/cjs/system/typography.js +2131 -2053
- package/dist/cjs/transforms/index.js +2246 -2165
- package/dist/cjs/utils/color.js +75 -45
- package/dist/cjs/utils/index.js +2153 -2073
- package/dist/cjs/utils/sequence.js +1892 -1812
- package/dist/cjs/utils/sprite.js +76 -44
- package/dist/cjs/utils/var.js +2102 -2024
- package/package.json +2 -2
- package/src/defaultConfig/responsive.js +3 -1
- package/src/utils/sequence.js +2 -1
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.11.
|
|
5
|
+
"version": "2.11.430",
|
|
6
6
|
"files": [
|
|
7
7
|
"src",
|
|
8
8
|
"dist"
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"@symbo.ls/utils": "latest",
|
|
31
31
|
"color-contrast-checker": "^1.5.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "340f3f6f7aa8ebd812340008730e4490a607be19"
|
|
34
34
|
}
|
|
@@ -14,9 +14,11 @@ export const BREAKPOINTS = {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export const DEVICES = {
|
|
17
|
+
screenXXL: [2560, 1440],
|
|
18
|
+
screenXL: [2240, 1260],
|
|
17
19
|
screenL: [1920, 1024],
|
|
18
20
|
screenM: [1680, 1024],
|
|
19
|
-
screenS: [1440,
|
|
21
|
+
screenS: [1440, 720],
|
|
20
22
|
tabletL: [1366, 926],
|
|
21
23
|
tabletM: [1280, 768],
|
|
22
24
|
tabletS: [1024, 768],
|
package/src/utils/sequence.js
CHANGED
|
@@ -248,7 +248,8 @@ export const getSequenceValue = (value = 'A', sequenceProps) => {
|
|
|
248
248
|
|
|
249
249
|
export const getSequenceValuePropertyPair = (value, propertyName, sequenceProps) => {
|
|
250
250
|
if (typeof value !== 'string') {
|
|
251
|
-
|
|
251
|
+
const CONFIG = getActiveConfig()
|
|
252
|
+
if (CONFIG.verbose) console.warn(propertyName, value, 'is not a string')
|
|
252
253
|
return ({ [propertyName]: value })
|
|
253
254
|
}
|
|
254
255
|
if (value === '-' || value === '') return ({})
|