cacao-css 7.1.1 → 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/2xl/flex.css +20 -0
- package/dist/display/2xs/flex.css +20 -0
- package/dist/display/3xl/flex.css +20 -0
- package/dist/display/3xs/flex.css +20 -0
- package/dist/display/4xl/flex.css +20 -0
- package/dist/display/5xl/flex.css +20 -0
- package/dist/display/flex.css +20 -0
- package/dist/display/lg/flex.css +20 -0
- package/dist/display/md/flex.css +20 -0
- package/dist/display/sm/flex.css +20 -0
- package/dist/display/xl/flex.css +20 -0
- package/dist/display/xs/flex.css +20 -0
- 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
|
@@ -18,4 +18,24 @@
|
|
|
18
18
|
.flex-col-reverse-2xl {
|
|
19
19
|
flex-direction: column-reverse;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
.flex-grow-2xl {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-shrink-2xl {
|
|
27
|
+
flex-shrink: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-wrap-2xl {
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex-nowrap-2xl {
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flex-wrap-reverse-2xl {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
21
41
|
}
|
|
@@ -18,4 +18,24 @@
|
|
|
18
18
|
.flex-col-reverse-2xs {
|
|
19
19
|
flex-direction: column-reverse;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
.flex-grow-2xs {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-shrink-2xs {
|
|
27
|
+
flex-shrink: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-wrap-2xs {
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex-nowrap-2xs {
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flex-wrap-reverse-2xs {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
21
41
|
}
|
|
@@ -18,4 +18,24 @@
|
|
|
18
18
|
.flex-col-reverse-3xl {
|
|
19
19
|
flex-direction: column-reverse;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
.flex-grow-3xl {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-shrink-3xl {
|
|
27
|
+
flex-shrink: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-wrap-3xl {
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex-nowrap-3xl {
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flex-wrap-reverse-3xl {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
21
41
|
}
|
|
@@ -18,4 +18,24 @@
|
|
|
18
18
|
.flex-col-reverse-3xs {
|
|
19
19
|
flex-direction: column-reverse;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
.flex-grow-3xs {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-shrink-3xs {
|
|
27
|
+
flex-shrink: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-wrap-3xs {
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex-nowrap-3xs {
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flex-wrap-reverse-3xs {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
21
41
|
}
|
|
@@ -18,4 +18,24 @@
|
|
|
18
18
|
.flex-col-reverse-4xl {
|
|
19
19
|
flex-direction: column-reverse;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
.flex-grow-4xl {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-shrink-4xl {
|
|
27
|
+
flex-shrink: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-wrap-4xl {
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex-nowrap-4xl {
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flex-wrap-reverse-4xl {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
21
41
|
}
|
|
@@ -18,4 +18,24 @@
|
|
|
18
18
|
.flex-col-reverse-5xl {
|
|
19
19
|
flex-direction: column-reverse;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
.flex-grow-5xl {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-shrink-5xl {
|
|
27
|
+
flex-shrink: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-wrap-5xl {
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex-nowrap-5xl {
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flex-wrap-reverse-5xl {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
21
41
|
}
|
package/dist/display/flex.css
CHANGED
|
@@ -17,3 +17,23 @@
|
|
|
17
17
|
.flex-col-reverse {
|
|
18
18
|
flex-direction: column-reverse;
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
.flex-grow {
|
|
22
|
+
flex-grow: 1
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.flex-shrink {
|
|
26
|
+
flex-shrink: 1;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.flex-wrap {
|
|
30
|
+
flex-wrap: wrap;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.flex-nowrap {
|
|
34
|
+
flex-wrap: nowrap;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.flex-wrap-reverse {
|
|
38
|
+
flex-wrap: wrap-reverse;
|
|
39
|
+
}
|
package/dist/display/lg/flex.css
CHANGED
|
@@ -18,4 +18,24 @@
|
|
|
18
18
|
.flex-col-reverse-lg {
|
|
19
19
|
flex-direction: column-reverse;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
.flex-grow-lg {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-shrink-lg {
|
|
27
|
+
flex-shrink: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-wrap-lg {
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex-nowrap-lg {
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flex-wrap-reverse-lg {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
21
41
|
}
|
package/dist/display/md/flex.css
CHANGED
|
@@ -18,4 +18,24 @@
|
|
|
18
18
|
.flex-col-reverse-md {
|
|
19
19
|
flex-direction: column-reverse;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
.flex-grow-md {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-shrink-md {
|
|
27
|
+
flex-shrink: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-wrap-md {
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex-nowrap-md {
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flex-wrap-reverse-md {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
21
41
|
}
|
package/dist/display/sm/flex.css
CHANGED
|
@@ -18,4 +18,24 @@
|
|
|
18
18
|
.flex-col-reverse-sm {
|
|
19
19
|
flex-direction: column-reverse;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
.flex-grow-sm {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-shrink-sm {
|
|
27
|
+
flex-shrink: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-wrap-sm {
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex-nowrap-sm {
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flex-wrap-reverse-sm {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
21
41
|
}
|
package/dist/display/xl/flex.css
CHANGED
|
@@ -18,4 +18,24 @@
|
|
|
18
18
|
.flex-col-reverse-xl {
|
|
19
19
|
flex-direction: column-reverse;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
.flex-grow-xl {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-shrink-xl {
|
|
27
|
+
flex-shrink: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-wrap-xl {
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex-nowrap-xl {
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flex-wrap-reverse-xl {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
21
41
|
}
|
package/dist/display/xs/flex.css
CHANGED
|
@@ -18,4 +18,24 @@
|
|
|
18
18
|
.flex-col-reverse-xs {
|
|
19
19
|
flex-direction: column-reverse;
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
.flex-grow-xs {
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.flex-shrink-xs {
|
|
27
|
+
flex-shrink: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.flex-wrap-xs {
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flex-nowrap-xs {
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flex-wrap-reverse-xs {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
21
41
|
}
|
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
|