uibee 3.1.3 → 3.1.4

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.
@@ -3028,7 +3028,7 @@ function Cell({ col, row, density }) {
3028
3028
  flexShrink: 0
3029
3029
  } : void 0,
3030
3030
  className: `
3031
- ${col.width ? "" : "flex-1"} min-w-0 flex items-center text-sm text-login-75
3031
+ ${col.width ? "" : "flex-1"} ${shouldTruncate ? "min-w-0" : ""} flex items-center text-sm text-login-75
3032
3032
  ${DENSITY_TD[density]}
3033
3033
  `,
3034
3034
  children: /* @__PURE__ */ jsx("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uibee",
3
- "version": "3.1.3",
3
+ "version": "3.1.4",
4
4
  "description": "Shared components, functions and hooks for reuse across Login projects",
5
5
  "homepage": "https://github.com/Login-Linjeforening-for-IT/uibee#readme",
6
6
  "bugs": {
@@ -86,7 +86,7 @@ function Cell<T extends Record<string, unknown>>({
86
86
  <td
87
87
  style={col.width ? { width: col.width, flexShrink: 0 } : undefined}
88
88
  className={`
89
- ${col.width ? '' : 'flex-1'} min-w-0 flex items-center text-sm text-login-75
89
+ ${col.width ? '' : 'flex-1'} ${shouldTruncate ? 'min-w-0' : ''} flex items-center text-sm text-login-75
90
90
  ${DENSITY_TD[density]}
91
91
  `}
92
92
  >