@noya-app/noya-designsystem 0.1.11 → 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 +16 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/components/Avatar.tsx +5 -5
- package/src/contexts/DesignSystemConfiguration.tsx +5 -5
package/dist/index.mjs
CHANGED
|
@@ -137,9 +137,7 @@ var AvatarRoot = styled3(AvatarPrimitive.Root)(({ theme, size: size2, overflow }
|
|
|
137
137
|
width: size2,
|
|
138
138
|
height: size2,
|
|
139
139
|
borderRadius: "100%",
|
|
140
|
-
backgroundColor: theme.colors.
|
|
141
|
-
outline: `1px solid ${theme.colors.secondary}`,
|
|
142
|
-
outlineOffset: "-1px",
|
|
140
|
+
backgroundColor: theme.colors.inputBackground,
|
|
143
141
|
...overflow && {
|
|
144
142
|
margin: `-${overflow}px`
|
|
145
143
|
},
|
|
@@ -180,8 +178,10 @@ var AvatarStackItemWrapper = styled3.div(({ size: size2, theme }) => ({
|
|
|
180
178
|
width: size2,
|
|
181
179
|
height: size2,
|
|
182
180
|
marginLeft: "-8px",
|
|
183
|
-
outline: `2px solid ${theme.colors.sidebar.background}`,
|
|
184
|
-
borderRadius: "50%"
|
|
181
|
+
// outline: `2px solid ${theme.colors.sidebar.background}`,
|
|
182
|
+
borderRadius: "50%",
|
|
183
|
+
clipPath: `circle(50%)`,
|
|
184
|
+
overflow: "hidden"
|
|
185
185
|
}));
|
|
186
186
|
function AvatarStack({
|
|
187
187
|
size: size2 = 19,
|
|
@@ -2105,7 +2105,7 @@ var DesignSystemConfigurationProvider = memo10(
|
|
|
2105
2105
|
platform
|
|
2106
2106
|
}) {
|
|
2107
2107
|
const contextValue = useMemo9(() => ({ platform }), [platform]);
|
|
2108
|
-
return /* @__PURE__ */ React19.createElement(DesignSystemConfigurationContext.Provider, { value: contextValue }, /* @__PURE__ */ React19.createElement(ThemeProvider, { theme }, /* @__PURE__ */ React19.createElement(
|
|
2108
|
+
return /* @__PURE__ */ React19.createElement(DesignSystemConfigurationContext.Provider, { value: contextValue }, /* @__PURE__ */ React19.createElement(ThemeProvider, { theme }, /* @__PURE__ */ React19.createElement(DialogProvider, null, /* @__PURE__ */ React19.createElement(ToastProvider, null, /* @__PURE__ */ React19.createElement(FloatingWindowProvider, null, children)))));
|
|
2109
2109
|
}
|
|
2110
2110
|
);
|
|
2111
2111
|
function useDesignSystemConfiguration() {
|