nicklabs-ui 1.0.116 → 1.0.118

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.113 | **Framework**: Vue 3.5+
6
6
 
7
7
  ---
8
8
 
@@ -1101,8 +1101,6 @@ interface NVirtualTableColumn {
1101
1101
  label: string // Column header text
1102
1102
  sortable?: boolean
1103
1103
  width?: string // CSS grid track size (e.g. "120px", "2fr"); defaults to "1fr"
1104
- minWidth?: string // Lower bound; track is content-driven within [minWidth, maxWidth]
1105
- maxWidth?: string // Upper bound; track is content-driven within [minWidth, maxWidth]
1106
1104
  }
1107
1105
  ```
1108
1106
 
@@ -1175,19 +1173,6 @@ function handleItemClick(item: User) {
1175
1173
 
1176
1174
  > **Responsive width.** Flexible (`1fr` / unset) columns won't compress below a readable minimum (120px). When the columns' combined minimum width exceeds the container — e.g. on phones — the whole table scrolls horizontally (header and body in sync) instead of squishing the columns. Fixed-width columns keep their exact width.
1177
1175
 
1178
- > **Column sizing.** Each column resolves to a CSS grid `minmax()` track:
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 |
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.
1190
-
1191
1176
  ---
1192
1177
 
1193
1178
  #### NList