@assistant-ui/react-markdown 0.7.0 → 0.7.1
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/styles/markdown.css
CHANGED
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
background-color: #000;
|
|
239
239
|
padding: 1rem;
|
|
240
240
|
--aui-text-opacity: 1;
|
|
241
|
-
color: rgb(255 255 255 / var(--aui-text-opacity));
|
|
241
|
+
color: rgb(255 255 255 / var(--aui-text-opacity, 1));
|
|
242
242
|
}
|
|
243
243
|
.aui-md-inline-code {
|
|
244
244
|
border-radius: 0.25rem;
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
line-height: 1.25rem;
|
|
263
263
|
font-weight: 600;
|
|
264
264
|
--aui-text-opacity: 1;
|
|
265
|
-
color: rgb(255 255 255 / var(--aui-text-opacity));
|
|
265
|
+
color: rgb(255 255 255 / var(--aui-text-opacity, 1));
|
|
266
266
|
}
|
|
267
267
|
.aui-code-header-language {
|
|
268
268
|
text-transform: lowercase;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/styles/tailwindcss/markdown.css"],"sourcesContent":["/* running indicator */\n@keyframes aui-pulse {\n 50% {\n opacity: .5\n }\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 animation: aui-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --aui-content: '\\25CF';\n content: var(--aui-content)\n}\n:where(.aui-md-running):empty:where([dir=\"ltr\"], [dir=\"ltr\"] *)::after,\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child:where([dir=\"ltr\"], [dir=\"ltr\"] *)::after,\n:where(.aui-md-running) > pre:last-child code:where([dir=\"ltr\"], [dir=\"ltr\"] *)::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li))):where([dir=\"ltr\"], [dir=\"ltr\"] *)::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))):where([dir=\"ltr\"], [dir=\"ltr\"] *)::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):where([dir=\"ltr\"], [dir=\"ltr\"] *)::after {\n margin-left: 0.25rem\n}\n:where(.aui-md-running):empty:where([dir=\"rtl\"], [dir=\"rtl\"] *)::after,\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child:where([dir=\"rtl\"], [dir=\"rtl\"] *)::after,\n:where(.aui-md-running) > pre:last-child code:where([dir=\"rtl\"], [dir=\"rtl\"] *)::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li))):where([dir=\"rtl\"], [dir=\"rtl\"] *)::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))):where([dir=\"rtl\"], [dir=\"rtl\"] *)::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):where([dir=\"rtl\"], [dir=\"rtl\"] *)::after {\n margin-right: 0.25rem\n}\n\n/* typography */\n.aui-md-h1 {\n margin-bottom: 2rem;\n scroll-margin: 5rem;\n font-size: 2.25rem;\n line-height: 2.5rem;\n font-weight: 800;\n letter-spacing: -0.025em\n}\n.aui-md-h1:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h2 {\n margin-bottom: 1rem;\n margin-top: 2rem;\n scroll-margin: 5rem;\n font-size: 1.875rem;\n line-height: 2.25rem;\n font-weight: 600;\n letter-spacing: -0.025em\n}\n\n.aui-md-h2:first-child {\n margin-top: 0px\n}\n\n.aui-md-h2:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h3 {\n margin-bottom: 1rem;\n margin-top: 1.5rem;\n scroll-margin: 5rem;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 600;\n letter-spacing: -0.025em\n}\n\n.aui-md-h3:first-child {\n margin-top: 0px\n}\n\n.aui-md-h3:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h4 {\n margin-bottom: 1rem;\n margin-top: 1.5rem;\n scroll-margin: 5rem;\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n letter-spacing: -0.025em\n}\n\n.aui-md-h4:first-child {\n margin-top: 0px\n}\n\n.aui-md-h4:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h5 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 600\n}\n\n.aui-md-h5:first-child {\n margin-top: 0px\n}\n\n.aui-md-h5:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h6 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n font-weight: 600\n}\n\n.aui-md-h6:first-child {\n margin-top: 0px\n}\n\n.aui-md-h6:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-p {\n margin-bottom: 1.25rem;\n margin-top: 1.25rem;\n line-height: 1.75rem\n}\n\n.aui-md-p:first-child {\n margin-top: 0px\n}\n\n.aui-md-p:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-a {\n font-weight: 500;\n color: hsl(var(--aui-primary));\n text-decoration-line: underline;\n text-underline-offset: 4px\n}\n\n.aui-md-blockquote {\n border-left-width: 2px;\n padding-left: 1.5rem;\n font-style: italic\n}\n\n.aui-md-ul {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n margin-left: 1.5rem;\n list-style-type: disc\n}\n\n.aui-md-ul>li {\n margin-top: 0.5rem\n}\n\n.aui-md-ol {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n margin-left: 1.5rem;\n list-style-type: decimal\n}\n\n.aui-md-ol>li {\n margin-top: 0.5rem\n}\n\n.aui-md-hr {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n border-bottom-width: 1px\n}\n\n.aui-md-table {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n width: 100%;\n border-collapse: separate;\n --aui-border-spacing-x: 0px;\n --aui-border-spacing-y: 0px;\n border-spacing: var(--aui-border-spacing-x) var(--aui-border-spacing-y);\n overflow-y: auto\n}\n\n.aui-md-th {\n background-color: hsl(var(--aui-muted));\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n text-align: left;\n font-weight: 700\n}\n\n.aui-md-th:first-child {\n border-top-left-radius: var(--aui-radius)\n}\n\n.aui-md-th:last-child {\n border-top-right-radius: var(--aui-radius)\n}\n\n.aui-md-th[align=center] {\n text-align: center\n}\n\n.aui-md-th[align=right] {\n text-align: right\n}\n\n.aui-md-td {\n border-bottom-width: 1px;\n border-left-width: 1px;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n text-align: left\n}\n\n.aui-md-td:last-child {\n border-right-width: 1px\n}\n\n.aui-md-td[align=center] {\n text-align: center\n}\n\n.aui-md-td[align=right] {\n text-align: right\n}\n\n.aui-md-tr {\n margin: 0px;\n border-bottom-width: 1px;\n padding: 0px\n}\n\n.aui-md-tr:first-child {\n border-top-width: 1px\n}\n\n.aui-md-tr:last-child>td:first-child {\n border-bottom-left-radius: var(--aui-radius)\n}\n\n.aui-md-tr:last-child>td:last-child {\n border-bottom-right-radius: var(--aui-radius)\n}\n\n.aui-md-sup>a {\n font-size: 0.75rem;\n line-height: 1rem;\n text-decoration-line: none\n}\n\n.aui-md-pre {\n overflow-x: auto;\n border-bottom-right-radius: var(--aui-radius);\n border-bottom-left-radius: var(--aui-radius);\n background-color: #000;\n padding: 1rem;\n --aui-text-opacity: 1;\n color: rgb(255 255 255 / var(--aui-text-opacity))\n}\n\n.aui-md-inline-code {\n border-radius: 0.25rem;\n border-width: 1px;\n background-color: hsl(var(--aui-muted));\n font-weight: 600\n}\n\n.aui-code-header-root {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n border-top-left-radius: var(--aui-radius);\n border-top-right-radius: var(--aui-radius);\n background-color: #18181b;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.25rem;\n font-weight: 600;\n --aui-text-opacity: 1;\n color: rgb(255 255 255 / var(--aui-text-opacity))\n}\n\n.aui-code-header-language {\n text-transform: lowercase\n}\n\n.aui-code-header-language>span {\n font-size: 0.75rem;\n line-height: 1rem\n}\n"],"mappings":";AACA,WAAW;AACP;AACI,aAAS;AACb;AACJ;AACA,OAAO,CAAC,eAAe,MAAM;AAC7B,OAAO,CADC,gBACgB,EAAE,OAAO,KAAK,GAAG,KAAK,GAAG,KAAK,KAAK,WAAW;AACtE,OAAO,CAFC,gBAEgB,EAAE,GAAG,YAAY,IAAI;AAC7C,OAAO,CAHC,gBAIN,EAAE,OAAO,IAAI,IAAI,GAAG,aACpB,EAAE,OAAO,EAAE,WAAW,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WAAS;AACT,sBAAoB;AACpB,SAAO,IAAI,IAAI,IAAI,IAAI,EAAE,IAAI;AACjC;AAEA,CAAC;AACG,iBAAe;AACf,gBAAc;AACd,oBAAkB,IAAI,IAAI;AAC1B,eAAa;AACjB;AAEA,CAAC;AACG,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,OAAK;AACL,0BAAwB,IAAI;AAC5B,2BAAyB,IAAI;AAC7B,oBAAkB;AAClB,gBAAc;AACd,iBAAe;AACf,eAAa;AACb,kBAAgB;AAChB,aAAW;AACX,eAAa;AACb,eAAa;AACb,sBAAoB;AACpB,SAAO,IAAI,IAAI,IAAI,IAAI,EAAE,IAAI;AACjC;AAEA,CAAC;AACG,kBAAgB;AACpB;AAEA,CAJC,yBAIwB,EAAC;AACtB,aAAW;AACX,eAAa;AACjB;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/styles/tailwindcss/markdown.css"],"sourcesContent":["/* running indicator */\n@keyframes aui-pulse {\n 50% {\n opacity: .5\n }\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 animation: aui-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --aui-content: '\\25CF';\n content: var(--aui-content)\n}\n:where(.aui-md-running):empty:where([dir=\"ltr\"], [dir=\"ltr\"] *)::after,\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child:where([dir=\"ltr\"], [dir=\"ltr\"] *)::after,\n:where(.aui-md-running) > pre:last-child code:where([dir=\"ltr\"], [dir=\"ltr\"] *)::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li))):where([dir=\"ltr\"], [dir=\"ltr\"] *)::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))):where([dir=\"ltr\"], [dir=\"ltr\"] *)::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):where([dir=\"ltr\"], [dir=\"ltr\"] *)::after {\n margin-left: 0.25rem\n}\n:where(.aui-md-running):empty:where([dir=\"rtl\"], [dir=\"rtl\"] *)::after,\n:where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child:where([dir=\"rtl\"], [dir=\"rtl\"] *)::after,\n:where(.aui-md-running) > pre:last-child code:where([dir=\"rtl\"], [dir=\"rtl\"] *)::after,\n:where(.aui-md-running)\n > :where(:is(ol, ul):last-child)\n > :where(li:last-child:not(:has(* > li))):where([dir=\"rtl\"], [dir=\"rtl\"] *)::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))):where([dir=\"rtl\"], [dir=\"rtl\"] *)::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):where([dir=\"rtl\"], [dir=\"rtl\"] *)::after {\n margin-right: 0.25rem\n}\n\n/* typography */\n.aui-md-h1 {\n margin-bottom: 2rem;\n scroll-margin: 5rem;\n font-size: 2.25rem;\n line-height: 2.5rem;\n font-weight: 800;\n letter-spacing: -0.025em\n}\n.aui-md-h1:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h2 {\n margin-bottom: 1rem;\n margin-top: 2rem;\n scroll-margin: 5rem;\n font-size: 1.875rem;\n line-height: 2.25rem;\n font-weight: 600;\n letter-spacing: -0.025em\n}\n\n.aui-md-h2:first-child {\n margin-top: 0px\n}\n\n.aui-md-h2:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h3 {\n margin-bottom: 1rem;\n margin-top: 1.5rem;\n scroll-margin: 5rem;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 600;\n letter-spacing: -0.025em\n}\n\n.aui-md-h3:first-child {\n margin-top: 0px\n}\n\n.aui-md-h3:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h4 {\n margin-bottom: 1rem;\n margin-top: 1.5rem;\n scroll-margin: 5rem;\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n letter-spacing: -0.025em\n}\n\n.aui-md-h4:first-child {\n margin-top: 0px\n}\n\n.aui-md-h4:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h5 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 600\n}\n\n.aui-md-h5:first-child {\n margin-top: 0px\n}\n\n.aui-md-h5:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-h6 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n font-weight: 600\n}\n\n.aui-md-h6:first-child {\n margin-top: 0px\n}\n\n.aui-md-h6:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-p {\n margin-bottom: 1.25rem;\n margin-top: 1.25rem;\n line-height: 1.75rem\n}\n\n.aui-md-p:first-child {\n margin-top: 0px\n}\n\n.aui-md-p:last-child {\n margin-bottom: 0px\n}\n\n.aui-md-a {\n font-weight: 500;\n color: hsl(var(--aui-primary));\n text-decoration-line: underline;\n text-underline-offset: 4px\n}\n\n.aui-md-blockquote {\n border-left-width: 2px;\n padding-left: 1.5rem;\n font-style: italic\n}\n\n.aui-md-ul {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n margin-left: 1.5rem;\n list-style-type: disc\n}\n\n.aui-md-ul>li {\n margin-top: 0.5rem\n}\n\n.aui-md-ol {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n margin-left: 1.5rem;\n list-style-type: decimal\n}\n\n.aui-md-ol>li {\n margin-top: 0.5rem\n}\n\n.aui-md-hr {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n border-bottom-width: 1px\n}\n\n.aui-md-table {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n width: 100%;\n border-collapse: separate;\n --aui-border-spacing-x: 0px;\n --aui-border-spacing-y: 0px;\n border-spacing: var(--aui-border-spacing-x) var(--aui-border-spacing-y);\n overflow-y: auto\n}\n\n.aui-md-th {\n background-color: hsl(var(--aui-muted));\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n text-align: left;\n font-weight: 700\n}\n\n.aui-md-th:first-child {\n border-top-left-radius: var(--aui-radius)\n}\n\n.aui-md-th:last-child {\n border-top-right-radius: var(--aui-radius)\n}\n\n.aui-md-th[align=center] {\n text-align: center\n}\n\n.aui-md-th[align=right] {\n text-align: right\n}\n\n.aui-md-td {\n border-bottom-width: 1px;\n border-left-width: 1px;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n text-align: left\n}\n\n.aui-md-td:last-child {\n border-right-width: 1px\n}\n\n.aui-md-td[align=center] {\n text-align: center\n}\n\n.aui-md-td[align=right] {\n text-align: right\n}\n\n.aui-md-tr {\n margin: 0px;\n border-bottom-width: 1px;\n padding: 0px\n}\n\n.aui-md-tr:first-child {\n border-top-width: 1px\n}\n\n.aui-md-tr:last-child>td:first-child {\n border-bottom-left-radius: var(--aui-radius)\n}\n\n.aui-md-tr:last-child>td:last-child {\n border-bottom-right-radius: var(--aui-radius)\n}\n\n.aui-md-sup>a {\n font-size: 0.75rem;\n line-height: 1rem;\n text-decoration-line: none\n}\n\n.aui-md-pre {\n overflow-x: auto;\n border-bottom-right-radius: var(--aui-radius);\n border-bottom-left-radius: var(--aui-radius);\n background-color: #000;\n padding: 1rem;\n --aui-text-opacity: 1;\n color: rgb(255 255 255 / var(--aui-text-opacity, 1))\n}\n\n.aui-md-inline-code {\n border-radius: 0.25rem;\n border-width: 1px;\n background-color: hsl(var(--aui-muted));\n font-weight: 600\n}\n\n.aui-code-header-root {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n border-top-left-radius: var(--aui-radius);\n border-top-right-radius: var(--aui-radius);\n background-color: #18181b;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n font-size: 0.875rem;\n line-height: 1.25rem;\n font-weight: 600;\n --aui-text-opacity: 1;\n color: rgb(255 255 255 / var(--aui-text-opacity, 1))\n}\n\n.aui-code-header-language {\n text-transform: lowercase\n}\n\n.aui-code-header-language>span {\n font-size: 0.75rem;\n line-height: 1rem\n}\n"],"mappings":";AACA,WAAW;AACP;AACI,aAAS;AACb;AACJ;AACA,OAAO,CAAC,eAAe,MAAM;AAC7B,OAAO,CADC,gBACgB,EAAE,OAAO,KAAK,GAAG,KAAK,GAAG,KAAK,KAAK,WAAW;AACtE,OAAO,CAFC,gBAEgB,EAAE,GAAG,YAAY,IAAI;AAC7C,OAAO,CAHC,gBAIN,EAAE,OAAO,IAAI,IAAI,GAAG,aACpB,EAAE,OAAO,EAAE,WAAW,KAAK,KAAK,EAAE,EAAE,KAAK;AAC3C,OAAO,CANC,gBAON,EAAE,OAAO,IAAI,IAAI,GAAG,aACpB,EAAE,OAAO,EAAE,aACX,EAAE,OAAO,IAAI,IAAI,GAAG,aACpB,EAAE,O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eAAa;AACjB;AAEA,CAAC;AACG,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,OAAK;AACL,0BAAwB,IAAI;AAC5B,2BAAyB,IAAI;AAC7B,oBAAkB;AAClB,gBAAc;AACd,iBAAe;AACf,eAAa;AACb,kBAAgB;AAChB,aAAW;AACX,eAAa;AACb,eAAa;AACb,sBAAoB;AACpB,SAAO,IAAI,IAAI,IAAI,IAAI,EAAE,IAAI,kBAAkB,EAAE;AACrD;AAEA,CAAC;AACG,kBAAgB;AACpB;AAEA,CAJC,yBAIwB,EAAC;AACtB,aAAW;AACX,eAAa;AACjB;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assistant-ui/react-markdown",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"@radix-ui/react-primitive": "^2.0.0",
|
|
34
34
|
"@radix-ui/react-use-callback-ref": "^1.1.0",
|
|
35
35
|
"classnames": "^2.5.1",
|
|
36
|
-
"lucide-react": "^0.
|
|
36
|
+
"lucide-react": "^0.460.0",
|
|
37
37
|
"react-markdown": "^9.0.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@assistant-ui/react": "^0.7.
|
|
40
|
+
"@assistant-ui/react": "^0.7.5",
|
|
41
41
|
"@types/react": "*",
|
|
42
42
|
"react": "^18 || ^19 || ^19.0.0-rc",
|
|
43
43
|
"tailwindcss": "^3.4.4"
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
"@types/node": "^22.9.0",
|
|
55
55
|
"autoprefixer": "^10.4.20",
|
|
56
56
|
"eslint": "^9",
|
|
57
|
-
"eslint-config-next": "15.0.
|
|
58
|
-
"postcss": "^8.4.
|
|
57
|
+
"eslint-config-next": "15.0.3",
|
|
58
|
+
"postcss": "^8.4.49",
|
|
59
59
|
"postcss-js": "^4.0.1",
|
|
60
|
-
"react": "19.0.0-rc-
|
|
61
|
-
"react-dom": "19.0.0-rc-
|
|
62
|
-
"tailwindcss": "^3.4.
|
|
60
|
+
"react": "19.0.0-rc-66855b96-20241106",
|
|
61
|
+
"react-dom": "19.0.0-rc-66855b96-20241106",
|
|
62
|
+
"tailwindcss": "^3.4.15",
|
|
63
63
|
"tailwindcss-animate": "^1.0.7",
|
|
64
64
|
"tsup": "8.3.5",
|
|
65
65
|
"tsx": "^4.19.2",
|
|
66
|
-
"@assistant-ui/react": "0.7.
|
|
66
|
+
"@assistant-ui/react": "0.7.5",
|
|
67
67
|
"@assistant-ui/tailwindcss-transformer": "0.1.0",
|
|
68
68
|
"@assistant-ui/tsbuildutils": "^0.0.0",
|
|
69
69
|
"@assistant-ui/tsconfig": "0.0.0"
|