@matchain/matchid-sdk-react 0.1.48-alpha.4 → 0.1.48-alpha.6

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/index.mjs CHANGED
@@ -6,18 +6,18 @@ import {
6
6
  } from "./chunk-HYQ3T6WW.mjs";
7
7
  import {
8
8
  api_exports
9
- } from "./chunk-UTCHBVMG.mjs";
9
+ } from "./chunk-55KYW35I.mjs";
10
10
  import {
11
11
  MatchProvider,
12
12
  components_exports,
13
13
  hooks_exports,
14
14
  useMatch
15
- } from "./chunk-546GCDLV.mjs";
15
+ } from "./chunk-BPAPYY5P.mjs";
16
16
  import "./chunk-UA6XHZHX.mjs";
17
17
  import {
18
18
  ui_exports
19
- } from "./chunk-LNSJ3ZXG.mjs";
20
- import "./chunk-A5D3NKTK.mjs";
19
+ } from "./chunk-UHBVYFSP.mjs";
20
+ import "./chunk-YFJI4I5M.mjs";
21
21
  import "./chunk-J5LGTIGS.mjs";
22
22
  export {
23
23
  api_exports as Api,
package/dist/ui/index.js CHANGED
@@ -255,8 +255,11 @@ var import_jsx_runtime43 = require("react/jsx-runtime");
255
255
  // src/assets/icon/ErrorRoundIcon.tsx
256
256
  var import_jsx_runtime44 = require("react/jsx-runtime");
257
257
 
258
- // src/ui/Button/index.tsx
258
+ // src/assets/icon/InfoRoundIcon.tsx
259
259
  var import_jsx_runtime45 = require("react/jsx-runtime");
260
+
261
+ // src/ui/Button/index.tsx
262
+ var import_jsx_runtime46 = require("react/jsx-runtime");
260
263
  function Button({
261
264
  size = "df",
262
265
  disabled = false,
@@ -275,7 +278,7 @@ function Button({
275
278
  onClick && onClick();
276
279
  }
277
280
  };
278
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
281
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
279
282
  "button",
280
283
  {
281
284
  type,
@@ -285,14 +288,14 @@ function Button({
285
288
  ...style
286
289
  },
287
290
  onClick: onAction,
288
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
291
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
289
292
  }
290
293
  );
291
294
  }
292
295
 
293
296
  // src/ui/Overlay/index.tsx
294
297
  var import_react = require("react");
295
- var import_jsx_runtime46 = require("react/jsx-runtime");
298
+ var import_jsx_runtime47 = require("react/jsx-runtime");
296
299
  function Overlay({
297
300
  isOpen = false,
298
301
  children,
@@ -308,7 +311,7 @@ function Overlay({
308
311
  document.body.style.overflow = "";
309
312
  };
310
313
  }, [isOpen]);
311
- return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
314
+ return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
312
315
  "div",
313
316
  {
314
317
  className: "matchid-overlay",
@@ -317,11 +320,11 @@ function Overlay({
317
320
  },
318
321
  children
319
322
  }
320
- ) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, {});
323
+ ) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_jsx_runtime47.Fragment, {});
321
324
  }
322
325
 
323
326
  // src/ui/Drawer/index.tsx
324
- var import_jsx_runtime47 = require("react/jsx-runtime");
327
+ var import_jsx_runtime48 = require("react/jsx-runtime");
325
328
  function Drawer({
326
329
  children,
327
330
  showClose = true,
@@ -331,19 +334,19 @@ function Drawer({
331
334
  zIndex = 100
332
335
  }) {
333
336
  if (!isOpen) {
334
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_jsx_runtime47.Fragment, {});
337
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, {});
335
338
  }
336
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "matchid-drawer", children: [
337
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: `matchid-drawer-header`, children: [
338
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { children: title }),
339
- showClose && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
339
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "matchid-drawer", children: [
340
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: `matchid-drawer-header`, children: [
341
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { children: title }),
342
+ showClose && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
340
343
  ] }),
341
344
  children
342
345
  ] }) });
343
346
  }
344
347
 
345
348
  // src/ui/Field/index.tsx
346
- var import_jsx_runtime48 = require("react/jsx-runtime");
349
+ var import_jsx_runtime49 = require("react/jsx-runtime");
347
350
  function Field({
348
351
  label,
349
352
  children,
@@ -351,13 +354,13 @@ function Field({
351
354
  required,
352
355
  className = ""
353
356
  }) {
354
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
355
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "matchid-field-label", children: [
356
- required && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "matchid-field-required", children: "*" }),
357
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
358
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "matchid-field-label", children: [
359
+ required && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "matchid-field-required", children: "*" }),
357
360
  label
358
361
  ] }),
359
362
  children,
360
- error && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "matchid-field-error", children: error })
363
+ error && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "matchid-field-error", children: error })
361
364
  ] });
362
365
  }
363
366
 
@@ -383,7 +386,7 @@ function useDownMd() {
383
386
  }
384
387
 
385
388
  // src/ui/Modal/index.tsx
386
- var import_jsx_runtime49 = require("react/jsx-runtime");
389
+ var import_jsx_runtime50 = require("react/jsx-runtime");
387
390
  function Modal({
388
391
  children,
389
392
  isOpen,
@@ -391,10 +394,10 @@ function Modal({
391
394
  zIndex = 100,
392
395
  className = ""
393
396
  }) {
394
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: `matchid-modal ${className}`, style: {
397
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: `matchid-modal ${className}`, style: {
395
398
  width
396
399
  }, children: [
397
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "matchid-modal-mobile-header" }),
400
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "matchid-modal-mobile-header" }),
398
401
  children
399
402
  ] }) });
400
403
  }
@@ -408,20 +411,20 @@ function ModalWithHeader({
408
411
  ...props
409
412
  }) {
410
413
  const isDownMd = useDownMd();
411
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Modal, { ...props, children: [
412
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
413
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "matchid-modal-header-content", children: [
414
- onBack && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
415
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "matchid-modal-header-title", children: title })
414
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Modal, { ...props, children: [
415
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
416
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-modal-header-content", children: [
417
+ onBack && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
418
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "matchid-modal-header-title", children: title })
416
419
  ] }),
417
- onClose && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
420
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
418
421
  ] }),
419
422
  children
420
423
  ] });
421
424
  }
422
425
 
423
426
  // src/ui/ModalDrawer/index.tsx
424
- var import_jsx_runtime50 = require("react/jsx-runtime");
427
+ var import_jsx_runtime51 = require("react/jsx-runtime");
425
428
  function ModalDrawer({
426
429
  title,
427
430
  drawerTitleVisible = true,
@@ -429,9 +432,9 @@ function ModalDrawer({
429
432
  }) {
430
433
  const isDownMd = useDownMd();
431
434
  if (isDownMd) {
432
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ModalWithHeader, { ...props, title });
435
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ModalWithHeader, { ...props, title });
433
436
  }
434
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
437
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
435
438
  }
436
439
 
437
440
  // src/assets/img/confirm.gif
@@ -461,7 +464,7 @@ var matchlog = new Proxy(console, handler);
461
464
  var matchlog_default = matchlog;
462
465
 
463
466
  // src/ui/HashPanel/index.tsx
464
- var import_jsx_runtime51 = require("react/jsx-runtime");
467
+ var import_jsx_runtime52 = require("react/jsx-runtime");
465
468
  function HashPanel({
466
469
  hash,
467
470
  chain,
@@ -532,13 +535,13 @@ function HashPanel({
532
535
  }
533
536
  );
534
537
  const link = chain ? `${chain?.blockExplorers?.default.url}/tx/${hash}` : "";
535
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
538
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
536
539
  ModalDrawer,
537
540
  {
538
541
  isOpen,
539
542
  showClose: true,
540
543
  onClose,
541
- title: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
544
+ title: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
542
545
  "div",
543
546
  {
544
547
  className: "matchid-hashpanel-header",
@@ -548,29 +551,29 @@ function HashPanel({
548
551
  children: statusValue.text
549
552
  }
550
553
  ),
551
- children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-hashpanel-box", children: [
552
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-hashpanel-content", children: [
553
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: `matchid-hashpanel-status`, style: {
554
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "matchid-hashpanel-box", children: [
555
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "matchid-hashpanel-content", children: [
556
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: `matchid-hashpanel-status`, style: {
554
557
  color: statusValue.color
555
558
  }, children: statusValue.text }),
556
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("img", { src: statusValue.icon, alt: statusValue.text, className: `matchid-hashpanel-img` }),
557
- hash && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
559
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("img", { src: statusValue.icon, alt: statusValue.text, className: `matchid-hashpanel-img` }),
560
+ hash && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
558
561
  "Hash:",
559
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("a", { href: link, target: "_blank", children: hash })
562
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("a", { href: link, target: "_blank", children: hash })
560
563
  ] })
561
564
  ] }),
562
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
565
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
563
566
  ] })
564
567
  }
565
568
  );
566
569
  }
567
570
  function HashPanel_default(props) {
568
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(HashPanel, { ...props });
571
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(HashPanel, { ...props });
569
572
  }
570
573
 
571
574
  // src/ui/Input/index.tsx
572
575
  var import_react4 = require("react");
573
- var import_jsx_runtime52 = require("react/jsx-runtime");
576
+ var import_jsx_runtime53 = require("react/jsx-runtime");
574
577
  function Input({
575
578
  onChange,
576
579
  type,
@@ -580,17 +583,17 @@ function Input({
580
583
  }) {
581
584
  const [inputType, setInputType] = (0, import_react4.useState)(type);
582
585
  const isDownMd = useDownMd();
583
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
586
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
584
587
  "div",
585
588
  {
586
589
  className: `matchid-input-box ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
587
590
  children: [
588
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
589
- props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
591
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
592
+ props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
590
593
  if (onChange) {
591
594
  onChange({ target: { value: "" } });
592
595
  }
593
- }, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
596
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
594
597
  DeleteRoundIcon,
595
598
  {
596
599
  height: isDownMd ? 16 : 21,
@@ -598,9 +601,9 @@ function Input({
598
601
  color: "var(--matchid-input-delete-icon-color)"
599
602
  }
600
603
  ) }),
601
- type === "password" && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
604
+ type === "password" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
602
605
  setInputType(inputType === "password" ? "text" : "password");
603
- }, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
606
+ }, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
604
607
  after
605
608
  ]
606
609
  }
@@ -609,7 +612,7 @@ function Input({
609
612
 
610
613
  // src/ui/Popover/index.tsx
611
614
  var import_react5 = require("react");
612
- var import_jsx_runtime53 = require("react/jsx-runtime");
615
+ var import_jsx_runtime54 = require("react/jsx-runtime");
613
616
  function Popover({
614
617
  children,
615
618
  content,
@@ -619,7 +622,7 @@ function Popover({
619
622
  gap = "20px"
620
623
  }) {
621
624
  const [active, setActive] = (0, import_react5.useState)(false);
622
- return children && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
625
+ return children && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
623
626
  "div",
624
627
  {
625
628
  onClick: () => {
@@ -630,16 +633,16 @@ function Popover({
630
633
  className: `matchid-popover-box matchid-popover-${position} matchid-popover-${type} ${className} ${type == "click" && active ? "matchid-popover-click-active" : ""}`,
631
634
  children: [
632
635
  children,
633
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { style: {
636
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { style: {
634
637
  paddingTop: gap
635
- }, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: `matchid-popover-content`, children: content }) })
638
+ }, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: `matchid-popover-content`, children: content }) })
636
639
  ]
637
640
  }
638
641
  );
639
642
  }
640
643
 
641
644
  // src/ui/Switch/index.tsx
642
- var import_jsx_runtime54 = require("react/jsx-runtime");
645
+ var import_jsx_runtime55 = require("react/jsx-runtime");
643
646
  function Switch({
644
647
  size = "default",
645
648
  checked = false,
@@ -654,12 +657,12 @@ function Switch({
654
657
  onChange && onChange(!checked);
655
658
  }
656
659
  };
657
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { onClick, className: `matchid-switch matchid-switch-${size} ${checked ? "matchid-switch-checked" : ""} ${disabled ? "matchid-switch-disabled" : ""} ${loading ? "matchid-switch-loading" : ""}`, ...props, children: loading ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(LoadingIcon_default, { className: "matchid-switch-loading-icon", size: size == "default" ? 24 : 18, color: "var(--matchid-swicth-loading-color)" }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-switch-ball" }) });
660
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { onClick, className: `matchid-switch matchid-switch-${size} ${checked ? "matchid-switch-checked" : ""} ${disabled ? "matchid-switch-disabled" : ""} ${loading ? "matchid-switch-loading" : ""}`, ...props, children: loading ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(LoadingIcon_default, { className: "matchid-switch-loading-icon", size: size == "default" ? 24 : 18, color: "var(--matchid-swicth-loading-color)" }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-switch-ball" }) });
658
661
  }
659
662
 
660
663
  // src/ui/AlphaAvatar/index.tsx
661
664
  var import_react6 = require("react");
662
- var import_jsx_runtime55 = require("react/jsx-runtime");
665
+ var import_jsx_runtime56 = require("react/jsx-runtime");
663
666
  function AlphaAvatar({
664
667
  name,
665
668
  size = "default",
@@ -676,7 +679,7 @@ function AlphaAvatar({
676
679
  return "";
677
680
  }, [name]);
678
681
  const numberSize = typeof size === "number" ? size : size === "sm" ? 24 : size === "default" ? 40 : 64;
679
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
682
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
680
683
  width: numberSize,
681
684
  height: numberSize,
682
685
  fontSize: Math.ceil(numberSize / 2),
@@ -685,7 +688,7 @@ function AlphaAvatar({
685
688
  }
686
689
 
687
690
  // src/ui/Radio/index.tsx
688
- var import_jsx_runtime56 = require("react/jsx-runtime");
691
+ var import_jsx_runtime57 = require("react/jsx-runtime");
689
692
  function Radio({
690
693
  checked = false,
691
694
  onChange,
@@ -694,13 +697,13 @@ function Radio({
694
697
  className = "",
695
698
  style = {}
696
699
  }) {
697
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
700
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
698
701
  width: size,
699
702
  height: size,
700
703
  ...style,
701
704
  // @ts-ignore
702
705
  "--matchid-radio-checked": color
703
- }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: `matchid-radio-content`, style: {
706
+ }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: `matchid-radio-content`, style: {
704
707
  width: Math.floor(size * 0.7),
705
708
  height: Math.floor(size * 0.7)
706
709
  } }) });