@assistant-ui/react-markdown 0.2.19 → 0.2.21
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.
|
@@ -34,10 +34,80 @@ __export(tailwindcss_exports, {
|
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(tailwindcss_exports);
|
|
36
36
|
var import_plugin = __toESM(require("tailwindcss/plugin.js"));
|
|
37
|
+
|
|
38
|
+
// src/tailwindcss/data/markdown.css.json
|
|
39
|
+
var markdown_css_default = {
|
|
40
|
+
":where(.aui-md-running):empty::after,\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child::after,\n:where(.aui-md-running) > pre:last-child code::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li)))::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li)))::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)::after": {
|
|
41
|
+
"@apply animate-pulse font-sans content-['\\25CF'] ltr:ml-1 rtl:mr-1": {}
|
|
42
|
+
},
|
|
43
|
+
".aui-md-root h1": {
|
|
44
|
+
"@apply mb-8 scroll-m-20 text-4xl font-extrabold tracking-tight last:mb-0": {}
|
|
45
|
+
},
|
|
46
|
+
".aui-md-root h2": {
|
|
47
|
+
"@apply mb-4 mt-8 scroll-m-20 text-3xl font-semibold tracking-tight first:mt-0 last:mb-0": {}
|
|
48
|
+
},
|
|
49
|
+
".aui-md-root h3": {
|
|
50
|
+
"@apply mb-4 mt-6 scroll-m-20 text-2xl font-semibold tracking-tight first:mt-0 last:mb-0": {}
|
|
51
|
+
},
|
|
52
|
+
".aui-md-root h4": {
|
|
53
|
+
"@apply mb-4 mt-6 scroll-m-20 text-xl font-semibold tracking-tight first:mt-0 last:mb-0": {}
|
|
54
|
+
},
|
|
55
|
+
".aui-md-root h5": {
|
|
56
|
+
"@apply my-4 text-lg font-semibold first:mt-0 last:mb-0": {}
|
|
57
|
+
},
|
|
58
|
+
".aui-md-root h6": {
|
|
59
|
+
"@apply my-4 font-semibold first:mt-0 last:mb-0": {}
|
|
60
|
+
},
|
|
61
|
+
".aui-md-root p": {
|
|
62
|
+
"@apply mb-5 mt-5 leading-7 first:mt-0 last:mb-0": {}
|
|
63
|
+
},
|
|
64
|
+
".aui-md-root a": {
|
|
65
|
+
"@apply text-aui-primary font-medium underline underline-offset-4": {}
|
|
66
|
+
},
|
|
67
|
+
".aui-md-root blockquote": {
|
|
68
|
+
"@apply border-l-2 pl-6 italic": {}
|
|
69
|
+
},
|
|
70
|
+
".aui-md-root ul": {
|
|
71
|
+
"@apply my-5 ml-6 list-disc [&>li]:mt-2": {}
|
|
72
|
+
},
|
|
73
|
+
".aui-md-root ol": {
|
|
74
|
+
"@apply my-5 ml-6 list-decimal [&>li]:mt-2": {}
|
|
75
|
+
},
|
|
76
|
+
".aui-md-root hr": {
|
|
77
|
+
"@apply my-5 border-b": {}
|
|
78
|
+
},
|
|
79
|
+
".aui-md-root table": {
|
|
80
|
+
"@apply my-5 w-full border-separate border-spacing-0 overflow-y-auto": {}
|
|
81
|
+
},
|
|
82
|
+
".aui-md-root th": {
|
|
83
|
+
"@apply bg-aui-muted px-4 py-2 text-left font-bold first:rounded-tl-lg last:rounded-tr-lg [&[align=center]]:text-center [&[align=right]]:text-right": {}
|
|
84
|
+
},
|
|
85
|
+
".aui-md-root td": {
|
|
86
|
+
"@apply border-b border-l px-4 py-2 text-left last:border-r [&[align=center]]:text-center [&[align=right]]:text-right": {}
|
|
87
|
+
},
|
|
88
|
+
".aui-md-root tr": {
|
|
89
|
+
"@apply m-0 border-b p-0 first:border-t [&:last-child>td:first-child]:rounded-bl-lg [&:last-child>td:last-child]:rounded-br-lg": {}
|
|
90
|
+
},
|
|
91
|
+
".aui-md-root sup": {
|
|
92
|
+
"@apply [&>a]:text-xs [&>a]:no-underline": {}
|
|
93
|
+
},
|
|
94
|
+
".aui-md-root pre": {
|
|
95
|
+
"@apply overflow-x-auto rounded-b-lg bg-black p-4 text-white": {}
|
|
96
|
+
},
|
|
97
|
+
".aui-md-root > code,\n.aui-md-root :not(:where(pre)) code": {
|
|
98
|
+
"@apply bg-aui-muted rounded border font-semibold": {}
|
|
99
|
+
},
|
|
100
|
+
".aui-code-header-root": {
|
|
101
|
+
"@apply flex items-center justify-between gap-4 rounded-t-lg bg-zinc-900 px-4 py-2 text-sm font-semibold text-white": {}
|
|
102
|
+
},
|
|
103
|
+
".aui-code-header-language": {
|
|
104
|
+
"@apply lowercase [&>span]:text-xs": {}
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
// src/tailwindcss/index.ts
|
|
37
109
|
var auiPlugin = import_plugin.default.withOptions(() => ({ addComponents }) => {
|
|
38
|
-
addComponents(
|
|
39
|
-
'@import "@assistant-ui/react-markdown/styles/tailwindcss/markdown.css"': ""
|
|
40
|
-
});
|
|
110
|
+
addComponents(markdown_css_default);
|
|
41
111
|
});
|
|
42
112
|
var tailwindcss_default = auiPlugin;
|
|
43
113
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/tailwindcss/index.ts"],"sourcesContent":["import plugin from \"tailwindcss/plugin.js\";\n\nconst auiPlugin = plugin.withOptions<{}>(() => ({ addComponents }) => {\n addComponents({\n '@
|
|
1
|
+
{"version":3,"sources":["../../src/tailwindcss/index.ts","../../src/tailwindcss/data/markdown.css.json"],"sourcesContent":["import plugin from \"tailwindcss/plugin.js\";\nimport markdownCSS from \"./data/markdown.css.json\";\n\nconst auiPlugin = plugin.withOptions<{}>(() => ({ addComponents }) => {\n addComponents(markdownCSS);\n});\n\nexport default auiPlugin;\n","{\n \":where(.aui-md-running):empty::after,\\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child::after,\\n:where(.aui-md-running) > pre:last-child code::after,\\n:where(.aui-md-running)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child:not(:has(* > li)))::after,\\n:where(.aui-md-running)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child:not(:has(* > li)))::after,\\n:where(.aui-md-running)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child)::after\": {\n \"@apply animate-pulse font-sans content-['\\\\25CF'] ltr:ml-1 rtl:mr-1\": {}\n },\n \".aui-md-root h1\": {\n \"@apply mb-8 scroll-m-20 text-4xl font-extrabold tracking-tight last:mb-0\": {}\n },\n \".aui-md-root h2\": {\n \"@apply mb-4 mt-8 scroll-m-20 text-3xl font-semibold tracking-tight first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root h3\": {\n \"@apply mb-4 mt-6 scroll-m-20 text-2xl font-semibold tracking-tight first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root h4\": {\n \"@apply mb-4 mt-6 scroll-m-20 text-xl font-semibold tracking-tight first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root h5\": {\n \"@apply my-4 text-lg font-semibold first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root h6\": {\n \"@apply my-4 font-semibold first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root p\": {\n \"@apply mb-5 mt-5 leading-7 first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root a\": {\n \"@apply text-aui-primary font-medium underline underline-offset-4\": {}\n },\n \".aui-md-root blockquote\": {\n \"@apply border-l-2 pl-6 italic\": {}\n },\n \".aui-md-root ul\": {\n \"@apply my-5 ml-6 list-disc [&>li]:mt-2\": {}\n },\n \".aui-md-root ol\": {\n \"@apply my-5 ml-6 list-decimal [&>li]:mt-2\": {}\n },\n \".aui-md-root hr\": {\n \"@apply my-5 border-b\": {}\n },\n \".aui-md-root table\": {\n \"@apply my-5 w-full border-separate border-spacing-0 overflow-y-auto\": {}\n },\n \".aui-md-root th\": {\n \"@apply bg-aui-muted px-4 py-2 text-left font-bold first:rounded-tl-lg last:rounded-tr-lg [&[align=center]]:text-center [&[align=right]]:text-right\": {}\n },\n \".aui-md-root td\": {\n \"@apply border-b border-l px-4 py-2 text-left last:border-r [&[align=center]]:text-center [&[align=right]]:text-right\": {}\n },\n \".aui-md-root tr\": {\n \"@apply m-0 border-b p-0 first:border-t [&:last-child>td:first-child]:rounded-bl-lg [&:last-child>td:last-child]:rounded-br-lg\": {}\n },\n \".aui-md-root sup\": {\n \"@apply [&>a]:text-xs [&>a]:no-underline\": {}\n },\n \".aui-md-root pre\": {\n \"@apply overflow-x-auto rounded-b-lg bg-black p-4 text-white\": {}\n },\n \".aui-md-root > code,\\n.aui-md-root :not(:where(pre)) code\": {\n \"@apply bg-aui-muted rounded border font-semibold\": {}\n },\n \".aui-code-header-root\": {\n \"@apply flex items-center justify-between gap-4 rounded-t-lg bg-zinc-900 px-4 py-2 text-sm font-semibold text-white\": {}\n },\n \".aui-code-header-language\": {\n \"@apply lowercase [&>span]:text-xs\": {}\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAmB;;;ACAnB;AAAA,EACE,grBAAgrB;AAAA,IAC9qB,uEAAuE,CAAC;AAAA,EAC1E;AAAA,EACA,mBAAmB;AAAA,IACjB,4EAA4E,CAAC;AAAA,EAC/E;AAAA,EACA,mBAAmB;AAAA,IACjB,2FAA2F,CAAC;AAAA,EAC9F;AAAA,EACA,mBAAmB;AAAA,IACjB,2FAA2F,CAAC;AAAA,EAC9F;AAAA,EACA,mBAAmB;AAAA,IACjB,0FAA0F,CAAC;AAAA,EAC7F;AAAA,EACA,mBAAmB;AAAA,IACjB,0DAA0D,CAAC;AAAA,EAC7D;AAAA,EACA,mBAAmB;AAAA,IACjB,kDAAkD,CAAC;AAAA,EACrD;AAAA,EACA,kBAAkB;AAAA,IAChB,mDAAmD,CAAC;AAAA,EACtD;AAAA,EACA,kBAAkB;AAAA,IAChB,oEAAoE,CAAC;AAAA,EACvE;AAAA,EACA,2BAA2B;AAAA,IACzB,iCAAiC,CAAC;AAAA,EACpC;AAAA,EACA,mBAAmB;AAAA,IACjB,0CAA0C,CAAC;AAAA,EAC7C;AAAA,EACA,mBAAmB;AAAA,IACjB,6CAA6C,CAAC;AAAA,EAChD;AAAA,EACA,mBAAmB;AAAA,IACjB,wBAAwB,CAAC;AAAA,EAC3B;AAAA,EACA,sBAAsB;AAAA,IACpB,uEAAuE,CAAC;AAAA,EAC1E;AAAA,EACA,mBAAmB;AAAA,IACjB,sJAAsJ,CAAC;AAAA,EACzJ;AAAA,EACA,mBAAmB;AAAA,IACjB,wHAAwH,CAAC;AAAA,EAC3H;AAAA,EACA,mBAAmB;AAAA,IACjB,iIAAiI,CAAC;AAAA,EACpI;AAAA,EACA,oBAAoB;AAAA,IAClB,2CAA2C,CAAC;AAAA,EAC9C;AAAA,EACA,oBAAoB;AAAA,IAClB,+DAA+D,CAAC;AAAA,EAClE;AAAA,EACA,6DAA6D;AAAA,IAC3D,oDAAoD,CAAC;AAAA,EACvD;AAAA,EACA,yBAAyB;AAAA,IACvB,sHAAsH,CAAC;AAAA,EACzH;AAAA,EACA,6BAA6B;AAAA,IAC3B,qCAAqC,CAAC;AAAA,EACxC;AACF;;;ADhEA,IAAM,YAAY,cAAAA,QAAO,YAAgB,MAAM,CAAC,EAAE,cAAc,MAAM;AACpE,gBAAc,oBAAW;AAC3B,CAAC;AAED,IAAO,sBAAQ;","names":["plugin"]}
|
|
@@ -1,9 +1,79 @@
|
|
|
1
1
|
// src/tailwindcss/index.ts
|
|
2
2
|
import plugin from "tailwindcss/plugin.js";
|
|
3
|
+
|
|
4
|
+
// src/tailwindcss/data/markdown.css.json
|
|
5
|
+
var markdown_css_default = {
|
|
6
|
+
":where(.aui-md-running):empty::after,\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child::after,\n:where(.aui-md-running) > pre:last-child code::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li)))::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li)))::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child)::after": {
|
|
7
|
+
"@apply animate-pulse font-sans content-['\\25CF'] ltr:ml-1 rtl:mr-1": {}
|
|
8
|
+
},
|
|
9
|
+
".aui-md-root h1": {
|
|
10
|
+
"@apply mb-8 scroll-m-20 text-4xl font-extrabold tracking-tight last:mb-0": {}
|
|
11
|
+
},
|
|
12
|
+
".aui-md-root h2": {
|
|
13
|
+
"@apply mb-4 mt-8 scroll-m-20 text-3xl font-semibold tracking-tight first:mt-0 last:mb-0": {}
|
|
14
|
+
},
|
|
15
|
+
".aui-md-root h3": {
|
|
16
|
+
"@apply mb-4 mt-6 scroll-m-20 text-2xl font-semibold tracking-tight first:mt-0 last:mb-0": {}
|
|
17
|
+
},
|
|
18
|
+
".aui-md-root h4": {
|
|
19
|
+
"@apply mb-4 mt-6 scroll-m-20 text-xl font-semibold tracking-tight first:mt-0 last:mb-0": {}
|
|
20
|
+
},
|
|
21
|
+
".aui-md-root h5": {
|
|
22
|
+
"@apply my-4 text-lg font-semibold first:mt-0 last:mb-0": {}
|
|
23
|
+
},
|
|
24
|
+
".aui-md-root h6": {
|
|
25
|
+
"@apply my-4 font-semibold first:mt-0 last:mb-0": {}
|
|
26
|
+
},
|
|
27
|
+
".aui-md-root p": {
|
|
28
|
+
"@apply mb-5 mt-5 leading-7 first:mt-0 last:mb-0": {}
|
|
29
|
+
},
|
|
30
|
+
".aui-md-root a": {
|
|
31
|
+
"@apply text-aui-primary font-medium underline underline-offset-4": {}
|
|
32
|
+
},
|
|
33
|
+
".aui-md-root blockquote": {
|
|
34
|
+
"@apply border-l-2 pl-6 italic": {}
|
|
35
|
+
},
|
|
36
|
+
".aui-md-root ul": {
|
|
37
|
+
"@apply my-5 ml-6 list-disc [&>li]:mt-2": {}
|
|
38
|
+
},
|
|
39
|
+
".aui-md-root ol": {
|
|
40
|
+
"@apply my-5 ml-6 list-decimal [&>li]:mt-2": {}
|
|
41
|
+
},
|
|
42
|
+
".aui-md-root hr": {
|
|
43
|
+
"@apply my-5 border-b": {}
|
|
44
|
+
},
|
|
45
|
+
".aui-md-root table": {
|
|
46
|
+
"@apply my-5 w-full border-separate border-spacing-0 overflow-y-auto": {}
|
|
47
|
+
},
|
|
48
|
+
".aui-md-root th": {
|
|
49
|
+
"@apply bg-aui-muted px-4 py-2 text-left font-bold first:rounded-tl-lg last:rounded-tr-lg [&[align=center]]:text-center [&[align=right]]:text-right": {}
|
|
50
|
+
},
|
|
51
|
+
".aui-md-root td": {
|
|
52
|
+
"@apply border-b border-l px-4 py-2 text-left last:border-r [&[align=center]]:text-center [&[align=right]]:text-right": {}
|
|
53
|
+
},
|
|
54
|
+
".aui-md-root tr": {
|
|
55
|
+
"@apply m-0 border-b p-0 first:border-t [&:last-child>td:first-child]:rounded-bl-lg [&:last-child>td:last-child]:rounded-br-lg": {}
|
|
56
|
+
},
|
|
57
|
+
".aui-md-root sup": {
|
|
58
|
+
"@apply [&>a]:text-xs [&>a]:no-underline": {}
|
|
59
|
+
},
|
|
60
|
+
".aui-md-root pre": {
|
|
61
|
+
"@apply overflow-x-auto rounded-b-lg bg-black p-4 text-white": {}
|
|
62
|
+
},
|
|
63
|
+
".aui-md-root > code,\n.aui-md-root :not(:where(pre)) code": {
|
|
64
|
+
"@apply bg-aui-muted rounded border font-semibold": {}
|
|
65
|
+
},
|
|
66
|
+
".aui-code-header-root": {
|
|
67
|
+
"@apply flex items-center justify-between gap-4 rounded-t-lg bg-zinc-900 px-4 py-2 text-sm font-semibold text-white": {}
|
|
68
|
+
},
|
|
69
|
+
".aui-code-header-language": {
|
|
70
|
+
"@apply lowercase [&>span]:text-xs": {}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
// src/tailwindcss/index.ts
|
|
3
75
|
var auiPlugin = plugin.withOptions(() => ({ addComponents }) => {
|
|
4
|
-
addComponents(
|
|
5
|
-
'@import "@assistant-ui/react-markdown/styles/tailwindcss/markdown.css"': ""
|
|
6
|
-
});
|
|
76
|
+
addComponents(markdown_css_default);
|
|
7
77
|
});
|
|
8
78
|
var tailwindcss_default = auiPlugin;
|
|
9
79
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/tailwindcss/index.ts"],"sourcesContent":["import plugin from \"tailwindcss/plugin.js\";\n\nconst auiPlugin = plugin.withOptions<{}>(() => ({ addComponents }) => {\n addComponents({\n '@
|
|
1
|
+
{"version":3,"sources":["../../src/tailwindcss/index.ts","../../src/tailwindcss/data/markdown.css.json"],"sourcesContent":["import plugin from \"tailwindcss/plugin.js\";\nimport markdownCSS from \"./data/markdown.css.json\";\n\nconst auiPlugin = plugin.withOptions<{}>(() => ({ addComponents }) => {\n addComponents(markdownCSS);\n});\n\nexport default auiPlugin;\n","{\n \":where(.aui-md-running):empty::after,\\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child::after,\\n:where(.aui-md-running) > pre:last-child code::after,\\n:where(.aui-md-running)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child:not(:has(* > li)))::after,\\n:where(.aui-md-running)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child:not(:has(* > li)))::after,\\n:where(.aui-md-running)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child)\\n > :where(:is(ol, ul):last-child)\\n > :where(li:last-child)::after\": {\n \"@apply animate-pulse font-sans content-['\\\\25CF'] ltr:ml-1 rtl:mr-1\": {}\n },\n \".aui-md-root h1\": {\n \"@apply mb-8 scroll-m-20 text-4xl font-extrabold tracking-tight last:mb-0\": {}\n },\n \".aui-md-root h2\": {\n \"@apply mb-4 mt-8 scroll-m-20 text-3xl font-semibold tracking-tight first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root h3\": {\n \"@apply mb-4 mt-6 scroll-m-20 text-2xl font-semibold tracking-tight first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root h4\": {\n \"@apply mb-4 mt-6 scroll-m-20 text-xl font-semibold tracking-tight first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root h5\": {\n \"@apply my-4 text-lg font-semibold first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root h6\": {\n \"@apply my-4 font-semibold first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root p\": {\n \"@apply mb-5 mt-5 leading-7 first:mt-0 last:mb-0\": {}\n },\n \".aui-md-root a\": {\n \"@apply text-aui-primary font-medium underline underline-offset-4\": {}\n },\n \".aui-md-root blockquote\": {\n \"@apply border-l-2 pl-6 italic\": {}\n },\n \".aui-md-root ul\": {\n \"@apply my-5 ml-6 list-disc [&>li]:mt-2\": {}\n },\n \".aui-md-root ol\": {\n \"@apply my-5 ml-6 list-decimal [&>li]:mt-2\": {}\n },\n \".aui-md-root hr\": {\n \"@apply my-5 border-b\": {}\n },\n \".aui-md-root table\": {\n \"@apply my-5 w-full border-separate border-spacing-0 overflow-y-auto\": {}\n },\n \".aui-md-root th\": {\n \"@apply bg-aui-muted px-4 py-2 text-left font-bold first:rounded-tl-lg last:rounded-tr-lg [&[align=center]]:text-center [&[align=right]]:text-right\": {}\n },\n \".aui-md-root td\": {\n \"@apply border-b border-l px-4 py-2 text-left last:border-r [&[align=center]]:text-center [&[align=right]]:text-right\": {}\n },\n \".aui-md-root tr\": {\n \"@apply m-0 border-b p-0 first:border-t [&:last-child>td:first-child]:rounded-bl-lg [&:last-child>td:last-child]:rounded-br-lg\": {}\n },\n \".aui-md-root sup\": {\n \"@apply [&>a]:text-xs [&>a]:no-underline\": {}\n },\n \".aui-md-root pre\": {\n \"@apply overflow-x-auto rounded-b-lg bg-black p-4 text-white\": {}\n },\n \".aui-md-root > code,\\n.aui-md-root :not(:where(pre)) code\": {\n \"@apply bg-aui-muted rounded border font-semibold\": {}\n },\n \".aui-code-header-root\": {\n \"@apply flex items-center justify-between gap-4 rounded-t-lg bg-zinc-900 px-4 py-2 text-sm font-semibold text-white\": {}\n },\n \".aui-code-header-language\": {\n \"@apply lowercase [&>span]:text-xs\": {}\n }\n}"],"mappings":";AAAA,OAAO,YAAY;;;ACAnB;AAAA,EACE,grBAAgrB;AAAA,IAC9qB,uEAAuE,CAAC;AAAA,EAC1E;AAAA,EACA,mBAAmB;AAAA,IACjB,4EAA4E,CAAC;AAAA,EAC/E;AAAA,EACA,mBAAmB;AAAA,IACjB,2FAA2F,CAAC;AAAA,EAC9F;AAAA,EACA,mBAAmB;AAAA,IACjB,2FAA2F,CAAC;AAAA,EAC9F;AAAA,EACA,mBAAmB;AAAA,IACjB,0FAA0F,CAAC;AAAA,EAC7F;AAAA,EACA,mBAAmB;AAAA,IACjB,0DAA0D,CAAC;AAAA,EAC7D;AAAA,EACA,mBAAmB;AAAA,IACjB,kDAAkD,CAAC;AAAA,EACrD;AAAA,EACA,kBAAkB;AAAA,IAChB,mDAAmD,CAAC;AAAA,EACtD;AAAA,EACA,kBAAkB;AAAA,IAChB,oEAAoE,CAAC;AAAA,EACvE;AAAA,EACA,2BAA2B;AAAA,IACzB,iCAAiC,CAAC;AAAA,EACpC;AAAA,EACA,mBAAmB;AAAA,IACjB,0CAA0C,CAAC;AAAA,EAC7C;AAAA,EACA,mBAAmB;AAAA,IACjB,6CAA6C,CAAC;AAAA,EAChD;AAAA,EACA,mBAAmB;AAAA,IACjB,wBAAwB,CAAC;AAAA,EAC3B;AAAA,EACA,sBAAsB;AAAA,IACpB,uEAAuE,CAAC;AAAA,EAC1E;AAAA,EACA,mBAAmB;AAAA,IACjB,sJAAsJ,CAAC;AAAA,EACzJ;AAAA,EACA,mBAAmB;AAAA,IACjB,wHAAwH,CAAC;AAAA,EAC3H;AAAA,EACA,mBAAmB;AAAA,IACjB,iIAAiI,CAAC;AAAA,EACpI;AAAA,EACA,oBAAoB;AAAA,IAClB,2CAA2C,CAAC;AAAA,EAC9C;AAAA,EACA,oBAAoB;AAAA,IAClB,+DAA+D,CAAC;AAAA,EAClE;AAAA,EACA,6DAA6D;AAAA,IAC3D,oDAAoD,CAAC;AAAA,EACvD;AAAA,EACA,yBAAyB;AAAA,IACvB,sHAAsH,CAAC;AAAA,EACzH;AAAA,EACA,6BAA6B;AAAA,IAC3B,qCAAqC,CAAC;AAAA,EACxC;AACF;;;ADhEA,IAAM,YAAY,OAAO,YAAgB,MAAM,CAAC,EAAE,cAAc,MAAM;AACpE,gBAAc,oBAAW;AAC3B,CAAC;AAED,IAAO,sBAAQ;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assistant-ui/react-markdown",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.21",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"@radix-ui/react-primitive": "^2.0.0",
|
|
41
41
|
"@radix-ui/react-use-callback-ref": "^1.1.0",
|
|
42
42
|
"classnames": "^2.5.1",
|
|
43
|
-
"lucide-react": "^0.
|
|
43
|
+
"lucide-react": "^0.453.0",
|
|
44
44
|
"react-markdown": "^9.0.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@assistant-ui/react": "^0.5.
|
|
47
|
+
"@assistant-ui/react": "^0.5.91",
|
|
48
48
|
"@types/react": "*",
|
|
49
|
-
"react": "^18",
|
|
49
|
+
"react": "^18 || ^19",
|
|
50
50
|
"tailwindcss": "^3.4.4"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
@@ -58,12 +58,15 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@types/node": "^22.7.
|
|
61
|
+
"@types/node": "^22.7.7",
|
|
62
62
|
"autoprefixer": "^10.4.20",
|
|
63
|
-
"eslint": "^
|
|
64
|
-
"eslint-config-next": "
|
|
63
|
+
"eslint": "^9",
|
|
64
|
+
"eslint-config-next": "15.0.0",
|
|
65
65
|
"postcss": "^8.4.47",
|
|
66
|
-
"
|
|
66
|
+
"postcss-js": "^4.0.1",
|
|
67
|
+
"react": "19.0.0-rc-65a56d0e-20241020",
|
|
68
|
+
"react-dom": "19.0.0-rc-65a56d0e-20241020",
|
|
69
|
+
"tailwindcss": "^3.4.14",
|
|
67
70
|
"tailwindcss-animate": "^1.0.7",
|
|
68
71
|
"tsup": "8.3.0",
|
|
69
72
|
"tsx": "^4.19.1",
|