@majapisoftwares/ui 4.3.13 → 4.3.15

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,3 +1,5 @@
1
- export default function Loading({ className }: {
1
+ declare function Loading({ className }: {
2
2
  className?: string;
3
3
  }): import("react").JSX.Element;
4
+ declare const _default: import("react").MemoExoticComponent<typeof Loading>;
5
+ export default _default;
@@ -1,13 +1,15 @@
1
- export default function Loading({ className }) {
1
+ import { memo } from "react";
2
+ function Loading({ className }) {
2
3
  return (<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" className={className}>
3
4
  <circle cx="4" cy="12" r="3" fill="currentColor">
4
- <animate id="svgSpinners3DotsFade0" fill="freeze" attributeName="opacity" begin="0;svgSpinners3DotsFade1.end-0.5s" dur="1.5s" values="1;0.2"/>
5
+ <animate attributeName="opacity" begin="0s" dur="1.5s" repeatCount="indefinite" values="1;0.2;1"/>
5
6
  </circle>
6
- <circle cx="12" cy="12" r="3" fill="currentColor" opacity="0.4">
7
- <animate fill="freeze" attributeName="opacity" begin="svgSpinners3DotsFade0.begin+0.3s" dur="1.5s" values="1;0.2"/>
7
+ <circle cx="12" cy="12" r="3" fill="currentColor">
8
+ <animate attributeName="opacity" begin="0.3s" dur="1.5s" repeatCount="indefinite" values="1;0.2;1"/>
8
9
  </circle>
9
- <circle cx="20" cy="12" r="3" fill="currentColor" opacity="0.3">
10
- <animate id="svgSpinners3DotsFade1" fill="freeze" attributeName="opacity" begin="svgSpinners3DotsFade0.begin+0.6s" dur="1.5s" values="1;0.2"/>
10
+ <circle cx="20" cy="12" r="3" fill="currentColor">
11
+ <animate attributeName="opacity" begin="0.6s" dur="1.5s" repeatCount="indefinite" values="1;0.2;1"/>
11
12
  </circle>
12
13
  </svg>);
13
14
  }
15
+ export default memo(Loading);
package/package.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/majapisoftwares/ui.git"
6
6
  },
7
- "version": "4.3.13"
7
+ "version": "4.3.15"
8
8
  }