nucleus-core-ts 0.9.844 → 0.9.845

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.
@@ -47,7 +47,7 @@ export function CredentialSlotRow({ slot, source, value, maskedHint, disabled, o
47
47
  children: stored ? labels.auth.stored : labels.auth.notSet
48
48
  }),
49
49
  stored ? /*#__PURE__*/ _jsx("span", {
50
- className: cn(theme.field.hint, 'truncate font-mono'),
50
+ className: cn(theme.field.hint, 'min-w-0 truncate font-mono'),
51
51
  children: maskedHint
52
52
  }) : null,
53
53
  /*#__PURE__*/ _jsx("button", {
@@ -147,7 +147,12 @@ export function MappingList({ actions, sourceId, selectedId, reloadToken, onSele
147
147
  children: [
148
148
  /*#__PURE__*/ _jsxs("button", {
149
149
  "aria-current": mapping.id === selectedId ? 'true' : undefined,
150
- className: cn(theme.list.item, 'flex-1', mapping.id === selectedId ? theme.list.itemSelected : undefined),
150
+ className: cn(theme.list.item, // `flex-1` alone leaves min-width at auto, and the title
151
+ // inside truncates — which means it never wraps, so its
152
+ // min-content width is the WHOLE name. One long mapping
153
+ // name then widened this row past the panel and scrolled
154
+ // the page sideways. min-w-0 is what lets truncate truncate.
155
+ 'min-w-0 flex-1', mapping.id === selectedId ? theme.list.itemSelected : undefined),
151
156
  onClick: ()=>onSelect(mapping),
152
157
  type: "button",
153
158
  children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nucleus-core-ts",
3
- "version": "0.9.844",
3
+ "version": "0.9.845",
4
4
  "description": "Production-ready, enterprise-grade TypeScript framework for building multi-tenant APIs",
5
5
  "author": "Hidayet Can Özcan <hidayetcan@gmail.com>",
6
6
  "license": "SEE LICENSE IN LICENSE",