@noya-app/noya-designsystem 0.1.91 → 0.1.92
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Toast.tsx +2 -1
- package/src/components/Toolbar.tsx +1 -1
- package/src/components/__tests__/Toolbar.test.tsx +3 -0
package/dist/index.mjs
CHANGED
|
@@ -18905,7 +18905,7 @@ function ToastProviderInner({ children }) {
|
|
|
18905
18905
|
const toastManager = index_parts_exports3.useToastManager();
|
|
18906
18906
|
const showToast = useCallback32(
|
|
18907
18907
|
(data) => {
|
|
18908
|
-
toastManager.add({ data });
|
|
18908
|
+
toastManager.add({ data, timeout: data.timeout });
|
|
18909
18909
|
},
|
|
18910
18910
|
[toastManager]
|
|
18911
18911
|
);
|
|
@@ -36706,7 +36706,7 @@ var Toolbar = forwardRef99(
|
|
|
36706
36706
|
ref,
|
|
36707
36707
|
role,
|
|
36708
36708
|
className: cx(
|
|
36709
|
-
"n-pointer-events-auto n-flex n-items-center n-rounded n-bg-popover-background n-shadow-popover",
|
|
36709
|
+
"n-pointer-events-auto n-flex n-max-w-full n-flex-wrap n-items-center n-justify-center n-rounded n-bg-popover-background n-shadow-popover",
|
|
36710
36710
|
size4 === "small" ? "n-gap-1 n-p-1" : "n-gap-toolbar-separator n-p-2",
|
|
36711
36711
|
className
|
|
36712
36712
|
),
|