@optigrit/optigrit-ui 0.0.18 → 0.0.20

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.
@@ -68,4 +68,10 @@ type ShowProps = {
68
68
  };
69
69
  declare function Show({ when, children, otherwise }: ShowProps): ReactNode;
70
70
 
71
- export { Popover, PopoverProps, Ripple, type RippleProps, type RippleRef, Show, type ShowProps, ShowWithAnimation, ShowWithAnimationProps, Spinner, type SpinnerColor, type SpinnerProps };
71
+ /**
72
+ * Utility function to merge tailwind classes safely.
73
+ * Uses `twMerge` to correctly override conflicting tailwind utility classes.
74
+ */
75
+ declare function cn(...inputs: (string | undefined | null | false | boolean)[]): string;
76
+
77
+ export { Popover, PopoverProps, Ripple, type RippleProps, type RippleRef, Show, type ShowProps, ShowWithAnimation, ShowWithAnimationProps, Spinner, type SpinnerColor, type SpinnerProps, cn };
@@ -4,8 +4,9 @@ import {
4
4
  Ripple,
5
5
  Show,
6
6
  ShowWithAnimation,
7
- Spinner
8
- } from "../chunk-AGDACE33.js";
7
+ Spinner,
8
+ cn
9
+ } from "../chunk-4KHU7KPD.js";
9
10
  import "../chunk-MCQS3QNN.js";
10
11
  import "../chunk-OP7KGPEN.js";
11
12
  export {
@@ -14,5 +15,6 @@ export {
14
15
  Ripple,
15
16
  Show,
16
17
  ShowWithAnimation,
17
- Spinner
18
+ Spinner,
19
+ cn
18
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optigrit/optigrit-ui",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "UI components library for optigrit apps",
5
5
  "license": "ISC",
6
6
  "author": "",
File without changes