nicklabs-ui 1.0.116 → 1.0.117

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  A Vue 3 component library with glassmorphism design, built for modern web applications.
4
4
 
5
- **Version**: 1.0.116 | **Framework**: Vue 3.5+
5
+ **Version**: 1.0.117 | **Framework**: Vue 3.5+
6
6
 
7
7
  ---
8
8
 
@@ -1177,16 +1177,16 @@ function handleItemClick(item: User) {
1177
1177
 
1178
1178
  > **Column sizing.** Each column resolves to a CSS grid `minmax()` track:
1179
1179
  >
1180
- > | Setting | Resulting track | Behaviour |
1181
- > | --- | --- | --- |
1182
- > | _(none)_ | `minmax(120px, 1fr)` | Flexible, shares leftover space, min 120px |
1183
- > | `width: "200px"` | `minmax(200px, 200px)` | Fixed at exactly 200px |
1184
- > | `width: "2fr"` | `minmax(120px, 2fr)` | Flexible with a 2× share, min 120px |
1185
- > | `minWidth: "200px"` | `minmax(200px, max-content)` | Content-driven, at least 200px |
1186
- > | `maxWidth: "300px"` | `minmax(0, min(max-content, 300px))` | Content-driven, at most 300px |
1187
- > | `minWidth: "150px", maxWidth: "400px"` | `minmax(150px, min(max-content, 400px))` | Content-driven, clamped to 150–400px |
1180
+ > | Setting | Resulting track | maxWidth enforced by | Behaviour |
1181
+ > | --- | --- | --- | --- |
1182
+ > | _(none)_ | `minmax(120px, 1fr)` | — | Flexible, shares leftover space, min 120px |
1183
+ > | `width: "200px"` | `minmax(200px, 200px)` | — | Fixed at exactly 200px |
1184
+ > | `width: "2fr"` | `minmax(120px, 2fr)` | — | Flexible with a 2× share, min 120px |
1185
+ > | `minWidth: "200px"` | `minmax(200px, max-content)` | — | Content-driven, at least 200px |
1186
+ > | `maxWidth: "300px"` | `minmax(0, max-content)` | cell `max-width: 300px` | Content-driven, at most 300px |
1187
+ > | `minWidth: "150px", maxWidth: "400px"` | `minmax(150px, max-content)` | cell `max-width: 400px` | Content-driven, clamped to 150–400px |
1188
1188
  >
1189
- > When `minWidth` and/or `maxWidth` is set the track becomes **content-driven** (hugs the cell content) instead of flexible, clamped to those bounds: below `minWidth` it stays at `minWidth`, above `maxWidth` it stops at `maxWidth`, and in between it hugs the content. A content-driven column does **not** absorb leftover space the way `1fr` does — if every column is bounded/fixed, leftover space shows as blank on the right. Leave at least one column unset (or `Nfr`) to soak up the remainder. Otherwise the single `width` value drives the fixed-or-flexible behaviour above.
1189
+ > When `minWidth` and/or `maxWidth` is set the track becomes **content-driven** (hugs the cell content) instead of flexible, clamped to those bounds: below `minWidth` it stays at `minWidth`, above `maxWidth` it stops at `maxWidth`, and in between it hugs the content. The upper bound can't live in the grid track itself — neither `minmax(min, fit-content(max))` nor `minmax(min, min(max-content, max))` is valid CSS (both would drop the whole `grid-template-columns` and collapse the table to one column) — so `maxWidth` is enforced per-cell via a generated `max-width` rule, and cells use `overflow: hidden`. A content-driven column does **not** absorb leftover space the way `1fr` does — if every column is bounded/fixed, leftover space shows as blank on the right. Leave at least one column unset (or `Nfr`) to soak up the remainder. Otherwise the single `width` value drives the fixed-or-flexible behaviour above.
1190
1190
 
1191
1191
  ---
1192
1192