@noya-app/noya-designsystem 0.1.26 → 0.1.28

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": "@noya-app/noya-designsystem",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -38,7 +38,6 @@
38
38
  "immer": "9.0.5",
39
39
  "kiwi.js": "^1.1.3",
40
40
  "react-resizable-panels": "2.0.22",
41
- "react-virtualized": "^9.22.3",
42
41
  "react-window": "^1.8.8",
43
42
  "vscode-fuzzy-scorer": "^0.0.4"
44
43
  },
@@ -46,7 +45,9 @@
46
45
  "@types/react": "*",
47
46
  "@types/react-dom": "*",
48
47
  "@types/react-virtualized": "^9.21.21",
49
- "@types/react-window": "^1.8.5"
48
+ "@types/react-window": "^1.8.5",
49
+ "react-virtualized": "9.22.5",
50
+ "esbuild-plugin-react-virtualized": "1.0.4"
50
51
  },
51
52
  "peerDependencies": {
52
53
  "react": "*",
package/src/index.tsx CHANGED
@@ -30,6 +30,7 @@ export * from "./components/GradientPicker";
30
30
  export * from "./components/Grid";
31
31
  export * from "./components/GridView";
32
32
  export * from "./components/IconButton";
33
+ export * from "./components/Icons";
33
34
  export * from "./components/InputField";
34
35
  export * from "./components/InputFieldWithCompletions";
35
36
  export * from "./components/InspectorContainer";
@@ -91,6 +91,12 @@ export const colors = {
91
91
  selection: "rgb(179,215,254)",
92
92
  thumbnailBackground: "#f0efff",
93
93
  thumbnailShadow: "#D3CEED66",
94
+ inlineCode: {
95
+ text: "rgb(103, 70, 255)",
96
+ background: "rgb(240, 242, 246)",
97
+ },
98
+ textLink: "rgb(103, 70, 255)",
99
+ textLinkFocused: "rgb(147, 86, 255)",
94
100
  };
95
101
 
96
102
  export const fonts = {
@@ -193,6 +199,9 @@ export const textStyles = {
193
199
  };
194
200
 
195
201
  export const sizes = {
202
+ inset: {
203
+ top: 46,
204
+ },
196
205
  sidebarWidth: 260,
197
206
  toolbar: {
198
207
  height: 46,
package/tsup.config.ts ADDED
@@ -0,0 +1,12 @@
1
+ import fixReactVirtualized from "esbuild-plugin-react-virtualized";
2
+ import { defineConfig } from "tsup";
3
+
4
+ // "build": "tsup src/index.tsx --format cjs,esm --dts --sourcemap",
5
+ export default defineConfig({
6
+ entry: ["./src/index.tsx"],
7
+ format: ["cjs", "esm"],
8
+ dts: true,
9
+ sourcemap: true,
10
+ noExternal: ["react-virtualized"],
11
+ esbuildPlugins: [fixReactVirtualized],
12
+ });