@ai-react-markdown/mantine 1.4.0 → 1.4.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/README.md CHANGED
@@ -4,17 +4,18 @@
4
4
  [![npm downloads](https://img.shields.io/npm/dm/@ai-react-markdown/mantine)](https://www.npmjs.com/package/@ai-react-markdown/mantine)
5
5
  [![license](https://img.shields.io/npm/l/@ai-react-markdown/mantine)](../../LICENSE)
6
6
 
7
- Mantine UI integration for `@ai-react-markdown/core`. Provides a drop-in `<MantineAIMarkdown>` component that renders AI-generated markdown with Mantine-themed typography, syntax-highlighted code blocks, mermaid diagram support, and automatic color scheme detection.
7
+ Mantine UI integration for `@ai-react-markdown/core`. Provides a drop-in `<MantineAIMarkdown>` component that renders AI-generated markdown with Mantine-themed typography, syntax-highlighted code blocks, Mermaid diagrams, and automatic color scheme detection.
8
8
 
9
9
  ## What It Adds on Top of Core
10
10
 
11
- - **Mantine typography** -- uses Mantine's `<Typography>` component for consistent theming
12
- - **Code highlighting** -- renders code blocks with `@mantine/code-highlight` (powered by highlight.js), including tabbed views with language labels, expand/collapse, and optional auto-detection for unlabeled blocks
13
- - **Mermaid diagrams** -- `mermaid` code blocks are rendered as interactive SVG diagrams with dark/light theme support, toggle to source view, copy, and open-in-new-window
14
- - **Automatic color scheme** -- detects Mantine's computed color scheme (`useComputedColorScheme`) and passes it to the core renderer automatically
15
- - **Mantine-scoped CSS** -- extra styles wrapper overrides Mantine spacing/font-size custom properties to use relative `em` units, ensuring consistent scaling at any base font size
11
+ - **Mantine typography** -- markdown content is wrapped in Mantine's `<Typography>` so it inherits the active theme's font family, line height, and color tokens
12
+ - **Syntax highlighting** -- code blocks render via `@mantine/code-highlight` (powered by highlight.js), with language-labelled tabs, expand/collapse, and optional auto-detection for unlabelled blocks
13
+ - **Mermaid diagrams** -- fenced `mermaid` code blocks render as interactive SVG diagrams with dark/light theme support, source toggle, copy, and open-in-new-window
14
+ - **JSON pretty-print** -- fenced `json` code blocks are deep-parsed (nested JSON-encoded strings are expanded) and re-serialized with 2-space indent before highlighting
15
+ - **Automatic color scheme** -- detects Mantine's computed color scheme (`useComputedColorScheme`) and forwards it to the core renderer when no explicit `colorScheme` prop is supplied
16
+ - **Mantine-scoped CSS** -- extra-styles wrapper overrides Mantine spacing/font-size custom properties to use relative `em` units, giving consistent scaling at any base font size
16
17
 
17
- All core features (GFM, LaTeX math, CJK support, streaming, metadata context, content preprocessors, custom components, cross-chunk coordination via `<AIMarkdownDocuments>`) are inherited from `@ai-react-markdown/core`. To coordinate footnotes / link refs / image refs across chunked-stream `<MantineAIMarkdown>` instances, wrap them in `<AIMarkdownDocuments>` (imported from `@ai-react-markdown/core`) and pass the same `documentId` to every chunk — Mantine integration is unaffected.
18
+ All core features (GFM, LaTeX math, CJK support, streaming, metadata context, content preprocessors, custom components, cross-chunk coordination via `<AIMarkdownDocuments>`) are inherited unchanged from `@ai-react-markdown/core`. See the [core README](../core/README.md) for the base API.
18
19
 
19
20
  ## Installation
20
21
 
@@ -35,7 +36,7 @@ yarn add @ai-react-markdown/mantine @ai-react-markdown/core
35
36
  {
36
37
  "react": ">=19",
37
38
  "react-dom": ">=19",
38
- "@ai-react-markdown/core": "^1.4.0",
39
+ "@ai-react-markdown/core": "^1.4.1",
39
40
  "@mantine/core": "^8.3.17",
40
41
  "@mantine/code-highlight": "^8.3.17",
41
42
  "highlight.js": "^11.11.1"
@@ -53,7 +54,7 @@ import '@mantine/core/styles.css';
53
54
  // Mantine code highlight styles (required for code blocks)
54
55
  import '@mantine/code-highlight/styles.css';
55
56
 
56
- // Mantine AI Markdown styles (required for extra styles and mermaid)
57
+ // Mantine AI Markdown styles (required for extra styles + Mermaid)
57
58
  import '@ai-react-markdown/mantine/styles.css';
58
59
 
59
60
  // KaTeX styles (required for LaTeX math rendering)
@@ -93,35 +94,36 @@ function StreamingChat({ content, isStreaming }: { content: string; isStreaming:
93
94
 
94
95
  ### `MantineAIMarkdownProps<TConfig, TRenderData>`
95
96
 
96
- Extends `AIMarkdownProps` from the core package. All core props are supported; listed below are the inherited props with Mantine-specific default overrides:
97
+ `MantineAIMarkdownProps` extends `AIMarkdownProps` -- every core prop is supported. The table below lists each prop with its Mantine-specific default override (props not listed here inherit core defaults unchanged).
97
98
 
98
- | Prop | Type | Default | Description |
99
- | ---------------------- | -------------------------------- | -------------------------------------- | -------------------------------------------------------------------- |
100
- | `content` | `string` | **(required)** | Raw markdown content to render. |
101
- | `streaming` | `boolean` | `false` | Whether content is actively being streamed. |
102
- | `fontSize` | `number \| string` | `'0.9375rem'` | Base font size. Numbers are treated as pixels. Inherited from core. |
103
- | `variant` | `AIMarkdownVariant` | `'default'` | Typography variant name. |
104
- | `colorScheme` | `AIMarkdownColorScheme` | Auto-detected | Color scheme. Defaults to Mantine's computed color scheme. |
105
- | `config` | `PartialDeep<TConfig>` | `undefined` | Partial render config, deep-merged with defaults. |
106
- | `defaultConfig` | `TConfig` | `defaultMantineAIMarkdownRenderConfig` | Base config. |
107
- | `metadata` | `TRenderData` | `undefined` | Arbitrary data for custom components via dedicated context. |
108
- | `contentPreprocessors` | `AIMDContentPreprocessor[]` | `[]` | Additional preprocessors after the built-in LaTeX preprocessor. |
109
- | `customComponents` | `AIMarkdownCustomComponents` | Mantine defaults | Component overrides, merged with Mantine's built-in `<pre>` handler. |
110
- | `Typography` | `AIMarkdownTypographyComponent` | `MantineAIMarkdownTypography` | Typography wrapper. |
111
- | `ExtraStyles` | `AIMarkdownExtraStylesComponent` | `MantineAIMDefaultExtraStyles` | Extra style wrapper. |
99
+ | Prop | Type | Default | Description |
100
+ | ---------------------- | -------------------------------- | -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
101
+ | `content` | `string` | **(required)** | Raw markdown content to render. |
102
+ | `streaming` | `boolean` | `false` | Whether content is actively being streamed. |
103
+ | `fontSize` | `number \| string` | `'0.9375rem'` | Base font size. Numbers are treated as pixels. Inherited from core. |
104
+ | `variant` | `AIMarkdownVariant` | `'default'` | Typography variant name. |
105
+ | `colorScheme` | `AIMarkdownColorScheme` | Auto-detected | Color scheme. When omitted, defaults to Mantine's computed color scheme via `useComputedColorScheme('light')`. |
106
+ | `config` | `PartialDeep<TConfig>` | `undefined` | Partial render config, deep-merged with `defaultConfig`. |
107
+ | `defaultConfig` | `TConfig` | `defaultMantineAIMarkdownRenderConfig` | Base config to merge against. Already extends `defaultAIMarkdownRenderConfig` with Mantine's `codeBlock.*` defaults. |
108
+ | `metadata` | `TRenderData` | `undefined` | Arbitrary data for custom components via dedicated context. |
109
+ | `contentPreprocessors` | `AIMDContentPreprocessor[]` | `[]` | Additional preprocessors run after the built-in LaTeX preprocessor. |
110
+ | `customComponents` | `AIMarkdownCustomComponents` | Mantine defaults | Component overrides, merged with Mantine's built-in `<pre>` handler. Caller overrides take precedence -- including `pre` here disables Mantine's code-block features. |
111
+ | `Typography` | `AIMarkdownTypographyComponent` | `MantineAIMarkdownTypography` | Typography wrapper component. |
112
+ | `ExtraStyles` | `AIMarkdownExtraStylesComponent` | `MantineAIMDefaultExtraStyles` | Extra style wrapper rendered between typography and content. |
113
+ | `documentId` | `string` | auto via `useId()` | Stable id namespace for clobberable attributes. See the [core docs](../core/README.md#aimarkdownpropstconfig-trenderdata) for full semantics. Required for cross-chunk mode. |
112
114
 
113
- ## Mantine-Specific Configuration
115
+ ## Configuration
114
116
 
115
- The Mantine package extends the core `AIMarkdownRenderConfig` with additional options:
117
+ The Mantine package extends the core `AIMarkdownRenderConfig` with code-block options. All core config fields (`extraSyntaxSupported`, `displayOptimizeAbilities`, `blockMemoEnabled`, `preserveOrphanReferences`) remain available unchanged.
116
118
 
117
119
  ### `MantineAIMarkdownRenderConfig`
118
120
 
119
121
  Inherits all core config fields plus:
120
122
 
121
- | Field | Type | Default | Description |
122
- | ------------------------------------- | --------- | ------- | ------------------------------------------------------------------- |
123
- | `codeBlock.defaultExpanded` | `boolean` | `true` | Whether code blocks start expanded. |
124
- | `codeBlock.autoDetectUnknownLanguage` | `boolean` | `false` | Use highlight.js to auto-detect language for unlabeled code blocks. |
123
+ | Field | Type | Default | Description |
124
+ | ------------------------------------- | --------- | ------- | --------------------------------------------------------------------------------------------------------------------------- |
125
+ | `codeBlock.defaultExpanded` | `boolean` | `true` | Whether code blocks start in their expanded state. When `false`, long blocks are collapsed with an expand button. |
126
+ | `codeBlock.autoDetectUnknownLanguage` | `boolean` | `false` | When `true`, uses `highlight.js`'s `highlightAuto` to determine the language of code blocks lacking an explicit annotation. |
125
127
 
126
128
  ### Example: Collapsed Code Blocks
127
129
 
@@ -134,38 +136,74 @@ Inherits all core config fields plus:
134
136
  />
135
137
  ```
136
138
 
139
+ When you provide a partial `config`, it is deep-merged with `defaultMantineAIMarkdownRenderConfig`. The same array-replacement semantics as core apply to `extraSyntaxSupported` and `displayOptimizeAbilities`.
140
+
137
141
  ## Hooks
138
142
 
139
143
  ### `useMantineAIMarkdownRenderState<TConfig>()`
140
144
 
141
- Typed wrapper around the core `useAIMarkdownRenderState` hook, defaulting to `MantineAIMarkdownRenderConfig`. Accepts an optional generic parameter for further extension.
145
+ Typed wrapper around the core `useAIMarkdownRenderState`, defaulting `TConfig` to `MantineAIMarkdownRenderConfig` so `config.codeBlock.*` is available without a manual generic.
142
146
 
143
147
  ```tsx
144
148
  import { useMantineAIMarkdownRenderState } from '@ai-react-markdown/mantine';
145
149
 
146
150
  function MyCodeBlock() {
147
151
  const { config, streaming, colorScheme } = useMantineAIMarkdownRenderState();
148
- const isExpanded = config.codeBlock.defaultExpanded;
152
+ const startsExpanded = config.codeBlock.defaultExpanded;
149
153
  // ...
150
154
  }
151
155
  ```
152
156
 
157
+ **Returns** `AIMarkdownRenderState<MantineAIMarkdownRenderConfig>` -- identical shape to core's hook (with `streaming`, `fontSize`, `variant`, `colorScheme`, `documentId`, `clobberPrefix`, `config`). See the [core hooks reference](../core/README.md#hooks) for the full field list.
158
+
153
159
  ### `useMantineAIMarkdownMetadata<TMetadata>()`
154
160
 
155
- Typed wrapper around the core `useAIMarkdownMetadata` hook, defaulting to `MantineAIMarkdownMetadata`. Accepts an optional generic parameter for further extension. Metadata lives in a separate React context from render state, so metadata updates do not cause re-renders in components that only consume render state.
161
+ Typed wrapper around the core `useAIMarkdownMetadata`, defaulting `TMetadata` to `MantineAIMarkdownMetadata`. Metadata lives in a separate React context from render state, so metadata updates do not cause re-renders in components that only consume render state.
156
162
 
157
163
  ```tsx
158
164
  import { useMantineAIMarkdownMetadata } from '@ai-react-markdown/mantine';
159
165
 
160
166
  function MyComponent() {
161
- const metadata = useMantineAIMarkdownMetadata();
162
- // Access metadata fields
167
+ const metadata = useMantineAIMarkdownMetadata<{ messageId: string }>();
168
+ // ...
163
169
  }
164
170
  ```
165
171
 
166
- ## Code Highlighting Setup
172
+ ## Typography and Styling
173
+
174
+ ### `MantineAIMarkdownTypography`
175
+
176
+ Default typography wrapper. Renders Mantine's `<Typography>` with `w="100%"` and `fz={fontSize}`, so all rendered markdown inherits the active theme's font family, line height, and color tokens. Receives the `style` prop carrying core's CSS custom properties (`--aim-font-size-root`) and forwards it onto the Mantine root.
177
+
178
+ Replace it via the `Typography` prop when you need different theming, but consider extending rather than replacing -- the wrapper is intentionally minimal.
179
+
180
+ ### `MantineAIMDefaultExtraStyles`
181
+
182
+ Default `ExtraStyles` wrapper. Renders a `<div className="aim-mantine-extra-styles">` that activates the package's scoped CSS overrides:
183
+
184
+ - Mantine spacing and font-size CSS custom properties switched to relative `em` units (consistent scaling at any base font size)
185
+ - Heading, list, paragraph, blockquote, and inline-code spacing tuned for AI-generated markdown
186
+ - Definition list layout
187
+
188
+ Activated by importing `@ai-react-markdown/mantine/styles.css` in your app entry. Pass a custom `ExtraStyles` prop to bypass these defaults.
189
+
190
+ ## Code Block Rendering
191
+
192
+ The Mantine package installs a default `<pre>` renderer (`MantineAIMPreCode`) that powers all code-block features. Behavior by code-block flavor:
193
+
194
+ | Code-block flavor | Rendered as | Notes |
195
+ | ------------------------------------------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
196
+ | Annotated, known language (e.g. ` ```ts `) | `<CodeHighlightTabs>` | Tab label = language name |
197
+ | Annotated, unknown language identifier | `<CodeHighlight>` plaintext | Filename label shows the unknown identifier |
198
+ | No language annotation | `<CodeHighlight>` plaintext | Label = `"unknown"`. With `codeBlock.autoDetectUnknownLanguage: true`, `hljs.highlightAuto` is consulted before falling back |
199
+ | ` ```mermaid ` | Interactive Mermaid diagram | See [Mermaid Diagrams](#mermaid-diagrams) |
200
+ | ` ```json ` | Pretty-printed JSON | Deep-parsed via `deep-parse-json` to expand any nested JSON-encoded strings, then re-serialized with 2-space indent before rendering |
201
+
202
+ All non-special blocks render with `withBorder` and `withExpandButton`, collapsing to `maxCollapsedHeight="320px"` until expanded.
167
203
 
168
- Code highlighting requires a `CodeHighlightAdapterProvider` wrapping your component tree. This is a Mantine requirement -- the adapter bridges highlight.js into Mantine's code highlight components.
204
+ ### Code Highlight Adapter
205
+
206
+ Code highlighting requires a `CodeHighlightAdapterProvider` wrapping the component tree. This is a Mantine requirement -- the adapter bridges `highlight.js` into Mantine's code highlight components.
169
207
 
170
208
  ```tsx
171
209
  import { CodeHighlightAdapterProvider, createHighlightJsAdapter } from '@mantine/code-highlight';
@@ -192,9 +230,9 @@ By default, code blocks without an explicit language annotation render as plaint
192
230
 
193
231
  This uses `highlight.js`'s `highlightAuto` to guess the language. Results may vary for short or ambiguous snippets.
194
232
 
195
- ## Mermaid Diagram Support
233
+ ## Mermaid Diagrams
196
234
 
197
- Fenced code blocks with the `mermaid` language identifier are automatically rendered as interactive SVG diagrams:
235
+ Fenced code blocks with the `mermaid` language identifier render as interactive SVG diagrams:
198
236
 
199
237
  ````markdown
200
238
  ```mermaid
@@ -207,36 +245,39 @@ graph TD
207
245
 
208
246
  Features:
209
247
 
210
- - Automatic dark/light theme switching based on Mantine's color scheme
211
- - Toggle between rendered diagram and raw source code
212
- - Copy button for the mermaid source
248
+ - Automatic dark/light theme switching driven by Mantine's color scheme
249
+ - Toggle between rendered diagram and raw source
250
+ - Copy button for the Mermaid source
213
251
  - Click the rendered diagram to open the SVG in a new window
214
252
  - Chart type label displayed in the header
215
- - Graceful fallback to source code display on parse errors
253
+ - Graceful fallback to source-code display on parse errors; the last successful render is preserved across transient parse failures during streaming
216
254
 
217
255
  The `mermaid` library is a direct dependency of this package -- no additional installation is needed.
218
256
 
219
257
  ## Color Scheme Integration
220
258
 
221
- `MantineAIMarkdown` automatically detects Mantine's computed color scheme using `useComputedColorScheme('light')`. You can override this by passing an explicit `colorScheme` prop:
259
+ `MantineAIMarkdown` resolves its color scheme in this order:
260
+
261
+ 1. Explicit `colorScheme` prop (always wins when supplied)
262
+ 2. Mantine's `useComputedColorScheme('light')` -- the live computed scheme from the active `MantineProvider`
222
263
 
223
264
  ```tsx
224
- // Automatic (default) -- follows Mantine's color scheme
265
+ // Follows Mantine's color scheme automatically
225
266
  <MantineAIMarkdown content={markdown} />
226
267
 
227
268
  // Explicit override
228
269
  <MantineAIMarkdown content={markdown} colorScheme="dark" />
229
270
  ```
230
271
 
231
- The color scheme is passed to:
272
+ The resolved color scheme is forwarded to:
232
273
 
233
- - The core `<AIMarkdown>` component for typography theming
234
- - Mermaid diagram rendering (dark/base theme selection)
235
- - The extra styles wrapper for color-aware CSS
274
+ - The core `<AIMarkdown>` for typography theming
275
+ - Mermaid diagram rendering (dark / base theme selection)
276
+ - The extra-styles wrapper for color-aware CSS
236
277
 
237
278
  ## Custom Components
238
279
 
239
- Custom component overrides are merged with the Mantine defaults. Your overrides take precedence:
280
+ Caller-provided `customComponents` are merged on top of the Mantine defaults; caller overrides take precedence:
240
281
 
241
282
  ```tsx
242
283
  import MantineAIMarkdown from '@ai-react-markdown/mantine';
@@ -248,12 +289,43 @@ const customComponents: AIMarkdownCustomComponents = {
248
289
  {children}
249
290
  </a>
250
291
  ),
292
+ img: ({ src, alt }) => <img src={src} alt={alt} loading="lazy" />,
251
293
  };
252
294
 
253
295
  <MantineAIMarkdown content={markdown} customComponents={customComponents} />;
254
296
  ```
255
297
 
256
- To override the default `<pre>` handler (and lose built-in code highlighting and mermaid support), include `pre` in your custom components.
298
+ To override the default `<pre>` handler (and lose built-in code highlighting, Mermaid, and JSON pretty-print support), include `pre` in your custom components.
299
+
300
+ ## Cross-Chunk Coordination
301
+
302
+ `<MantineAIMarkdown>` participates in cross-chunk coordination identically to `<AIMarkdown>`. Wrap multiple chunks in `<AIMarkdownDocuments>` (from `@ai-react-markdown/core`) and share `documentId` to coordinate footnotes, link references, and image references across chunks:
303
+
304
+ ```tsx
305
+ import { AIMarkdownDocuments } from '@ai-react-markdown/core';
306
+ import MantineAIMarkdown from '@ai-react-markdown/mantine';
307
+
308
+ <AIMarkdownDocuments>
309
+ {message.chunks.map((c, i) => (
310
+ <MantineAIMarkdown key={i} content={c} documentId={message.id} />
311
+ ))}
312
+ </AIMarkdownDocuments>;
313
+ ```
314
+
315
+ See the [core README's cross-chunk section](../core/README.md#cross-chunk-coordination) for the full `<AIMarkdownDocuments>` API and `useDocumentRegistry` hook.
316
+
317
+ ## Architecture Overview
318
+
319
+ ```text
320
+ <MantineAIMarkdown>
321
+ └─ wraps <AIMarkdown> with Mantine defaults:
322
+ Typography = MantineAIMarkdownTypography (Mantine <Typography>)
323
+ ExtraStyles = MantineAIMDefaultExtraStyles (aim-mantine-extra-styles scope)
324
+ customComponents.pre = MantineAIMPreCode (CodeHighlight + Mermaid + JSON pretty-print)
325
+ colorScheme = useComputedColorScheme('light') (when not overridden)
326
+ ```
327
+
328
+ Caller-provided `Typography`, `ExtraStyles`, and `customComponents` props override the Mantine defaults at their respective slots. Inside the wrapped `<AIMarkdown>`, the rest of the render pipeline (metadata context, render-state context, content preprocessors, remark/rehype plugin chain) is identical to standalone core -- see the [core architecture overview](../core/README.md#architecture-overview).
257
329
 
258
330
  ## Exported API
259
331
 
@@ -278,7 +350,7 @@ To override the default `<pre>` handler (and lose built-in code highlighting and
278
350
 
279
351
  ### Hooks
280
352
 
281
- - `useMantineAIMarkdownRenderState<TConfig>()` -- typed render state access
353
+ - `useMantineAIMarkdownRenderState<TConfig>()` -- typed render-state access
282
354
  - `useMantineAIMarkdownMetadata<TMetadata>()` -- typed metadata access
283
355
 
284
356
  ## Core Package
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/extra-styles/DefaultExtraStyles/styles.scss","../src/components/extra-styles/DefaultExtraStyles/%3Cinput css cGMZTw%3E","../src/components/customized/MermaidCode/styles.scss","../src/components/customized/MermaidCode/%3Cinput css HOzJVG%3E"],"sourcesContent":[".aim-mantine-extra-styles {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-items: flex-start;\n align-items: flex-start;\n\n white-space: normal;\n word-wrap: break-word;\n overflow-wrap: break-word;\n word-break: break-word;\n\n text-rendering: optimizeLegibility;\n\n --aim-font-size-mantine-base: calc(var(--aim-font-size-root) * var(--mantine-scale));\n\n --mantine-spacing-xs: calc(var(--aim-font-size-mantine-base) * 0.75);\n --mantine-spacing-sm: calc(var(--aim-font-size-mantine-base) * 0.875);\n --mantine-spacing-md: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-spacing-lg: calc(var(--aim-font-size-mantine-base) * 1.125);\n --mantine-spacing-xl: calc(var(--aim-font-size-mantine-base) * 1.25);\n\n --mantine-font-size-xs: calc(var(--aim-font-size-mantine-base) * 0.75);\n --mantine-font-size-sm: calc(var(--aim-font-size-mantine-base) * 0.875);\n --mantine-font-size-md: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-font-size-lg: calc(var(--aim-font-size-mantine-base) * 1.25);\n --mantine-font-size-xl: calc(var(--aim-font-size-mantine-base) * 2);\n\n --mantine-h1-font-size: calc(var(--aim-font-size-mantine-base) * 2.125);\n --mantine-h2-font-size: calc(var(--aim-font-size-mantine-base) * 1.625);\n --mantine-h3-font-size: calc(var(--aim-font-size-mantine-base) * 1.375);\n --mantine-h4-font-size: calc(var(--aim-font-size-mantine-base) * 1.125);\n --mantine-h5-font-size: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-h6-font-size: calc(var(--aim-font-size-mantine-base) * 0.875);\n\n :first-child {\n margin-top: 0;\n }\n\n :last-child {\n margin-bottom: 0;\n }\n\n ul,\n ol {\n list-style-position: outside;\n\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.55);\n padding-inline-start: calc(var(--aim-font-size-mantine-base) * 1.5);\n\n li {\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.275);\n }\n }\n\n hr {\n width: 100%;\n height: 1px;\n background-color: var(--mantine-color-text);\n }\n\n ul {\n list-style-type: disc;\n }\n\n ul ul {\n list-style-type: circle;\n }\n\n ul ul ul {\n list-style-type: square;\n }\n\n ol {\n list-style-type: decimal;\n }\n\n p {\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.5);\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n blockquote {\n font-size: var(--mantine-font-size-md);\n }\n\n table {\n caption {\n font-size: var(--mantine-font-size-md);\n }\n th {\n font-size: var(--mantine-font-size-md);\n }\n }\n\n pre code {\n white-space: pre-wrap;\n word-wrap: break-word;\n overflow-wrap: break-word;\n word-break: break-word;\n }\n\n dl {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n max-width: 670px;\n }\n dl > * {\n padding-top: calc(var(--aim-font-size-mantine-base) * 0.5);\n }\n dt {\n width: 30%;\n font-weight: bold;\n text-align: right;\n }\n dd {\n width: 60%;\n padding-left: calc(var(--aim-font-size-mantine-base) * 0.5);\n margin-left: 0px;\n }\n dd + dd {\n width: 100%;\n padding-left: calc(30% + var(--aim-font-size-mantine-base));\n }\n dt + dt {\n padding-right: 60%;\n }\n dt + dt + dd {\n margin-top: calc(var(--aim-font-size-mantine-base) * -1.625);\n padding-left: calc(30% + var(--aim-font-size-mantine-base));\n }\n}\n",".aim-mantine-extra-styles {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-items: flex-start;\n align-items: flex-start;\n white-space: normal;\n word-wrap: break-word;\n overflow-wrap: break-word;\n word-break: break-word;\n text-rendering: optimizeLegibility;\n --aim-font-size-mantine-base: calc(var(--aim-font-size-root) * var(--mantine-scale));\n --mantine-spacing-xs: calc(var(--aim-font-size-mantine-base) * 0.75);\n --mantine-spacing-sm: calc(var(--aim-font-size-mantine-base) * 0.875);\n --mantine-spacing-md: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-spacing-lg: calc(var(--aim-font-size-mantine-base) * 1.125);\n --mantine-spacing-xl: calc(var(--aim-font-size-mantine-base) * 1.25);\n --mantine-font-size-xs: calc(var(--aim-font-size-mantine-base) * 0.75);\n --mantine-font-size-sm: calc(var(--aim-font-size-mantine-base) * 0.875);\n --mantine-font-size-md: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-font-size-lg: calc(var(--aim-font-size-mantine-base) * 1.25);\n --mantine-font-size-xl: calc(var(--aim-font-size-mantine-base) * 2);\n --mantine-h1-font-size: calc(var(--aim-font-size-mantine-base) * 2.125);\n --mantine-h2-font-size: calc(var(--aim-font-size-mantine-base) * 1.625);\n --mantine-h3-font-size: calc(var(--aim-font-size-mantine-base) * 1.375);\n --mantine-h4-font-size: calc(var(--aim-font-size-mantine-base) * 1.125);\n --mantine-h5-font-size: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-h6-font-size: calc(var(--aim-font-size-mantine-base) * 0.875);\n}\n.aim-mantine-extra-styles :first-child {\n margin-top: 0;\n}\n.aim-mantine-extra-styles :last-child {\n margin-bottom: 0;\n}\n.aim-mantine-extra-styles ul,\n.aim-mantine-extra-styles ol {\n list-style-position: outside;\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.55);\n padding-inline-start: calc(var(--aim-font-size-mantine-base) * 1.5);\n}\n.aim-mantine-extra-styles ul li,\n.aim-mantine-extra-styles ol li {\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.275);\n}\n.aim-mantine-extra-styles hr {\n width: 100%;\n height: 1px;\n background-color: var(--mantine-color-text);\n}\n.aim-mantine-extra-styles ul {\n list-style-type: disc;\n}\n.aim-mantine-extra-styles ul ul {\n list-style-type: circle;\n}\n.aim-mantine-extra-styles ul ul ul {\n list-style-type: square;\n}\n.aim-mantine-extra-styles ol {\n list-style-type: decimal;\n}\n.aim-mantine-extra-styles p {\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.5);\n}\n.aim-mantine-extra-styles p:last-child {\n margin-bottom: 0;\n}\n.aim-mantine-extra-styles blockquote {\n font-size: var(--mantine-font-size-md);\n}\n.aim-mantine-extra-styles table caption {\n font-size: var(--mantine-font-size-md);\n}\n.aim-mantine-extra-styles table th {\n font-size: var(--mantine-font-size-md);\n}\n.aim-mantine-extra-styles pre code {\n white-space: pre-wrap;\n word-wrap: break-word;\n overflow-wrap: break-word;\n word-break: break-word;\n}\n.aim-mantine-extra-styles dl {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n max-width: 670px;\n}\n.aim-mantine-extra-styles dl > * {\n padding-top: calc(var(--aim-font-size-mantine-base) * 0.5);\n}\n.aim-mantine-extra-styles dt {\n width: 30%;\n font-weight: bold;\n text-align: right;\n}\n.aim-mantine-extra-styles dd {\n width: 60%;\n padding-left: calc(var(--aim-font-size-mantine-base) * 0.5);\n margin-left: 0px;\n}\n.aim-mantine-extra-styles dd + dd {\n width: 100%;\n padding-left: calc(30% + var(--aim-font-size-mantine-base));\n}\n.aim-mantine-extra-styles dt + dt {\n padding-right: 60%;\n}\n.aim-mantine-extra-styles dt + dt + dd {\n margin-top: calc(var(--aim-font-size-mantine-base) * -1.625);\n padding-left: calc(30% + var(--aim-font-size-mantine-base));\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUVBO0VBQ0E7RUFDQTtFQUNBO0VBRUE7RUFFQTtFQUVBO0VBQ0E7RUF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G4gIH1cbiAgZGwgPiAqIHtcbiAgICBwYWRkaW5nLXRvcDogY2FsYyh2YXIoLS1haW0tZm9udC1zaXplLW1hbnRpbmUtYmFzZSkgKiAwLjUpO1xuICB9XG4gIGR0IHtcbiAgICB3aWR0aDogMzAlO1xuICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgIHRleHQtYWxpZ246IHJpZ2h0O1xuICB9XG4gIGRkIHtcbiAgICB3aWR0aDogNjAlO1xuICAgIHBhZGRpbmctbGVmdDogY2FsYyh2YXIoLS1haW0tZm9udC1zaXplLW1hbnRpbmUtYmFzZSkgKiAwLjUpO1xuICAgIG1hcmdpbi1sZWZ0OiAwcHg7XG4gIH1cbiAgZGQgKyBkZCB7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgcGFkZGluZy1sZWZ0OiBjYWxjKDMwJSArIHZhcigtLWFpbS1mb250LXNpemUtbWFudGluZS1iYXNlKSk7XG4gIH1cbiAgZHQgKyBkdCB7XG4gICAgcGFkZGluZy1yaWdodDogNjAlO1xuICB9XG4gIGR0ICsgZHQgKyBkZCB7XG4gICAgbWFyZ2luLXRvcDogY2FsYyh2YXIoLS1haW0tZm9udC1zaXplLW1hbnRpbmUtYmFzZSkgKiAtMS42MjUpO1xuICAgIHBhZGRpbmctbGVmdDogY2FsYygzMCUgKyB2YXIoLS1haW0tZm9udC1zaXplLW1hbnRpbmUtYmFzZSkpO1xuICB9XG59XG4iXX0= */",".aim-mantine-mermaid-code {\n width: 100%;\n margin-bottom: 15px;\n background: var(--mantine-color-gray-0);\n border: 1px solid var(--mantine-color-gray-2);\n padding: calc(0.75rem * var(--mantine-scale)) calc(0.625rem * var(--mantine-scale));\n display: flex;\n flex-shrink: 0;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n\n .chart-header {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n flex-shrink: 0;\n\n .chart-type-tag {\n padding: calc(0.2125rem * var(--mantine-scale)) calc(0.5625rem * var(--mantine-scale));\n color: black;\n border: 1px solid var(--mantine-color-gray-3);\n background: white;\n border-radius: var(--mantine-radius-default);\n font-size: var(--mantine-font-size-xs);\n font-weight: 700;\n }\n\n .action-icon {\n color: var(--mantine-color-text);\n opacity: 0.5;\n\n &:hover {\n color: var(--mantine-color-bright);\n opacity: 1;\n }\n }\n }\n\n & > pre {\n flex-shrink: 0;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n }\n}\n\n.aim-mantine-mermaid-code.dark {\n background: var(--mantine-color-dark-8);\n border-color: var(--mantine-color-dark-6);\n\n .chart-header {\n .chart-type-tag {\n color: var(--mantine-color-dark-0);\n border-color: var(--mantine-color-dark-6);\n background: var(--mantine-color-dark-8);\n }\n\n .action-icon {\n color: var(--mantine-color-text);\n }\n }\n}\n",".aim-mantine-mermaid-code {\n width: 100%;\n margin-bottom: 15px;\n background: var(--mantine-color-gray-0);\n border: 1px solid var(--mantine-color-gray-2);\n padding: calc(0.75rem * var(--mantine-scale)) calc(0.625rem * var(--mantine-scale));\n display: flex;\n flex-shrink: 0;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n}\n.aim-mantine-mermaid-code .chart-header {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n flex-shrink: 0;\n}\n.aim-mantine-mermaid-code .chart-header .chart-type-tag {\n padding: calc(0.2125rem * var(--mantine-scale)) calc(0.5625rem * var(--mantine-scale));\n color: black;\n border: 1px solid var(--mantine-color-gray-3);\n background: white;\n border-radius: var(--mantine-radius-default);\n font-size: var(--mantine-font-size-xs);\n font-weight: 700;\n}\n.aim-mantine-mermaid-code .chart-header .action-icon {\n color: var(--mantine-color-text);\n opacity: 0.5;\n}\n.aim-mantine-mermaid-code .chart-header .action-icon:hover {\n color: var(--mantine-color-bright);\n opacity: 1;\n}\n.aim-mantine-mermaid-code > pre {\n flex-shrink: 0;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n}\n\n.aim-mantine-mermaid-code.dark {\n background: var(--mantine-color-dark-8);\n border-color: var(--mantine-color-dark-6);\n}\n.aim-mantine-mermaid-code.dark .chart-header .chart-type-tag {\n color: var(--mantine-color-dark-0);\n border-color: var(--mantine-color-dark-6);\n background: var(--mantine-color-dark-8);\n}\n.aim-mantine-mermaid-code.dark .chart-header .action-icon {\n color: var(--mantine-color-text);\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7O0FBRUE7RUFDRTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7O0FBRUE7RUFDRTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTs7QUFHRjtFQUNFO0VBQ0E7O0FBRUE7RUFDRTtFQUNBOztBQUtOO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7RUFDQTs7O0FBSUo7RUFDRTtFQUNBOztBQUdFO0VBQ0U7RUFDQTtFQUNBOztBQUdGO0VBQ0UiLCJzb3VyY2VzQ29udGVudCI6WyIuYWltLW1hbnRpbmUtbWVybWFpZC1jb2RlIHtcbiAgd2lkdGg6IDEwMCU7XG4gIG1hcmdpbi1ib3R0b206IDE1cHg7XG4gIGJhY2tncm91bmQ6IHZhcigtLW1hbnRpbmUtY29sb3ItZ3JheS0wKTtcbiAgYm9yZGVyOiAxcHggc29saWQgdmFyKC0tbWFudGluZS1jb2xvci1ncmF5LTIpO1xuICBwYWRkaW5nOiBjYWxjKDAuNzVyZW0gKiB2YXIoLS1tYW50aW5lLXNjYWxlKSkgY2FsYygwLjYyNXJlbSAqIHZhcigtLW1hbnRpbmUtc2NhbGUpKTtcbiAgZGlzcGxheTogZmxleDtcbiAgZm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A,IAAA;AACA,WAAA;ACAR;ADKE,CAzCF,yBAyCE,EAAA;AACE,eAAA;AACA,WAAA;AACA,kBAAA;AACA,mBAAA;AACA,eAAA;ACHJ;ADOA,CAlDA,wBAkDA,CAAA;AACE,cAAA,IAAA;AACA,gBAAA,IAAA;ACJF;ADOI,CAvDJ,wBAuDI,CALJ,KAKI,CA3CF,aA2CE,CAnCA;AAoCE,SAAA,IAAA;AACA,gBAAA,IAAA;AACA,cAAA,IAAA;ACLN;ADQI,CA7DJ,wBA6DI,CAXJ,KAWI,CAjDF,aAiDE,CA/BA;AAgCE,SAAA,IAAA;ACNN;","names":[]}
1
+ {"version":3,"sources":["../src/components/extra-styles/DefaultExtraStyles/styles.scss","../src/components/extra-styles/DefaultExtraStyles/%3Cinput css w77D_w%3E","../src/components/customized/MermaidCode/styles.scss","../src/components/customized/MermaidCode/%3Cinput css OjR6PV%3E"],"sourcesContent":[".aim-mantine-extra-styles {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-items: flex-start;\n align-items: flex-start;\n\n white-space: normal;\n word-wrap: break-word;\n overflow-wrap: break-word;\n word-break: break-word;\n\n text-rendering: optimizeLegibility;\n\n --aim-font-size-mantine-base: calc(var(--aim-font-size-root) * var(--mantine-scale));\n\n --mantine-spacing-xs: calc(var(--aim-font-size-mantine-base) * 0.75);\n --mantine-spacing-sm: calc(var(--aim-font-size-mantine-base) * 0.875);\n --mantine-spacing-md: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-spacing-lg: calc(var(--aim-font-size-mantine-base) * 1.125);\n --mantine-spacing-xl: calc(var(--aim-font-size-mantine-base) * 1.25);\n\n --mantine-font-size-xs: calc(var(--aim-font-size-mantine-base) * 0.75);\n --mantine-font-size-sm: calc(var(--aim-font-size-mantine-base) * 0.875);\n --mantine-font-size-md: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-font-size-lg: calc(var(--aim-font-size-mantine-base) * 1.25);\n --mantine-font-size-xl: calc(var(--aim-font-size-mantine-base) * 2);\n\n --mantine-h1-font-size: calc(var(--aim-font-size-mantine-base) * 2.125);\n --mantine-h2-font-size: calc(var(--aim-font-size-mantine-base) * 1.625);\n --mantine-h3-font-size: calc(var(--aim-font-size-mantine-base) * 1.375);\n --mantine-h4-font-size: calc(var(--aim-font-size-mantine-base) * 1.125);\n --mantine-h5-font-size: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-h6-font-size: calc(var(--aim-font-size-mantine-base) * 0.875);\n\n :first-child {\n margin-top: 0;\n }\n\n :last-child {\n margin-bottom: 0;\n }\n\n ul,\n ol {\n list-style-position: outside;\n\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.55);\n padding-inline-start: calc(var(--aim-font-size-mantine-base) * 1.5);\n\n li {\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.275);\n }\n }\n\n hr {\n width: 100%;\n height: 1px;\n background-color: var(--mantine-color-text);\n }\n\n ul {\n list-style-type: disc;\n }\n\n ul ul {\n list-style-type: circle;\n }\n\n ul ul ul {\n list-style-type: square;\n }\n\n ol {\n list-style-type: decimal;\n }\n\n p {\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.5);\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n blockquote {\n font-size: var(--mantine-font-size-md);\n }\n\n table {\n caption {\n font-size: var(--mantine-font-size-md);\n }\n th {\n font-size: var(--mantine-font-size-md);\n }\n }\n\n pre code {\n white-space: pre-wrap;\n word-wrap: break-word;\n overflow-wrap: break-word;\n word-break: break-word;\n }\n\n dl {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n max-width: 670px;\n }\n dl > * {\n padding-top: calc(var(--aim-font-size-mantine-base) * 0.5);\n }\n dt {\n width: 30%;\n font-weight: bold;\n text-align: right;\n }\n dd {\n width: 60%;\n padding-left: calc(var(--aim-font-size-mantine-base) * 0.5);\n margin-left: 0px;\n }\n dd + dd {\n width: 100%;\n padding-left: calc(30% + var(--aim-font-size-mantine-base));\n }\n dt + dt {\n padding-right: 60%;\n }\n dt + dt + dd {\n margin-top: calc(var(--aim-font-size-mantine-base) * -1.625);\n padding-left: calc(30% + var(--aim-font-size-mantine-base));\n }\n}\n",".aim-mantine-extra-styles {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-items: flex-start;\n align-items: flex-start;\n white-space: normal;\n word-wrap: break-word;\n overflow-wrap: break-word;\n word-break: break-word;\n text-rendering: optimizeLegibility;\n --aim-font-size-mantine-base: calc(var(--aim-font-size-root) * var(--mantine-scale));\n --mantine-spacing-xs: calc(var(--aim-font-size-mantine-base) * 0.75);\n --mantine-spacing-sm: calc(var(--aim-font-size-mantine-base) * 0.875);\n --mantine-spacing-md: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-spacing-lg: calc(var(--aim-font-size-mantine-base) * 1.125);\n --mantine-spacing-xl: calc(var(--aim-font-size-mantine-base) * 1.25);\n --mantine-font-size-xs: calc(var(--aim-font-size-mantine-base) * 0.75);\n --mantine-font-size-sm: calc(var(--aim-font-size-mantine-base) * 0.875);\n --mantine-font-size-md: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-font-size-lg: calc(var(--aim-font-size-mantine-base) * 1.25);\n --mantine-font-size-xl: calc(var(--aim-font-size-mantine-base) * 2);\n --mantine-h1-font-size: calc(var(--aim-font-size-mantine-base) * 2.125);\n --mantine-h2-font-size: calc(var(--aim-font-size-mantine-base) * 1.625);\n --mantine-h3-font-size: calc(var(--aim-font-size-mantine-base) * 1.375);\n --mantine-h4-font-size: calc(var(--aim-font-size-mantine-base) * 1.125);\n --mantine-h5-font-size: calc(var(--aim-font-size-mantine-base) * 1);\n --mantine-h6-font-size: calc(var(--aim-font-size-mantine-base) * 0.875);\n}\n.aim-mantine-extra-styles :first-child {\n margin-top: 0;\n}\n.aim-mantine-extra-styles :last-child {\n margin-bottom: 0;\n}\n.aim-mantine-extra-styles ul,\n.aim-mantine-extra-styles ol {\n list-style-position: outside;\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.55);\n padding-inline-start: calc(var(--aim-font-size-mantine-base) * 1.5);\n}\n.aim-mantine-extra-styles ul li,\n.aim-mantine-extra-styles ol li {\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.275);\n}\n.aim-mantine-extra-styles hr {\n width: 100%;\n height: 1px;\n background-color: var(--mantine-color-text);\n}\n.aim-mantine-extra-styles ul {\n list-style-type: disc;\n}\n.aim-mantine-extra-styles ul ul {\n list-style-type: circle;\n}\n.aim-mantine-extra-styles ul ul ul {\n list-style-type: square;\n}\n.aim-mantine-extra-styles ol {\n list-style-type: decimal;\n}\n.aim-mantine-extra-styles p {\n margin-bottom: calc(var(--aim-font-size-mantine-base) * 0.5);\n}\n.aim-mantine-extra-styles p:last-child {\n margin-bottom: 0;\n}\n.aim-mantine-extra-styles blockquote {\n font-size: var(--mantine-font-size-md);\n}\n.aim-mantine-extra-styles table caption {\n font-size: var(--mantine-font-size-md);\n}\n.aim-mantine-extra-styles table th {\n font-size: var(--mantine-font-size-md);\n}\n.aim-mantine-extra-styles pre code {\n white-space: pre-wrap;\n word-wrap: break-word;\n overflow-wrap: break-word;\n word-break: break-word;\n}\n.aim-mantine-extra-styles dl {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n max-width: 670px;\n}\n.aim-mantine-extra-styles dl > * {\n padding-top: calc(var(--aim-font-size-mantine-base) * 0.5);\n}\n.aim-mantine-extra-styles dt {\n width: 30%;\n font-weight: bold;\n text-align: right;\n}\n.aim-mantine-extra-styles dd {\n width: 60%;\n padding-left: calc(var(--aim-font-size-mantine-base) * 0.5);\n margin-left: 0px;\n}\n.aim-mantine-extra-styles dd + dd {\n width: 100%;\n padding-left: calc(30% + var(--aim-font-size-mantine-base));\n}\n.aim-mantine-extra-styles dt + dt {\n padding-right: 60%;\n}\n.aim-mantine-extra-styles dt + dt + dd {\n margin-top: calc(var(--aim-font-size-mantine-base) * -1.625);\n padding-left: calc(30% + var(--aim-font-size-mantine-base));\n}\n/*# sourceMappingURL=data:application/json;charset=utf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b3ZlcmZsb3ctd3JhcDogYnJlYWstd29yZDtcbiAgICB3b3JkLWJyZWFrOiBicmVhay13b3JkO1xuICB9XG5cbiAgZGwge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC13cmFwOiB3cmFwO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIG1heC13aWR0aDogNjcwcHg7XG4gIH1cbiAgZGwgPiAqIHtcbiAgICBwYWRkaW5nLXRvcDogY2FsYyh2YXIoLS1haW0tZm9udC1zaXplLW1hbnRpbmUtYmFzZSkgKiAwLjUpO1xuICB9XG4gIGR0IHtcbiAgICB3aWR0aDogMzAlO1xuICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgIHRleHQtYWxpZ246IHJpZ2h0O1xuICB9XG4gIGRkIHtcbiAgICB3aWR0aDogNjAlO1xuICAgIHBhZGRpbmctbGVmdDogY2FsYyh2YXIoLS1haW0tZm9udC1zaXplLW1hbnRpbmUtYmFzZSkgKiAwLjUpO1xuICAgIG1hcmdpbi1sZWZ0OiAwcHg7XG4gIH1cbiAgZGQgKyBkZCB7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgcGFkZGluZy1sZWZ0OiBjYWxjKDMwJSArIHZhcigtLWFpbS1mb250LXNpemUtbWFudGluZS1iYXNlKSk7XG4gIH1cbiAgZHQgKyBkdCB7XG4gICAgcGFkZGluZy1yaWdodDogNjAlO1xuICB9XG4gIGR0ICsgZHQgKyBkZCB7XG4gICAgbWFyZ2luLXRvcDogY2FsYyh2YXIoLS1haW0tZm9udC1zaXplLW1hbnRpbmUtYmFzZSkgKiAtMS42MjUpO1xuICAgIHBhZGRpbmctbGVmdDogY2FsYygzMCUgKyB2YXIoLS1haW0tZm9udC1zaXplLW1hbnRpbmUtYmFzZSkpO1xuICB9XG59XG4iXX0= */",".aim-mantine-mermaid-code {\n width: 100%;\n margin-bottom: 15px;\n background: var(--mantine-color-gray-0);\n border: 1px solid var(--mantine-color-gray-2);\n padding: calc(0.75rem * var(--mantine-scale)) calc(0.625rem * var(--mantine-scale));\n display: flex;\n flex-shrink: 0;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n\n .chart-header {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n flex-shrink: 0;\n\n .chart-type-tag {\n padding: calc(0.2125rem * var(--mantine-scale)) calc(0.5625rem * var(--mantine-scale));\n color: black;\n border: 1px solid var(--mantine-color-gray-3);\n background: white;\n border-radius: var(--mantine-radius-default);\n font-size: var(--mantine-font-size-xs);\n font-weight: 700;\n }\n\n .action-icon {\n color: var(--mantine-color-text);\n opacity: 0.5;\n\n &:hover {\n color: var(--mantine-color-bright);\n opacity: 1;\n }\n }\n }\n\n & > pre {\n flex-shrink: 0;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n }\n}\n\n.aim-mantine-mermaid-code.dark {\n background: var(--mantine-color-dark-8);\n border-color: var(--mantine-color-dark-6);\n\n .chart-header {\n .chart-type-tag {\n color: var(--mantine-color-dark-0);\n border-color: var(--mantine-color-dark-6);\n background: var(--mantine-color-dark-8);\n }\n\n .action-icon {\n color: var(--mantine-color-text);\n }\n }\n}\n",".aim-mantine-mermaid-code {\n width: 100%;\n margin-bottom: 15px;\n background: var(--mantine-color-gray-0);\n border: 1px solid var(--mantine-color-gray-2);\n padding: calc(0.75rem * var(--mantine-scale)) calc(0.625rem * var(--mantine-scale));\n display: flex;\n flex-shrink: 0;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n}\n.aim-mantine-mermaid-code .chart-header {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n flex-shrink: 0;\n}\n.aim-mantine-mermaid-code .chart-header .chart-type-tag {\n padding: calc(0.2125rem * var(--mantine-scale)) calc(0.5625rem * var(--mantine-scale));\n color: black;\n border: 1px solid var(--mantine-color-gray-3);\n background: white;\n border-radius: var(--mantine-radius-default);\n font-size: var(--mantine-font-size-xs);\n font-weight: 700;\n}\n.aim-mantine-mermaid-code .chart-header .action-icon {\n color: var(--mantine-color-text);\n opacity: 0.5;\n}\n.aim-mantine-mermaid-code .chart-header .action-icon:hover {\n color: var(--mantine-color-bright);\n opacity: 1;\n}\n.aim-mantine-mermaid-code > pre {\n flex-shrink: 0;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n}\n\n.aim-mantine-mermaid-code.dark {\n background: var(--mantine-color-dark-8);\n border-color: var(--mantine-color-dark-6);\n}\n.aim-mantine-mermaid-code.dark .chart-header .chart-type-tag {\n color: var(--mantine-color-dark-0);\n border-color: var(--mantine-color-dark-6);\n background: var(--mantine-color-dark-8);\n}\n.aim-mantine-mermaid-code.dark .chart-header .action-icon {\n color: var(--mantine-color-text);\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7O0FBRUE7RUFDRTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7O0FBRUE7RUFDRTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTs7QUFHRjtFQUNFO0VBQ0E7O0FBRUE7RUFDRTtFQUNBOztBQUtOO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7RUFDQTs7O0FBSUo7RUFDRTtFQUNBOztBQUdFO0VBQ0U7RUFDQTtFQUNBOztBQUdGO0VBQ0UiLCJzb3VyY2VzQ29udGVudCI6WyIuYWltLW1hbnRpbmUtbWVybWFpZC1jb2RlIHtcbiAgd2lkdGg6IDEwMCU7XG4gIG1hcmdpbi1ib3R0b206IDE1cHg7XG4gIGJhY2tncm91bmQ6IHZhcigtLW1hbnRpbmUtY29sb3ItZ3JheS0wKTtcbiAgYm9yZGVyO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AACA,UAAA,IAAA,MAAA,IAAA;AACA,cAAA;AACA,iBAAA,IAAA;AACA,aAAA,IAAA;AACA,eAAA;ACCN;ADEI,CA9BJ,yBA8BI,CAlBF,aAkBE,CAAA;AACE,SAAA,IAAA;AACA,WAAA;ACAN;ADEM,CAlCN,yBAkCM,CAtBJ,aAsBI,CAJF,WAIE;AACE,SAAA,IAAA;AACA,WAAA;ACAR;ADKE,CAzCF,yBAyCE,EAAA;AACE,eAAA;AACA,WAAA;AACA,kBAAA;AACA,mBAAA;AACA,eAAA;ACHJ;ADOA,CAlDA,wBAkDA,CAAA;AACE,cAAA,IAAA;AACA,gBAAA,IAAA;ACJF;ADOI,CAvDJ,wBAuDI,CALJ,KAKI,CA3CF,aA2CE,CAnCA;AAoCE,SAAA,IAAA;AACA,gBAAA,IAAA;AACA,cAAA,IAAA;ACLN;ADQI,CA7DJ,wBA6DI,CAXJ,KAWI,CAjDF,aAiDE,CA/BA;AAgCE,SAAA,IAAA;ACNN;","names":[]}
package/package.json CHANGED
@@ -1,10 +1,42 @@
1
1
  {
2
2
  "name": "@ai-react-markdown/mantine",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
+ "description": "Mantine UI integration for ai-react-markdown — themed typography, syntax highlighting via @mantine/code-highlight, Mermaid diagrams, and automatic color scheme detection.",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
4
8
  "type": "module",
9
+ "license": "MIT",
10
+ "author": "Brian Lee <aiephoenixbl@gmail.com> (https://github.com/AIEPhoenix)",
11
+ "homepage": "https://github.com/AIEPhoenix/ai-react-markdown/tree/main/packages/mantine#readme",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/AIEPhoenix/ai-react-markdown.git",
15
+ "directory": "packages/mantine"
16
+ },
17
+ "bugs": {
18
+ "url": "https://github.com/AIEPhoenix/ai-react-markdown/issues"
19
+ },
20
+ "keywords": [
21
+ "react",
22
+ "markdown",
23
+ "ai",
24
+ "llm",
25
+ "mantine",
26
+ "katex",
27
+ "mermaid",
28
+ "syntax-highlighting",
29
+ "streaming"
30
+ ],
5
31
  "sideEffects": [
6
32
  "**/*.css"
7
33
  ],
34
+ "main": "./dist/index.cjs",
35
+ "module": "./dist/index.js",
36
+ "types": "./dist/index.d.ts",
37
+ "files": [
38
+ "dist"
39
+ ],
8
40
  "exports": {
9
41
  ".": {
10
42
  "import": {
@@ -18,20 +50,18 @@
18
50
  },
19
51
  "./styles.css": "./dist/index.css"
20
52
  },
21
- "main": "./dist/index.cjs",
22
- "module": "./dist/index.js",
23
- "types": "./dist/index.d.ts",
24
- "files": [
25
- "dist"
26
- ],
27
53
  "peerDependencies": {
28
- "@ai-react-markdown/core": "^1.4.0",
54
+ "@ai-react-markdown/core": "^1.4.1",
29
55
  "@mantine/code-highlight": "^8.3.17",
30
56
  "@mantine/core": "^8.3.17",
31
57
  "highlight.js": "^11.11.1",
32
58
  "react": ">=19",
33
59
  "react-dom": ">=19"
34
60
  },
61
+ "dependencies": {
62
+ "deep-parse-json": "^2.0.0",
63
+ "mermaid": "^11.14.0"
64
+ },
35
65
  "devDependencies": {
36
66
  "@mantine/code-highlight": "^8.3.18",
37
67
  "@mantine/core": "^8.3.18",
@@ -43,11 +73,7 @@
43
73
  "lodash-es": "^4.17.23",
44
74
  "postcss": "^8.5.8",
45
75
  "tsup": "^8.5.1",
46
- "@ai-react-markdown/core": "1.4.0"
47
- },
48
- "dependencies": {
49
- "deep-parse-json": "^2.0.0",
50
- "mermaid": "^11.14.0"
76
+ "@ai-react-markdown/core": "1.4.1"
51
77
  },
52
78
  "scripts": {
53
79
  "build": "tsup"