bmi-next-brokers 2.4.9 → 2.5.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.
package/dist/assets/index3.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._progressContainer_159wp_1{width:100%;display:flex;flex-direction:row;height:5px;background:var( --Complementarios-Turquesa-Compl-2-Variantes-Turquesa-V4, #c9f3f7 );overflow:hidden}._progressContainer_159wp_1._rounded_159wp_13{border-radius:30px}._progressFill_159wp_17{height:100%;transition:width .3s ease-in-out}._progressFill_159wp_17._rounded_159wp_13{border-radius:9px}
|
|
@@ -5,6 +5,7 @@ import { default as React } from 'react';
|
|
|
5
5
|
interface ProgressBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
6
|
progressPercent: number;
|
|
7
7
|
rounded?: boolean;
|
|
8
|
+
progressFill?: string;
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
11
|
* Componente `ProgressBar`
|
|
@@ -15,6 +16,7 @@ interface ProgressBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
15
16
|
*
|
|
16
17
|
* @param progressPercent - Porcentaje de progreso (entre 0 y 100).
|
|
17
18
|
* @param rounded - (Opcional) Aplica bordes redondeados al relleno. Por defecto false
|
|
19
|
+
* @param progressFill - (Opcional) Color de fondo del fill
|
|
18
20
|
* @param className - (Opcional) Clase CSS adicional para el contenedor principal.
|
|
19
21
|
*
|
|
20
22
|
* @example
|
|
@@ -33,5 +35,5 @@ interface ProgressBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
33
35
|
* }
|
|
34
36
|
* ```
|
|
35
37
|
*/
|
|
36
|
-
export declare const ProgressBar: ({ progressPercent, className, rounded, ...props }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
export declare const ProgressBar: ({ progressPercent, className, rounded, progressFill, ...props }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
39
|
export {};
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import '../../assets/index3.css';const i = "
|
|
2
|
+
import '../../assets/index3.css';const i = "_progressContainer_159wp_1", l = "_rounded_159wp_13", p = "_progressFill_159wp_17", r = {
|
|
3
3
|
progressContainer: i,
|
|
4
4
|
rounded: l,
|
|
5
|
-
progressFill:
|
|
6
|
-
},
|
|
5
|
+
progressFill: p
|
|
6
|
+
}, g = ({
|
|
7
7
|
progressPercent: n,
|
|
8
8
|
className: s,
|
|
9
9
|
rounded: o = !1,
|
|
10
|
-
|
|
10
|
+
progressFill: t = "#45c2d6",
|
|
11
|
+
...d
|
|
11
12
|
}) => /* @__PURE__ */ e(
|
|
12
13
|
"div",
|
|
13
14
|
{
|
|
14
15
|
className: `${r.progressContainer} ${o && r.rounded} ${s && s}`,
|
|
15
|
-
...
|
|
16
|
+
...d,
|
|
16
17
|
children: /* @__PURE__ */ e(
|
|
17
18
|
"div",
|
|
18
19
|
{
|
|
19
20
|
className: `${r.progressFill} ${o && r.rounded}`,
|
|
20
|
-
style: {
|
|
21
|
+
style: {
|
|
22
|
+
backgroundColor: t,
|
|
23
|
+
width: `${Math.min(n, 100)}%`
|
|
24
|
+
}
|
|
21
25
|
}
|
|
22
26
|
)
|
|
23
27
|
}
|
|
24
28
|
);
|
|
25
29
|
export {
|
|
26
|
-
|
|
30
|
+
g as ProgressBar
|
|
27
31
|
};
|
package/package.json
CHANGED