cacao-css 4.4.0 → 4.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.5.0 (Jul 10, 2024)
4
+
5
+ - Set embeds not to shrink if they are in a flex container.
6
+ - Removed the overflow hidden on grid columns.
7
+
3
8
  ## 4.4.0 (Feb 23, 2024)
4
9
 
5
10
  - Added `text-start`, `text-end`, and `text-justify` classes.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cacao-css",
3
- "description": "A set of composable CSS utilities that provide a solid foundation for starting a new project.",
4
- "version": "4.4.0",
3
+ "description": "A set of composable CSS utilities that provide a solid foundation for website projects.",
4
+ "version": "4.5.0",
5
5
  "author": "Aptuitiv, Inc <hello@aptuitiv.com>",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -6,6 +6,7 @@
6
6
  position: relative;
7
7
  aspect-ratio: 16 / 9;
8
8
  height: 100%;
9
+ flex-shrink: 0;
9
10
  overflow: hidden;
10
11
  max-width: 100%;
11
12
  }
package/src/grid/grid.css CHANGED
@@ -9,11 +9,14 @@
9
9
  margin-right: calc(var(--gap) * -1);
10
10
  }
11
11
 
12
- .grid [class*=col-] {
12
+ /* Not sure that overflow is necessary here. Removing it does not seem to have any consequences.
13
+ Keeping it means that items in a grid can't overflow when overflow is wanted (like when adjusting
14
+ the y-offset of an element when hovering over it). */
15
+ /* .grid [class*=col-] {
13
16
  overflow: hidden;
14
- }
17
+ } */
15
18
 
16
19
  /* Don't adjust margin if column justification is being used. */
17
- .grid[class*=justify-] {
20
+ .grid[class*='justify-'] {
18
21
  margin-right: 0;
19
22
  }