@grantcodes/ui 2.4.0 → 2.4.1
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 +8 -0
- package/package.json +1 -1
- package/src/components/card/card.css +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.4.1](https://github.com/grantcodes/ui/compare/ui-v2.4.0...ui-v2.4.1) (2026-04-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **card:** use data-has-content attribute to hide empty header/footer ([974890c](https://github.com/grantcodes/ui/commit/974890c86441a7e009a1d32bfef51533b22326df)), closes [#38](https://github.com/grantcodes/ui/issues/38)
|
|
9
|
+
* **ui:** use data-has-content to hide empty card header/footer ([09df205](https://github.com/grantcodes/ui/commit/09df2051d6e2b7758a2b074ea3a99c3d5fdff30b))
|
|
10
|
+
|
|
3
11
|
## [2.4.0](https://github.com/grantcodes/ui/compare/ui-v2.3.0...ui-v2.4.0) (2026-03-30)
|
|
4
12
|
|
|
5
13
|
|
package/package.json
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
border-block-end: 1px solid var(--g-theme-color-border-default);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.card__header:has
|
|
51
|
+
.card__header:not([data-has-content]) {
|
|
52
52
|
display: none;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
background: var(--g-theme-color-background-default);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.card__footer:has
|
|
90
|
+
.card__footer:not([data-has-content]) {
|
|
91
91
|
display: none;
|
|
92
92
|
}
|
|
93
93
|
|