Skip to content

Commit 9061752

Browse files
authored
chore: app kit pack (#40)
1 parent c110e09 commit 9061752

File tree

23 files changed

+344
-32
lines changed

23 files changed

+344
-32
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
dist
22
build
3+
tmp
34
node_modules
45
.env
56

@@ -8,6 +9,4 @@ coverage
89
*.tsbuildinfo
910
docs
1011

11-
routeTree.gen.ts
12-
1312
.turbo

CONTRIBUTING.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,3 @@ will run all the builds and then start the app project. In order to make this wo
6767
```
6868
DATABRICKS_HOST=
6969
```
70-
71-
## Adding new packages
72-
73-
To add a new sdk package, run the following command
74-
75-
```
76-
pnpm create-package
77-
```
78-
79-
It will prompt for a name and the type of package (backend or frontend).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# apps-sdk
1+
# App Kit
22

33
## Contributing
44

apps/dev-playground/client/src/components/ui/chart.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const ChartTooltipContent = React.forwardRef<
109109
indicator?: "line" | "dot" | "dashed";
110110
nameKey?: string;
111111
labelKey?: string;
112-
}
112+
} & { payload?: any[]; label?: string }
113113
>(
114114
(
115115
{
@@ -261,7 +261,8 @@ const ChartLegend = RechartsPrimitive.Legend;
261261
const ChartLegendContent = React.forwardRef<
262262
HTMLDivElement,
263263
React.ComponentProps<"div"> &
264-
Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
264+
Pick<RechartsPrimitive.LegendProps, "verticalAlign"> & {
265+
payload?: RechartsPrimitive.LegendPayload[];
265266
hideIcon?: boolean;
266267
nameKey?: string;
267268
}

apps/dev-playground/client/src/routes/__root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function RootComponent() {
2828
className="no-underline text-inherit hover:opacity-80 transition-opacity"
2929
>
3030
<h4 className="text-xl font-semibold tracking-tight">
31-
Apps SDK
31+
App Kit Playground
3232
</h4>
3333
</Link>
3434
<div className="flex gap-3">

apps/dev-playground/client/src/routes/analytics.route.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-nocheck
12
import { useAnalyticsQuery } from "@databricks/app-kit-ui/react";
23
import { createFileRoute, retainSearchParams } from "@tanstack/react-router";
34
import { useMemo, useState } from "react";

apps/dev-playground/client/src/routes/data-visualization.route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function DataVisualizationRoute() {
8181
<div className="max-w-[1200px] mx-auto px-6 py-12">
8282
<Header
8383
title="Data Visualization"
84-
description="Explore powerful and customizable chart components from the Apps SDK."
84+
description="Explore powerful and customizable chart components from the App Kit."
8585
tooltip="Showcase of BarChart, AreaChart, LineChart, PieChart, and RadarChart components"
8686
/>
8787

apps/dev-playground/client/src/routes/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ function IndexRoute() {
2121
<div className="max-w-6xl mx-auto px-6 py-20">
2222
<div className="text-center mb-16">
2323
<h1 className="text-5xl font-bold text-gray-900 mb-4">
24-
Apps SDK Playground
24+
App Kit Playground
2525
</h1>
2626
<p className="text-xl text-gray-600 max-w-2xl mx-auto">
27-
Explore the capabilities of the Apps SDK with interactive examples
27+
Explore the capabilities of the App Kit with interactive examples
2828
and demos
2929
</p>
3030
</div>
@@ -107,7 +107,7 @@ function IndexRoute() {
107107

108108
<div className="text-center pt-12 border-t border-gray-200">
109109
<p className="text-sm text-gray-500">
110-
built by databricks using apps sdk
110+
built by databricks using app-kit
111111
</p>
112112
</div>
113113
</div>

apps/dev-playground/config/appKitTypes.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Auto-generated by AppKit - DO NOT EDIT
2-
// Generated at: 2025-11-27T16:48:55.599Z
2+
// Generated at: 2025-11-28T12:10:49.910Z
33

44
import "@databricks/app-kit-ui/react";
55

apps/dev-playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "sdk-playground",
2+
"name": "app-kit",
33
"version": "1.0.0",
44
"main": "build/index.js",
55
"scripts": {

0 commit comments

Comments
 (0)