cacao-css 7.2.0 → 7.3.0
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/display/flex.css +4 -4
- package/package.json +16 -14
- package/scripts/v3/index.js +1 -1
- package/scripts/v6/convert-imports.js +8 -2
- package/scripts/v6/index.js +1 -1
package/dist/display/flex.css
CHANGED
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.flex-shrink {
|
|
26
|
-
flex-shrink: 1
|
|
26
|
+
flex-shrink: 1;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.flex-wrap {
|
|
30
|
-
flex-wrap: wrap
|
|
30
|
+
flex-wrap: wrap;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.flex-nowrap {
|
|
34
|
-
flex-wrap: nowrap
|
|
34
|
+
flex-wrap: nowrap;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.flex-wrap-reverse {
|
|
38
|
-
flex-wrap: wrap-reverse
|
|
38
|
+
flex-wrap: wrap-reverse;
|
|
39
39
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cacao-css",
|
|
3
3
|
"description": "A set of composable CSS utilities that provide a solid foundation for website projects.",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.3.0",
|
|
5
5
|
"author": "Aptuitiv, Inc <hello@aptuitiv.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -30,23 +30,25 @@
|
|
|
30
30
|
"build-media-queries": "node scripts/build media",
|
|
31
31
|
"build-paddings": "node scripts/build paddings",
|
|
32
32
|
"eslint": "eslint --fix .",
|
|
33
|
-
"watch": "
|
|
33
|
+
"watch": "watch-eslint --fix --color ."
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@aptuitiv/eslint-config-aptuitiv": "^0.8.0",
|
|
37
36
|
"chalk": "^5.4.1",
|
|
38
|
-
"commander": "^
|
|
39
|
-
"eslint": "^8.57.0",
|
|
40
|
-
"eslint-watch": "^8.0.0",
|
|
37
|
+
"commander": "^14.0.0",
|
|
41
38
|
"fancy-log": "^2.0.0",
|
|
42
|
-
"fs-extra": "^11.
|
|
43
|
-
"log-symbols": "^7.0.
|
|
44
|
-
"postcss": "^8.
|
|
45
|
-
"postcss-cli": "^11.0.
|
|
46
|
-
"prettier": "^3.
|
|
39
|
+
"fs-extra": "^11.3.0",
|
|
40
|
+
"log-symbols": "^7.0.1",
|
|
41
|
+
"postcss": "^8.5.3",
|
|
42
|
+
"postcss-cli": "^11.0.1",
|
|
43
|
+
"prettier": "^3.5.3",
|
|
47
44
|
"recursive-readdir": "^2.2.3",
|
|
48
|
-
"stylelint": "^16.
|
|
49
|
-
"stylelint-config-standard": "^
|
|
50
|
-
"stylelint-order": "^
|
|
45
|
+
"stylelint": "^16.19.1",
|
|
46
|
+
"stylelint-config-standard": "^38.0.0",
|
|
47
|
+
"stylelint-order": "^7.0.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@aptuitiv/eslint-config-aptuitiv": "^1.1.0",
|
|
51
|
+
"eslint": "^9.27.0",
|
|
52
|
+
"watch-eslint": "^1.1.0"
|
|
51
53
|
}
|
|
52
54
|
}
|
package/scripts/v3/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { fileURLToPath } from 'url';
|
|
|
8
8
|
import convertClasses from './convert-classes.js';
|
|
9
9
|
|
|
10
10
|
// Get the directory name of the current module
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
const __dirname = dirname(dirname(dirname(fileURLToPath(import.meta.url))));
|
|
13
13
|
|
|
14
14
|
// Get the current package.json information
|
|
@@ -37,8 +37,14 @@ const convertImports = (args) => {
|
|
|
37
37
|
fileContents = fileContents.replace('/links/links.css', '/link/link.css');
|
|
38
38
|
|
|
39
39
|
// Fix the "size" import path
|
|
40
|
-
fileContents = fileContents.replace(
|
|
41
|
-
|
|
40
|
+
fileContents = fileContents.replace(
|
|
41
|
+
/@import 'cacao-css\/dist\/size\/size.css';/g,
|
|
42
|
+
'@import \'cacao-css/dist/height/height-1.css\';\n@import \'cacao-css/dist/width/width-1.css\';'
|
|
43
|
+
);
|
|
44
|
+
fileContents = fileContents.replace(
|
|
45
|
+
/@import 'cacao-css\/dist\/size\/(.*)\/size.css';/g,
|
|
46
|
+
'@import \'cacao-css/dist/height/$1/height-1.css\';\n@import \'cacao-css/dist/width/$1/width-1.css\';'
|
|
47
|
+
);
|
|
42
48
|
fileContents = fileContents.replaceAll('/* Size ', '/* Height and width ');
|
|
43
49
|
|
|
44
50
|
// Fix the breakpoint paths
|
package/scripts/v6/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import convertImports from './convert-imports.js';
|
|
|
10
10
|
import convertBreakpoints from './convert-breakpoints.js';
|
|
11
11
|
|
|
12
12
|
// Get the directory name of the current module
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
const __dirname = dirname(dirname(dirname(fileURLToPath(import.meta.url))));
|
|
15
15
|
|
|
16
16
|
// Get the current package.json information
|