reachat 2.1.0-alpha.1 → 2.1.0-alpha.11
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/AppBar/AppBar.d.ts +1 -1
- package/dist/{CSVFileRenderer-BAbkFZ2w.js → CSVFileRenderer-Bn37a1kj.js} +15 -14
- package/dist/CSVFileRenderer-Bn37a1kj.js.map +1 -0
- package/dist/Chat.d.ts +3 -3
- package/dist/ChatBubble/ChatBubble.d.ts +1 -1
- package/dist/ChatContext.d.ts +2 -2
- package/dist/ChatInput/ChatInput.d.ts +24 -0
- package/dist/ChatInput/FileInput.d.ts +1 -1
- package/dist/{DefaultFileRenderer-Bgc4Jadg.js → DefaultFileRenderer-DW_YJ6ID.js} +2 -2
- package/dist/DefaultFileRenderer-DW_YJ6ID.js.map +1 -0
- package/dist/ImageFileRenderer-C8tVW3I8.js.map +1 -1
- package/dist/Markdown/Markdown.d.ts +5 -0
- package/dist/Markdown/Table.d.ts +1 -1
- package/dist/Markdown/index.d.ts +2 -2
- package/dist/Markdown/plugins/remarkCve.d.ts +1 -1
- package/dist/PDFFileRenderer-BBn2EVrV.js +16 -0
- package/dist/PDFFileRenderer-BBn2EVrV.js.map +1 -0
- package/dist/SessionMessages/SessionEmpty.d.ts +1 -4
- package/dist/SessionMessages/SessionMessage/MessageFile/renderers/index.d.ts +1 -1
- package/dist/SessionMessages/SessionMessage/MessageFiles.d.ts +1 -1
- package/dist/SessionMessages/SessionMessage/MessageSources.d.ts +1 -1
- package/dist/SessionMessages/SessionMessage/SessionMessage.d.ts +4 -0
- package/dist/SessionMessages/SessionMessage/index.d.ts +2 -2
- package/dist/SessionMessages/SessionMessages.d.ts +14 -1
- package/dist/SessionMessages/index.d.ts +2 -2
- package/dist/SessionsList/index.d.ts +2 -2
- package/dist/docs.json +174 -20
- package/dist/{index-unCEyRCC.js → index-DqeDjfPI.js} +1339 -1307
- package/dist/index-DqeDjfPI.js.map +1 -0
- package/dist/index.css +6296 -738
- package/dist/index.d.ts +7 -6
- package/dist/index.js +32 -31
- package/dist/index.umd.cjs +1318 -1278
- package/dist/index.umd.cjs.map +1 -1
- package/dist/stories/Changelog.mdx +1 -1
- package/dist/stories/Chat.stories.tsx +5 -5
- package/dist/stories/ChatBubble.stories.tsx +3 -3
- package/dist/stories/Companion.stories.tsx +6 -6
- package/dist/stories/Console.stories.tsx +23 -23
- package/dist/stories/Integration.stories.tsx +2 -2
- package/dist/stories/Intro.mdx +1 -1
- package/dist/stories/assets/logo.svg +38 -19
- package/dist/stories/assets/paperclip.svg +4 -1
- package/dist/stories/assets/search.svg +5 -1
- package/dist/stories/examples.ts +20 -13
- package/dist/theme.d.ts +14 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +63 -47
- package/dist/CSVFileRenderer-BAbkFZ2w.js.map +0 -1
- package/dist/DefaultFileRenderer-Bgc4Jadg.js.map +0 -1
- package/dist/PDFFileRenderer-DQdFS2l6.js +0 -9
- package/dist/PDFFileRenderer-DQdFS2l6.js.map +0 -1
- package/dist/index-unCEyRCC.js.map +0 -1
package/dist/docs.json
CHANGED
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
},
|
|
106
106
|
"theme": {
|
|
107
107
|
"defaultValue": {
|
|
108
|
-
"value": "{\n base: '
|
|
108
|
+
"value": "{\n base: 'text-content-text-neutral-base',\n console: 'flex w-full gap-4 h-full',\n companion: 'w-full h-full overflow-hidden',\n empty: 'text-center flex-1',\n appbar: 'flex p-5',\n sessions: {\n base: 'overflow-auto',\n console:\n 'min-w-[150px] w-[30%] max-w-[300px] bg-gradient-neutral-200 p-5 rounded-3xl',\n companion: 'w-full h-full',\n group: 'text-xs text-content-text-neutral-3 mt-4 hover:bg-transparent mb-1',\n create: 'relative mb-4 rounded-[10px] text-white',\n session: {\n base: 'group my-1 rounded-[10px] p-2 text-content-text-neutral-1 border border-transparent',\n active:\n 'border-select-menu-items-color-item-stroke-row-hover [&_button]:opacity-100!',\n delete: '[&>svg]:w-4 [&>svg]:h-4 opacity-0 group-hover:opacity-50!'\n }\n },\n messages: {\n base: '',\n console: 'flex flex-col mx-5 flex-1 overflow-hidden',\n companion: 'flex w-full h-full',\n back: 'self-start pl-0 my-2 ',\n inner: 'flex-1 h-full flex flex-col',\n title: 'text-base font-bold',\n date: 'text-xs whitespace-nowrap text-content-text-neutral-2',\n content: 'mt-2 flex-1 overflow-auto',\n header: 'flex justify-between items-center gap-2',\n showMore: 'mb-4',\n message: {\n base: 'mt-4 mb-4 flex flex-col p-0 rounded-sm border-none bg-transparent',\n question:\n 'relative font-semibold mb-4 px-4 py-4 pb-2 rounded-3xl rounded-br-none text-typography border bg-(--background-neutral-raised-5) border-(--stroke-neutral-5)',\n response:\n 'relative data-[compact=false]:px-4 text-content-text-neutral-base',\n overlay:\n \"overflow-y-hidden max-h-[350px] after:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:h-16 after:bg-linear-to-b after:from-transparent after:to-effects-shadows-base-2-xl\",\n cursor: 'inline-block w-1 h-4 bg-current',\n expand: 'absolute bottom-0 right-1 z-10',\n files: {\n base: 'mb-2 flex flex-wrap gap-3 ',\n file: {\n base: 'flex items-center gap-2 border border-stroke-neutral-4 px-3 py-2 rounded-lg cursor-pointer',\n name: 'text-sm text-content-text-neutral-4'\n }\n },\n sources: {\n base: 'my-4 flex flex-wrap gap-3',\n source: {\n base: 'flex gap-2 border border-stroke-neutral-4 px-4 py-2 rounded-lg cursor-pointer',\n companion: 'flex-1 px-3 py-1.5',\n image: 'max-w-10 max-h-10 rounded-md w-full h-fit self-center',\n title: 'text-md block',\n url: 'text-sm text-buttons-colors-link-primary-text-resting underline'\n }\n },\n markdown: {\n hr: 'my-4 border-t border-stroke-neutral-4',\n copy: 'sticky py-1 [&>svg]:w-4 [&>svg]:h-4 opacity-50',\n p: 'mb-2',\n a: 'text-buttons-colors-link-primary-text-resting underline',\n table: 'table-auto w-full m-2',\n th: 'px-4 py-2 text-left font-bold border-b border-stroke-neutral-4',\n td: 'px-4 py-2',\n code: 'm-2 rounded-b relative',\n toolbar:\n 'text-xs flex items-center justify-between px-2 py-1 rounded-t sticky top-0 backdrop-blur-md bg-gradient-neutral-500/50',\n li: 'mb-2 ml-6',\n ul: 'mb-4 list-disc',\n ol: 'mb-4 list-decimal'\n },\n csvPreview: {\n base: 'flex flex-col gap-2',\n header: {\n base: 'flex justify-between items-center gap-4',\n icon: 'csv-icon flex items-center',\n actions: 'csv-actions flex items-center gap-6'\n },\n tableContainer: 'flex justify-between',\n dialog: {\n base: 'fixed inset-0 bg-background-neutral-canvas-base/70 flex justify-center items-center z-50',\n container:\n 'bg-background-neutral-canvas-base rounded-md w-11/12 h-5/6 overflow-auto'\n }\n },\n footer: {\n base: 'mt-3 flex gap-1.5',\n copy: 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n upvote:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n downvote:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n refresh:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!'\n }\n }\n },\n input: {\n base: 'flex mt-4 relative',\n upload:\n 'px-5 py-2 size-10 text-content-text-neutral-2 hover:text-content-text-neutral-base',\n input:\n 'w-full border rounded-3xl px-3 py-2 pr-16 after:hidden after:mx-10! [&>textarea]:w-full [&>textarea]:flex-none [&>textarea]:outline-none [&>textarea]:resize-none',\n actions: {\n base: 'absolute flex gap-2 items-center right-2 inset-y-1/2 -translate-y-1/2 z-10',\n send: 'px-3 py-3 hover:bg-primary-hover rounded-full size-8',\n stop: 'px-2 py-2 bg-content-assets-semantic-error-base text-white rounded-full hover:bg-content-assets-semantic-error-1 size-8'\n }\n }\n}"
|
|
109
109
|
},
|
|
110
110
|
"description": "Custom theme for the chat.",
|
|
111
111
|
"name": "theme",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
],
|
|
143
143
|
"required": false,
|
|
144
144
|
"type": {
|
|
145
|
-
"name": "Plugin
|
|
145
|
+
"name": "Plugin[]"
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
148
|
"isLoading": {
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
},
|
|
328
328
|
"theme": {
|
|
329
329
|
"defaultValue": {
|
|
330
|
-
"value": "{\n base: '
|
|
330
|
+
"value": "{\n base: 'text-content-text-neutral-base',\n console: 'flex w-full gap-4 h-full',\n companion: 'w-full h-full overflow-hidden',\n empty: 'text-center flex-1',\n appbar: 'flex p-5',\n sessions: {\n base: 'overflow-auto',\n console:\n 'min-w-[150px] w-[30%] max-w-[300px] bg-gradient-neutral-200 p-5 rounded-3xl',\n companion: 'w-full h-full',\n group: 'text-xs text-content-text-neutral-3 mt-4 hover:bg-transparent mb-1',\n create: 'relative mb-4 rounded-[10px] text-white',\n session: {\n base: 'group my-1 rounded-[10px] p-2 text-content-text-neutral-1 border border-transparent',\n active:\n 'border-select-menu-items-color-item-stroke-row-hover [&_button]:opacity-100!',\n delete: '[&>svg]:w-4 [&>svg]:h-4 opacity-0 group-hover:opacity-50!'\n }\n },\n messages: {\n base: '',\n console: 'flex flex-col mx-5 flex-1 overflow-hidden',\n companion: 'flex w-full h-full',\n back: 'self-start pl-0 my-2 ',\n inner: 'flex-1 h-full flex flex-col',\n title: 'text-base font-bold',\n date: 'text-xs whitespace-nowrap text-content-text-neutral-2',\n content: 'mt-2 flex-1 overflow-auto',\n header: 'flex justify-between items-center gap-2',\n showMore: 'mb-4',\n message: {\n base: 'mt-4 mb-4 flex flex-col p-0 rounded-sm border-none bg-transparent',\n question:\n 'relative font-semibold mb-4 px-4 py-4 pb-2 rounded-3xl rounded-br-none text-typography border bg-(--background-neutral-raised-5) border-(--stroke-neutral-5)',\n response:\n 'relative data-[compact=false]:px-4 text-content-text-neutral-base',\n overlay:\n \"overflow-y-hidden max-h-[350px] after:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:h-16 after:bg-linear-to-b after:from-transparent after:to-effects-shadows-base-2-xl\",\n cursor: 'inline-block w-1 h-4 bg-current',\n expand: 'absolute bottom-0 right-1 z-10',\n files: {\n base: 'mb-2 flex flex-wrap gap-3 ',\n file: {\n base: 'flex items-center gap-2 border border-stroke-neutral-4 px-3 py-2 rounded-lg cursor-pointer',\n name: 'text-sm text-content-text-neutral-4'\n }\n },\n sources: {\n base: 'my-4 flex flex-wrap gap-3',\n source: {\n base: 'flex gap-2 border border-stroke-neutral-4 px-4 py-2 rounded-lg cursor-pointer',\n companion: 'flex-1 px-3 py-1.5',\n image: 'max-w-10 max-h-10 rounded-md w-full h-fit self-center',\n title: 'text-md block',\n url: 'text-sm text-buttons-colors-link-primary-text-resting underline'\n }\n },\n markdown: {\n hr: 'my-4 border-t border-stroke-neutral-4',\n copy: 'sticky py-1 [&>svg]:w-4 [&>svg]:h-4 opacity-50',\n p: 'mb-2',\n a: 'text-buttons-colors-link-primary-text-resting underline',\n table: 'table-auto w-full m-2',\n th: 'px-4 py-2 text-left font-bold border-b border-stroke-neutral-4',\n td: 'px-4 py-2',\n code: 'm-2 rounded-b relative',\n toolbar:\n 'text-xs flex items-center justify-between px-2 py-1 rounded-t sticky top-0 backdrop-blur-md bg-gradient-neutral-500/50',\n li: 'mb-2 ml-6',\n ul: 'mb-4 list-disc',\n ol: 'mb-4 list-decimal'\n },\n csvPreview: {\n base: 'flex flex-col gap-2',\n header: {\n base: 'flex justify-between items-center gap-4',\n icon: 'csv-icon flex items-center',\n actions: 'csv-actions flex items-center gap-6'\n },\n tableContainer: 'flex justify-between',\n dialog: {\n base: 'fixed inset-0 bg-background-neutral-canvas-base/70 flex justify-center items-center z-50',\n container:\n 'bg-background-neutral-canvas-base rounded-md w-11/12 h-5/6 overflow-auto'\n }\n },\n footer: {\n base: 'mt-3 flex gap-1.5',\n copy: 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n upvote:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n downvote:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!',\n refresh:\n 'p-3 rounded-[10px] [&>svg]:size-4 opacity-50 hover:opacity-100!'\n }\n }\n },\n input: {\n base: 'flex mt-4 relative',\n upload:\n 'px-5 py-2 size-10 text-content-text-neutral-2 hover:text-content-text-neutral-base',\n input:\n 'w-full border rounded-3xl px-3 py-2 pr-16 after:hidden after:mx-10! [&>textarea]:w-full [&>textarea]:flex-none [&>textarea]:outline-none [&>textarea]:resize-none',\n actions: {\n base: 'absolute flex gap-2 items-center right-2 inset-y-1/2 -translate-y-1/2 z-10',\n send: 'px-3 py-3 hover:bg-primary-hover rounded-full size-8',\n stop: 'px-2 py-2 bg-content-assets-semantic-error-base text-white rounded-full hover:bg-content-assets-semantic-error-1 size-8'\n }\n }\n}"
|
|
331
331
|
},
|
|
332
332
|
"description": "Custom theme for the appbar",
|
|
333
333
|
"name": "theme",
|
|
@@ -580,6 +580,63 @@
|
|
|
580
580
|
"type": {
|
|
581
581
|
"name": "ReactElement<any, string | JSXElementConstructor<any>>"
|
|
582
582
|
}
|
|
583
|
+
},
|
|
584
|
+
"message": {
|
|
585
|
+
"defaultValue": null,
|
|
586
|
+
"description": "Message to be displayed in the input field.",
|
|
587
|
+
"name": "message",
|
|
588
|
+
"parent": {
|
|
589
|
+
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
590
|
+
"name": "ChatInputProps"
|
|
591
|
+
},
|
|
592
|
+
"declarations": [
|
|
593
|
+
{
|
|
594
|
+
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
595
|
+
"name": "ChatInputProps"
|
|
596
|
+
}
|
|
597
|
+
],
|
|
598
|
+
"required": false,
|
|
599
|
+
"type": {
|
|
600
|
+
"name": "string"
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"className": {
|
|
604
|
+
"defaultValue": null,
|
|
605
|
+
"description": "Class name to apply to the container.",
|
|
606
|
+
"name": "className",
|
|
607
|
+
"parent": {
|
|
608
|
+
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
609
|
+
"name": "ChatInputProps"
|
|
610
|
+
},
|
|
611
|
+
"declarations": [
|
|
612
|
+
{
|
|
613
|
+
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
614
|
+
"name": "ChatInputProps"
|
|
615
|
+
}
|
|
616
|
+
],
|
|
617
|
+
"required": false,
|
|
618
|
+
"type": {
|
|
619
|
+
"name": "string"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
"onMessageChange": {
|
|
623
|
+
"defaultValue": null,
|
|
624
|
+
"description": "Callback function to handle message change.",
|
|
625
|
+
"name": "onMessageChange",
|
|
626
|
+
"parent": {
|
|
627
|
+
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
628
|
+
"name": "ChatInputProps"
|
|
629
|
+
},
|
|
630
|
+
"declarations": [
|
|
631
|
+
{
|
|
632
|
+
"fileName": "src/ChatInput/ChatInput.tsx",
|
|
633
|
+
"name": "ChatInputProps"
|
|
634
|
+
}
|
|
635
|
+
],
|
|
636
|
+
"required": false,
|
|
637
|
+
"type": {
|
|
638
|
+
"name": "(message: string) => void"
|
|
639
|
+
}
|
|
583
640
|
}
|
|
584
641
|
}
|
|
585
642
|
},
|
|
@@ -795,7 +852,7 @@
|
|
|
795
852
|
},
|
|
796
853
|
"theme": {
|
|
797
854
|
"defaultValue": {
|
|
798
|
-
"value": "{\n 'code[class*=\"language-\"]': {\n 'background': '#11111f',\n 'color': '#e2e8f0',\n 'textShadow': '0 1px rgba(0, 0, 0, 0.3)',\n 'fontFamily': '\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace',\n 'direction': 'ltr',\n 'textAlign': 'left',\n 'whiteSpace': 'pre',\n 'wordSpacing': 'normal',\n 'wordBreak': 'normal',\n 'lineHeight': '1.5',\n 'MozTabSize': '2',\n 'OTabSize': '2',\n 'tabSize': '2',\n 'WebkitHyphens': 'none',\n 'MozHyphens': 'none',\n 'msHyphens': 'none',\n 'hyphens': 'none'\n },\n 'pre[class*=\"language-\"]': {\n 'background': '#11111f',\n 'color': '#e2e8f0',\n 'textShadow': '0 1px rgba(0, 0, 0, 0.3)',\n 'fontFamily': '\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace',\n 'direction': 'ltr',\n 'textAlign': 'left',\n 'whiteSpace': 'pre',\n 'wordSpacing': 'normal',\n 'wordBreak': 'normal',\n 'lineHeight': '1.5',\n 'MozTabSize': '2',\n 'OTabSize': '2',\n 'tabSize': '2',\n 'WebkitHyphens': 'none',\n 'MozHyphens': 'none',\n 'msHyphens': 'none',\n 'hyphens': 'none',\n 'padding': '1em',\n 'margin': '0',\n 'overflow': 'auto'\n },\n 'code[class*=\"language-\"]::-moz-selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'code[class*=\"language-\"] *::-moz-selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'pre[class*=\"language-\"] *::-moz-selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'code[class*=\"language-\"]::selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'code[class*=\"language-\"] *::selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n 'pre[class*=\"language-\"] *::selection': {\n 'background': '#1e293b',\n 'color': 'inherit',\n 'textShadow': 'none'\n },\n ':not(pre) > code[class*=\"language-\"]': {\n 'padding': '0.2em 0.3em',\n 'borderRadius': '0.3em',\n 'whiteSpace': 'normal'\n },\n 'comment': {\n 'color': '#64748b',\n 'fontStyle': 'italic'\n },\n 'prolog': {\n 'color': '#64748b'\n },\n 'cdata': {\n 'color': '#64748b'\n },\n 'doctype': {\n 'color': '#e2e8f0'\n },\n 'punctuation': {\n 'color': '#e2e8f0'\n },\n 'entity': {\n 'color': '#3b82f6',\n 'cursor': 'help'\n },\n 'attr-name': {\n 'color': '#f59e0b'\n },\n 'class-name': {\n 'color': '#f59e0b'\n },\n 'boolean': {\n 'color': '#3b82f6'\n },\n 'constant': {\n 'color': '#3b82f6'\n },\n 'number': {\n 'color': '#3b82f6'\n },\n 'atrule': {\n 'color': '#f59e0b'\n },\n 'keyword': {\n 'color': '#f472b6'\n },\n 'property': {\n 'color': '#3b82f6'\n },\n 'tag': {\n 'color': '#3b82f6'\n },\n 'symbol': {\n 'color': '#3b82f6'\n },\n 'deleted': {\n 'color': '#ef4444'\n },\n 'important': {\n 'color': '#f472b6'\n },\n 'selector': {\n 'color': '#10b981'\n },\n 'string': {\n 'color': '#10b981'\n },\n 'char': {\n 'color': '#10b981'\n },\n 'builtin': {\n 'color': '#10b981'\n },\n 'inserted': {\n 'color': '#10b981'\n },\n 'regex': {\n 'color': '#10b981'\n },\n 'attr-value': {\n 'color': '#10b981'\n },\n 'attr-value > .token.punctuation': {\n 'color': '#10b981'\n },\n 'variable': {\n 'color': '#60a5fa'\n },\n 'operator': {\n 'color': '#60a5fa'\n },\n 'function': {\n 'color': '#60a5fa'\n },\n 'url': {\n 'color': '#60a5fa'\n },\n 'attr-value > .token.punctuation.attr-equals': {\n 'color': '#e2e8f0'\n },\n 'special-attr > .token.attr-value > .token.value.css': {\n 'color': '#e2e8f0'\n },\n '.language-css .token.selector': {\n 'color': '#3b82f6'\n },\n '.language-css .token.property': {\n 'color': '#e2e8f0'\n },\n '.language-css .token.function': {\n 'color': '#60a5fa'\n },\n '.language-css .token.url > .token.function': {\n 'color': '#60a5fa'\n },\n '.language-css .token.url > .token.string.url': {\n 'color': '#10b981'\n },\n '.language-css .token.important': {\n 'color': '#f472b6'\n },\n '.language-css .token.atrule .token.rule': {\n 'color': '#f472b6'\n },\n '.language-javascript .token.operator': {\n 'color': '#f472b6'\n },\n '.language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation': {\n 'color': '#ef4444'\n },\n '.language-json .token.operator': {\n 'color': '#e2e8f0'\n },\n '.language-json .token.null.keyword': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.url': {\n 'color': '#e2e8f0'\n },\n '.language-markdown .token.url > .token.operator': {\n 'color': '#e2e8f0'\n },\n '.language-markdown .token.url-reference.url > .token.string': {\n 'color': '#e2e8f0'\n },\n '.language-markdown .token.url > .token.content': {\n 'color': '#60a5fa'\n },\n '.language-markdown .token.url > .token.url': {\n 'color': '#60a5fa'\n },\n '.language-markdown .token.url-reference.url': {\n 'color': '#60a5fa'\n },\n '.language-markdown .token.blockquote.punctuation': {\n 'color': '#64748b',\n 'fontStyle': 'italic'\n },\n '.language-markdown .token.hr.punctuation': {\n 'color': '#64748b',\n 'fontStyle': 'italic'\n },\n '.language-markdown .token.code-snippet': {\n 'color': '#10b981'\n },\n '.language-markdown .token.bold .token.content': {\n 'color': '#f59e0b'\n },\n '.language-markdown .token.italic .token.content': {\n 'color': '#f472b6'\n },\n '.language-markdown .token.strike .token.content': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.strike .token.punctuation': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.list.punctuation': {\n 'color': '#3b82f6'\n },\n '.language-markdown .token.title.important > .token.punctuation': {\n 'color': '#3b82f6'\n },\n 'bold': {\n 'fontWeight': 'bold'\n },\n 'italic': {\n 'fontStyle': 'italic'\n },\n 'namespace': {\n 'Opacity': '0.8'\n },\n 'token.tab:not(:empty):before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'token.cr:before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'token.lf:before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'token.space:before': {\n 'color': '#64748b',\n 'textShadow': 'none'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item': {\n 'marginRight': '0.4em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button': {\n 'background': '#1e293b',\n 'color': '#94a3b8',\n 'padding': '0.1em 0.4em',\n 'borderRadius': '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a': {\n 'background': '#1e293b',\n 'color': '#94a3b8',\n 'padding': '0.1em 0.4em',\n 'borderRadius': '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span': {\n 'background': '#1e293b',\n 'color': '#94a3b8',\n 'padding': '0.1em 0.4em',\n 'borderRadius': '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus': {\n 'background': '#3b82f6',\n 'color': '#ffffff'\n },\n '.line-highlight.line-highlight': {\n 'background': 'rgba(59, 130, 246, 0.08)'\n },\n '.line-highlight.line-highlight:before': {\n 'background': '#1e293b',\n 'color': '#e2e8f0',\n 'padding': '0.1em 0.6em',\n 'borderRadius': '0.3em',\n 'boxShadow': '0 2px 0 0 rgba(0, 0, 0, 0.2)'\n },\n '.line-highlight.line-highlight[data-end]:after': {\n 'background': '#1e293b',\n 'color': '#e2e8f0',\n 'padding': '0.1em 0.6em',\n 'borderRadius': '0.3em',\n 'boxShadow': '0 2px 0 0 rgba(0, 0, 0, 0.2)'\n },\n 'pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before': {\n 'backgroundColor': 'rgba(59, 130, 246, 0.08)'\n },\n '.line-numbers.line-numbers .line-numbers-rows': {\n 'borderRightColor': '#1e293b'\n },\n '.command-line .command-line-prompt': {\n 'borderRightColor': '#1e293b'\n },\n '.line-numbers .line-numbers-rows > span:before': {\n 'color': '#64748b'\n },\n '.command-line .command-line-prompt > span:before': {\n 'color': '#64748b'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-1': {\n 'color': '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-5': {\n 'color': '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-9': {\n 'color': '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-2': {\n 'color': '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-6': {\n 'color': '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-10': {\n 'color': '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-3': {\n 'color': '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-7': {\n 'color': '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-11': {\n 'color': '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-4': {\n 'color': '#f472b6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-8': {\n 'color': '#f472b6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-12': {\n 'color': '#f472b6'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.15)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.15)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.15)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.15)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection': {\n 'backgroundColor': 'rgba(16, 185, 129, 0.25)'\n },\n '.prism-previewer.prism-previewer:before': {\n 'borderColor': '#11111f'\n },\n '.prism-previewer-gradient.prism-previewer-gradient div': {\n 'borderColor': '#11111f',\n 'borderRadius': '0.3em'\n },\n '.prism-previewer-color.prism-previewer-color:before': {\n 'borderRadius': '0.3em'\n },\n '.prism-previewer-easing.prism-previewer-easing:before': {\n 'borderRadius': '0.3em'\n },\n '.prism-previewer.prism-previewer:after': {\n 'borderTopColor': '#11111f'\n },\n '.prism-previewer-flipped.prism-previewer-flipped.after': {\n 'borderBottomColor': '#11111f'\n },\n '.prism-previewer-angle.prism-previewer-angle:before': {\n 'background': '#1e293b'\n },\n '.prism-previewer-time.prism-previewer-time:before': {\n 'background': '#1e293b'\n },\n '.prism-previewer-easing.prism-previewer-easing': {\n 'background': '#1e293b'\n },\n '.prism-previewer-angle.prism-previewer-angle circle': {\n 'stroke': '#e2e8f0',\n 'strokeOpacity': '1'\n },\n '.prism-previewer-time.prism-previewer-time circle': {\n 'stroke': '#e2e8f0',\n 'strokeOpacity': '1'\n },\n '.prism-previewer-easing.prism-previewer-easing circle': {\n 'stroke': '#e2e8f0',\n 'fill': 'transparent'\n },\n '.prism-previewer-easing.prism-previewer-easing path': {\n 'stroke': '#e2e8f0'\n },\n '.prism-previewer-easing.prism-previewer-easing line': {\n 'stroke': '#e2e8f0'\n }\n}"
|
|
855
|
+
"value": "{\n 'code[class*=\"language-\"]': {\n background: '#11111f',\n color: '#e2e8f0',\n textShadow: '0 1px rgba(0, 0, 0, 0.3)',\n fontFamily:\n '\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace',\n direction: 'ltr',\n textAlign: 'left',\n whiteSpace: 'pre',\n wordSpacing: 'normal',\n wordBreak: 'normal',\n lineHeight: '1.5',\n MozTabSize: '2',\n OTabSize: '2',\n tabSize: '2',\n WebkitHyphens: 'none',\n MozHyphens: 'none',\n msHyphens: 'none',\n hyphens: 'none'\n },\n 'pre[class*=\"language-\"]': {\n background: '#11111f',\n color: '#e2e8f0',\n textShadow: '0 1px rgba(0, 0, 0, 0.3)',\n fontFamily:\n '\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace',\n direction: 'ltr',\n textAlign: 'left',\n whiteSpace: 'pre',\n wordSpacing: 'normal',\n wordBreak: 'normal',\n lineHeight: '1.5',\n MozTabSize: '2',\n OTabSize: '2',\n tabSize: '2',\n WebkitHyphens: 'none',\n MozHyphens: 'none',\n msHyphens: 'none',\n hyphens: 'none',\n padding: '1em',\n margin: '0',\n overflow: 'auto'\n },\n 'code[class*=\"language-\"]::-moz-selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n 'code[class*=\"language-\"] *::-moz-selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n 'pre[class*=\"language-\"] *::-moz-selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n 'code[class*=\"language-\"]::selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n 'code[class*=\"language-\"] *::selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n 'pre[class*=\"language-\"] *::selection': {\n background: '#1e293b',\n color: 'inherit',\n textShadow: 'none'\n },\n ':not(pre) > code[class*=\"language-\"]': {\n padding: '0.2em 0.3em',\n borderRadius: '0.3em',\n whiteSpace: 'normal'\n },\n comment: {\n color: '#64748b',\n fontStyle: 'italic'\n },\n prolog: {\n color: '#64748b'\n },\n cdata: {\n color: '#64748b'\n },\n doctype: {\n color: '#e2e8f0'\n },\n punctuation: {\n color: '#e2e8f0'\n },\n entity: {\n color: '#3b82f6',\n cursor: 'help'\n },\n 'attr-name': {\n color: '#f59e0b'\n },\n 'class-name': {\n color: '#f59e0b'\n },\n boolean: {\n color: '#3b82f6'\n },\n constant: {\n color: '#3b82f6'\n },\n number: {\n color: '#3b82f6'\n },\n atrule: {\n color: '#f59e0b'\n },\n keyword: {\n color: '#f472b6'\n },\n property: {\n color: '#3b82f6'\n },\n tag: {\n color: '#3b82f6'\n },\n symbol: {\n color: '#3b82f6'\n },\n deleted: {\n color: '#ef4444'\n },\n important: {\n color: '#f472b6'\n },\n selector: {\n color: '#10b981'\n },\n string: {\n color: '#10b981'\n },\n char: {\n color: '#10b981'\n },\n builtin: {\n color: '#10b981'\n },\n inserted: {\n color: '#10b981'\n },\n regex: {\n color: '#10b981'\n },\n 'attr-value': {\n color: '#10b981'\n },\n 'attr-value > .token.punctuation': {\n color: '#10b981'\n },\n variable: {\n color: '#60a5fa'\n },\n operator: {\n color: '#60a5fa'\n },\n function: {\n color: '#60a5fa'\n },\n url: {\n color: '#60a5fa'\n },\n 'attr-value > .token.punctuation.attr-equals': {\n color: '#e2e8f0'\n },\n 'special-attr > .token.attr-value > .token.value.css': {\n color: '#e2e8f0'\n },\n '.language-css .token.selector': {\n color: '#3b82f6'\n },\n '.language-css .token.property': {\n color: '#e2e8f0'\n },\n '.language-css .token.function': {\n color: '#60a5fa'\n },\n '.language-css .token.url > .token.function': {\n color: '#60a5fa'\n },\n '.language-css .token.url > .token.string.url': {\n color: '#10b981'\n },\n '.language-css .token.important': {\n color: '#f472b6'\n },\n '.language-css .token.atrule .token.rule': {\n color: '#f472b6'\n },\n '.language-javascript .token.operator': {\n color: '#f472b6'\n },\n '.language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation':\n {\n color: '#ef4444'\n },\n '.language-json .token.operator': {\n color: '#e2e8f0'\n },\n '.language-json .token.null.keyword': {\n color: '#3b82f6'\n },\n '.language-markdown .token.url': {\n color: '#e2e8f0'\n },\n '.language-markdown .token.url > .token.operator': {\n color: '#e2e8f0'\n },\n '.language-markdown .token.url-reference.url > .token.string': {\n color: '#e2e8f0'\n },\n '.language-markdown .token.url > .token.content': {\n color: '#60a5fa'\n },\n '.language-markdown .token.url > .token.url': {\n color: '#60a5fa'\n },\n '.language-markdown .token.url-reference.url': {\n color: '#60a5fa'\n },\n '.language-markdown .token.blockquote.punctuation': {\n color: '#64748b',\n fontStyle: 'italic'\n },\n '.language-markdown .token.hr.punctuation': {\n color: '#64748b',\n fontStyle: 'italic'\n },\n '.language-markdown .token.code-snippet': {\n color: '#10b981'\n },\n '.language-markdown .token.bold .token.content': {\n color: '#f59e0b'\n },\n '.language-markdown .token.italic .token.content': {\n color: '#f472b6'\n },\n '.language-markdown .token.strike .token.content': {\n color: '#3b82f6'\n },\n '.language-markdown .token.strike .token.punctuation': {\n color: '#3b82f6'\n },\n '.language-markdown .token.list.punctuation': {\n color: '#3b82f6'\n },\n '.language-markdown .token.title.important > .token.punctuation': {\n color: '#3b82f6'\n },\n bold: {\n fontWeight: 'bold'\n },\n italic: {\n fontStyle: 'italic'\n },\n namespace: {\n Opacity: '0.8'\n },\n 'token.tab:not(:empty):before': {\n color: '#64748b',\n textShadow: 'none'\n },\n 'token.cr:before': {\n color: '#64748b',\n textShadow: 'none'\n },\n 'token.lf:before': {\n color: '#64748b',\n textShadow: 'none'\n },\n 'token.space:before': {\n color: '#64748b',\n textShadow: 'none'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item': {\n marginRight: '0.4em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button': {\n background: '#1e293b',\n color: '#94a3b8',\n padding: '0.1em 0.4em',\n borderRadius: '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a': {\n background: '#1e293b',\n color: '#94a3b8',\n padding: '0.1em 0.4em',\n borderRadius: '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span': {\n background: '#1e293b',\n color: '#94a3b8',\n padding: '0.1em 0.4em',\n borderRadius: '0.3em'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus': {\n background: '#3b82f6',\n color: '#ffffff'\n },\n '.line-highlight.line-highlight': {\n background: 'rgba(59, 130, 246, 0.08)'\n },\n '.line-highlight.line-highlight:before': {\n background: '#1e293b',\n color: '#e2e8f0',\n padding: '0.1em 0.6em',\n borderRadius: '0.3em',\n boxShadow: '0 2px 0 0 rgba(0, 0, 0, 0.2)'\n },\n '.line-highlight.line-highlight[data-end]:after': {\n background: '#1e293b',\n color: '#e2e8f0',\n padding: '0.1em 0.6em',\n borderRadius: '0.3em',\n boxShadow: '0 2px 0 0 rgba(0, 0, 0, 0.2)'\n },\n 'pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before':\n {\n backgroundColor: 'rgba(59, 130, 246, 0.08)'\n },\n '.line-numbers.line-numbers .line-numbers-rows': {\n borderRightColor: '#1e293b'\n },\n '.command-line .command-line-prompt': {\n borderRightColor: '#1e293b'\n },\n '.line-numbers .line-numbers-rows > span:before': {\n color: '#64748b'\n },\n '.command-line .command-line-prompt > span:before': {\n color: '#64748b'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-1': {\n color: '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-5': {\n color: '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-9': {\n color: '#3b82f6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-2': {\n color: '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-6': {\n color: '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-10': {\n color: '#10b981'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-3': {\n color: '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-7': {\n color: '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-11': {\n color: '#60a5fa'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-4': {\n color: '#f472b6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-8': {\n color: '#f472b6'\n },\n '.rainbow-braces .token.token.punctuation.brace-level-12': {\n color: '#f472b6'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)': {\n backgroundColor: 'rgba(239, 68, 68, 0.15)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)': {\n backgroundColor: 'rgba(239, 68, 68, 0.15)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection':\n {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection':\n {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection':\n {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection':\n {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection': {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection': {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection': {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection': {\n backgroundColor: 'rgba(239, 68, 68, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)': {\n backgroundColor: 'rgba(16, 185, 129, 0.15)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)': {\n backgroundColor: 'rgba(16, 185, 129, 0.15)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection':\n {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection':\n {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection':\n {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection':\n {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection': {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection': {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection': {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection': {\n backgroundColor: 'rgba(16, 185, 129, 0.25)'\n },\n '.prism-previewer.prism-previewer:before': {\n borderColor: '#11111f'\n },\n '.prism-previewer-gradient.prism-previewer-gradient div': {\n borderColor: '#11111f',\n borderRadius: '0.3em'\n },\n '.prism-previewer-color.prism-previewer-color:before': {\n borderRadius: '0.3em'\n },\n '.prism-previewer-easing.prism-previewer-easing:before': {\n borderRadius: '0.3em'\n },\n '.prism-previewer.prism-previewer:after': {\n borderTopColor: '#11111f'\n },\n '.prism-previewer-flipped.prism-previewer-flipped.after': {\n borderBottomColor: '#11111f'\n },\n '.prism-previewer-angle.prism-previewer-angle:before': {\n background: '#1e293b'\n },\n '.prism-previewer-time.prism-previewer-time:before': {\n background: '#1e293b'\n },\n '.prism-previewer-easing.prism-previewer-easing': {\n background: '#1e293b'\n },\n '.prism-previewer-angle.prism-previewer-angle circle': {\n stroke: '#e2e8f0',\n strokeOpacity: '1'\n },\n '.prism-previewer-time.prism-previewer-time circle': {\n stroke: '#e2e8f0',\n strokeOpacity: '1'\n },\n '.prism-previewer-easing.prism-previewer-easing circle': {\n stroke: '#e2e8f0',\n fill: 'transparent'\n },\n '.prism-previewer-easing.prism-previewer-easing path': {\n stroke: '#e2e8f0'\n },\n '.prism-previewer-easing.prism-previewer-easing line': {\n stroke: '#e2e8f0'\n }\n}"
|
|
799
856
|
},
|
|
800
857
|
"description": "The theme to use for the code block.",
|
|
801
858
|
"name": "theme",
|
|
@@ -839,7 +896,7 @@
|
|
|
839
896
|
],
|
|
840
897
|
"required": false,
|
|
841
898
|
"type": {
|
|
842
|
-
"name": "Plugin
|
|
899
|
+
"name": "Plugin[]"
|
|
843
900
|
}
|
|
844
901
|
},
|
|
845
902
|
"rehypePlugins": {
|
|
@@ -860,7 +917,26 @@
|
|
|
860
917
|
],
|
|
861
918
|
"required": false,
|
|
862
919
|
"type": {
|
|
863
|
-
"name": "Plugin
|
|
920
|
+
"name": "Plugin[]"
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
"theme": {
|
|
924
|
+
"defaultValue": null,
|
|
925
|
+
"description": "Theme to apply to the markdown content.",
|
|
926
|
+
"name": "theme",
|
|
927
|
+
"parent": {
|
|
928
|
+
"fileName": "src/Markdown/Markdown.tsx",
|
|
929
|
+
"name": "MarkdownWrapperProps"
|
|
930
|
+
},
|
|
931
|
+
"declarations": [
|
|
932
|
+
{
|
|
933
|
+
"fileName": "src/Markdown/Markdown.tsx",
|
|
934
|
+
"name": "MarkdownWrapperProps"
|
|
935
|
+
}
|
|
936
|
+
],
|
|
937
|
+
"required": true,
|
|
938
|
+
"type": {
|
|
939
|
+
"name": "ChatTheme"
|
|
864
940
|
}
|
|
865
941
|
}
|
|
866
942
|
}
|
|
@@ -934,6 +1010,25 @@
|
|
|
934
1010
|
"displayName": "SessionMessages",
|
|
935
1011
|
"methods": [],
|
|
936
1012
|
"props": {
|
|
1013
|
+
"className": {
|
|
1014
|
+
"defaultValue": null,
|
|
1015
|
+
"description": "Class name to apply to the root element.",
|
|
1016
|
+
"name": "className",
|
|
1017
|
+
"parent": {
|
|
1018
|
+
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
1019
|
+
"name": "SessionMessagesProps"
|
|
1020
|
+
},
|
|
1021
|
+
"declarations": [
|
|
1022
|
+
{
|
|
1023
|
+
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
1024
|
+
"name": "SessionMessagesProps"
|
|
1025
|
+
}
|
|
1026
|
+
],
|
|
1027
|
+
"required": false,
|
|
1028
|
+
"type": {
|
|
1029
|
+
"name": "string"
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
937
1032
|
"newSessionContent": {
|
|
938
1033
|
"defaultValue": null,
|
|
939
1034
|
"description": "Content to display when there are no sessions selected or a new session is started.",
|
|
@@ -995,6 +1090,27 @@
|
|
|
995
1090
|
"name": "string"
|
|
996
1091
|
}
|
|
997
1092
|
},
|
|
1093
|
+
"autoScroll": {
|
|
1094
|
+
"defaultValue": {
|
|
1095
|
+
"value": "true"
|
|
1096
|
+
},
|
|
1097
|
+
"description": "Whether to automatically scroll to the bottom of the content.",
|
|
1098
|
+
"name": "autoScroll",
|
|
1099
|
+
"parent": {
|
|
1100
|
+
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
1101
|
+
"name": "SessionMessagesProps"
|
|
1102
|
+
},
|
|
1103
|
+
"declarations": [
|
|
1104
|
+
{
|
|
1105
|
+
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
1106
|
+
"name": "SessionMessagesProps"
|
|
1107
|
+
}
|
|
1108
|
+
],
|
|
1109
|
+
"required": false,
|
|
1110
|
+
"type": {
|
|
1111
|
+
"name": "boolean"
|
|
1112
|
+
}
|
|
1113
|
+
},
|
|
998
1114
|
"children": {
|
|
999
1115
|
"defaultValue": null,
|
|
1000
1116
|
"description": "Render function for the session messages.",
|
|
@@ -1013,6 +1129,25 @@
|
|
|
1013
1129
|
"type": {
|
|
1014
1130
|
"name": "(conversations: Conversation[]) => ReactNode"
|
|
1015
1131
|
}
|
|
1132
|
+
},
|
|
1133
|
+
"onScroll": {
|
|
1134
|
+
"defaultValue": null,
|
|
1135
|
+
"description": "Scroll event handler.\n@param e",
|
|
1136
|
+
"name": "onScroll",
|
|
1137
|
+
"parent": {
|
|
1138
|
+
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
1139
|
+
"name": "SessionMessagesProps"
|
|
1140
|
+
},
|
|
1141
|
+
"declarations": [
|
|
1142
|
+
{
|
|
1143
|
+
"fileName": "src/SessionMessages/SessionMessages.tsx",
|
|
1144
|
+
"name": "SessionMessagesProps"
|
|
1145
|
+
}
|
|
1146
|
+
],
|
|
1147
|
+
"required": false,
|
|
1148
|
+
"type": {
|
|
1149
|
+
"name": "UIEventHandler<HTMLDivElement>"
|
|
1150
|
+
}
|
|
1016
1151
|
}
|
|
1017
1152
|
}
|
|
1018
1153
|
},
|
|
@@ -1604,12 +1739,12 @@
|
|
|
1604
1739
|
"description": "URL of the source, if applicable",
|
|
1605
1740
|
"name": "url",
|
|
1606
1741
|
"parent": {
|
|
1607
|
-
"fileName": "src/types.ts",
|
|
1742
|
+
"fileName": "reachat/src/types.ts",
|
|
1608
1743
|
"name": "ConversationSource"
|
|
1609
1744
|
},
|
|
1610
1745
|
"declarations": [
|
|
1611
1746
|
{
|
|
1612
|
-
"fileName": "src/types.ts",
|
|
1747
|
+
"fileName": "reachat/src/types.ts",
|
|
1613
1748
|
"name": "ConversationSource"
|
|
1614
1749
|
}
|
|
1615
1750
|
],
|
|
@@ -1623,12 +1758,12 @@
|
|
|
1623
1758
|
"description": "Title or description of the source",
|
|
1624
1759
|
"name": "title",
|
|
1625
1760
|
"parent": {
|
|
1626
|
-
"fileName": "src/types.ts",
|
|
1761
|
+
"fileName": "reachat/src/types.ts",
|
|
1627
1762
|
"name": "ConversationSource"
|
|
1628
1763
|
},
|
|
1629
1764
|
"declarations": [
|
|
1630
1765
|
{
|
|
1631
|
-
"fileName": "src/types.ts",
|
|
1766
|
+
"fileName": "reachat/src/types.ts",
|
|
1632
1767
|
"name": "ConversationSource"
|
|
1633
1768
|
}
|
|
1634
1769
|
],
|
|
@@ -1642,12 +1777,12 @@
|
|
|
1642
1777
|
"description": "Image URL of the source, if applicable.",
|
|
1643
1778
|
"name": "image",
|
|
1644
1779
|
"parent": {
|
|
1645
|
-
"fileName": "src/types.ts",
|
|
1780
|
+
"fileName": "reachat/src/types.ts",
|
|
1646
1781
|
"name": "ConversationSource"
|
|
1647
1782
|
},
|
|
1648
1783
|
"declarations": [
|
|
1649
1784
|
{
|
|
1650
|
-
"fileName": "src/types.ts",
|
|
1785
|
+
"fileName": "reachat/src/types.ts",
|
|
1651
1786
|
"name": "ConversationSource"
|
|
1652
1787
|
}
|
|
1653
1788
|
],
|
|
@@ -1693,6 +1828,25 @@
|
|
|
1693
1828
|
"displayName": "SessionMessage",
|
|
1694
1829
|
"methods": [],
|
|
1695
1830
|
"props": {
|
|
1831
|
+
"className": {
|
|
1832
|
+
"defaultValue": null,
|
|
1833
|
+
"description": "Class name to apply to the root element.",
|
|
1834
|
+
"name": "className",
|
|
1835
|
+
"parent": {
|
|
1836
|
+
"fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
|
|
1837
|
+
"name": "SessionMessageProps"
|
|
1838
|
+
},
|
|
1839
|
+
"declarations": [
|
|
1840
|
+
{
|
|
1841
|
+
"fileName": "src/SessionMessages/SessionMessage/SessionMessage.tsx",
|
|
1842
|
+
"name": "SessionMessageProps"
|
|
1843
|
+
}
|
|
1844
|
+
],
|
|
1845
|
+
"required": false,
|
|
1846
|
+
"type": {
|
|
1847
|
+
"name": "string"
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1696
1850
|
"conversation": {
|
|
1697
1851
|
"defaultValue": null,
|
|
1698
1852
|
"description": "Conversation to render.",
|
|
@@ -1787,12 +1941,12 @@
|
|
|
1787
1941
|
"description": "Name of the file",
|
|
1788
1942
|
"name": "name",
|
|
1789
1943
|
"parent": {
|
|
1790
|
-
"fileName": "src/types.ts",
|
|
1944
|
+
"fileName": "reachat/src/types.ts",
|
|
1791
1945
|
"name": "ConversationFile"
|
|
1792
1946
|
},
|
|
1793
1947
|
"declarations": [
|
|
1794
1948
|
{
|
|
1795
|
-
"fileName": "src/types.ts",
|
|
1949
|
+
"fileName": "reachat/src/types.ts",
|
|
1796
1950
|
"name": "ConversationFile"
|
|
1797
1951
|
}
|
|
1798
1952
|
],
|
|
@@ -1806,12 +1960,12 @@
|
|
|
1806
1960
|
"description": "Type of the file",
|
|
1807
1961
|
"name": "type",
|
|
1808
1962
|
"parent": {
|
|
1809
|
-
"fileName": "src/types.ts",
|
|
1963
|
+
"fileName": "reachat/src/types.ts",
|
|
1810
1964
|
"name": "ConversationFile"
|
|
1811
1965
|
},
|
|
1812
1966
|
"declarations": [
|
|
1813
1967
|
{
|
|
1814
|
-
"fileName": "src/types.ts",
|
|
1968
|
+
"fileName": "reachat/src/types.ts",
|
|
1815
1969
|
"name": "ConversationFile"
|
|
1816
1970
|
}
|
|
1817
1971
|
],
|
|
@@ -1825,12 +1979,12 @@
|
|
|
1825
1979
|
"description": "Size of the file",
|
|
1826
1980
|
"name": "size",
|
|
1827
1981
|
"parent": {
|
|
1828
|
-
"fileName": "src/types.ts",
|
|
1982
|
+
"fileName": "reachat/src/types.ts",
|
|
1829
1983
|
"name": "ConversationFile"
|
|
1830
1984
|
},
|
|
1831
1985
|
"declarations": [
|
|
1832
1986
|
{
|
|
1833
|
-
"fileName": "src/types.ts",
|
|
1987
|
+
"fileName": "reachat/src/types.ts",
|
|
1834
1988
|
"name": "ConversationFile"
|
|
1835
1989
|
}
|
|
1836
1990
|
],
|
|
@@ -1844,12 +1998,12 @@
|
|
|
1844
1998
|
"description": "URL of the file",
|
|
1845
1999
|
"name": "url",
|
|
1846
2000
|
"parent": {
|
|
1847
|
-
"fileName": "src/types.ts",
|
|
2001
|
+
"fileName": "reachat/src/types.ts",
|
|
1848
2002
|
"name": "ConversationFile"
|
|
1849
2003
|
},
|
|
1850
2004
|
"declarations": [
|
|
1851
2005
|
{
|
|
1852
|
-
"fileName": "src/types.ts",
|
|
2006
|
+
"fileName": "reachat/src/types.ts",
|
|
1853
2007
|
"name": "ConversationFile"
|
|
1854
2008
|
}
|
|
1855
2009
|
],
|