@rolder/kit 3.0.0-alpha.54 → 3.0.0-alpha.55

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.
@@ -1,10 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { Loader } from "@mantine/core";
3
- import { useIsLoading } from "./store/index.js";
3
+ import { useIsLoading, useIsStreaming } from "./store/index.js";
4
4
  const Loader_Loader = (props)=>{
5
5
  const isLoading = useIsLoading();
6
+ const isStreaming = useIsStreaming();
6
7
  console.log('Loader render', isLoading);
7
- return isLoading ? /*#__PURE__*/ jsx(Loader, {
8
+ return isLoading && !isStreaming ? /*#__PURE__*/ jsx(Loader, {
8
9
  size: 28,
9
10
  type: "dots",
10
11
  ...props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolder/kit",
3
- "version": "3.0.0-alpha.54",
3
+ "version": "3.0.0-alpha.55",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {