@noya-app/noya-designsystem 0.1.3 → 0.1.5
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/.turbo/turbo-build.log +9 -9
- package/CHANGELOG.md +13 -0
- package/dist/index.d.mts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/components/Stack.tsx +1 -0
- package/src/components/internal/Menu.tsx +2 -3
- package/src/theme/light.ts +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noya-app/noya-designsystem",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"@dnd-kit/core": "3.1.1",
|
|
14
14
|
"@dnd-kit/modifiers": "3.0.0",
|
|
15
15
|
"@dnd-kit/sortable": "4.0.0",
|
|
16
|
-
"@noya-app/noya-colorpicker": "0.1.
|
|
16
|
+
"@noya-app/noya-colorpicker": "0.1.3",
|
|
17
17
|
"@noya-app/noya-utils": "0.1.0",
|
|
18
|
-
"@noya-app/noya-geometry": "0.1.
|
|
18
|
+
"@noya-app/noya-geometry": "0.1.1",
|
|
19
19
|
"@noya-app/noya-icons": "0.1.0",
|
|
20
20
|
"@noya-app/noya-keymap": "0.1.0",
|
|
21
21
|
"@radix-ui/primitive": "^1.0.0",
|
package/src/components/Stack.tsx
CHANGED
|
@@ -64,6 +64,7 @@ interface StyleProps {
|
|
|
64
64
|
pointerEvents?: CSSProperties["pointerEvents"];
|
|
65
65
|
lineHeight?: CSSProperties["lineHeight"];
|
|
66
66
|
isolation?: CSSProperties["isolation"];
|
|
67
|
+
backdropFilter?: CSSProperties["backdropFilter"];
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
export type StackBreakpointList = BreakpointCollection<StyleProps>;
|
|
@@ -73,9 +73,8 @@ export type MenuItem<T extends string> =
|
|
|
73
73
|
| RegularMenuItem<T>;
|
|
74
74
|
|
|
75
75
|
// Extract type T of RegularMenuItem<T> within MenuItem<T>
|
|
76
|
-
export type ExtractMenuItemType<T> =
|
|
77
|
-
? U
|
|
78
|
-
: never;
|
|
76
|
+
export type ExtractMenuItemType<T> =
|
|
77
|
+
T extends RegularMenuItem<infer U> ? U : never;
|
|
79
78
|
|
|
80
79
|
export const CHECKBOX_WIDTH = 15;
|
|
81
80
|
export const CHECKBOX_RIGHT_INSET = 3;
|
package/src/theme/light.ts
CHANGED
|
@@ -34,6 +34,17 @@ export const colors = {
|
|
|
34
34
|
activeBackground: "rgba(0,0,0,0.1)",
|
|
35
35
|
scrollbar: "rgba(199,199,199,0.8)",
|
|
36
36
|
placeholderDots: "rgba(0,0,0,0.3)",
|
|
37
|
+
breadcrumb: {
|
|
38
|
+
get text() {
|
|
39
|
+
return colors.textMuted;
|
|
40
|
+
},
|
|
41
|
+
get textHover() {
|
|
42
|
+
return colors.textSubtle;
|
|
43
|
+
},
|
|
44
|
+
get icon() {
|
|
45
|
+
return colors.icon;
|
|
46
|
+
},
|
|
47
|
+
},
|
|
37
48
|
listView: {
|
|
38
49
|
raisedBackground: "rgba(0,0,0,0.03)",
|
|
39
50
|
editingBackground: "#fff",
|