@nation-a/ui 0.16.7 → 0.16.8

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
@@ -20683,6 +20683,7 @@ const Description$1 = React.forwardRef(
20683
20683
  return /* @__PURE__ */ jsxRuntime.jsx(Box$1, { ref, className: cx(styles2.description, className), children });
20684
20684
  }
20685
20685
  );
20686
+ Description$1.displayName = "Toast.Description";
20686
20687
  const Icon = React.forwardRef(({ icon, className }, ref) => {
20687
20688
  const styles2 = toastRecipe();
20688
20689
  return /* @__PURE__ */ jsxRuntime.jsx(Box$1, { ref, className: cx(styles2.icon, className), children: icon });
@@ -20693,7 +20694,7 @@ const ActionTrigger = React.forwardRef(({ onClick, children, className, asLink =
20693
20694
  return /* @__PURE__ */ jsxRuntime.jsx("button", { ref, className: cx(styles2.actionTrigger, className), onClick, children });
20694
20695
  });
20695
20696
  ActionTrigger.displayName = "Toast.ActionTrigger";
20696
- const Toaster = () => {
20697
+ const Toaster = ({ toastOptions, ...props }) => {
20697
20698
  return /* @__PURE__ */ jsxRuntime.jsx(
20698
20699
  Oe,
20699
20700
  {
@@ -20706,8 +20707,10 @@ const Toaster = () => {
20706
20707
  padding: 0,
20707
20708
  margin: 0,
20708
20709
  width: "100%"
20709
- }
20710
- }
20710
+ },
20711
+ ...toastOptions
20712
+ },
20713
+ ...props
20711
20714
  }
20712
20715
  );
20713
20716
  };
@@ -20715,6 +20718,7 @@ Toaster.displayName = "Toast.Toaster";
20715
20718
  const Toast = React.forwardRef((props, ref) => {
20716
20719
  return /* @__PURE__ */ jsxRuntime.jsx(Box$1, { ref, ...props });
20717
20720
  });
20721
+ Toast.displayName = "Toast";
20718
20722
  Toast.Root = Root$5;
20719
20723
  Toast.Content = Content$1;
20720
20724
  Toast.Description = Description$1;