@uncinq/css-components 1.11.0 → 1.11.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.
@@ -13,6 +13,9 @@
13
13
  * picture | video
14
14
  * </div>
15
15
  * </article>
16
+ *
17
+ * Optional sizing: --card-max-width / --card-width are unset by default.
18
+ * Prefer ch units so the width tracks the text measure, like --items-min-width.
16
19
  */
17
20
  @layer components {
18
21
  .card {
@@ -27,7 +30,9 @@
27
30
  color: var(--card-color-text);
28
31
  display: flex;
29
32
  flex-direction: column;
33
+ max-width: var(--card-max-width);
30
34
  overflow: hidden;
35
+ width: var(--card-width);
31
36
 
32
37
  .content {
33
38
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinq/css-components",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "Framework-agnostic CSS component implementations.",
5
5
  "license": "MIT",
6
6
  "repository": {