@keadex/mina-react 1.15.0 → 2.0.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/main.css CHANGED
@@ -379,514 +379,6 @@ video {
379
379
  --tw-backdrop-opacity: ;
380
380
  --tw-backdrop-saturate: ;
381
381
  --tw-backdrop-sepia: ;
382
- }:root {
383
- --toastify-color-light: #fff;
384
- --toastify-color-dark: #121212;
385
- --toastify-color-info: #3498db;
386
- --toastify-color-success: #07bc0c;
387
- --toastify-color-warning: #f1c40f;
388
- --toastify-color-error: #e74c3c;
389
- --toastify-color-transparent: rgba(255, 255, 255, 0.7);
390
- --toastify-icon-color-info: var(--toastify-color-info);
391
- --toastify-icon-color-success: var(--toastify-color-success);
392
- --toastify-icon-color-warning: var(--toastify-color-warning);
393
- --toastify-icon-color-error: var(--toastify-color-error);
394
- --toastify-toast-width: 320px;
395
- --toastify-toast-background: #fff;
396
- --toastify-toast-min-height: 64px;
397
- --toastify-toast-max-height: 800px;
398
- --toastify-font-family: sans-serif;
399
- --toastify-z-index: 9999;
400
- --toastify-text-color-light: #757575;
401
- --toastify-text-color-dark: #fff;
402
- --toastify-text-color-info: #fff;
403
- --toastify-text-color-success: #fff;
404
- --toastify-text-color-warning: #fff;
405
- --toastify-text-color-error: #fff;
406
- --toastify-spinner-color: #616161;
407
- --toastify-spinner-color-empty-area: #e0e0e0;
408
- --toastify-color-progress-light: linear-gradient(
409
- to right,
410
- #4cd964,
411
- #5ac8fa,
412
- #007aff,
413
- #34aadc,
414
- #5856d6,
415
- #ff2d55
416
- );
417
- --toastify-color-progress-dark: #bb86fc;
418
- --toastify-color-progress-info: var(--toastify-color-info);
419
- --toastify-color-progress-success: var(--toastify-color-success);
420
- --toastify-color-progress-warning: var(--toastify-color-warning);
421
- --toastify-color-progress-error: var(--toastify-color-error);
422
- }.Toastify__toast-container {
423
- z-index: var(--toastify-z-index);
424
- -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
425
- position: fixed;
426
- padding: 4px;
427
- width: var(--toastify-toast-width);
428
- box-sizing: border-box;
429
- color: #fff;
430
- }.Toastify__toast-container--top-left {
431
- top: 1em;
432
- left: 1em;
433
- }.Toastify__toast-container--top-center {
434
- top: 1em;
435
- left: 50%;
436
- transform: translateX(-50%);
437
- }.Toastify__toast-container--top-right {
438
- top: 1em;
439
- right: 1em;
440
- }.Toastify__toast-container--bottom-left {
441
- bottom: 1em;
442
- left: 1em;
443
- }.Toastify__toast-container--bottom-center {
444
- bottom: 1em;
445
- left: 50%;
446
- transform: translateX(-50%);
447
- }.Toastify__toast-container--bottom-right {
448
- bottom: 1em;
449
- right: 1em;
450
- }@media only screen and (max-width : 480px) {
451
- .Toastify__toast-container {
452
- width: 100vw;
453
- padding: 0;
454
- left: 0;
455
- margin: 0;
456
- }
457
- .Toastify__toast-container--top-left, .Toastify__toast-container--top-center, .Toastify__toast-container--top-right {
458
- top: 0;
459
- transform: translateX(0);
460
- }
461
- .Toastify__toast-container--bottom-left, .Toastify__toast-container--bottom-center, .Toastify__toast-container--bottom-right {
462
- bottom: 0;
463
- transform: translateX(0);
464
- }
465
- .Toastify__toast-container--rtl {
466
- right: 0;
467
- left: initial;
468
- }
469
- }.Toastify__toast {
470
- position: relative;
471
- min-height: var(--toastify-toast-min-height);
472
- box-sizing: border-box;
473
- margin-bottom: 1rem;
474
- padding: 8px;
475
- border-radius: 4px;
476
- box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);
477
- display: flex;
478
- justify-content: space-between;
479
- max-height: var(--toastify-toast-max-height);
480
- overflow: hidden;
481
- font-family: var(--toastify-font-family);
482
- cursor: default;
483
- direction: ltr;
484
- /* webkit only issue #791 */
485
- z-index: 0;
486
- }.Toastify__toast--rtl {
487
- direction: rtl;
488
- }.Toastify__toast--close-on-click {
489
- cursor: pointer;
490
- }.Toastify__toast-body {
491
- margin: auto 0;
492
- flex: 1 1 auto;
493
- padding: 6px;
494
- display: flex;
495
- align-items: center;
496
- }.Toastify__toast-body > div:last-child {
497
- word-break: break-word;
498
- flex: 1;
499
- }.Toastify__toast-icon {
500
- margin-inline-end: 10px;
501
- width: 20px;
502
- flex-shrink: 0;
503
- display: flex;
504
- }.Toastify--animate {
505
- animation-fill-mode: both;
506
- animation-duration: 0.7s;
507
- }.Toastify--animate-icon {
508
- animation-fill-mode: both;
509
- animation-duration: 0.3s;
510
- }@media only screen and (max-width : 480px) {
511
- .Toastify__toast {
512
- margin-bottom: 0;
513
- border-radius: 0;
514
- }
515
- }.Toastify__toast-theme--dark {
516
- background: var(--toastify-color-dark);
517
- color: var(--toastify-text-color-dark);
518
- }.Toastify__toast-theme--light {
519
- background: var(--toastify-color-light);
520
- color: var(--toastify-text-color-light);
521
- }.Toastify__toast-theme--colored.Toastify__toast--default {
522
- background: var(--toastify-color-light);
523
- color: var(--toastify-text-color-light);
524
- }.Toastify__toast-theme--colored.Toastify__toast--info {
525
- color: var(--toastify-text-color-info);
526
- background: var(--toastify-color-info);
527
- }.Toastify__toast-theme--colored.Toastify__toast--success {
528
- color: var(--toastify-text-color-success);
529
- background: var(--toastify-color-success);
530
- }.Toastify__toast-theme--colored.Toastify__toast--warning {
531
- color: var(--toastify-text-color-warning);
532
- background: var(--toastify-color-warning);
533
- }.Toastify__toast-theme--colored.Toastify__toast--error {
534
- color: var(--toastify-text-color-error);
535
- background: var(--toastify-color-error);
536
- }.Toastify__progress-bar-theme--light {
537
- background: var(--toastify-color-progress-light);
538
- }.Toastify__progress-bar-theme--dark {
539
- background: var(--toastify-color-progress-dark);
540
- }.Toastify__progress-bar--info {
541
- background: var(--toastify-color-progress-info);
542
- }.Toastify__progress-bar--success {
543
- background: var(--toastify-color-progress-success);
544
- }.Toastify__progress-bar--warning {
545
- background: var(--toastify-color-progress-warning);
546
- }.Toastify__progress-bar--error {
547
- background: var(--toastify-color-progress-error);
548
- }.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--success, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
549
- background: var(--toastify-color-transparent);
550
- }.Toastify__close-button {
551
- color: #fff;
552
- background: transparent;
553
- outline: none;
554
- border: none;
555
- padding: 0;
556
- cursor: pointer;
557
- opacity: 0.7;
558
- transition: 0.3s ease;
559
- align-self: flex-start;
560
- }.Toastify__close-button--light {
561
- color: #000;
562
- opacity: 0.3;
563
- }.Toastify__close-button > svg {
564
- fill: currentColor;
565
- height: 16px;
566
- width: 14px;
567
- }.Toastify__close-button:hover, .Toastify__close-button:focus {
568
- opacity: 1;
569
- }@keyframes Toastify__trackProgress {
570
- 0% {
571
- transform: scaleX(1);
572
- }
573
- 100% {
574
- transform: scaleX(0);
575
- }
576
- }.Toastify__progress-bar {
577
- position: absolute;
578
- bottom: 0;
579
- left: 0;
580
- width: 100%;
581
- height: 5px;
582
- z-index: var(--toastify-z-index);
583
- opacity: 0.7;
584
- transform-origin: left;
585
- }.Toastify__progress-bar--animated {
586
- animation: Toastify__trackProgress linear 1 forwards;
587
- }.Toastify__progress-bar--controlled {
588
- transition: transform 0.2s;
589
- }.Toastify__progress-bar--rtl {
590
- right: 0;
591
- left: initial;
592
- transform-origin: right;
593
- }.Toastify__spinner {
594
- width: 20px;
595
- height: 20px;
596
- box-sizing: border-box;
597
- border: 2px solid;
598
- border-radius: 100%;
599
- border-color: var(--toastify-spinner-color-empty-area);
600
- border-right-color: var(--toastify-spinner-color);
601
- animation: Toastify__spin 0.65s linear infinite;
602
- }@keyframes Toastify__bounceInRight {
603
- from, 60%, 75%, 90%, to {
604
- animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
605
- }
606
- from {
607
- opacity: 0;
608
- transform: translate3d(3000px, 0, 0);
609
- }
610
- 60% {
611
- opacity: 1;
612
- transform: translate3d(-25px, 0, 0);
613
- }
614
- 75% {
615
- transform: translate3d(10px, 0, 0);
616
- }
617
- 90% {
618
- transform: translate3d(-5px, 0, 0);
619
- }
620
- to {
621
- transform: none;
622
- }
623
- }@keyframes Toastify__bounceOutRight {
624
- 20% {
625
- opacity: 1;
626
- transform: translate3d(-20px, 0, 0);
627
- }
628
- to {
629
- opacity: 0;
630
- transform: translate3d(2000px, 0, 0);
631
- }
632
- }@keyframes Toastify__bounceInLeft {
633
- from, 60%, 75%, 90%, to {
634
- animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
635
- }
636
- 0% {
637
- opacity: 0;
638
- transform: translate3d(-3000px, 0, 0);
639
- }
640
- 60% {
641
- opacity: 1;
642
- transform: translate3d(25px, 0, 0);
643
- }
644
- 75% {
645
- transform: translate3d(-10px, 0, 0);
646
- }
647
- 90% {
648
- transform: translate3d(5px, 0, 0);
649
- }
650
- to {
651
- transform: none;
652
- }
653
- }@keyframes Toastify__bounceOutLeft {
654
- 20% {
655
- opacity: 1;
656
- transform: translate3d(20px, 0, 0);
657
- }
658
- to {
659
- opacity: 0;
660
- transform: translate3d(-2000px, 0, 0);
661
- }
662
- }@keyframes Toastify__bounceInUp {
663
- from, 60%, 75%, 90%, to {
664
- animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
665
- }
666
- from {
667
- opacity: 0;
668
- transform: translate3d(0, 3000px, 0);
669
- }
670
- 60% {
671
- opacity: 1;
672
- transform: translate3d(0, -20px, 0);
673
- }
674
- 75% {
675
- transform: translate3d(0, 10px, 0);
676
- }
677
- 90% {
678
- transform: translate3d(0, -5px, 0);
679
- }
680
- to {
681
- transform: translate3d(0, 0, 0);
682
- }
683
- }@keyframes Toastify__bounceOutUp {
684
- 20% {
685
- transform: translate3d(0, -10px, 0);
686
- }
687
- 40%, 45% {
688
- opacity: 1;
689
- transform: translate3d(0, 20px, 0);
690
- }
691
- to {
692
- opacity: 0;
693
- transform: translate3d(0, -2000px, 0);
694
- }
695
- }@keyframes Toastify__bounceInDown {
696
- from, 60%, 75%, 90%, to {
697
- animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
698
- }
699
- 0% {
700
- opacity: 0;
701
- transform: translate3d(0, -3000px, 0);
702
- }
703
- 60% {
704
- opacity: 1;
705
- transform: translate3d(0, 25px, 0);
706
- }
707
- 75% {
708
- transform: translate3d(0, -10px, 0);
709
- }
710
- 90% {
711
- transform: translate3d(0, 5px, 0);
712
- }
713
- to {
714
- transform: none;
715
- }
716
- }@keyframes Toastify__bounceOutDown {
717
- 20% {
718
- transform: translate3d(0, 10px, 0);
719
- }
720
- 40%, 45% {
721
- opacity: 1;
722
- transform: translate3d(0, -20px, 0);
723
- }
724
- to {
725
- opacity: 0;
726
- transform: translate3d(0, 2000px, 0);
727
- }
728
- }.Toastify__bounce-enter--top-left, .Toastify__bounce-enter--bottom-left {
729
- animation-name: Toastify__bounceInLeft;
730
- }.Toastify__bounce-enter--top-right, .Toastify__bounce-enter--bottom-right {
731
- animation-name: Toastify__bounceInRight;
732
- }.Toastify__bounce-enter--top-center {
733
- animation-name: Toastify__bounceInDown;
734
- }.Toastify__bounce-enter--bottom-center {
735
- animation-name: Toastify__bounceInUp;
736
- }.Toastify__bounce-exit--top-left, .Toastify__bounce-exit--bottom-left {
737
- animation-name: Toastify__bounceOutLeft;
738
- }.Toastify__bounce-exit--top-right, .Toastify__bounce-exit--bottom-right {
739
- animation-name: Toastify__bounceOutRight;
740
- }.Toastify__bounce-exit--top-center {
741
- animation-name: Toastify__bounceOutUp;
742
- }.Toastify__bounce-exit--bottom-center {
743
- animation-name: Toastify__bounceOutDown;
744
- }@keyframes Toastify__zoomIn {
745
- from {
746
- opacity: 0;
747
- transform: scale3d(0.3, 0.3, 0.3);
748
- }
749
- 50% {
750
- opacity: 1;
751
- }
752
- }@keyframes Toastify__zoomOut {
753
- from {
754
- opacity: 1;
755
- }
756
- 50% {
757
- opacity: 0;
758
- transform: scale3d(0.3, 0.3, 0.3);
759
- }
760
- to {
761
- opacity: 0;
762
- }
763
- }.Toastify__zoom-enter {
764
- animation-name: Toastify__zoomIn;
765
- }.Toastify__zoom-exit {
766
- animation-name: Toastify__zoomOut;
767
- }@keyframes Toastify__flipIn {
768
- from {
769
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
770
- animation-timing-function: ease-in;
771
- opacity: 0;
772
- }
773
- 40% {
774
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
775
- animation-timing-function: ease-in;
776
- }
777
- 60% {
778
- transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
779
- opacity: 1;
780
- }
781
- 80% {
782
- transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
783
- }
784
- to {
785
- transform: perspective(400px);
786
- }
787
- }@keyframes Toastify__flipOut {
788
- from {
789
- transform: perspective(400px);
790
- }
791
- 30% {
792
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
793
- opacity: 1;
794
- }
795
- to {
796
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
797
- opacity: 0;
798
- }
799
- }.Toastify__flip-enter {
800
- animation-name: Toastify__flipIn;
801
- }.Toastify__flip-exit {
802
- animation-name: Toastify__flipOut;
803
- }@keyframes Toastify__slideInRight {
804
- from {
805
- transform: translate3d(110%, 0, 0);
806
- visibility: visible;
807
- }
808
- to {
809
- transform: translate3d(0, 0, 0);
810
- }
811
- }@keyframes Toastify__slideInLeft {
812
- from {
813
- transform: translate3d(-110%, 0, 0);
814
- visibility: visible;
815
- }
816
- to {
817
- transform: translate3d(0, 0, 0);
818
- }
819
- }@keyframes Toastify__slideInUp {
820
- from {
821
- transform: translate3d(0, 110%, 0);
822
- visibility: visible;
823
- }
824
- to {
825
- transform: translate3d(0, 0, 0);
826
- }
827
- }@keyframes Toastify__slideInDown {
828
- from {
829
- transform: translate3d(0, -110%, 0);
830
- visibility: visible;
831
- }
832
- to {
833
- transform: translate3d(0, 0, 0);
834
- }
835
- }@keyframes Toastify__slideOutRight {
836
- from {
837
- transform: translate3d(0, 0, 0);
838
- }
839
- to {
840
- visibility: hidden;
841
- transform: translate3d(110%, 0, 0);
842
- }
843
- }@keyframes Toastify__slideOutLeft {
844
- from {
845
- transform: translate3d(0, 0, 0);
846
- }
847
- to {
848
- visibility: hidden;
849
- transform: translate3d(-110%, 0, 0);
850
- }
851
- }@keyframes Toastify__slideOutDown {
852
- from {
853
- transform: translate3d(0, 0, 0);
854
- }
855
- to {
856
- visibility: hidden;
857
- transform: translate3d(0, 500px, 0);
858
- }
859
- }@keyframes Toastify__slideOutUp {
860
- from {
861
- transform: translate3d(0, 0, 0);
862
- }
863
- to {
864
- visibility: hidden;
865
- transform: translate3d(0, -500px, 0);
866
- }
867
- }.Toastify__slide-enter--top-left, .Toastify__slide-enter--bottom-left {
868
- animation-name: Toastify__slideInLeft;
869
- }.Toastify__slide-enter--top-right, .Toastify__slide-enter--bottom-right {
870
- animation-name: Toastify__slideInRight;
871
- }.Toastify__slide-enter--top-center {
872
- animation-name: Toastify__slideInDown;
873
- }.Toastify__slide-enter--bottom-center {
874
- animation-name: Toastify__slideInUp;
875
- }.Toastify__slide-exit--top-left, .Toastify__slide-exit--bottom-left {
876
- animation-name: Toastify__slideOutLeft;
877
- }.Toastify__slide-exit--top-right, .Toastify__slide-exit--bottom-right {
878
- animation-name: Toastify__slideOutRight;
879
- }.Toastify__slide-exit--top-center {
880
- animation-name: Toastify__slideOutUp;
881
- }.Toastify__slide-exit--bottom-center {
882
- animation-name: Toastify__slideOutDown;
883
- }@keyframes Toastify__spin {
884
- from {
885
- transform: rotate(0deg);
886
- }
887
- to {
888
- transform: rotate(360deg);
889
- }
890
382
  }/* cyrillic-ext */@font-face {
891
383
  font-family: 'Roboto';
892
384
  font-style: italic;
@@ -1658,8 +1150,6 @@ video {
1658
1150
  margin-right: 4rem;
1659
1151
  }.mr-2 {
1660
1152
  margin-right: 0.5rem;
1661
- }.mr-20 {
1662
- margin-right: 5rem;
1663
1153
  }.mr-3 {
1664
1154
  margin-right: 0.75rem;
1665
1155
  }.mr-4 {
@@ -1680,6 +1170,8 @@ video {
1680
1170
  margin-top: 0.25rem;
1681
1171
  }.mt-10 {
1682
1172
  margin-top: 2.5rem;
1173
+ }.mt-14 {
1174
+ margin-top: 3.5rem;
1683
1175
  }.mt-2 {
1684
1176
  margin-top: 0.5rem;
1685
1177
  }.mt-2\.5 {
@@ -1801,6 +1293,8 @@ video {
1801
1293
  height: 500px;
1802
1294
  }.h-\[50px\] {
1803
1295
  height: 50px;
1296
+ }.h-\[50rem\] {
1297
+ height: 50rem;
1804
1298
  }.h-\[512px\] {
1805
1299
  height: 512px;
1806
1300
  }.h-\[56px\] {
@@ -1866,8 +1360,12 @@ video {
1866
1360
  width: 6rem;
1867
1361
  }.w-3 {
1868
1362
  width: 0.75rem;
1363
+ }.w-36 {
1364
+ width: 9rem;
1869
1365
  }.w-4 {
1870
1366
  width: 1rem;
1367
+ }.w-48 {
1368
+ width: 12rem;
1871
1369
  }.w-5 {
1872
1370
  width: 1.25rem;
1873
1371
  }.w-6 {
@@ -2262,6 +1760,8 @@ video {
2262
1760
  white-space: nowrap;
2263
1761
  }.whitespace-pre {
2264
1762
  white-space: pre;
1763
+ }.whitespace-pre-wrap {
1764
+ white-space: pre-wrap;
2265
1765
  }.whitespace-break-spaces {
2266
1766
  white-space: break-spaces;
2267
1767
  }.break-normal {
@@ -2634,6 +2134,9 @@ video {
2634
2134
  }.py-5 {
2635
2135
  padding-top: 1.25rem;
2636
2136
  padding-bottom: 1.25rem;
2137
+ }.py-\[0\.10rem\] {
2138
+ padding-top: 0.10rem;
2139
+ padding-bottom: 0.10rem;
2637
2140
  }.py-\[0\.32rem\] {
2638
2141
  padding-top: 0.32rem;
2639
2142
  padding-bottom: 0.32rem;
@@ -4669,6 +4172,8 @@ video {
4669
4172
  }
4670
4173
  }/* @import '../components/desktop/WindowTitlebar/WindowTitlebar.css'; */.visible {
4671
4174
  visibility: visible;
4175
+ }.invisible {
4176
+ visibility: hidden;
4672
4177
  }.relative {
4673
4178
  position: relative;
4674
4179
  }.hidden {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "React library to render C4 Model diagrams created with Keadex Mina.",
4
4
  "author": "Keadex <keadex.it@gmail.com>",
5
5
  "license": "MIT",
6
- "version": "1.15.0",
6
+ "version": "2.0.0",
7
7
  "private": false,
8
8
  "homepage": "https://keadex.dev",
9
9
  "repository": {
@@ -22,28 +22,37 @@
22
22
  "render",
23
23
  "mina"
24
24
  ],
25
- "main": "index.js",
26
25
  "types": "index.d.ts",
26
+ "exports": {
27
+ ".": "./index.js",
28
+ "./main.css": "./main.css",
29
+ "./core": "./core.js",
30
+ "./src/components/MinaReact/MinaReact": {
31
+ "import": "./src/components/MinaReact/MinaReact.tsx",
32
+ "types": "./src/components/MinaReact/MinaReact.d.ts"
33
+ }
34
+ },
27
35
  "devDependencies": {
28
- "@nx/react": "18.2.4",
29
- "@nx/webpack": "18.2.4",
36
+ "@nx/react": "21.0.3",
37
+ "@nx/webpack": "21.0.3",
30
38
  "@types/react": "^18.2.28",
31
39
  "@types/react-dom": "^18.2.13",
32
40
  "@wasm-tool/wasm-pack-plugin": "^1.7.0",
33
41
  "copy-webpack-plugin": "^12.0.2",
34
- "webpack": "^5.89.0",
42
+ "webpack": "^5.98.0",
35
43
  "webpack-node-externals": "^3.0.0"
36
44
  },
37
45
  "dependencies": {
38
46
  "@fortawesome/free-solid-svg-icons": "^6.4.2",
39
- "@fortawesome/react-fontawesome": "^0.2.0",
47
+ "@fortawesome/react-fontawesome": "^0.2.2",
40
48
  "@fortawesome/fontawesome-svg-core": "^6.4.2",
49
+ "@hpcc-js/wasm-graphviz": "^1.7.0",
41
50
  "@tanstack/react-table": "^8.10.7",
42
- "@tauri-apps/api": "^2.0.3",
51
+ "@tauri-apps/api": "^2.2.0",
43
52
  "@yaireo/tagify": "^4.24.0",
44
53
  "buffer": "^6.0.3",
45
54
  "change-case": "^5.4.3",
46
- "fabric": "^5.3.0",
55
+ "fabric": "^5.5.2",
47
56
  "fontfaceobserver": "^2.3.0",
48
57
  "js-cookie": "^3.0.5",
49
58
  "lodash.clonedeep": "^4.5.0",
@@ -52,9 +61,9 @@
52
61
  "react-ga4": "^2.1.0",
53
62
  "react-hotkeys-hook": "^4.4.1",
54
63
  "react-html-parser": "^2.0.2",
55
- "react-i18next": "^13.3.0",
64
+ "react-i18next": "^15.4.0",
56
65
  "react-resize-detector": "^9.1.0",
57
- "react-toastify": "^9.1.3",
66
+ "react-toastify": "^11.0.3",
58
67
  "tailwindcss": "^3.3.3",
59
68
  "ts-key-enum": "^2.0.12",
60
69
  "tw-elements": "1.0.0",
@@ -0,0 +1,14 @@
1
+ import { Diagram } from '@keadex/c4-model-ui-kit';
2
+ export declare function fetchGhRawFile(url: string, ghToken?: string): Promise<Response>;
3
+ export declare function downloadDiagramData(projectRootUrl: string, diagramUrl: string, ghToken?: string): Promise<{
4
+ projectSettingsJson: string;
5
+ plantuml: string;
6
+ spec: string;
7
+ } | undefined>;
8
+ export declare function openRemoteDiagram(projectRootUrl: string, diagramUrl: string, ghToken?: string): Promise<Diagram | undefined>;
9
+ declare const _default: {
10
+ fetchGhRawFile: typeof fetchGhRawFile;
11
+ downloadDiagramData: typeof downloadDiagramData;
12
+ openRemoteDiagram: typeof openRemoteDiagram;
13
+ };
14
+ export default _default;
Binary file