reykit 1.0.97 → 1.0.99
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/components/Notice.d.ts +1 -1
- package/dist/index.js +13 -2
- package/package.json +1 -1
|
@@ -6,6 +6,6 @@ export { toast as notice } from 'sonner';
|
|
|
6
6
|
*
|
|
7
7
|
* @param props.children - The node tree of the mounting context.
|
|
8
8
|
*/
|
|
9
|
-
export declare function Notice({ children, position, richColors,
|
|
9
|
+
export declare function Notice({ children, position, richColors, toastOptions, ...props }: {
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
} & ToasterProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -27950,12 +27950,23 @@ function jA({
|
|
|
27950
27950
|
children: g,
|
|
27951
27951
|
position: U = "top-center",
|
|
27952
27952
|
richColors: j = !0,
|
|
27953
|
-
|
|
27953
|
+
toastOptions: E,
|
|
27954
27954
|
...J
|
|
27955
27955
|
}) {
|
|
27956
27956
|
return /* @__PURE__ */ ue.jsxs(ue.Fragment, { children: [
|
|
27957
27957
|
g,
|
|
27958
|
-
/* @__PURE__ */ ue.jsx(
|
|
27958
|
+
/* @__PURE__ */ ue.jsx(
|
|
27959
|
+
xA,
|
|
27960
|
+
{
|
|
27961
|
+
position: U,
|
|
27962
|
+
richColors: j,
|
|
27963
|
+
toastOptions: {
|
|
27964
|
+
className: dc("justify-center", E?.className),
|
|
27965
|
+
...E
|
|
27966
|
+
},
|
|
27967
|
+
...J
|
|
27968
|
+
}
|
|
27969
|
+
)
|
|
27959
27970
|
] });
|
|
27960
27971
|
}
|
|
27961
27972
|
function qA({
|