@noya-app/noya-designsystem 0.1.12 → 0.1.13
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 +7 -7
- package/CHANGELOG.md +10 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/components/Avatar.tsx +5 -5
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.13",
|
|
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.
|
|
17
|
-
"@noya-app/noya-utils": "0.1.
|
|
18
|
-
"@noya-app/noya-geometry": "0.1.
|
|
16
|
+
"@noya-app/noya-colorpicker": "0.1.8",
|
|
17
|
+
"@noya-app/noya-utils": "0.1.1",
|
|
18
|
+
"@noya-app/noya-geometry": "0.1.3",
|
|
19
19
|
"@noya-app/noya-icons": "0.1.3",
|
|
20
20
|
"@noya-app/noya-keymap": "0.1.2",
|
|
21
21
|
"@radix-ui/primitive": "^1.0.0",
|
|
@@ -16,9 +16,7 @@ const AvatarRoot = styled(AvatarPrimitive.Root)<{
|
|
|
16
16
|
width: size,
|
|
17
17
|
height: size,
|
|
18
18
|
borderRadius: "100%",
|
|
19
|
-
backgroundColor: theme.colors.
|
|
20
|
-
outline: `1px solid ${theme.colors.secondary}`,
|
|
21
|
-
outlineOffset: "-1px",
|
|
19
|
+
backgroundColor: theme.colors.inputBackground,
|
|
22
20
|
...(overflow && {
|
|
23
21
|
margin: `-${overflow}px`,
|
|
24
22
|
}),
|
|
@@ -78,14 +76,16 @@ export const Avatar = forwardRef(function Avatar(
|
|
|
78
76
|
});
|
|
79
77
|
|
|
80
78
|
const AvatarStackItemWrapper = styled.div<{
|
|
81
|
-
size
|
|
79
|
+
size: number;
|
|
82
80
|
}>(({ size, theme }) => ({
|
|
83
81
|
position: "relative",
|
|
84
82
|
width: size,
|
|
85
83
|
height: size,
|
|
86
84
|
marginLeft: "-8px",
|
|
87
|
-
outline: `2px solid ${theme.colors.sidebar.background}`,
|
|
85
|
+
// outline: `2px solid ${theme.colors.sidebar.background}`,
|
|
88
86
|
borderRadius: "50%",
|
|
87
|
+
clipPath: `circle(50%)`,
|
|
88
|
+
overflow: "hidden",
|
|
89
89
|
}));
|
|
90
90
|
|
|
91
91
|
export function AvatarStack({
|