lucentia-ui 0.2.19 → 0.2.21

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright 2026 Lucentia UI
3
+ Copyright 2026 Rikiya Matsuda
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -13,7 +13,7 @@ export const IconButton = React.forwardRef((props, ref) => {
13
13
  return (_jsxs("button", { ref: ref, className: clsx(styles.iconButton, styles[variant], styles[size], {
14
14
  [styles.iconOnly]: !children,
15
15
  [styles.withText]: !!children,
16
- [styles.fullWidth]: !!children,
16
+ [styles.fullWidth]: !!fullWidth,
17
17
  }, className), ...rest, children: [_jsx("span", { className: styles.icon, children: icon }), children && _jsx("span", { className: styles.text, children: children })] }));
18
18
  });
19
19
  IconButton.displayName = "IconButton";
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { ThemeProvider } from "./components/ThemeProvider";
2
+ export { useTheme } from "./components/ThemeProvider";
2
3
  export type { Theme } from "./components/ThemeProvider";
3
4
  export * from "./components/Button";
4
5
  export * from "./components/Checkbox";
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  /* ===== Theme ===== */
2
2
  export { ThemeProvider } from "./components/ThemeProvider";
3
+ export { useTheme } from "./components/ThemeProvider";
3
4
  /* ===== Components ===== */
4
5
  export * from "./components/Button";
5
6
  export * from "./components/Checkbox";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucentia-ui",
3
- "version": "0.2.19",
3
+ "version": "0.2.21",
4
4
  "description": "React UI design token and component system based on neumorphism, featuring two color themes: light and dark.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",