@invisionag/iris-tools
Advanced tools
Comparing version 4.3.4-alpha.0 to 4.3.4
@@ -160,3 +160,3 @@ module.exports = | ||
/* harmony default export */ var equal_size_siblings = (function () { | ||
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"; | ||
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"; | ||
}); | ||
@@ -163,0 +163,0 @@ // CONCATENATED MODULE: ./packages/tools/src/extractUnit.js |
{ | ||
"name": "@invisionag/iris-tools", | ||
"version": "4.3.4-alpha.0", | ||
"version": "4.3.4", | ||
"main": "dist/index.js", | ||
@@ -9,6 +9,6 @@ "license": "MIT", | ||
"@invisionag/injixo-tokens": "^1.1.0", | ||
"@invisionag/iris-settings": "^6.3.5-alpha.0", | ||
"@invisionag/iris-settings": "^6.3.5", | ||
"polished": "^3.4.4" | ||
}, | ||
"gitHead": "cc4a973d3347a498d78a04ed2fbcce24b910c796" | ||
"gitHead": "662296b8420b3238b91e155127cbd1b5bb00accb" | ||
} |
// @flow | ||
export default () => ` | ||
/* one item */ | ||
&:nth-child(1):nth-last-child(1) { | ||
@@ -8,2 +9,3 @@ width: 100%; | ||
/* two items */ | ||
&:nth-child(1):nth-last-child(2), | ||
@@ -14,2 +16,3 @@ &:nth-child(2):nth-last-child(1) { | ||
/* three items */ | ||
&:nth-child(1):nth-last-child(3), | ||
@@ -21,2 +24,3 @@ &:nth-child(2):nth-last-child(2), | ||
/* four items */ | ||
&:nth-child(1):nth-last-child(4), | ||
@@ -29,2 +33,3 @@ &:nth-child(2):nth-last-child(3), | ||
/* five items */ | ||
&:nth-child(1):nth-last-child(5), | ||
@@ -38,2 +43,3 @@ &:nth-child(2):nth-last-child(4), | ||
/* six items */ | ||
&:nth-child(1):nth-last-child(6), | ||
@@ -40,0 +46,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
19969
347
1