vue-stream-markdown 0.1.1 → 0.1.2

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.
Files changed (67) hide show
  1. package/README.md +1 -0
  2. package/dist/button-DBgeYAZy.js +5 -0
  3. package/dist/{button-dU2iYZBS.js → button-vKhxUL3C.js} +1 -1
  4. package/dist/{code-BfJ58lYO.js → code-_dL6Qk0F.js} +7 -7
  5. package/dist/code-block-DGZ48hb0.js +9 -0
  6. package/dist/{code-block-CZHD64ft.js → code-block-wYeMwBck.js} +5 -5
  7. package/dist/{composables-BwAY_BDJ.js → composables-CZ7YmjNl.js} +6 -16
  8. package/dist/dropdown-DR-uQ215.js +5 -0
  9. package/dist/error-component-CKCT9gXy.js +4 -0
  10. package/dist/{error-component-CiIR_1Cg.js → error-component-ChEpOmSX.js} +1 -1
  11. package/dist/{image-BporCeem.js → image-DB-4Sv8R.js} +4 -4
  12. package/dist/index.css +633 -8
  13. package/dist/index.d.ts +28 -28
  14. package/dist/index.js +15 -15
  15. package/dist/{inline-math-BfG4600m.js → inline-math-rChhv_1j.js} +2 -2
  16. package/dist/{link-D-OnakwP.js → link-CJk67Kbh.js} +2 -2
  17. package/dist/{math-CvKkCYb9.js → math-ZLxqHT_f.js} +2 -2
  18. package/dist/{mermaid-FgnWaZtT.js → mermaid-CNFU7Pg8.js} +5 -5
  19. package/dist/{previewers-CoU4RlpQ.js → previewers-CMreQ4TA.js} +1 -1
  20. package/dist/segmented-63wrfRNo.js +6 -0
  21. package/dist/{segmented-Baxxk3UJ.js → segmented-RoWxDIP3.js} +1 -1
  22. package/dist/{shiki-BHOZKGKS.js → shiki-4529WbJJ.js} +1 -1
  23. package/dist/{table-B__TdLr7.js → table-BmGwZIPR.js} +3 -3
  24. package/dist/tooltip--rusT8LZ.js +4 -0
  25. package/dist/{tooltip-CA6Kp7Ek.js → tooltip-KcTe6tBF.js} +1 -1
  26. package/dist/zoom-container-C-CB2LTY.js +6 -0
  27. package/dist/{zoom-container-Dlqv-z-t.js → zoom-container-D1Mys9gv.js} +8 -10
  28. package/package.json +2 -1
  29. package/dist/blockquote-DFANmQEB.css +0 -13
  30. package/dist/button-Bz0s_F3s.js +0 -5
  31. package/dist/button-C12sn_G5.css +0 -24
  32. package/dist/code-NAXHb0o2.css +0 -4
  33. package/dist/code-block-BFUXyGQH.js +0 -9
  34. package/dist/code-block-Bv8s2E8I.css +0 -62
  35. package/dist/delete-Ci7IJDoT.css +0 -4
  36. package/dist/dropdown-RWgcV-8w.js +0 -5
  37. package/dist/emphasis-BseYvUae.css +0 -4
  38. package/dist/error-component-BIPPxd-M.css +0 -21
  39. package/dist/error-component-CR9t-T1D.js +0 -4
  40. package/dist/heading-KxpVX3-u.css +0 -30
  41. package/dist/html-C5_wsY4-.css +0 -5
  42. package/dist/image-B77jbMUB.css +0 -46
  43. package/dist/inline-code-Eo65bj3F.css +0 -12
  44. package/dist/inline-math-DgBjIrPT.css +0 -7
  45. package/dist/link-BA_j8di3.css +0 -12
  46. package/dist/list-CcVBNIly.css +0 -11
  47. package/dist/list-item-Y6Cphjrp.css +0 -15
  48. package/dist/math-Cq89zpB6.css +0 -11
  49. package/dist/mermaid-C9ZUejzK.css +0 -8
  50. package/dist/modal-CWdgVkH_.css +0 -48
  51. package/dist/node-list-C9O-A1aZ.css +0 -11
  52. package/dist/paragraph-wRNmMYAI.css +0 -6
  53. package/dist/segmented-C0uEAYuJ.js +0 -6
  54. package/dist/segmented-DLmggl-e.css +0 -8
  55. package/dist/shiki-CMgjqKKu.css +0 -20
  56. package/dist/spin-B2FU3Sx6.css +0 -19
  57. package/dist/strong-DpeQmP2J.css +0 -4
  58. package/dist/table-BWn_kG8W.css +0 -19
  59. package/dist/table-CJzlDdmv.css +0 -34
  60. package/dist/text-D098eCyi.css +0 -5
  61. package/dist/thematic-break-C5zxgoE9.css +0 -6
  62. package/dist/tooltip-DAngu9Wp.css +0 -5
  63. package/dist/tooltip-DoIUaZgq.js +0 -4
  64. package/dist/vanilla-BZ8bn5Yz.css +0 -4
  65. package/dist/yaml-McBkYbxI.css +0 -5
  66. package/dist/zoom-container-BENM7TpV.css +0 -28
  67. package/dist/zoom-container-BPbftW_I.js +0 -6
@@ -1,12 +0,0 @@
1
- .stream-markdown [data-stream-markdown="inline-code"] {
2
- background-color: var(--muted);
3
- font-family: var(--font-mono);
4
- white-space: normal;
5
- overflow-wrap: break-word;
6
- border-radius: .25rem;
7
- padding-block: .125rem;
8
- padding-inline: .375rem;
9
- font-size: .875rem;
10
- line-height: 1.25rem;
11
- }
12
-
@@ -1,7 +0,0 @@
1
- .stream-markdown .inline-math-enter-active, .stream-markdown .inline-math-leave-active {
2
- transition: opacity var (--default-transition-duration) ease;
3
- }
4
- .stream-markdown .inline-math-enter-from, .stream-markdown .inline-math-leave-to {
5
- opacity: 0;
6
- }
7
-
@@ -1,12 +0,0 @@
1
- .stream-markdown [data-stream-markdown="link"] {
2
- color: var(--primary);
3
- overflow-wrap: anywhere;
4
- text-decoration: underline;
5
- }
6
- .stream-markdown [data-stream-markdown="link"][data-stream-markdown-loading="true"] {
7
- cursor: default;
8
- pointer-events: none;
9
- text-decoration: none;
10
- position: relative;
11
- }
12
-
@@ -1,11 +0,0 @@
1
- .stream-markdown [data-stream-markdown="ordered-list"], .stream-markdown [data-stream-markdown="unordered-list"], .stream-markdown [data-stream-markdown="task-list"] {
2
- white-space: normal;
3
- padding-left: 1.25rem;
4
- }
5
- .stream-markdown [data-stream-markdown="ordered-list"] {
6
- list-style-type: decimal;
7
- }
8
- .stream-markdown [data-stream-markdown="unordered-list"], .stream-markdown [data-stream-markdown="task-list"] {
9
- list-style-type: disc;
10
- }
11
-
@@ -1,15 +0,0 @@
1
- .stream-markdown [data-stream-markdown="list-item"] {
2
- padding-block: .25rem;
3
- padding-left: .25rem;
4
- }
5
- .stream-markdown [data-stream-markdown="list-item"] p {
6
- margin: 0;
7
- }
8
- .stream-markdown [data-stream-markdown="task-list-item"] p {
9
- display: inline-block;
10
- }
11
- .stream-markdown [data-stream-markdown="task-list-item-checkbox"] {
12
- vertical-align: middle;
13
- margin-right: .5rem;
14
- }
15
-
@@ -1,11 +0,0 @@
1
- .stream-markdown [data-stream-markdown="math"] {
2
- text-align: center;
3
- margin-block: 1rem;
4
- }
5
- .stream-markdown .math-enter-active, .stream-markdown .math-leave-active {
6
- transition: opacity var (--default-transition-duration) ease;
7
- }
8
- .stream-markdown .math-enter-from, .stream-markdown .math-leave-to {
9
- opacity: 0;
10
- }
11
-
@@ -1,8 +0,0 @@
1
- .stream-markdown [data-stream-markdown="mermaid-previewer"] {
2
- text-align: center;
3
- }
4
- .stream-markdown [data-stream-markdown="mermaid"] {
5
- justify-content: center;
6
- display: flex;
7
- }
8
-
@@ -1,48 +0,0 @@
1
- .stream-markdown [data-stream-markdown="modal"] {
2
- background-color: var(--background);
3
- flex-direction: column;
4
- display: flex;
5
- position: fixed;
6
- inset: 0;
7
- }
8
- .stream-markdown [data-stream-markdown="modal-header"] {
9
- background-color: color-mix(in oklab, var(--muted) 80%, transparent);
10
- color: var(--muted-foreground);
11
- border-bottom: 1px solid var(--border);
12
- flex-shrink: 0;
13
- justify-content: space-between;
14
- align-items: center;
15
- padding-block: .5rem;
16
- padding-inline: 1rem;
17
- display: flex;
18
- position: relative;
19
- }
20
- .stream-markdown [data-stream-markdown="modal-actions"] {
21
- align-items: center;
22
- gap: .5rem;
23
- display: flex;
24
- }
25
- .stream-markdown [data-stream-markdown="modal-body"] {
26
- flex: 1;
27
- overflow: auto;
28
- }
29
- .stream-markdown .modal-enter-from, .stream-markdown .modal-leave-to {
30
- opacity: 0;
31
- }
32
- .stream-markdown .modal-enter-active, .stream-markdown .modal-leave-active {
33
- transition: opacity var(--default-transition-duration) ease;
34
- }
35
- .stream-markdown [data-stream-markdown="modal-header"] > :first-child {
36
- flex: 1;
37
- }
38
- .stream-markdown [data-stream-markdown="modal-header"] > :last-child {
39
- flex: 1;
40
- justify-content: flex-end;
41
- display: flex;
42
- }
43
- .stream-markdown [data-stream-markdown="modal-header"] > :nth-child(2) {
44
- position: absolute;
45
- left: 50%;
46
- transform: translateX(-50%);
47
- }
48
-
@@ -1,11 +0,0 @@
1
- .stream-markdown .typewriter-enter-from {
2
- opacity: 0;
3
- }
4
- .stream-markdown .typewriter-enter-active {
5
- transition: opacity var(--typewriter-transition-duration) ease-out;
6
- will-change: opacity;
7
- }
8
- .stream-markdown .typewriter-enter-to {
9
- opacity: 1;
10
- }
11
-
@@ -1,6 +0,0 @@
1
- .stream-markdown [data-stream-markdown="paragraph"] {
2
- vertical-align: middle;
3
- transition: height var(--default-transition-duration) ease;
4
- margin-bottom: 1rem;
5
- }
6
-
@@ -1,6 +0,0 @@
1
- import "./composables-BwAY_BDJ.js";
2
- import "./tooltip-CA6Kp7Ek.js";
3
- import "./button-dU2iYZBS.js";
4
- import { t as segmented_default } from "./segmented-Baxxk3UJ.js";
5
-
6
- export { segmented_default as default };
@@ -1,8 +0,0 @@
1
- .stream-markdown [data-stream-markdown="segmented"] {
2
- border-radius: .375rem;
3
- align-items: center;
4
- gap: .25rem;
5
- padding: .125rem;
6
- display: flex;
7
- }
8
-
@@ -1,20 +0,0 @@
1
- .stream-markdown [data-stream-markdown="code"] .line {
2
- display: block;
3
- position: relative;
4
- }
5
- .stream-markdown [data-stream-markdown="code"] .line:before {
6
- text-align: right;
7
- width: 1rem;
8
- color: color-mix(in oklab, var(--muted-foreground) 50%, transparent);
9
- font-size: 13px;
10
- font-family: var(--font-mono);
11
- content: counter(line);
12
- counter-increment: line;
13
- user-select: none;
14
- margin-right: 1rem;
15
- display: inline-block;
16
- }
17
- .stream-markdown [data-stream-markdown="code"][data-show-line-numbers="false"] .line:before {
18
- display: none;
19
- }
20
-
@@ -1,19 +0,0 @@
1
- .stream-markdown [data-stream-markdown="spin"] {
2
- border: 2px solid var(--foreground);
3
- border-top-color: #0000;
4
- border-radius: 50%;
5
- width: 1rem;
6
- height: 1rem;
7
- margin-block: 1rem;
8
- animation: 1s linear infinite spin;
9
- display: inline-block;
10
- }
11
- @keyframes spin {
12
- from {
13
- transform: rotate(0);
14
- }
15
- to {
16
- transform: rotate(360deg);
17
- }
18
- }
19
-
@@ -1,4 +0,0 @@
1
- .stream-markdown [data-stream-markdown="strong"] {
2
- font-weight: 600;
3
- }
4
-
@@ -1,19 +0,0 @@
1
- .stream-markdown [data-stream-markdown="table-wrapper"] {
2
- flex-direction: column;
3
- align-items: center;
4
- gap: .5rem;
5
- margin-block: 1rem;
6
- display: flex;
7
- }
8
- .stream-markdown [data-stream-markdown="table-controls"] {
9
- justify-content: end;
10
- align-items: center;
11
- gap: .25rem;
12
- width: 100%;
13
- display: flex;
14
- }
15
- .stream-markdown [data-stream-markdown="table-inner-wrapper"] {
16
- width: 100%;
17
- overflow-x: auto;
18
- }
19
-
@@ -1,34 +0,0 @@
1
- .stream-markdown [data-stream-markdown="table"] {
2
- border-collapse: collapse;
3
- border: 1px solid var(--border);
4
- border-radius: .5rem;
5
- width: 100%;
6
- overflow: hidden;
7
- }
8
- .stream-markdown [data-stream-markdown="table-header"] {
9
- background-color: color-mix(in oklab, var(--muted) 80%, transparent);
10
- position: relative;
11
- }
12
- .stream-markdown [data-stream-markdown="table-body"] {
13
- border-color: var(--border);
14
- background-color: color-mix(in oklab, var(--muted) 40%, transparent);
15
- border-block-width: 1px;
16
- font-weight: 600;
17
- position: relative;
18
- }
19
- .stream-markdown [data-stream-markdown="table"] tr {
20
- border-bottom: 1px solid var(--border);
21
- }
22
- .stream-markdown [data-stream-markdown="table"] p {
23
- margin: 0;
24
- }
25
- .stream-markdown [data-stream-markdown="table-header"] th {
26
- white-space: nowrap;
27
- }
28
- .stream-markdown [data-stream-markdown="table-header"] th, .stream-markdown [data-stream-markdown="table-body"] td {
29
- padding-block: .5rem;
30
- padding-inline: 1rem;
31
- font-size: .875rem;
32
- line-height: 1.25rem;
33
- }
34
-
@@ -1,5 +0,0 @@
1
- .stream-markdown [data-stream-markdown="text"] {
2
- white-space: pre-wrap;
3
- overflow-wrap: break-word;
4
- }
5
-
@@ -1,6 +0,0 @@
1
- .stream-markdown [data-stream-markdown="thematic-break"] {
2
- border-top: 1px solid var(--border);
3
- margin-top: 1.5rem;
4
- margin-bottom: 1.5rem;
5
- }
6
-
@@ -1,5 +0,0 @@
1
- .stream-markdown [data-stream-markdown="tooltip-overlay"] {
2
- padding-block: .25rem;
3
- padding-inline: .5rem;
4
- }
5
-
@@ -1,4 +0,0 @@
1
- import "./composables-BwAY_BDJ.js";
2
- import { t as tooltip_default } from "./tooltip-CA6Kp7Ek.js";
3
-
4
- export { tooltip_default as default };
@@ -1,4 +0,0 @@
1
- .stream-markdown [data-stream-markdown="code"] {
2
- padding: 1rem;
3
- }
4
-
@@ -1,5 +0,0 @@
1
- .stream-markdown [data-stream-markdown="yaml"] {
2
- width: 100%;
3
- overflow-x: auto;
4
- }
5
-
@@ -1,28 +0,0 @@
1
- .stream-markdown [data-stream-markdown="zoom-container"] {
2
- height: 100%;
3
- position: relative;
4
- overflow: hidden;
5
- }
6
- .stream-markdown [data-stream-markdown="zoom-inner"] {
7
- justify-content: center;
8
- align-items: center;
9
- width: 100%;
10
- height: 100%;
11
- display: flex;
12
- }
13
- .stream-markdown [data-stream-markdown="zoom-transform-container"] {
14
- flex-shrink: 0;
15
- width: 100%;
16
- }
17
- .stream-markdown [data-stream-markdown="zoom-controls"] {
18
- z-index: 10;
19
- border: 1px solid var(--border);
20
- background-color: var(--background);
21
- border-radius: .75rem;
22
- align-items: center;
23
- gap: .25rem;
24
- padding: .25rem;
25
- display: flex;
26
- position: absolute;
27
- }
28
-
@@ -1,6 +0,0 @@
1
- import "./composables-BwAY_BDJ.js";
2
- import "./tooltip-CA6Kp7Ek.js";
3
- import "./button-dU2iYZBS.js";
4
- import { t as zoom_container_default } from "./zoom-container-Dlqv-z-t.js";
5
-
6
- export { zoom_container_default as default };