@dbx-tools/ui 0.9.116 → 0.9.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/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // Hand edits are overwritten on the next watch; this file is read-only.
4
4
 
5
5
  export const PACKAGE_IDENTIFIER = "@dbx-tools/ui";
6
- export const PACKAGE_VERSION = "0.9.116";
6
+ export const PACKAGE_VERSION = "0.9.117";
7
7
  export * as authReactAuthClient from "./src/auth/react/auth-client.ts";
8
8
  export * as authReactAuthGate from "./src/auth/react/auth-gate.tsx";
9
9
  export * as authReactPasskeyManager from "./src/auth/react/passkey-manager.tsx";
package/package.json CHANGED
@@ -30,11 +30,11 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@databricks/appkit-ui": "0.81.0",
33
- "@dbx-tools/shared-auth": "^0.9.116",
34
- "@dbx-tools/shared-core": "^0.9.116",
35
- "@dbx-tools/shared-email": "^0.9.116",
36
- "@dbx-tools/shared-email-template": "^0.9.116",
37
- "@dbx-tools/shared-search": "^0.9.116",
33
+ "@dbx-tools/shared-auth": "^0.9.117",
34
+ "@dbx-tools/shared-core": "^0.9.117",
35
+ "@dbx-tools/shared-email": "^0.9.117",
36
+ "@dbx-tools/shared-email-template": "^0.9.117",
37
+ "@dbx-tools/shared-search": "^0.9.117",
38
38
  "lucide-react": "^0.554.0",
39
39
  "shiki": "^3.0.0",
40
40
  "streamdown": "^2.5.0",
@@ -44,7 +44,7 @@
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "version": "0.9.116",
47
+ "version": "0.9.117",
48
48
  "dbxToolsConfig": {
49
49
  "tags": [
50
50
  "ui"
@@ -152,14 +152,19 @@ function FieldRow({
152
152
  }) {
153
153
  return (
154
154
  <TableRow className={cn("hover:bg-transparent", divided && "border-t-2 border-border/50")}>
155
- <TableHead
156
- className="h-auto w-28 align-top whitespace-normal px-0 py-1.5 pr-2 font-medium text-muted-foreground sm:w-[8.5rem]"
155
+ <TableCell
156
+ colSpan={2}
157
+ className="min-w-0 whitespace-normal px-0 py-1.5 pr-8 align-top [overflow-wrap:anywhere]"
157
158
  style={{ paddingLeft: rowIndent(depth) }}
158
159
  >
159
- {row.label}
160
- </TableHead>
161
- <TableCell className="min-w-0 whitespace-normal px-0 py-1.5 pr-8 align-top [overflow-wrap:anywhere]">
162
- <RecordValue value={row.value} depth={depth} />
160
+ <div className="grid min-w-0 gap-0.5 sm:grid-cols-[8.5rem_minmax(0,1fr)] sm:gap-2">
161
+ <div className="text-[10px] font-medium leading-snug text-muted-foreground sm:text-[11px]">
162
+ {row.label}
163
+ </div>
164
+ <div className="min-w-0">
165
+ <RecordValue value={row.value} depth={depth} />
166
+ </div>
167
+ </div>
163
168
  </TableCell>
164
169
  </TableRow>
165
170
  );
@@ -294,12 +299,11 @@ function NestedTextMarkerRow({ depth, divided }: { depth: number; divided: boole
294
299
  function ValueRow({ value, depth, divided }: { value: unknown; depth: number; divided?: boolean }) {
295
300
  return (
296
301
  <TableRow className={cn("hover:bg-transparent", divided && "border-t-2 border-border/50")}>
297
- <TableHead
298
- aria-hidden
299
- className="h-auto w-28 px-0 py-1.5 pr-2 sm:w-[8.5rem]"
302
+ <TableCell
303
+ colSpan={2}
304
+ className="min-w-0 whitespace-normal px-0 py-1.5 pr-8 align-top [overflow-wrap:anywhere]"
300
305
  style={{ paddingLeft: rowIndent(depth) }}
301
- />
302
- <TableCell className="min-w-0 whitespace-normal px-0 py-1.5 pr-8 align-top [overflow-wrap:anywhere]">
306
+ >
303
307
  <RecordValue value={value} depth={depth} />
304
308
  </TableCell>
305
309
  </TableRow>