@dbx-tools/ui-appkit 0.6.40 → 0.6.42
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 +19 -23
- package/src/react/appkit-ui.ts +9 -0
- package/src/react/index.ts +1 -6
- package/src/vite.ts +0 -15
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -5,35 +5,42 @@
|
|
|
5
5
|
"url": "git+https://github.com/reggie-db/dbx-tools.git",
|
|
6
6
|
"directory": "packages/ui/appkit"
|
|
7
7
|
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "projen build",
|
|
10
|
+
"compile": "projen compile",
|
|
11
|
+
"default": "projen default",
|
|
12
|
+
"package": "projen package",
|
|
13
|
+
"post-compile": "projen post-compile",
|
|
14
|
+
"pre-compile": "projen pre-compile",
|
|
15
|
+
"test": "projen test",
|
|
16
|
+
"watch": "projen watch",
|
|
17
|
+
"projen": "projen"
|
|
18
|
+
},
|
|
8
19
|
"devDependencies": {
|
|
20
|
+
"@types/bun": "^1.3.14",
|
|
9
21
|
"@types/node": "^24.6.0",
|
|
10
22
|
"@types/react": "^19.2.2",
|
|
11
23
|
"@types/react-dom": "^19.2.2",
|
|
12
|
-
"
|
|
13
|
-
"typescript": "^5.9.3",
|
|
14
|
-
"vite": "^7.1.14"
|
|
24
|
+
"typescript": "^5.9.3"
|
|
15
25
|
},
|
|
16
26
|
"dependencies": {
|
|
17
27
|
"@databricks/appkit-ui": "^0.43.1",
|
|
18
|
-
"@
|
|
19
|
-
"@
|
|
28
|
+
"@dbx-tools/shared-core": "0.6.42",
|
|
29
|
+
"@dbx-tools/ui-branding": "0.6.42",
|
|
20
30
|
"react": "^19.2.4",
|
|
21
31
|
"react-dom": "^19.2.4",
|
|
22
32
|
"streamdown": "^2.5.0",
|
|
23
|
-
"tailwindcss": "^4.3.2"
|
|
24
|
-
"@dbx-tools/shared-core": "0.6.40",
|
|
25
|
-
"@dbx-tools/ui-branding": "0.6.40"
|
|
33
|
+
"tailwindcss": "^4.3.2"
|
|
26
34
|
},
|
|
27
35
|
"license": "UNLICENSED",
|
|
28
36
|
"publishConfig": {
|
|
29
37
|
"access": "public"
|
|
30
38
|
},
|
|
31
|
-
"version": "0.6.
|
|
39
|
+
"version": "0.6.42",
|
|
32
40
|
"type": "module",
|
|
33
41
|
"exports": {
|
|
34
42
|
"./react": "./src/react/index.ts",
|
|
35
43
|
"./styles.css": "./src/styles.css",
|
|
36
|
-
"./vite": "./src/vite.ts",
|
|
37
44
|
"./package.json": "./package.json"
|
|
38
45
|
},
|
|
39
46
|
"files": [
|
|
@@ -45,16 +52,5 @@
|
|
|
45
52
|
"ui"
|
|
46
53
|
]
|
|
47
54
|
},
|
|
48
|
-
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"
|
|
49
|
-
|
|
50
|
-
"build": "projen build",
|
|
51
|
-
"compile": "projen compile",
|
|
52
|
-
"default": "projen default",
|
|
53
|
-
"package": "projen package",
|
|
54
|
-
"post-compile": "projen post-compile",
|
|
55
|
-
"pre-compile": "projen pre-compile",
|
|
56
|
-
"test": "projen test",
|
|
57
|
-
"watch": "projen watch",
|
|
58
|
-
"projen": "projen"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
55
|
+
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"bunx projen\"."
|
|
56
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Re-export of AppKit's React UI kit so the `@dbx-tools/*` UI packages import
|
|
2
|
+
// their primitives (Button, Input, cn, etc.) through one stable specifier -
|
|
3
|
+
// `@dbx-tools/ui-appkit/react` - and resolve AppKit + React from this package's
|
|
4
|
+
// dependencies rather than each consumer's.
|
|
5
|
+
//
|
|
6
|
+
// This lives in a NAMED module (not the `index.ts` barrel) so package discovery
|
|
7
|
+
// - which ignores barrels + `.css` - still sees `ui-appkit` as a real package.
|
|
8
|
+
|
|
9
|
+
export * from "@databricks/appkit-ui/react";
|
package/src/react/index.ts
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
// their primitives (Button, Input, cn, etc.) through one stable specifier -
|
|
3
|
-
// `@dbx-tools/ui-appkit/react` - and resolve AppKit + React from this package's
|
|
4
|
-
// dependencies rather than each consumer's.
|
|
5
|
-
|
|
6
|
-
export * from "@databricks/appkit-ui/react";
|
|
1
|
+
export * from "./appkit-ui.ts";
|
package/src/vite.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Default Vite plugins for host apps building `@dbx-tools/*` UI packages.
|
|
3
|
-
* Import from `@dbx-tools/ui-appkit/vite` so Tailwind and React refresh resolve
|
|
4
|
-
* from this package's dependencies, not the host's.
|
|
5
|
-
*
|
|
6
|
-
* @module
|
|
7
|
-
*/
|
|
8
|
-
import tailwindcss from "@tailwindcss/vite";
|
|
9
|
-
import react from "@vitejs/plugin-react";
|
|
10
|
-
import type { PluginOption } from "vite";
|
|
11
|
-
|
|
12
|
-
/** React + Tailwind v4 plugins for a standard AppKit UI Vite app. */
|
|
13
|
-
export function appkitUiVitePlugins(): PluginOption[] {
|
|
14
|
-
return [react(), tailwindcss()];
|
|
15
|
-
}
|