@bevel-software/platform-core-frontend 0.9.0 → 0.9.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bevel-software/platform-core-frontend",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Open-source core UI of the Bevel platform (raw TS/TSX source): workspace explorer/viewer, branches & change requests, Library, secrets, tools, access control.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"tailwind-merge": "^3.5.0",
|
|
42
42
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
|
|
43
43
|
"yaml": "^2.9.0",
|
|
44
|
-
"@bevel-software/platform-shared": "0.9.
|
|
44
|
+
"@bevel-software/platform-shared": "0.9.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@testing-library/jest-dom": "^6.9.1",
|
|
@@ -110,8 +110,13 @@ export function LibraryCard({
|
|
|
110
110
|
// Dashed, because the card is an outline of a skill rather than one: the
|
|
111
111
|
// border says "not here yet" before any text is read, and it survives the
|
|
112
112
|
// badge being missed at a glance.
|
|
113
|
+
// `min-w-0`: the card sits in a grid (or the remove-overlay's wrapper),
|
|
114
|
+
// and a grid item's automatic minimum is its content's min-content width
|
|
115
|
+
// — a long tool name plus its badges would make the card WIDER than its
|
|
116
|
+
// track and paint under the neighbouring card. Allowing the card to
|
|
117
|
+
// shrink is what lets the name's `truncate` actually engage.
|
|
113
118
|
className={cn(
|
|
114
|
-
'flex min-h-28 flex-col gap-1.5 text-left',
|
|
119
|
+
'flex min-h-28 min-w-0 flex-col gap-1.5 text-left',
|
|
115
120
|
pending && 'border-dashed',
|
|
116
121
|
)}
|
|
117
122
|
onClick={onOpen}
|
|
@@ -174,7 +174,7 @@ export function CardGrid({
|
|
|
174
174
|
// child the way the outer grid stretched the bare card — without it
|
|
175
175
|
// the <button> shrinks to its content and the overlay floats in the
|
|
176
176
|
// leftover width, off the card's own edge.
|
|
177
|
-
<div key={key} className="group/removable relative grid">
|
|
177
|
+
<div key={key} className="group/removable relative grid min-w-0">
|
|
178
178
|
{card}
|
|
179
179
|
<button
|
|
180
180
|
type="button"
|