@neoptocom/neopto-ui 0.6.0 → 0.6.1

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/dist/index.cjs CHANGED
@@ -174,7 +174,7 @@ function Typo({
174
174
  }
175
175
  );
176
176
  }
177
- function getAvatarClasses(size = "sm", className) {
177
+ function getAvatarClasses(size = "md", className) {
178
178
  const base = "relative box-border flex items-center justify-center overflow-hidden rounded-full border border-[var(--border)] bg-[var(--muted)] text-[var(--fg)] select-none";
179
179
  const sizes = {
180
180
  sm: "w-[28px] h-[28px]",
package/dist/index.js CHANGED
@@ -153,7 +153,7 @@ function Typo({
153
153
  }
154
154
  );
155
155
  }
156
- function getAvatarClasses(size = "sm", className) {
156
+ function getAvatarClasses(size = "md", className) {
157
157
  const base = "relative box-border flex items-center justify-center overflow-hidden rounded-full border border-[var(--border)] bg-[var(--muted)] text-[var(--fg)] select-none";
158
158
  const sizes = {
159
159
  sm: "w-[28px] h-[28px]",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neoptocom/neopto-ui",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "private": false,
5
5
  "description": "A modern React component library built with Tailwind CSS v4 and TypeScript. Features dark mode, design tokens, and comprehensive Storybook documentation. Requires Tailwind v4+.",
6
6
  "keywords": [
@@ -15,7 +15,7 @@ export type AvatarProps = {
15
15
  size?: "sm" | "md";
16
16
  } & Omit<React.HTMLAttributes<HTMLDivElement>, "children">;
17
17
 
18
- function getAvatarClasses(size: AvatarProps["size"] = "sm", className?: string): string {
18
+ function getAvatarClasses(size: AvatarProps["size"] = "md", className?: string): string {
19
19
  const base =
20
20
  "relative box-border flex items-center justify-center overflow-hidden rounded-full " +
21
21
  "border border-[var(--border)] bg-[var(--muted)] text-[var(--fg)] select-none";