@threadlabs/looma 0.51.5 → 0.51.6
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/components/ui-card/ui-card.html +7 -0
- package/dist/index.js +1 -1
- package/docs/catalog.json +28 -1
- package/package.json +1 -1
- package/styles/ui-card.css +5 -0
- package/vanilla/UiCard.d.ts +1 -0
- package/vanilla/UiCard.js +13 -13
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
<template component="ui-card">
|
|
2
2
|
<defs>
|
|
3
|
+
<prop name="fill" type="boolean" default="false"
|
|
4
|
+
>In a bounded flex column, grows into the remaining height. Put a filling Scroll Area in the body when its content needs to scroll independently.</prop>
|
|
3
5
|
<prop name="size" type="keyword" values="content, sm, md, lg" default="content"
|
|
4
6
|
>Optional size preset. content keeps the existing intrinsic sizing; the other sizes constrain the surface for compact, medium, or large content.</prop>
|
|
5
7
|
<prop name="variant" type="keyword" values="outlined, subtle, elevated" default="outlined"
|
|
@@ -80,6 +82,11 @@
|
|
|
80
82
|
--_ui-card-group-region-layout: initial;
|
|
81
83
|
}
|
|
82
84
|
|
|
85
|
+
:host([fill]) {
|
|
86
|
+
flex: 1;
|
|
87
|
+
min-block-size: 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
83
90
|
.header:empty {
|
|
84
91
|
display: none !important;
|
|
85
92
|
}
|