@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 +1 -1
- package/package.json +6 -6
- package/src/react/record-preview.tsx +15 -11
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.
|
|
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.
|
|
34
|
-
"@dbx-tools/shared-core": "^0.9.
|
|
35
|
-
"@dbx-tools/shared-email": "^0.9.
|
|
36
|
-
"@dbx-tools/shared-email-template": "^0.9.
|
|
37
|
-
"@dbx-tools/shared-search": "^0.9.
|
|
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.
|
|
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
|
-
<
|
|
156
|
-
|
|
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
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
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
|
-
<
|
|
298
|
-
|
|
299
|
-
className="
|
|
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>
|