@clidey/ux 0.23.0 → 0.24.0

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.d.ts CHANGED
@@ -20,6 +20,7 @@ import * as SeparatorPrimitive from '@radix-ui/react-separator';
20
20
  import * as SheetPrimitive from '@radix-ui/react-dialog';
21
21
  import * as SwitchPrimitive from '@radix-ui/react-switch';
22
22
  import * as TabsPrimitive from '@radix-ui/react-tabs';
23
+ import { toast } from 'sonner';
23
24
  import { ToasterProps } from 'sonner';
24
25
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
25
26
  import { VariantProps } from 'class-variance-authority';
@@ -514,6 +515,8 @@ declare type ThemeProviderState = {
514
515
  setTheme: (theme: Theme) => void;
515
516
  };
516
517
 
518
+ export { toast }
519
+
517
520
  export declare const Toaster: ({ className, ...props }: ToasterProps) => JSX.Element;
518
521
 
519
522
  export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element;
package/dist/index.js CHANGED
@@ -12,6 +12,7 @@ import * as M from "@radix-ui/react-dropdown-menu";
12
12
  import * as Ge from "@radix-ui/react-label";
13
13
  import * as q from "@radix-ui/react-popover";
14
14
  import { Toaster as Fe } from "sonner";
15
+ import { toast as _n } from "sonner";
15
16
  import * as J from "@radix-ui/react-tabs";
16
17
  import * as V from "@radix-ui/react-tooltip";
17
18
  import { Command as H } from "cmdk";
@@ -3530,6 +3531,7 @@ export {
3530
3531
  n as cn,
3531
3532
  na as formatDate,
3532
3533
  ra as toTitleCase,
3534
+ _n as toast,
3533
3535
  Q as useSidebar,
3534
3536
  we as useTheme
3535
3537
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@clidey/ux",
3
3
  "private": false,
4
- "version": "0.23.0",
4
+ "version": "0.24.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",