@octanejs/streamdown 0.1.47 → 0.1.49
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/client/chunks/{chunk-YMCXS4TQ.js → chunk-GT55VUAP.js} +109 -67
- package/dist/client/chunks/{highlighted-body-DNX7WWEA.js → highlighted-body-CLC3S4XW.js} +3 -1
- package/dist/client/chunks/{mermaid-7F3NWTJP.js → mermaid-5UNLE7IK.js} +1 -1
- package/dist/client/index.js +1 -1
- package/package.json +4 -4
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
// src/lib/mermaid/index.tsrx
|
|
4
4
|
import {
|
|
5
5
|
createElementFromConfig as _$createElementFromConfig16,
|
|
6
|
-
createHostElement as _$createHostElement7
|
|
6
|
+
createHostElement as _$createHostElement7,
|
|
7
|
+
enableHostDescriptors as _$enableHostDescriptors17
|
|
7
8
|
} from "octane/internal/client";
|
|
8
9
|
import {
|
|
9
10
|
createScopedElement as _$createScopedElement19,
|
|
@@ -47,7 +48,7 @@ function withoutSlot(value) {
|
|
|
47
48
|
return typeof value === "symbol" ? void 0 : value;
|
|
48
49
|
}
|
|
49
50
|
function useDeferredRender(options = {}) {
|
|
50
|
-
let __hks, __hke, __hks
|
|
51
|
+
let __hks, __hke, __hks$1, __hkd0, __hke$1, __hks$2, __hke$2;
|
|
51
52
|
const {
|
|
52
53
|
immediate = false,
|
|
53
54
|
debounceDelay = DEFERRED_RENDER_DEBOUNCE_DELAY,
|
|
@@ -70,11 +71,11 @@ function useDeferredRender(options = {}) {
|
|
|
70
71
|
1
|
|
71
72
|
);
|
|
72
73
|
}) : __hke.value);
|
|
73
|
-
const requestIdleCallbackWrapper = (__hkd0 = requestIdleCallbackPolyfill, __hks$ = _$memoSlot(_h$5), __hke$ = _$memoTake1(__hks
|
|
74
|
-
__hks
|
|
74
|
+
const requestIdleCallbackWrapper = (__hkd0 = requestIdleCallbackPolyfill, __hks$1 = _$memoSlot(_h$5), __hke$1 = _$memoTake1(__hks$1, __hkd0), __hke$1 === null ? _$memoPublish(
|
|
75
|
+
__hks$1,
|
|
75
76
|
typeof window !== "undefined" && window.requestIdleCallback ? (cb, opts) => window.requestIdleCallback(cb, opts) : requestIdleCallbackPolyfill,
|
|
76
77
|
__hkd0
|
|
77
|
-
) : __hke
|
|
78
|
+
) : __hke$1.value);
|
|
78
79
|
const cancelIdleCallbackWrapper = (__hks$2 = _$memoSlot(_h$6), __hke$2 = _$memoTake0(__hks$2), __hke$2 === null ? _$memoPublish(__hks$2, typeof window !== "undefined" && window.cancelIdleCallback ? (id) => window.cancelIdleCallback(id) : (id) => {
|
|
79
80
|
clearTimeout(id);
|
|
80
81
|
}) : __hke$2.value);
|
|
@@ -198,6 +199,7 @@ import {
|
|
|
198
199
|
createHostElement as _$createHostElement6,
|
|
199
200
|
enableDescriptorFormActions as _$enableDescriptorFormActions10,
|
|
200
201
|
enableDescriptorFragmentRefs as _$enableDescriptorFragmentRefs3,
|
|
202
|
+
enableHostDescriptors as _$enableHostDescriptors15,
|
|
201
203
|
memoPublish as _$memoPublish7,
|
|
202
204
|
memoSlot as _$memoSlot7,
|
|
203
205
|
memoTake1 as _$memoTake15,
|
|
@@ -387,6 +389,7 @@ import {
|
|
|
387
389
|
createHostElement as _$createHostElement5,
|
|
388
390
|
enableDescriptorFormActions as _$enableDescriptorFormActions9,
|
|
389
391
|
enableDescriptorFragmentRefs as _$enableDescriptorFragmentRefs2,
|
|
392
|
+
enableHostDescriptors as _$enableHostDescriptors14,
|
|
390
393
|
memoPublish as _$memoPublish6,
|
|
391
394
|
memoSlot as _$memoSlot6,
|
|
392
395
|
memoTake0 as _$memoTake02,
|
|
@@ -409,6 +412,7 @@ import {
|
|
|
409
412
|
createElementFromConfig as _$createElementFromConfig,
|
|
410
413
|
enableDescriptorFormActions as _$enableDescriptorFormActions3,
|
|
411
414
|
enableDescriptorFragmentRefs as _$enableDescriptorFragmentRefs,
|
|
415
|
+
enableHostDescriptors as _$enableHostDescriptors,
|
|
412
416
|
memoPublish as _$memoPublish3,
|
|
413
417
|
memoSlot as _$memoSlot3,
|
|
414
418
|
memoTake1 as _$memoTake12
|
|
@@ -493,16 +497,16 @@ var CodeBlockBody = /* @__PURE__ */ memo(
|
|
|
493
497
|
lineNumbers = true,
|
|
494
498
|
...rest
|
|
495
499
|
}) => {
|
|
496
|
-
let __hks, __hkd0, __hkd1, __hke, __hkr, __hks
|
|
500
|
+
let __hks, __hkd0, __hkd1, __hke, __hkr, __hks$1, __hkd0$1, __hkd1$1, __hkd2, __hkv, __hke$1;
|
|
497
501
|
const cn2 = _$withSlot(_h$02, useCn);
|
|
498
502
|
const lineClasses = (__hkd0 = cn2, __hkd1 = lineNumbers, __hks = _$memoSlot2(_h$12), __hke = _$memoTake2(__hks, __hkd0, __hkd1), __hke === null ? _$memoPublish2(__hks, cn2("block", lineNumbers && LINE_NUMBER_CLASSES_BASE), __hkd0, __hkd1) : __hke.value);
|
|
499
503
|
{
|
|
500
|
-
__hkd0$ = result.bg;
|
|
501
|
-
__hkd1$ = result.fg;
|
|
504
|
+
__hkd0$1 = result.bg;
|
|
505
|
+
__hkd1$1 = result.fg;
|
|
502
506
|
__hkd2 = result.rootStyle;
|
|
503
|
-
__hks$ = _$memoSlot2(_h$22);
|
|
504
|
-
__hke$ = _$memoTake3(__hks
|
|
505
|
-
if (__hke$ === null) {
|
|
507
|
+
__hks$1 = _$memoSlot2(_h$22);
|
|
508
|
+
__hke$1 = _$memoTake3(__hks$1, __hkd0$1, __hkd1$1, __hkd2);
|
|
509
|
+
if (__hke$1 === null) {
|
|
506
510
|
__hkl: {
|
|
507
511
|
const style = {};
|
|
508
512
|
if (result.bg) {
|
|
@@ -520,8 +524,8 @@ var CodeBlockBody = /* @__PURE__ */ memo(
|
|
|
520
524
|
}
|
|
521
525
|
__hkv = void 0;
|
|
522
526
|
}
|
|
523
|
-
__hkr = _$memoPublish2(__hks
|
|
524
|
-
} else __hkr = __hke
|
|
527
|
+
__hkr = _$memoPublish2(__hks$1, __hkv, __hkd0$1, __hkd1$1, __hkd2);
|
|
528
|
+
} else __hkr = __hke$1.value;
|
|
525
529
|
}
|
|
526
530
|
const preStyle = __hkr;
|
|
527
531
|
return _$createScopedValue(() => _$createScopedElement(
|
|
@@ -644,6 +648,7 @@ var CodeBlockHeader = ({ language }) => {
|
|
|
644
648
|
// src/lib/code-block/index.tsrx
|
|
645
649
|
_$enableDescriptorFormActions3();
|
|
646
650
|
_$enableDescriptorFragmentRefs();
|
|
651
|
+
_$enableHostDescriptors();
|
|
647
652
|
var _hs$5 = /* @__PURE__ */ _$hookSlots5(3);
|
|
648
653
|
var _h$05 = /* @__PURE__ */ Symbol(_hs$5);
|
|
649
654
|
var _h$13 = /* @__PURE__ */ Symbol(_hs$5 + 1);
|
|
@@ -655,7 +660,7 @@ var trimTrailingNewlines = (str) => {
|
|
|
655
660
|
}
|
|
656
661
|
return str.slice(0, end);
|
|
657
662
|
};
|
|
658
|
-
var HighlightedCodeBlockBody = /* @__PURE__ */ lazy(() => import("./highlighted-body-
|
|
663
|
+
var HighlightedCodeBlockBody = /* @__PURE__ */ lazy(() => import("./highlighted-body-CLC3S4XW.js").then((mod) => ({ default: mod.HighlightedCodeBlockBody })));
|
|
659
664
|
var CodeBlock = ({
|
|
660
665
|
code,
|
|
661
666
|
language,
|
|
@@ -666,11 +671,11 @@ var CodeBlock = ({
|
|
|
666
671
|
lineNumbers,
|
|
667
672
|
...rest
|
|
668
673
|
}) => {
|
|
669
|
-
let __hks, __hkd0, __hke, __hks
|
|
674
|
+
let __hks, __hkd0, __hke, __hks$1, __hkd0$1, __hke$1;
|
|
670
675
|
const cn2 = _$withSlot4(_h$05, useCn);
|
|
671
676
|
const trimmedCode = (__hkd0 = code, __hks = _$memoSlot3(_h$13), __hke = _$memoTake12(__hks, __hkd0), __hke === null ? _$memoPublish3(__hks, trimTrailingNewlines(code), __hkd0) : __hke.value);
|
|
672
|
-
const raw = (__hkd0$ = trimmedCode, __hks$ = _$memoSlot3(_h$23), __hke$ = _$memoTake12(__hks
|
|
673
|
-
__hks
|
|
677
|
+
const raw = (__hkd0$1 = trimmedCode, __hks$1 = _$memoSlot3(_h$23), __hke$1 = _$memoTake12(__hks$1, __hkd0$1), __hke$1 === null ? _$memoPublish3(
|
|
678
|
+
__hks$1,
|
|
674
679
|
{
|
|
675
680
|
bg: "transparent",
|
|
676
681
|
fg: "inherit",
|
|
@@ -684,8 +689,8 @@ var CodeBlock = ({
|
|
|
684
689
|
}
|
|
685
690
|
])
|
|
686
691
|
},
|
|
687
|
-
__hkd0$
|
|
688
|
-
) : __hke
|
|
692
|
+
__hkd0$1
|
|
693
|
+
) : __hke$1.value);
|
|
689
694
|
return _$createScopedValue4(() => _$createScopedElement3(
|
|
690
695
|
CodeBlockContext,
|
|
691
696
|
{ value: { code } },
|
|
@@ -741,7 +746,8 @@ var CodeBlock = ({
|
|
|
741
746
|
// src/lib/code-block/copy-button.tsrx
|
|
742
747
|
import {
|
|
743
748
|
createElementFromConfig as _$createElementFromConfig2,
|
|
744
|
-
enableDescriptorFormActions as _$enableDescriptorFormActions5
|
|
749
|
+
enableDescriptorFormActions as _$enableDescriptorFormActions5,
|
|
750
|
+
enableHostDescriptors as _$enableHostDescriptors3
|
|
745
751
|
} from "octane/internal/client";
|
|
746
752
|
import {
|
|
747
753
|
createScopedElement as _$createScopedElement5,
|
|
@@ -763,6 +769,7 @@ import {
|
|
|
763
769
|
useContext as useContext4,
|
|
764
770
|
useRef as useRef2
|
|
765
771
|
} from "octane";
|
|
772
|
+
import { enableHostDescriptors as _$enableHostDescriptors2 } from "octane/internal/client";
|
|
766
773
|
|
|
767
774
|
// src/lib/icons.tsrx
|
|
768
775
|
import {
|
|
@@ -992,6 +999,7 @@ var ZoomOutIcon = ({ size = 16, ...props }) => _$createScopedValue5(() => _$crea
|
|
|
992
999
|
));
|
|
993
1000
|
|
|
994
1001
|
// src/lib/icon-context.tsrx
|
|
1002
|
+
_$enableHostDescriptors2();
|
|
995
1003
|
var _hs$6 = /* @__PURE__ */ _$hookSlots6(2);
|
|
996
1004
|
var _h$06 = /* @__PURE__ */ Symbol(_hs$6);
|
|
997
1005
|
var _h$14 = /* @__PURE__ */ Symbol(_hs$6 + 1);
|
|
@@ -1072,6 +1080,7 @@ var useTranslations = () => useContext5(TranslationsContext);
|
|
|
1072
1080
|
|
|
1073
1081
|
// src/lib/code-block/copy-button.tsrx
|
|
1074
1082
|
_$enableDescriptorFormActions5();
|
|
1083
|
+
_$enableHostDescriptors3();
|
|
1075
1084
|
var _hs$7 = /* @__PURE__ */ _$hookSlots7(7);
|
|
1076
1085
|
var _h$07 = /* @__PURE__ */ Symbol(_hs$7);
|
|
1077
1086
|
var _h$15 = /* @__PURE__ */ Symbol(_hs$7 + 1);
|
|
@@ -1139,7 +1148,8 @@ var CodeBlockCopyButton = ({
|
|
|
1139
1148
|
// src/lib/code-block/download-button.tsrx
|
|
1140
1149
|
import {
|
|
1141
1150
|
createElementFromConfig as _$createElementFromConfig3,
|
|
1142
|
-
enableDescriptorFormActions as _$enableDescriptorFormActions6
|
|
1151
|
+
enableDescriptorFormActions as _$enableDescriptorFormActions6,
|
|
1152
|
+
enableHostDescriptors as _$enableHostDescriptors4
|
|
1143
1153
|
} from "octane/internal/client";
|
|
1144
1154
|
import {
|
|
1145
1155
|
createScopedElement as _$createScopedElement6,
|
|
@@ -1149,6 +1159,7 @@ import {
|
|
|
1149
1159
|
withSlot as _$withSlot6
|
|
1150
1160
|
} from "octane";
|
|
1151
1161
|
_$enableDescriptorFormActions6();
|
|
1162
|
+
_$enableHostDescriptors4();
|
|
1152
1163
|
var _hs$8 = /* @__PURE__ */ _$hookSlots8(4);
|
|
1153
1164
|
var _h$08 = /* @__PURE__ */ Symbol(_hs$8);
|
|
1154
1165
|
var _h$16 = /* @__PURE__ */ Symbol(_hs$8 + 1);
|
|
@@ -1506,7 +1517,8 @@ var CodeBlockDownloadButton = ({
|
|
|
1506
1517
|
// src/lib/code-block/skeleton.tsrx
|
|
1507
1518
|
import {
|
|
1508
1519
|
createElementFromConfig as _$createElementFromConfig4,
|
|
1509
|
-
createHostElement as _$createHostElement3
|
|
1520
|
+
createHostElement as _$createHostElement3,
|
|
1521
|
+
enableHostDescriptors as _$enableHostDescriptors5
|
|
1510
1522
|
} from "octane/internal/client";
|
|
1511
1523
|
import {
|
|
1512
1524
|
createScopedElement as _$createScopedElement7,
|
|
@@ -1515,6 +1527,7 @@ import {
|
|
|
1515
1527
|
positionalChildren as _$positionalChildren2,
|
|
1516
1528
|
withSlot as _$withSlot7
|
|
1517
1529
|
} from "octane";
|
|
1530
|
+
_$enableHostDescriptors5();
|
|
1518
1531
|
var _hs$9 = /* @__PURE__ */ _$hookSlots9(2);
|
|
1519
1532
|
var _h$09 = /* @__PURE__ */ Symbol(_hs$9);
|
|
1520
1533
|
var _h$17 = /* @__PURE__ */ Symbol(_hs$9 + 1);
|
|
@@ -1549,10 +1562,12 @@ import {
|
|
|
1549
1562
|
import {
|
|
1550
1563
|
createElementFromConfig as _$createElementFromConfig5,
|
|
1551
1564
|
createHostElement as _$createHostElement4,
|
|
1565
|
+
enableHostDescriptors as _$enableHostDescriptors6,
|
|
1552
1566
|
memoPublish as _$memoPublish4,
|
|
1553
1567
|
memoSlot as _$memoSlot4,
|
|
1554
1568
|
memoTake2 as _$memoTake22
|
|
1555
1569
|
} from "octane/internal/client";
|
|
1570
|
+
_$enableHostDescriptors6();
|
|
1556
1571
|
var _hs$10 = /* @__PURE__ */ _$hookSlots10(8);
|
|
1557
1572
|
var _h$010 = /* @__PURE__ */ Symbol(_hs$10);
|
|
1558
1573
|
var _h$18 = /* @__PURE__ */ Symbol(_hs$10 + 1);
|
|
@@ -1572,7 +1587,7 @@ var ImageComponent = ({
|
|
|
1572
1587
|
onError: onErrorProp,
|
|
1573
1588
|
...props
|
|
1574
1589
|
}) => {
|
|
1575
|
-
let __hks, __hkd0, __hkd1, __hke, __hks
|
|
1590
|
+
let __hks, __hkd0, __hkd1, __hke, __hks$1, __hkd0$1, __hkd1$1, __hke$1;
|
|
1576
1591
|
const { DownloadIcon: DownloadIcon2 } = _$withSlot8(_h$010, useIcons);
|
|
1577
1592
|
const cn2 = _$withSlot8(_h$18, useCn);
|
|
1578
1593
|
const imgRef = useRef4(null, _h$26);
|
|
@@ -1604,15 +1619,15 @@ var ImageComponent = ({
|
|
|
1604
1619
|
__hkd0,
|
|
1605
1620
|
__hkd1
|
|
1606
1621
|
) : __hke.value);
|
|
1607
|
-
const handleError = (__hkd0$ = onErrorProp, __hkd1$ = src, __hks$ = _$memoSlot4(_h$72), __hke$ = _$memoTake22(__hks
|
|
1608
|
-
__hks
|
|
1622
|
+
const handleError = (__hkd0$1 = onErrorProp, __hkd1$1 = src, __hks$1 = _$memoSlot4(_h$72), __hke$1 = _$memoTake22(__hks$1, __hkd0$1, __hkd1$1), __hke$1 === null ? _$memoPublish4(
|
|
1623
|
+
__hks$1,
|
|
1609
1624
|
(event) => {
|
|
1610
1625
|
setImageState({ error: true, loaded: false, source: src });
|
|
1611
1626
|
onErrorProp?.(event);
|
|
1612
1627
|
},
|
|
1613
|
-
__hkd0
|
|
1614
|
-
__hkd1$
|
|
1615
|
-
) : __hke
|
|
1628
|
+
__hkd0$1,
|
|
1629
|
+
__hkd1$1
|
|
1630
|
+
) : __hke$1.value);
|
|
1616
1631
|
const downloadImage = async () => {
|
|
1617
1632
|
if (!src) {
|
|
1618
1633
|
return;
|
|
@@ -1709,6 +1724,7 @@ import {
|
|
|
1709
1724
|
} from "octane";
|
|
1710
1725
|
import {
|
|
1711
1726
|
createElementFromConfig as _$createElementFromConfig6,
|
|
1727
|
+
enableHostDescriptors as _$enableHostDescriptors7,
|
|
1712
1728
|
memoPublish as _$memoPublish5,
|
|
1713
1729
|
memoSlot as _$memoSlot5,
|
|
1714
1730
|
memoTake1 as _$memoTake13,
|
|
@@ -1731,6 +1747,7 @@ var unlockBodyScroll = () => {
|
|
|
1731
1747
|
};
|
|
1732
1748
|
|
|
1733
1749
|
// src/lib/link-modal.tsrx
|
|
1750
|
+
_$enableHostDescriptors7();
|
|
1734
1751
|
var _hs$11 = /* @__PURE__ */ _$hookSlots11(7);
|
|
1735
1752
|
var _h$011 = /* @__PURE__ */ Symbol(_hs$11);
|
|
1736
1753
|
var _h$19 = /* @__PURE__ */ Symbol(_hs$11 + 1);
|
|
@@ -1740,7 +1757,7 @@ var _h$44 = /* @__PURE__ */ Symbol(_hs$11 + 4);
|
|
|
1740
1757
|
var _h$54 = /* @__PURE__ */ Symbol(_hs$11 + 5);
|
|
1741
1758
|
var _h$64 = /* @__PURE__ */ Symbol(_hs$11 + 6);
|
|
1742
1759
|
var LinkSafetyModal = ({ url, isOpen, onClose, onConfirm }) => {
|
|
1743
|
-
let __hks, __hkd0, __hke, __hks
|
|
1760
|
+
let __hks, __hkd0, __hke, __hks$1, __hkd0$1, __hkd1, __hke$1;
|
|
1744
1761
|
const { CheckIcon: CheckIcon2, CopyIcon: CopyIcon2, ExternalLinkIcon: ExternalLinkIcon2, XIcon: XIcon2 } = _$withSlot9(_h$011, useIcons);
|
|
1745
1762
|
const cn2 = _$withSlot9(_h$19, useCn);
|
|
1746
1763
|
const [copied, setCopied] = useState4(false, _h$27);
|
|
@@ -1757,15 +1774,15 @@ var LinkSafetyModal = ({ url, isOpen, onClose, onConfirm }) => {
|
|
|
1757
1774
|
},
|
|
1758
1775
|
__hkd0
|
|
1759
1776
|
) : __hke.value);
|
|
1760
|
-
const handleConfirm = (__hkd0$ = onConfirm, __hkd1 = onClose, __hks$ = _$memoSlot5(_h$54), __hke$ = _$memoTake23(__hks
|
|
1761
|
-
__hks
|
|
1777
|
+
const handleConfirm = (__hkd0$1 = onConfirm, __hkd1 = onClose, __hks$1 = _$memoSlot5(_h$54), __hke$1 = _$memoTake23(__hks$1, __hkd0$1, __hkd1), __hke$1 === null ? _$memoPublish5(
|
|
1778
|
+
__hks$1,
|
|
1762
1779
|
() => {
|
|
1763
1780
|
onConfirm();
|
|
1764
1781
|
onClose();
|
|
1765
1782
|
},
|
|
1766
|
-
__hkd0
|
|
1783
|
+
__hkd0$1,
|
|
1767
1784
|
__hkd1
|
|
1768
|
-
) : __hke
|
|
1785
|
+
) : __hke$1.value);
|
|
1769
1786
|
useEffect4(
|
|
1770
1787
|
() => {
|
|
1771
1788
|
if (isOpen) {
|
|
@@ -1876,7 +1893,10 @@ var LinkSafetyModal = ({ url, isOpen, onClose, onConfirm }) => {
|
|
|
1876
1893
|
};
|
|
1877
1894
|
|
|
1878
1895
|
// src/lib/mermaid/download-button.tsrx
|
|
1879
|
-
import {
|
|
1896
|
+
import {
|
|
1897
|
+
createElementFromConfig as _$createElementFromConfig7,
|
|
1898
|
+
enableHostDescriptors as _$enableHostDescriptors8
|
|
1899
|
+
} from "octane/internal/client";
|
|
1880
1900
|
import {
|
|
1881
1901
|
createScopedElement as _$createScopedElement10,
|
|
1882
1902
|
createScopedValue as _$createScopedValue12,
|
|
@@ -1953,6 +1973,7 @@ var svgToPngBlob = (svgString, options) => {
|
|
|
1953
1973
|
};
|
|
1954
1974
|
|
|
1955
1975
|
// src/lib/mermaid/download-button.tsrx
|
|
1976
|
+
_$enableHostDescriptors8();
|
|
1956
1977
|
var _hs$13 = /* @__PURE__ */ _$hookSlots13(7);
|
|
1957
1978
|
var _h$013 = /* @__PURE__ */ Symbol(_hs$13);
|
|
1958
1979
|
var _h$111 = /* @__PURE__ */ Symbol(_hs$13 + 1);
|
|
@@ -2099,9 +2120,11 @@ import {
|
|
|
2099
2120
|
} from "octane";
|
|
2100
2121
|
import {
|
|
2101
2122
|
createElementFromConfig as _$createElementFromConfig8,
|
|
2102
|
-
enableDescriptorFormActions as _$enableDescriptorFormActions7
|
|
2123
|
+
enableDescriptorFormActions as _$enableDescriptorFormActions7,
|
|
2124
|
+
enableHostDescriptors as _$enableHostDescriptors9
|
|
2103
2125
|
} from "octane/internal/client";
|
|
2104
2126
|
_$enableDescriptorFormActions7();
|
|
2127
|
+
_$enableHostDescriptors9();
|
|
2105
2128
|
var _hs$14 = /* @__PURE__ */ _$hookSlots14(6);
|
|
2106
2129
|
var _h$014 = /* @__PURE__ */ Symbol(_hs$14);
|
|
2107
2130
|
var _h$112 = /* @__PURE__ */ Symbol(_hs$14 + 1);
|
|
@@ -2225,7 +2248,8 @@ var MermaidFullscreenButton = ({ chart, config, onFullscreen, onExit, className,
|
|
|
2225
2248
|
// src/lib/table/index.tsrx
|
|
2226
2249
|
import {
|
|
2227
2250
|
createElementFromConfig as _$createElementFromConfig12,
|
|
2228
|
-
enableDescriptorFormActions as _$enableDescriptorFormActions8
|
|
2251
|
+
enableDescriptorFormActions as _$enableDescriptorFormActions8,
|
|
2252
|
+
enableHostDescriptors as _$enableHostDescriptors13
|
|
2229
2253
|
} from "octane/internal/client";
|
|
2230
2254
|
import {
|
|
2231
2255
|
createScopedElement as _$createScopedElement15,
|
|
@@ -2236,7 +2260,10 @@ import {
|
|
|
2236
2260
|
} from "octane";
|
|
2237
2261
|
|
|
2238
2262
|
// src/lib/table/copy-dropdown.tsrx
|
|
2239
|
-
import {
|
|
2263
|
+
import {
|
|
2264
|
+
createElementFromConfig as _$createElementFromConfig9,
|
|
2265
|
+
enableHostDescriptors as _$enableHostDescriptors10
|
|
2266
|
+
} from "octane/internal/client";
|
|
2240
2267
|
import {
|
|
2241
2268
|
createScopedElement as _$createScopedElement12,
|
|
2242
2269
|
createScopedValue as _$createScopedValue14,
|
|
@@ -2403,6 +2430,7 @@ var tableDataToMarkdown = (data) => {
|
|
|
2403
2430
|
};
|
|
2404
2431
|
|
|
2405
2432
|
// src/lib/table/copy-dropdown.tsrx
|
|
2433
|
+
_$enableHostDescriptors10();
|
|
2406
2434
|
var _hs$15 = /* @__PURE__ */ _$hookSlots15(8);
|
|
2407
2435
|
var _h$015 = /* @__PURE__ */ Symbol(_hs$15);
|
|
2408
2436
|
var _h$113 = /* @__PURE__ */ Symbol(_hs$15 + 1);
|
|
@@ -2525,7 +2553,10 @@ var TableCopyDropdown = ({ children, className, onCopy, onError, timeout = 2e3 }
|
|
|
2525
2553
|
};
|
|
2526
2554
|
|
|
2527
2555
|
// src/lib/table/download-dropdown.tsrx
|
|
2528
|
-
import {
|
|
2556
|
+
import {
|
|
2557
|
+
createElementFromConfig as _$createElementFromConfig10,
|
|
2558
|
+
enableHostDescriptors as _$enableHostDescriptors11
|
|
2559
|
+
} from "octane/internal/client";
|
|
2529
2560
|
import {
|
|
2530
2561
|
createScopedElement as _$createScopedElement13,
|
|
2531
2562
|
createScopedValue as _$createScopedValue15,
|
|
@@ -2537,6 +2568,7 @@ import {
|
|
|
2537
2568
|
useState as useState8,
|
|
2538
2569
|
withSlot as _$withSlot14
|
|
2539
2570
|
} from "octane";
|
|
2571
|
+
_$enableHostDescriptors11();
|
|
2540
2572
|
var _hs$16 = /* @__PURE__ */ _$hookSlots16(9);
|
|
2541
2573
|
var _h$016 = /* @__PURE__ */ Symbol(_hs$16);
|
|
2542
2574
|
var _h$114 = /* @__PURE__ */ Symbol(_hs$16 + 1);
|
|
@@ -2702,7 +2734,11 @@ import {
|
|
|
2702
2734
|
useState as useState9,
|
|
2703
2735
|
withSlot as _$withSlot15
|
|
2704
2736
|
} from "octane";
|
|
2705
|
-
import {
|
|
2737
|
+
import {
|
|
2738
|
+
createElementFromConfig as _$createElementFromConfig11,
|
|
2739
|
+
enableHostDescriptors as _$enableHostDescriptors12
|
|
2740
|
+
} from "octane/internal/client";
|
|
2741
|
+
_$enableHostDescriptors12();
|
|
2706
2742
|
var _hs$17 = /* @__PURE__ */ _$hookSlots17(5);
|
|
2707
2743
|
var _h$017 = /* @__PURE__ */ Symbol(_hs$17);
|
|
2708
2744
|
var _h$115 = /* @__PURE__ */ Symbol(_hs$17 + 1);
|
|
@@ -2815,6 +2851,7 @@ var TableFullscreenButton = ({ children, className, showCopy = true, showDownloa
|
|
|
2815
2851
|
|
|
2816
2852
|
// src/lib/table/index.tsrx
|
|
2817
2853
|
_$enableDescriptorFormActions8();
|
|
2854
|
+
_$enableHostDescriptors13();
|
|
2818
2855
|
var _hs$18 = /* @__PURE__ */ _$hookSlots18(1);
|
|
2819
2856
|
var _h$018 = /* @__PURE__ */ Symbol(_hs$18);
|
|
2820
2857
|
var Table = ({
|
|
@@ -2865,6 +2902,7 @@ var Table = ({
|
|
|
2865
2902
|
// src/lib/components.tsrx
|
|
2866
2903
|
_$enableDescriptorFormActions9();
|
|
2867
2904
|
_$enableDescriptorFragmentRefs2();
|
|
2905
|
+
_$enableHostDescriptors14();
|
|
2868
2906
|
var _hs$19 = /* @__PURE__ */ _$hookSlots19(28);
|
|
2869
2907
|
var _h$019 = /* @__PURE__ */ Symbol(_hs$19);
|
|
2870
2908
|
var _h$116 = /* @__PURE__ */ Symbol(_hs$19 + 1);
|
|
@@ -2896,7 +2934,7 @@ var _h$262 = /* @__PURE__ */ Symbol(_hs$19 + 26);
|
|
|
2896
2934
|
var _h$272 = /* @__PURE__ */ Symbol(_hs$19 + 27);
|
|
2897
2935
|
var START_LINE_PATTERN = /startLine=(\d+)/;
|
|
2898
2936
|
var NO_LINE_NUMBERS_PATTERN = /\bnoLineNumbers\b/;
|
|
2899
|
-
var Mermaid2 = /* @__PURE__ */ lazy2(() => import("./mermaid-
|
|
2937
|
+
var Mermaid2 = /* @__PURE__ */ lazy2(() => import("./mermaid-5UNLE7IK.js").then((mod) => ({ default: mod.Mermaid })));
|
|
2900
2938
|
var LANGUAGE_REGEX = /language-([^\s]+)/;
|
|
2901
2939
|
function sameNodePosition(prev, next) {
|
|
2902
2940
|
if (!(prev?.position || next?.position)) {
|
|
@@ -3036,7 +3074,7 @@ var MemoStrong = /* @__PURE__ */ memo2(
|
|
|
3036
3074
|
);
|
|
3037
3075
|
Object.assign(MemoStrong, { displayName: "MarkdownStrong" });
|
|
3038
3076
|
var LinkComponent = ({ children, className, href, node, ...props }) => {
|
|
3039
|
-
let __hks, __hkd0, __hkd1, __hkd2, __hke, __hks
|
|
3077
|
+
let __hks, __hkd0, __hkd1, __hkd2, __hke, __hks$1, __hkd0$1, __hke$1, __hks$2, __hke$2;
|
|
3040
3078
|
const cn2 = _$withSlot17(_h$59, useCn);
|
|
3041
3079
|
const { linkSafety } = useContext14(StreamdownContext);
|
|
3042
3080
|
const [isModalOpen, setIsModalOpen] = useState10(false, _h$68);
|
|
@@ -3061,15 +3099,15 @@ var LinkComponent = ({ children, className, href, node, ...props }) => {
|
|
|
3061
3099
|
__hkd1,
|
|
3062
3100
|
__hkd2
|
|
3063
3101
|
) : __hke.value);
|
|
3064
|
-
const handleConfirm = (__hkd0$ = href, __hks$ = _$memoSlot6(_h$82), __hke$ = _$memoTake14(__hks
|
|
3065
|
-
__hks
|
|
3102
|
+
const handleConfirm = (__hkd0$1 = href, __hks$1 = _$memoSlot6(_h$82), __hke$1 = _$memoTake14(__hks$1, __hkd0$1), __hke$1 === null ? _$memoPublish6(
|
|
3103
|
+
__hks$1,
|
|
3066
3104
|
() => {
|
|
3067
3105
|
if (href) {
|
|
3068
3106
|
window.open(href, "_blank", "noreferrer");
|
|
3069
3107
|
}
|
|
3070
3108
|
},
|
|
3071
|
-
__hkd0$
|
|
3072
|
-
) : __hke
|
|
3109
|
+
__hkd0$1
|
|
3110
|
+
) : __hke$1.value);
|
|
3073
3111
|
const handleCloseModal = (__hks$2 = _$memoSlot6(_h$9), __hke$2 = _$memoTake02(__hks$2), __hke$2 === null ? _$memoPublish6(__hks$2, () => {
|
|
3074
3112
|
setIsModalOpen(false);
|
|
3075
3113
|
}) : __hke$2.value);
|
|
@@ -4096,6 +4134,7 @@ var remarkCodeMeta = () => (tree) => {
|
|
|
4096
4134
|
// src/index.tsrx
|
|
4097
4135
|
_$enableDescriptorFormActions10();
|
|
4098
4136
|
_$enableDescriptorFragmentRefs3();
|
|
4137
|
+
_$enableHostDescriptors15();
|
|
4099
4138
|
var _hs$20 = /* @__PURE__ */ _$hookSlots20(24);
|
|
4100
4139
|
var _h$020 = /* @__PURE__ */ Symbol(_hs$20);
|
|
4101
4140
|
var _h$117 = /* @__PURE__ */ Symbol(_hs$20 + 1);
|
|
@@ -4229,7 +4268,7 @@ var Streamdown = /* @__PURE__ */ memo3(({
|
|
|
4229
4268
|
onAnimationEnd,
|
|
4230
4269
|
...props
|
|
4231
4270
|
}) => {
|
|
4232
|
-
let __hks, __hkd0, __hke, __hks
|
|
4271
|
+
let __hks, __hkd0, __hke, __hks$1, __hkd0$1, __hke$1, __hks$2, __hkd0$2, __hkd1, __hke$2, __hks$3, __hkd0$3, __hkd1$1, __hke$3, __hks$4, __hkd0$4, __hkd1$2, __hke$4, __hkr, __hks$5, __hkd0$5, __hkv, __hke$5, __hkr$1, __hks$6, __hkd0$6, __hkv$1, __hke$6, __hks$7, __hkd0$7, __hke$7, __hks$8, __hkd0$8, __hke$8, __hkr$2, __hks$9, __hkd0$9, __hkd1$3, __hkd2, __hkv$2, __hke$9, __hkr$3, __hks$10, __hkd0$10, __hkd1$4, __hkv$3, __hke$10, __hks$11, __hkd0$11, __hkd1$5, __hkd2$1, __hke$11;
|
|
4233
4272
|
const generatedId = useId(_h$020);
|
|
4234
4273
|
const [_isPending, startTransition] = useTransition(_h$117);
|
|
4235
4274
|
const prefixedCn = (__hkd0 = prefix, __hks = _$memoSlot7(_h$215), __hke = _$memoTake15(__hks, __hkd0), __hke === null ? _$memoPublish7(__hks, createCn(prefix), __hkd0) : __hke.value);
|
|
@@ -4260,7 +4299,7 @@ var Streamdown = /* @__PURE__ */ memo3(({
|
|
|
4260
4299
|
[isAnimating, mode],
|
|
4261
4300
|
_h$69
|
|
4262
4301
|
);
|
|
4263
|
-
const allowedTagNames = (__hkd0$ = allowedTags, __hks$ = _$memoSlot7(_h$76), __hke$ = _$memoTake15(__hks
|
|
4302
|
+
const allowedTagNames = (__hkd0$1 = allowedTags, __hks$1 = _$memoSlot7(_h$76), __hke$1 = _$memoTake15(__hks$1, __hkd0$1), __hke$1 === null ? _$memoPublish7(__hks$1, allowedTags ? Object.keys(allowedTags) : [], __hkd0$1) : __hke$1.value);
|
|
4264
4303
|
const processedChildren = useMemo4(
|
|
4265
4304
|
() => {
|
|
4266
4305
|
if (typeof children !== "string") {
|
|
@@ -4301,7 +4340,7 @@ var Streamdown = /* @__PURE__ */ memo3(({
|
|
|
4301
4340
|
_h$118
|
|
4302
4341
|
);
|
|
4303
4342
|
const blocksToRender = mode === "streaming" ? displayBlocks : blocks;
|
|
4304
|
-
const blockDirections = (__hkd0$3 = blocksToRender, __hkd1$ = dir, __hks$3 = _$memoSlot7(_h$123), __hke$3 = _$memoTake24(__hks$3, __hkd0$3, __hkd1$), __hke$3 === null ? _$memoPublish7(__hks$3, dir === "auto" ? blocksToRender.map(detectTextDirection) : void 0, __hkd0$3, __hkd1$) : __hke$3.value);
|
|
4343
|
+
const blockDirections = (__hkd0$3 = blocksToRender, __hkd1$1 = dir, __hks$3 = _$memoSlot7(_h$123), __hke$3 = _$memoTake24(__hks$3, __hkd0$3, __hkd1$1), __hke$3 === null ? _$memoPublish7(__hks$3, dir === "auto" ? blocksToRender.map(detectTextDirection) : void 0, __hkd0$3, __hkd1$1) : __hke$3.value);
|
|
4305
4344
|
const blockKeys = (__hkd0$4 = blocksToRender.length, __hkd1$2 = generatedId, __hks$4 = _$memoSlot7(_h$133), __hke$4 = _$memoTake24(__hks$4, __hkd0$4, __hkd1$2), __hke$4 === null ? _$memoPublish7(__hks$4, blocksToRender.map((_block, idx) => `${generatedId}-${idx}`), __hkd0$4, __hkd1$2) : __hke$4.value);
|
|
4306
4345
|
{
|
|
4307
4346
|
__hkd0$5 = animated;
|
|
@@ -4336,29 +4375,29 @@ var Streamdown = /* @__PURE__ */ memo3(({
|
|
|
4336
4375
|
__hks$6 = _$memoSlot7(_h$153);
|
|
4337
4376
|
__hke$6 = _$memoTake15(__hks$6, __hkd0$6);
|
|
4338
4377
|
if (__hke$6 === null) {
|
|
4339
|
-
__hkl
|
|
4378
|
+
__hkl$1: {
|
|
4340
4379
|
if (!animatedKey) {
|
|
4341
4380
|
{
|
|
4342
|
-
__hkv$ = null;
|
|
4343
|
-
break __hkl
|
|
4381
|
+
__hkv$1 = null;
|
|
4382
|
+
break __hkl$1;
|
|
4344
4383
|
}
|
|
4345
4384
|
}
|
|
4346
4385
|
if (animatedKey === "true") {
|
|
4347
4386
|
{
|
|
4348
|
-
__hkv$ = createAnimatePlugin();
|
|
4349
|
-
break __hkl
|
|
4387
|
+
__hkv$1 = createAnimatePlugin();
|
|
4388
|
+
break __hkl$1;
|
|
4350
4389
|
}
|
|
4351
4390
|
}
|
|
4352
4391
|
{
|
|
4353
|
-
__hkv$ = createAnimatePlugin(animated);
|
|
4354
|
-
break __hkl
|
|
4392
|
+
__hkv$1 = createAnimatePlugin(animated);
|
|
4393
|
+
break __hkl$1;
|
|
4355
4394
|
}
|
|
4356
|
-
__hkv$ = void 0;
|
|
4395
|
+
__hkv$1 = void 0;
|
|
4357
4396
|
}
|
|
4358
|
-
__hkr$ = _$memoPublish7(__hks$6, __hkv
|
|
4359
|
-
} else __hkr$ = __hke$6.value;
|
|
4397
|
+
__hkr$1 = _$memoPublish7(__hks$6, __hkv$1, __hkd0$6);
|
|
4398
|
+
} else __hkr$1 = __hke$6.value;
|
|
4360
4399
|
}
|
|
4361
|
-
const animatePlugin = __hkr
|
|
4400
|
+
const animatePlugin = __hkr$1;
|
|
4362
4401
|
const contextValue = useMemo4(
|
|
4363
4402
|
() => ({
|
|
4364
4403
|
shikiTheme: plugins?.code?.getThemes() ?? shikiTheme,
|
|
@@ -4494,12 +4533,12 @@ var Streamdown = /* @__PURE__ */ memo3(({
|
|
|
4494
4533
|
} else __hkr$3 = __hke$10.value;
|
|
4495
4534
|
}
|
|
4496
4535
|
const shouldHideCaret = __hkr$3;
|
|
4497
|
-
const style = (__hkd0$11 = caret, __hkd1$5 = isAnimating, __hkd2$ = shouldHideCaret, __hks$11 = _$memoSlot7(_h$233), __hke$11 = _$memoTake33(__hks$11, __hkd0$11, __hkd1$5, __hkd2$), __hke$11 === null ? _$memoPublish7(
|
|
4536
|
+
const style = (__hkd0$11 = caret, __hkd1$5 = isAnimating, __hkd2$1 = shouldHideCaret, __hks$11 = _$memoSlot7(_h$233), __hke$11 = _$memoTake33(__hks$11, __hkd0$11, __hkd1$5, __hkd2$1), __hke$11 === null ? _$memoPublish7(
|
|
4498
4537
|
__hks$11,
|
|
4499
4538
|
caret && isAnimating && !shouldHideCaret ? { "--streamdown-caret": `"${carets[caret]}"` } : void 0,
|
|
4500
4539
|
__hkd0$11,
|
|
4501
4540
|
__hkd1$5,
|
|
4502
|
-
__hkd2$
|
|
4541
|
+
__hkd2$1
|
|
4503
4542
|
) : __hke$11.value);
|
|
4504
4543
|
if (mode === "static") {
|
|
4505
4544
|
animatePlugin?.setActiveBlock("static");
|
|
@@ -4610,6 +4649,7 @@ Object.assign(Streamdown, { displayName: "Streamdown" });
|
|
|
4610
4649
|
// src/lib/mermaid/pan-zoom.tsrx
|
|
4611
4650
|
import {
|
|
4612
4651
|
createElementFromConfig as _$createElementFromConfig15,
|
|
4652
|
+
enableHostDescriptors as _$enableHostDescriptors16,
|
|
4613
4653
|
memoPublish as _$memoPublish8,
|
|
4614
4654
|
memoSlot as _$memoSlot8,
|
|
4615
4655
|
memoTake0 as _$memoTake03,
|
|
@@ -4628,6 +4668,7 @@ import {
|
|
|
4628
4668
|
useState as useState12,
|
|
4629
4669
|
withSlot as _$withSlot18
|
|
4630
4670
|
} from "octane";
|
|
4671
|
+
_$enableHostDescriptors16();
|
|
4631
4672
|
var _hs$21 = /* @__PURE__ */ _$hookSlots21(19);
|
|
4632
4673
|
var _h$021 = /* @__PURE__ */ Symbol(_hs$21);
|
|
4633
4674
|
var _h$119 = /* @__PURE__ */ Symbol(_hs$21 + 1);
|
|
@@ -4658,7 +4699,7 @@ var PanZoom = ({
|
|
|
4658
4699
|
initialZoom = 1,
|
|
4659
4700
|
fullscreen = false
|
|
4660
4701
|
}) => {
|
|
4661
|
-
let __hks, __hkd0, __hkd1, __hke, __hks
|
|
4702
|
+
let __hks, __hkd0, __hkd1, __hke, __hks$1, __hkd0$1, __hkd1$1, __hke$1, __hks$2, __hkd0$2, __hkd1$2, __hke$2, __hks$3, __hkd0$3, __hke$3, __hks$4, __hkd0$4, __hkd1$3, __hke$4, __hks$5, __hkd0$5, __hke$5, __hks$6, __hkd0$6, __hkd1$4, __hkd2, __hke$6, __hks$7, __hke$7;
|
|
4662
4703
|
const { RotateCcwIcon: RotateCcwIcon2, ZoomInIcon: ZoomInIcon2, ZoomOutIcon: ZoomOutIcon2 } = _$withSlot18(_h$021, useIcons);
|
|
4663
4704
|
const cn2 = _$withSlot18(_h$119, useCn);
|
|
4664
4705
|
const containerRef = useRef9(null, _h$217);
|
|
@@ -4679,14 +4720,14 @@ var PanZoom = ({
|
|
|
4679
4720
|
__hkd0,
|
|
4680
4721
|
__hkd1
|
|
4681
4722
|
) : __hke.value);
|
|
4682
|
-
const handleZoomIn = (__hkd0$ = handleZoom, __hkd1$ = zoomStep, __hks$ = _$memoSlot8(_h$103), __hke$ = _$memoTake25(__hks
|
|
4683
|
-
__hks
|
|
4723
|
+
const handleZoomIn = (__hkd0$1 = handleZoom, __hkd1$1 = zoomStep, __hks$1 = _$memoSlot8(_h$103), __hke$1 = _$memoTake25(__hks$1, __hkd0$1, __hkd1$1), __hke$1 === null ? _$memoPublish8(
|
|
4724
|
+
__hks$1,
|
|
4684
4725
|
() => {
|
|
4685
4726
|
handleZoom(zoomStep);
|
|
4686
4727
|
},
|
|
4687
|
-
__hkd0
|
|
4688
|
-
__hkd1$
|
|
4689
|
-
) : __hke
|
|
4728
|
+
__hkd0$1,
|
|
4729
|
+
__hkd1$1
|
|
4730
|
+
) : __hke$1.value);
|
|
4690
4731
|
const handleZoomOut = (__hkd0$2 = handleZoom, __hkd1$2 = zoomStep, __hks$2 = _$memoSlot8(_h$1110), __hke$2 = _$memoTake25(__hks$2, __hkd0$2, __hkd1$2), __hke$2 === null ? _$memoPublish8(
|
|
4691
4732
|
__hks$2,
|
|
4692
4733
|
() => {
|
|
@@ -4859,6 +4900,7 @@ var PanZoom = ({
|
|
|
4859
4900
|
};
|
|
4860
4901
|
|
|
4861
4902
|
// src/lib/mermaid/index.tsrx
|
|
4903
|
+
_$enableHostDescriptors17();
|
|
4862
4904
|
var _hs$22 = /* @__PURE__ */ _$hookSlots22(10);
|
|
4863
4905
|
var _h$022 = /* @__PURE__ */ Symbol(_hs$22);
|
|
4864
4906
|
var _h$120 = /* @__PURE__ */ Symbol(_hs$22 + 1);
|
|
@@ -3,13 +3,14 @@ import {
|
|
|
3
3
|
CodeBlockBody,
|
|
4
4
|
StreamdownContext,
|
|
5
5
|
useCodePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GT55VUAP.js";
|
|
7
7
|
|
|
8
8
|
// src/lib/code-block/highlighted-body.tsrx
|
|
9
9
|
import {
|
|
10
10
|
createElementFromConfig as _$createElementFromConfig,
|
|
11
11
|
enableDescriptorFormActions as _$enableDescriptorFormActions,
|
|
12
12
|
enableDescriptorFragmentRefs as _$enableDescriptorFragmentRefs,
|
|
13
|
+
enableHostDescriptors as _$enableHostDescriptors,
|
|
13
14
|
memoPublish as _$memoPublish,
|
|
14
15
|
memoSlot as _$memoSlot,
|
|
15
16
|
memoTake4 as _$memoTake4
|
|
@@ -26,6 +27,7 @@ import {
|
|
|
26
27
|
} from "octane";
|
|
27
28
|
_$enableDescriptorFormActions();
|
|
28
29
|
_$enableDescriptorFragmentRefs();
|
|
30
|
+
_$enableHostDescriptors();
|
|
29
31
|
var _hs$ = /* @__PURE__ */ _$hookSlots(5);
|
|
30
32
|
var _h$0 = /* @__PURE__ */ Symbol(_hs$);
|
|
31
33
|
var _h$1 = /* @__PURE__ */ Symbol(_hs$ + 1);
|
package/dist/client/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/streamdown",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.49",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -92,16 +92,16 @@
|
|
|
92
92
|
"unist-util-visit-parents": "^6.0.0"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"octane": "^0.
|
|
95
|
+
"octane": "^0.18.0"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
|
-
"@octanejs/testing-library": "0.1.
|
|
98
|
+
"@octanejs/testing-library": "0.1.70",
|
|
99
99
|
"@testing-library/jest-dom": "^6.9.1",
|
|
100
100
|
"@tsrx/react": "^0.4.5",
|
|
101
101
|
"@types/react": "^19.2.17",
|
|
102
102
|
"@types/react-dom": "^19.2.3",
|
|
103
103
|
"esbuild": "^0.28.1",
|
|
104
|
-
"octane": "0.
|
|
104
|
+
"octane": "0.18.0",
|
|
105
105
|
"react": "19.2.7",
|
|
106
106
|
"react-dom": "19.2.7",
|
|
107
107
|
"streamdown": "2.5.0",
|