@invisionag/iris-tools
Advanced tools
Comparing version 4.3.3 to 4.3.4-alpha.0
@@ -160,3 +160,3 @@ module.exports = | ||
/* harmony default export */ var equal_size_siblings = (function () { | ||
return "\n /* one item */\n &:nth-child(1):nth-last-child(1) {\n width: 100%;\n }\n\n /* two items */\n &:nth-child(1):nth-last-child(2),\n &:nth-child(2):nth-last-child(1) {\n width: 50%;\n }\n\n /* three items */\n &:nth-child(1):nth-last-child(3),\n &:nth-child(2):nth-last-child(2),\n &:nth-child(3):nth-last-child(1) {\n width: 33.3333%;\n }\n\n /* four items */\n &:nth-child(1):nth-last-child(4),\n &:nth-child(2):nth-last-child(3),\n &:nth-child(3):nth-last-child(2),\n &:nth-child(4):nth-last-child(1) {\n width: 25%;\n }\n\n /* five items */\n &:nth-child(1):nth-last-child(5),\n &:nth-child(2):nth-last-child(4),\n &:nth-child(3):nth-last-child(3),\n &:nth-child(4):nth-last-child(2),\n &:nth-child(5):nth-last-child(1) {\n width: 20%;\n }\n\n /* six items */\n &:nth-child(1):nth-last-child(6),\n &:nth-child(2):nth-last-child(5),\n &:nth-child(3):nth-last-child(4),\n &:nth-child(4):nth-last-child(3),\n &:nth-child(5):nth-last-child(2),\n &:nth-child(6):nth-last-child(1) {\n width: 16.66%;\n }\n"; | ||
return "\n &:nth-child(1):nth-last-child(1) {\n width: 100%;\n }\n\n &:nth-child(1):nth-last-child(2),\n &:nth-child(2):nth-last-child(1) {\n width: 50%;\n }\n\n &:nth-child(1):nth-last-child(3),\n &:nth-child(2):nth-last-child(2),\n &:nth-child(3):nth-last-child(1) {\n width: 33.3333%;\n }\n\n &:nth-child(1):nth-last-child(4),\n &:nth-child(2):nth-last-child(3),\n &:nth-child(3):nth-last-child(2),\n &:nth-child(4):nth-last-child(1) {\n width: 25%;\n }\n\n &:nth-child(1):nth-last-child(5),\n &:nth-child(2):nth-last-child(4),\n &:nth-child(3):nth-last-child(3),\n &:nth-child(4):nth-last-child(2),\n &:nth-child(5):nth-last-child(1) {\n width: 20%;\n }\n\n &:nth-child(1):nth-last-child(6),\n &:nth-child(2):nth-last-child(5),\n &:nth-child(3):nth-last-child(4),\n &:nth-child(4):nth-last-child(3),\n &:nth-child(5):nth-last-child(2),\n &:nth-child(6):nth-last-child(1) {\n width: 16.66%;\n }\n"; | ||
}); | ||
@@ -163,0 +163,0 @@ // CONCATENATED MODULE: ./packages/tools/src/extractUnit.js |
{ | ||
"name": "@invisionag/iris-tools", | ||
"version": "4.3.3", | ||
"version": "4.3.4-alpha.0", | ||
"main": "dist/index.js", | ||
@@ -9,6 +9,6 @@ "license": "MIT", | ||
"@invisionag/injixo-tokens": "^1.1.0", | ||
"@invisionag/iris-settings": "^6.3.3", | ||
"@invisionag/iris-settings": "^6.3.5-alpha.0", | ||
"polished": "^3.4.4" | ||
}, | ||
"gitHead": "c7b50cdde46a13256a1fcb969fb4bca30340e24e" | ||
"gitHead": "cc4a973d3347a498d78a04ed2fbcce24b910c796" | ||
} |
// @flow | ||
export default () => ` | ||
/* one item */ | ||
&:nth-child(1):nth-last-child(1) { | ||
@@ -9,3 +8,2 @@ width: 100%; | ||
/* two items */ | ||
&:nth-child(1):nth-last-child(2), | ||
@@ -16,3 +14,2 @@ &:nth-child(2):nth-last-child(1) { | ||
/* three items */ | ||
&:nth-child(1):nth-last-child(3), | ||
@@ -24,3 +21,2 @@ &:nth-child(2):nth-last-child(2), | ||
/* four items */ | ||
&:nth-child(1):nth-last-child(4), | ||
@@ -33,3 +29,2 @@ &:nth-child(2):nth-last-child(3), | ||
/* five items */ | ||
&:nth-child(1):nth-last-child(5), | ||
@@ -43,3 +38,2 @@ &:nth-child(2):nth-last-child(4), | ||
/* six items */ | ||
&:nth-child(1):nth-last-child(6), | ||
@@ -46,0 +40,0 @@ &:nth-child(2):nth-last-child(5), |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19646
341
2