@prisma/studio-core 0.0.0-dev.202503270044 → 0.0.0-dev.202503272001

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/studio-core",
3
- "version": "0.0.0-dev.202503270044",
3
+ "version": "0.0.0-dev.202503272001",
4
4
  "description": "Modular Prisma Studio components",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -54,7 +54,8 @@
54
54
  "types": "./dist/ui/index.d.cts",
55
55
  "default": "./dist/ui/index.cjs"
56
56
  }
57
- }
57
+ },
58
+ "./ui/index.css": "./dist/ui/index.css"
58
59
  },
59
60
  "keywords": [],
60
61
  "author": "",
@@ -64,13 +65,13 @@
64
65
  "@electric-sql/pglite": "0.2.17",
65
66
  "@prisma/client": "6.5.0",
66
67
  "@prisma/generator": "6.6.0-integration-push-xmzqvqxpztks.1",
67
- "@tailwindcss/postcss": "4.0.14",
68
+ "@types/node": "22.3.0",
69
+ "@types/react": "^19.0.12",
70
+ "@types/react-dom": "^19.0.4",
68
71
  "kysely": "0.27.4",
69
- "postcss": "8.4.41",
72
+ "lucide-react": "0.427.0",
70
73
  "std-env": "3.8.1",
71
- "tailwind-merge": "2.5.2",
72
- "tailwindcss": "4.0.14",
73
- "tailwindcss-animate": "1.0.7",
74
+ "tailwindcss": "3",
74
75
  "tsup": "8.0.2",
75
76
  "tsx": "4.17.0",
76
77
  "typescript": "5.5.4",
@@ -82,10 +83,35 @@
82
83
  "peerDependencies": {
83
84
  "@prisma/client": "6.5.0",
84
85
  "@types/react": "18.3.3",
85
- "react": "18.3.0-canary-a870b2d54-20240314"
86
+ "react": "18.3.0",
87
+ "react-dom": "18.3.0"
88
+ },
89
+ "dependencies": {
90
+ "@dnd-kit/core": "6.3.1",
91
+ "@dnd-kit/sortable": "10.0.0",
92
+ "@dnd-kit/utilities": "3.2.2",
93
+ "@radix-ui/react-checkbox": "1.1.4",
94
+ "@radix-ui/react-context-menu": "2.2.6",
95
+ "@radix-ui/react-dialog": "1.1.6",
96
+ "@radix-ui/react-dropdown-menu": "2.1.6",
97
+ "@radix-ui/react-popover": "1.1.6",
98
+ "@radix-ui/react-select": "2.1.6",
99
+ "@radix-ui/react-slot": "1.1.2",
100
+ "@tanstack/react-table": "8.20.1",
101
+ "@uiw/codemirror-theme-tokyo-night": "4.23.10",
102
+ "@uiw/react-codemirror": "4.23.10",
103
+ "autoprefixer": "10.4.21",
104
+ "class-variance-authority": "0.7.0",
105
+ "clsx": "2.1.1",
106
+ "nuqs": "2.4.1",
107
+ "postcss": "8.4.41",
108
+ "tailwind-merge": "2.5.2",
109
+ "tailwindcss-animate": "1.0.7",
110
+ "zod": "3.24.2"
86
111
  },
87
112
  "scripts": {
88
113
  "build": "tsup",
114
+ "dev": "tsup --watch",
89
115
  "check:exports": "attw --pack . --profile node16",
90
116
  "typecheck": "tsc",
91
117
  "lint": "eslint --fix .",
package/dist/ui/index.css DELETED
@@ -1,2 +0,0 @@
1
- @layer theme,base,components,utilities;@layer theme{:root,:host{--ps-spacing: .25rem}}@layer utilities{.ps\:p-10{padding:calc(var(--ps-spacing) * 10)}}body{background-color:var(--background)}:root{--radius: .625rem;--background: oklch(1 0 0);--foreground: oklch(.141 .005 285.823);--card: oklch(1 0 0);--card-foreground: oklch(.141 .005 285.823);--popover: oklch(1 0 0);--popover-foreground: oklch(.141 .005 285.823);--primary: oklch(.21 .006 285.885);--primary-foreground: oklch(.985 0 0);--secondary: oklch(.967 .001 286.375);--secondary-foreground: oklch(.21 .006 285.885);--muted: oklch(.967 .001 286.375);--muted-foreground: oklch(.552 .016 285.938);--accent: oklch(.967 .001 286.375);--accent-foreground: oklch(.21 .006 285.885);--destructive: oklch(.577 .245 27.325);--border: oklch(.92 .004 286.32);--input: oklch(.92 .004 286.32);--ring: oklch(.705 .015 286.067);--chart-1: oklch(.646 .222 41.116);--chart-2: oklch(.6 .118 184.704);--chart-3: oklch(.398 .07 227.392);--chart-4: oklch(.828 .189 84.429);--chart-5: oklch(.769 .188 70.08);--sidebar: oklch(.985 0 0);--sidebar-foreground: oklch(.141 .005 285.823);--sidebar-primary: oklch(.21 .006 285.885);--sidebar-primary-foreground: oklch(.985 0 0);--sidebar-accent: oklch(.967 .001 286.375);--sidebar-accent-foreground: oklch(.21 .006 285.885);--sidebar-border: oklch(.92 .004 286.32);--sidebar-ring: oklch(.705 .015 286.067);--studio-cell-spacing: 16px}.dark{--background: oklch(.141 .005 285.823);--foreground: oklch(.985 0 0);--card: oklch(.21 .006 285.885);--card-foreground: oklch(.985 0 0);--popover: oklch(.21 .006 285.885);--popover-foreground: oklch(.985 0 0);--primary: oklch(.92 .004 286.32);--primary-foreground: oklch(.21 .006 285.885);--secondary: oklch(.274 .006 286.033);--secondary-foreground: oklch(.985 0 0);--muted: oklch(.274 .006 286.033);--muted-foreground: oklch(.705 .015 286.067);--accent: oklch(.274 .006 286.033);--accent-foreground: oklch(.985 0 0);--destructive: oklch(.704 .191 22.216);--border: oklch(1 0 0 / 10%);--input: oklch(1 0 0 / 15%);--ring: oklch(.552 .016 285.938);--chart-1: oklch(.488 .243 264.376);--chart-2: oklch(.696 .17 162.48);--chart-3: oklch(.769 .188 70.08);--chart-4: oklch(.627 .265 303.9);--chart-5: oklch(.645 .246 16.439);--sidebar: oklch(.21 .006 285.885);--sidebar-foreground: oklch(.985 0 0);--sidebar-primary: oklch(.488 .243 264.376);--sidebar-primary-foreground: oklch(.985 0 0);--sidebar-accent: oklch(.274 .006 286.033);--sidebar-accent-foreground: oklch(.985 0 0);--sidebar-border: oklch(1 0 0 / 10%);--sidebar-ring: oklch(.552 .016 285.938)}@layer base{.tw-preflight{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}*{border-color:var(--border);outline-color:color-mix(in oklab,var(--ring) 50%,transparent)}body{background-color:var(--background);color:var(--foreground)}}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}
2
- /*! tailwindcss v4.0.14 | MIT License | https://tailwindcss.com */