bmi-next-brokers 2.0.3 → 2.0.5

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.
@@ -15,6 +15,7 @@ type IconProps = {
15
15
  fill?: string;
16
16
  width?: number;
17
17
  height?: number;
18
+ [key: string]: unknown;
18
19
  };
19
20
  /**
20
21
  * Props para un Badge que es solo texto, no interactivo.
@@ -104,7 +104,7 @@ import '../../assets/index.css';const p = "_badge_c0j5t_1", _ = "_fullWidth_c0j5
104
104
  a && /* @__PURE__ */ v(
105
105
  s,
106
106
  {
107
- name: a.name,
107
+ ...a,
108
108
  width: a.width ?? i[t],
109
109
  height: a.height ?? i[t],
110
110
  fill: a.fill ?? r
@@ -114,7 +114,7 @@ import '../../assets/index.css';const p = "_badge_c0j5t_1", _ = "_fullWidth_c0j5
114
114
  n && /* @__PURE__ */ v(
115
115
  s,
116
116
  {
117
- name: n.name,
117
+ ...n,
118
118
  width: n.width ?? i[t],
119
119
  height: n.height ?? i[t],
120
120
  fill: n.fill ?? r
@@ -8,6 +8,7 @@ type IconProps = {
8
8
  fill?: string;
9
9
  size?: number | string;
10
10
  className?: string;
11
+ [key: string]: unknown;
11
12
  };
12
13
  export declare const Icon: React.FC<IconProps>;
13
14
  export {};
@@ -1,16 +1,17 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import { I as i } from "../index-Bd7hp3_A.js";
3
- const f = ({
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { I as p } from "../index-Bd7hp3_A.js";
3
+ const h = ({
4
4
  name: o,
5
5
  width: n = 20,
6
6
  height: c = 20,
7
7
  fill: e = "currentColor",
8
8
  size: r,
9
- className: l
9
+ className: l,
10
+ ...s
10
11
  }) => {
11
- const t = i[o];
12
- return !t && o ? (console.warn(`⚠️ El icono "${o}" no existe.`), null) : /* @__PURE__ */ s(t, { width: r || n, height: r || c, style: { color: e }, className: l });
12
+ const t = p[o];
13
+ return !t && o ? (console.warn(`⚠️ El icono "${o}" no existe.`), null) : /* @__PURE__ */ i(t, { width: r || n, height: r || c, style: { color: e }, className: l, ...s });
13
14
  };
14
15
  export {
15
- f as Icon
16
+ h as Icon
16
17
  };
@@ -1,3 +1,6 @@
1
1
  import { SVGProps } from 'react';
2
- declare const SvgDot: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ interface DotProps extends SVGProps<SVGSVGElement> {
3
+ radius?: number;
4
+ }
5
+ declare const SvgDot: ({ style, radius, ...rest }: DotProps) => import("react/jsx-runtime").JSX.Element;
3
6
  export default SvgDot;
@@ -1,5 +1,5 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- const l = (t) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 18", width: "1em", height: "1em", ...t, children: /* @__PURE__ */ e("circle", { cx: 9, cy: 9, r: 2, fill: "#2054A5" }) });
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ const c = ({ style: e, radius: l = 4, ...r }) => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 18", width: "1em", height: "1em", style: { color: "#2054A5", ...e }, ...r, children: /* @__PURE__ */ o("circle", { cx: 9, cy: 9, r: l, fill: "currentColor" }) });
3
3
  export {
4
- l as default
4
+ c as default
5
5
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bmi-next-brokers",
3
3
  "description": "Componentes de UI para proyecto BMI Next Brokers",
4
- "version": "2.0.3",
4
+ "version": "2.0.5",
5
5
  "author": "BMI Ahorro España",
6
6
  "contributors": [
7
7
  "José Ramón Jiménez <jrjimenez@bmicos.com>",