@dbx-tools/ui 0.9.131 → 0.9.132
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/README.md +34 -15
- package/index.ts +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# @dbx-tools/ui
|
|
2
2
|
|
|
3
|
-
Use
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
larger optional dependency families.
|
|
3
|
+
Use this React package for the shared Databricks AppKit UI foundation, branding,
|
|
4
|
+
passwordless authentication, email surfaces, and Databricks AI Search controls.
|
|
5
|
+
Import only the subpaths that your browser application uses.
|
|
7
6
|
|
|
8
7
|
## Foundation
|
|
9
8
|
|
|
@@ -12,9 +11,27 @@ import { Button, BrandPicker } from "@dbx-tools/ui/react";
|
|
|
12
11
|
import "@dbx-tools/ui/styles.css";
|
|
13
12
|
```
|
|
14
13
|
|
|
15
|
-
`./react` re-exports
|
|
14
|
+
`./react` re-exports Databricks AppKit UI primitives and adds `BrandPicker`.
|
|
16
15
|
`./styles.css` provides Tailwind, Streamdown, code-block, and brand-token bridge
|
|
17
|
-
styles for dbx-tools
|
|
16
|
+
styles for dbx-tools UI packages.
|
|
17
|
+
|
|
18
|
+
## Choose a UI package
|
|
19
|
+
|
|
20
|
+
- Use `@dbx-tools/ui` for common AppKit components, branding, authentication,
|
|
21
|
+
email, and search. Import its base stylesheet and any feature stylesheet.
|
|
22
|
+
Authentication components call [@dbx-tools/auth-gate](../../node/auth-gate)
|
|
23
|
+
routes. Search components pair with [@dbx-tools/search](../../node/search)
|
|
24
|
+
and use AppKit's published `aiSearch` client configuration.
|
|
25
|
+
- Use [@dbx-tools/ui-mastra](../mastra) with
|
|
26
|
+
[@dbx-tools/appkit-mastra](../../node/appkit-mastra). Import the AppKit UI
|
|
27
|
+
stylesheet before the Mastra stylesheet. Mount chat inside the application's
|
|
28
|
+
authentication boundary. The client reads the plugin's published
|
|
29
|
+
`clientConfig()` payload.
|
|
30
|
+
- Use [@dbx-tools/ui-teams](../teams) with
|
|
31
|
+
[@dbx-tools/teams](../../node/teams). Import the AppKit UI stylesheet before
|
|
32
|
+
the Teams stylesheet. The preview components use explicit HTTP endpoints and
|
|
33
|
+
don't consume published plugin client configuration. Microsoft Teams bot
|
|
34
|
+
authentication remains a server concern.
|
|
18
35
|
|
|
19
36
|
## Branding
|
|
20
37
|
|
|
@@ -44,7 +61,7 @@ import "@dbx-tools/ui/email/styles.css";
|
|
|
44
61
|
```
|
|
45
62
|
|
|
46
63
|
Email components consume `@dbx-tools/shared-email` and
|
|
47
|
-
`@dbx-tools/shared-email-template
|
|
64
|
+
`@dbx-tools/shared-email-template`. Transport and approval remain server concerns.
|
|
48
65
|
|
|
49
66
|
## Search
|
|
50
67
|
|
|
@@ -53,13 +70,15 @@ import { SearchBox, SearchResults, useSearch } from "@dbx-tools/ui/search/react"
|
|
|
53
70
|
import "@dbx-tools/ui/search/styles.css";
|
|
54
71
|
```
|
|
55
72
|
|
|
56
|
-
Search components consume
|
|
57
|
-
|
|
73
|
+
Search components consume
|
|
74
|
+
[@dbx-tools/shared-search](../../shared/search) and AppKit's browser query
|
|
75
|
+
hook. Backend selection and workspace access remain in
|
|
76
|
+
[@dbx-tools/search](../../node/search).
|
|
58
77
|
|
|
59
|
-
##
|
|
78
|
+
## Package exports
|
|
60
79
|
|
|
61
|
-
- `./react`, `./styles.css
|
|
62
|
-
- `./branding/react`, `./branding/browser`, `./branding/assets
|
|
63
|
-
- `./auth/react
|
|
64
|
-
- `./email/react`, `./email/styles.css
|
|
65
|
-
- `./search/react`, `./search/styles.css
|
|
80
|
+
- `./react`, `./styles.css`: common AppKit UI foundation.
|
|
81
|
+
- `./branding/react`, `./branding/browser`, `./branding/assets`: brand runtime and assets.
|
|
82
|
+
- `./auth/react`: passwordless sign-in and passkey management.
|
|
83
|
+
- `./email/react`, `./email/styles.css`: approval, preview, and compose UI.
|
|
84
|
+
- `./search/react`, `./search/styles.css`: Databricks AI Search controls and state.
|
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.132";
|
|
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.132",
|
|
34
|
+
"@dbx-tools/shared-core": "^0.9.132",
|
|
35
|
+
"@dbx-tools/shared-email": "^0.9.132",
|
|
36
|
+
"@dbx-tools/shared-email-template": "^0.9.132",
|
|
37
|
+
"@dbx-tools/shared-search": "^0.9.132",
|
|
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.132",
|
|
48
48
|
"dbxToolsConfig": {
|
|
49
49
|
"tags": [
|
|
50
50
|
"ui"
|