@prosistemas/sca-web-kit 2.0.0 → 2.1.0
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.
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import styles from './loading-icon.module.scss';
|
|
4
|
+
import { CircleNotchIcon } from '@phosphor-icons/react';
|
|
5
|
+
export default function LoadingIcon({ className, color = 'white', size = 64, spinning = true, }) {
|
|
6
|
+
return (_jsx(CircleNotchIcon, { className: `${styles['loading-icon']} ${className} ${spinning && styles['animated']}`, color: color, size: size, style: {
|
|
7
|
+
minWidth: `${size}px`,
|
|
8
|
+
minHeight: `${size}px`,
|
|
9
|
+
} }));
|
|
10
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import './styles/variables.scss';
|
|
|
2
2
|
export { default as Title } from './components/ui/title/title';
|
|
3
3
|
export { default as Button } from './components/ui/button/button';
|
|
4
4
|
export { default as Subtitle } from './components/ui/subtitle/subtitle';
|
|
5
|
-
export { default as Accordion } from './components/ui/accordion/accordion';
|
|
6
5
|
export { default as TagLabel } from './components/ui/tag-label/tag-label';
|
|
6
|
+
export { default as Accordion } from './components/ui/accordion/accordion';
|
|
7
|
+
export { default as LoadingIcon } from './components/ui/loading-icon/loading-icon';
|
|
7
8
|
export { default as IconWithBackground } from './components/ui/icon-with-background/icon-with-background';
|
|
8
9
|
export { default as InfoHeader } from './components/shared/info-header/info-header';
|
|
9
10
|
export { default as NewsletterStrip } from './components/shared/newsletter-strip/newsletter-strip';
|
package/dist/index.js
CHANGED
|
@@ -3,8 +3,9 @@ import './styles/variables.scss';
|
|
|
3
3
|
export { default as Title } from './components/ui/title/title';
|
|
4
4
|
export { default as Button } from './components/ui/button/button';
|
|
5
5
|
export { default as Subtitle } from './components/ui/subtitle/subtitle';
|
|
6
|
-
export { default as Accordion } from './components/ui/accordion/accordion';
|
|
7
6
|
export { default as TagLabel } from './components/ui/tag-label/tag-label';
|
|
7
|
+
export { default as Accordion } from './components/ui/accordion/accordion';
|
|
8
|
+
export { default as LoadingIcon } from './components/ui/loading-icon/loading-icon';
|
|
8
9
|
export { default as IconWithBackground } from './components/ui/icon-with-background/icon-with-background';
|
|
9
10
|
// Shared
|
|
10
11
|
export { default as InfoHeader } from './components/shared/info-header/info-header';
|