@apolitical/component-library 5.5.1-bht.0 → 5.5.1
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/index.mjs
CHANGED
|
@@ -2737,7 +2737,11 @@ const Nm = ({
|
|
|
2737
2737
|
}
|
|
2738
2738
|
);
|
|
2739
2739
|
}, td = Xt(Nm);
|
|
2740
|
-
const Ea = "loadingBlock_", Mm = ({
|
|
2740
|
+
const Ea = "loadingBlock_", Mm = ({
|
|
2741
|
+
progress: e = 0,
|
|
2742
|
+
steps: t = !1,
|
|
2743
|
+
className: n = ""
|
|
2744
|
+
}) => {
|
|
2741
2745
|
const r = ce();
|
|
2742
2746
|
t || (t = {
|
|
2743
2747
|
0: { text: r.formatMessage({ id: `${Ea}loading` }) },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as LoadingBlock } from './loading-block';
|
|
1
|
+
export { default as LoadingBlock, type ILoadingBlockProps } from './loading-block';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
export interface ILoadingBlockProps {
|
|
3
3
|
/** The amount of progress, shown as a percent */
|
|
4
4
|
progress?: number;
|
|
5
5
|
/** The text and icons to show at different progress points */
|
|
@@ -14,5 +14,5 @@ interface Props {
|
|
|
14
14
|
/** The language for the text */
|
|
15
15
|
locale?: string;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: React.MemoExoticComponent<({ progress, steps, className }:
|
|
17
|
+
declare const _default: React.MemoExoticComponent<({ progress, steps, className, }: ILoadingBlockProps) => import("react/jsx-runtime").JSX.Element>;
|
|
18
18
|
export default _default;
|