Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
5ce5a38
initial
JCQuintas Apr 5, 2026
94f13f7
split files
JCQuintas Apr 5, 2026
c508a5f
improve
JCQuintas Apr 5, 2026
bd675c0
improve
JCQuintas Apr 5, 2026
af38760
split files
JCQuintas Apr 5, 2026
3618bc6
simplify config
JCQuintas Apr 5, 2026
c061b77
improve logging
JCQuintas Apr 5, 2026
9a225dc
less steps/writes to disk
JCQuintas Apr 5, 2026
aba9f1e
fix some union types
JCQuintas Apr 6, 2026
f2128f0
improvement
JCQuintas Apr 6, 2026
d7e8bb2
improve
JCQuintas Apr 6, 2026
f851ede
fix requireds
JCQuintas Apr 6, 2026
150c6d1
improve logics
JCQuintas Apr 6, 2026
0bace18
fixes
JCQuintas Apr 6, 2026
0ed5208
fix evenbts
JCQuintas Apr 6, 2026
38b3ccf
ignore proptypes
JCQuintas Apr 6, 2026
b0121da
Merge commit '996f1431e9b96f321061447935c727b04cd5d1d0' into docs-api…
JCQuintas Apr 7, 2026
cce0333
fixes
JCQuintas Apr 7, 2026
7d60e73
fix returns
JCQuintas Apr 8, 2026
9080ad2
fix
JCQuintas Apr 8, 2026
903f635
handle issues
JCQuintas Apr 8, 2026
f2195af
fix
JCQuintas Apr 8, 2026
37d9cff
Merge commit 'ea2c9d1a139f68f9760e160212937989f893967e' into docs-api…
JCQuintas Apr 8, 2026
0753fd2
fix event builder
JCQuintas Apr 8, 2026
f46c28f
keep proptypes
JCQuintas Apr 8, 2026
34ea2d4
remove useless files
JCQuintas Apr 8, 2026
871dcfa
Merge branch 'master' into docs-apitest
JCQuintas Apr 8, 2026
31f7cad
sort types
JCQuintas Apr 8, 2026
3b8a056
sort
JCQuintas Apr 8, 2026
7e9b09a
handle config
JCQuintas Apr 9, 2026
c8c11a0
show object types instead of object
JCQuintas Apr 9, 2026
242fdde
Merge commit 'f4ea3a2e80cfa2108a89d8afb42142262b9e0125' into docs-api…
JCQuintas Apr 9, 2026
995e5c1
fixes
JCQuintas Apr 9, 2026
d41d618
add chat
JCQuintas Apr 9, 2026
f78e4fd
fix chat
JCQuintas Apr 9, 2026
b7b281a
fix
JCQuintas Apr 9, 2026
a0b1a2c
generally better
JCQuintas Apr 9, 2026
3c07537
use {} for unknown objects
JCQuintas Apr 9, 2026
7f768ba
fix
JCQuintas Apr 9, 2026
6f101e8
Merge commit '87ed5810b6b780c7713688701374b7d0b6b5728e' into docs-api…
JCQuintas Apr 9, 2026
8acad03
fix
JCQuintas Apr 9, 2026
5999439
llm context need old config
JCQuintas Apr 9, 2026
7b2f5a0
Merge branch 'master' into docs-apitest
JCQuintas Apr 9, 2026
dd88814
fix
JCQuintas Apr 9, 2026
2724e80
replace " with '
JCQuintas Apr 10, 2026
b5fdd83
more " to ' changes
JCQuintas Apr 10, 2026
4ed72fa
improve
JCQuintas Apr 10, 2026
6ea14f6
reorder
JCQuintas Apr 10, 2026
f942c2f
fix forward ref
JCQuintas Apr 10, 2026
ed6aa90
add options
JCQuintas Apr 10, 2026
fafbccd
fix layout
JCQuintas Apr 10, 2026
b099389
simplify
JCQuintas Apr 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 48 additions & 0 deletions docs/data/chatApiPages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ const chatApiPages: MuiPage[] = [
pathname: '/x/api/chat/chat-code-block',
title: 'ChatCodeBlock',
},
{
pathname: '/x/api/chat/chat-composer',
title: 'ChatComposer',
},
{
pathname: '/x/api/chat/chat-composer-attach-button',
title: 'ChatComposerAttachButton',
Expand Down Expand Up @@ -77,6 +81,10 @@ const chatApiPages: MuiPage[] = [
pathname: '/x/api/chat/chat-layout',
title: 'ChatLayout',
},
{
pathname: '/x/api/chat/chat-message',
title: 'ChatMessage',
},
{
pathname: '/x/api/chat/chat-message-actions',
title: 'ChatMessageActions',
Expand Down Expand Up @@ -185,14 +193,26 @@ const chatApiPages: MuiPage[] = [
pathname: '/x/api/chat/conversation-header-actions',
title: 'ConversationHeaderActions',
},
{
pathname: '/x/api/chat/conversation-header-info',
title: 'ConversationHeaderInfo',
},
{
pathname: '/x/api/chat/conversation-list-item',
title: 'ConversationListItem',
},
{
pathname: '/x/api/chat/conversation-list-item-actions',
title: 'ConversationListItemActions',
},
{
pathname: '/x/api/chat/conversation-list-item-avatar',
title: 'ConversationListItemAvatar',
},
{
pathname: '/x/api/chat/conversation-list-item-content',
title: 'ConversationListItemContent',
},
{
pathname: '/x/api/chat/conversation-list-preview',
title: 'ConversationListPreview',
Expand Down Expand Up @@ -225,6 +245,10 @@ const chatApiPages: MuiPage[] = [
pathname: '/x/api/chat/conversation-title',
title: 'ConversationTitle',
},
{
pathname: '/x/api/chat/file-part',
title: 'FilePart',
},
{
pathname: '/x/api/chat/message-actions',
title: 'MessageActions',
Expand Down Expand Up @@ -261,10 +285,34 @@ const chatApiPages: MuiPage[] = [
pathname: '/x/api/chat/message-root',
title: 'MessageRoot',
},
{
pathname: '/x/api/chat/reasoning-part',
title: 'ReasoningPart',
},
{
pathname: '/x/api/chat/scroll-to-bottom-affordance',
title: 'ScrollToBottomAffordance',
},
{
pathname: '/x/api/chat/source-document-part',
title: 'SourceDocumentPart',
},
{
pathname: '/x/api/chat/source-url-part',
title: 'SourceUrlPart',
},
{
pathname: '/x/api/chat/suggestion-item',
title: 'SuggestionItem',
},
{
pathname: '/x/api/chat/suggestions-root',
title: 'SuggestionsRoot',
},
{
pathname: '/x/api/chat/tool-part',
title: 'ToolPart',
},
{
pathname: '/x/api/chat/typing-indicator',
title: 'TypingIndicator',
Expand Down
9 changes: 8 additions & 1 deletion docs/pages/x/api/charts/animated-area.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
{
"props": { "skipAnimation": { "type": { "name": "bool" }, "default": "false" } },
"props": {
"d": { "type": { "name": "string" }, "required": true },
"ownerState": { "type": { "name": "{}" }, "required": true },
"skipAnimation": { "type": { "name": "bool" }, "default": "false" }
},
"name": "AnimatedArea",
"imports": [
"import { AnimatedArea } from '@mui/x-charts/LineChart';",
"import { AnimatedArea } from '@mui/x-charts';",
"import { AnimatedArea } from '@mui/x-charts-pro/LineChart';",
"import { AnimatedArea } from '@mui/x-charts-pro';",
"import { AnimatedArea } from '@mui/x-charts-premium/LineChart';",
"import { AnimatedArea } from '@mui/x-charts-premium';"
],
"slots": [],
"classes": [],
"muiName": "MuiAnimatedArea",
"filename": "/packages/x-charts/src/LineChart/AnimatedArea.tsx",
Expand Down
9 changes: 8 additions & 1 deletion docs/pages/x/api/charts/animated-line.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
{
"props": { "skipAnimation": { "type": { "name": "bool" }, "default": "false" } },
"props": {
"d": { "type": { "name": "string" }, "required": true },
"ownerState": { "type": { "name": "{}" }, "required": true },
"skipAnimation": { "type": { "name": "bool" }, "default": "false" }
},
"name": "AnimatedLine",
"imports": [
"import { AnimatedLine } from '@mui/x-charts/LineChart';",
"import { AnimatedLine } from '@mui/x-charts';",
"import { AnimatedLine } from '@mui/x-charts-pro/LineChart';",
"import { AnimatedLine } from '@mui/x-charts-pro';",
"import { AnimatedLine } from '@mui/x-charts-premium/LineChart';",
"import { AnimatedLine } from '@mui/x-charts-premium';"
],
"slots": [],
"classes": [],
"muiName": "MuiAnimatedLine",
"filename": "/packages/x-charts/src/LineChart/AnimatedLine.tsx",
Expand Down
17 changes: 15 additions & 2 deletions docs/pages/x/api/charts/area-element.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
{
"props": {
"color": { "type": { "name": "string" }, "required": true },
"d": { "type": { "name": "string" }, "required": true },
"seriesId": { "type": { "name": "string" }, "required": true },
"classes": {
"type": { "name": "shape", "description": "Partial<LineClasses>" },
"additionalInfo": { "cssApi": true }
},
"gradientId": { "type": { "name": "string" } },
"skipAnimation": { "type": { "name": "bool" }, "default": "false" },
"slotProps": { "type": { "name": "object" }, "default": "{}" },
"slotProps": {
"type": { "name": "shape", "description": "AreaElementSlotProps" },
"default": "{}"
},
"slots": {
"type": { "name": "object" },
"type": { "name": "shape", "description": "AreaElementSlots" },
"default": "{}",
"additionalInfo": { "slotsApi": true }
}
Expand All @@ -12,7 +23,9 @@
"imports": [
"import { AreaElement } from '@mui/x-charts/LineChart';",
"import { AreaElement } from '@mui/x-charts';",
"import { AreaElement } from '@mui/x-charts-pro/LineChart';",
"import { AreaElement } from '@mui/x-charts-pro';",
"import { AreaElement } from '@mui/x-charts-premium/LineChart';",
"import { AreaElement } from '@mui/x-charts-premium';"
],
"slots": [
Expand Down
9 changes: 7 additions & 2 deletions docs/pages/x/api/charts/area-plot.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@
}
},
"skipAnimation": { "type": { "name": "bool" }, "default": "false" },
"slotProps": { "type": { "name": "object" }, "default": "{}" },
"slotProps": {
"type": { "name": "shape", "description": "AreaElementSlotProps" },
"default": "{}"
},
"slots": {
"type": { "name": "object" },
"type": { "name": "shape", "description": "AreaElementSlots" },
"default": "{}",
"additionalInfo": { "slotsApi": true }
}
Expand All @@ -19,7 +22,9 @@
"imports": [
"import { AreaPlot } from '@mui/x-charts/LineChart';",
"import { AreaPlot } from '@mui/x-charts';",
"import { AreaPlot } from '@mui/x-charts-pro/LineChart';",
"import { AreaPlot } from '@mui/x-charts-pro';",
"import { AreaPlot } from '@mui/x-charts-premium/LineChart';",
"import { AreaPlot } from '@mui/x-charts-premium';"
],
"slots": [
Expand Down
11 changes: 4 additions & 7 deletions docs/pages/x/api/charts/axis-config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
import * as React from 'react';
import InterfaceApiPage from 'docsx/src/modules/components/InterfaceApiPage';
import layoutConfig from 'docsx/src/modules/utils/dataGridLayoutConfig';
import mapApiPageTranslations from 'docsx/src/modules/utils/mapApiPageTranslations';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './axis-config.json';

export default function Page(props) {
const { descriptions } = props;
return (
<InterfaceApiPage {...layoutConfig} descriptions={descriptions} pageContent={jsonPageContent} />
);
return <InterfaceApiPage descriptions={descriptions} pageContent={jsonPageContent} />;
}

export async function getStaticProps() {
const req = require.context(
'docsx/translations/api-docs/charts/',
'docsx/translations/api-docs/charts/axis-config',
false,
/\.\/axis-config.*.json$/,
/\.\/axis-config.*\.json$/,
);
const descriptions = mapApiPageTranslations(req);
return { props: { descriptions } };
Expand Down
48 changes: 32 additions & 16 deletions docs/pages/x/api/charts/axis-config.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,49 @@
{
"name": "AxisConfig",
"imports": [
"import { AxisConfig } from '@mui/x-charts-premium'",
"import { AxisConfig } from '@mui/x-charts-pro'",
"import { AxisConfig } from '@mui/x-charts'"
"import { AxisConfig } from '@mui/x-charts';",
"import { AxisConfig } from '@mui/x-charts-pro';",
"import { AxisConfig } from '@mui/x-charts-premium';"
],
"properties": {
"id": { "type": { "description": "AxisId" }, "required": true },
"scaleType": { "type": { "description": "'linear'" }, "required": true },
"id": { "type": { "description": "number | string" }, "required": true },
"scaleType": {
"type": {
"description": "'band' | 'linear' | 'log' | 'point' | 'pow' | 'sqrt' | 'symlog' | 'time' | 'utc'"
},
"required": true
},
"classes": { "type": { "description": "Partial&lt;ChartsAxisClasses&gt;" } },
"className": { "type": { "description": "string" } },
"colorMap": { "type": { "description": "ContinuousColorConfig | PiecewiseColorConfig" } },
"colorMap": {
"type": {
"description": "{ type: 'continuous', min?: Date | number, max?: Date | number, color: (t: number) =&gt; string | readonly [string, string] } | { type: 'ordinal', values?: readonly (string | number | Date)[], colors: string[], unknownColor?: string } | { type: 'piecewise', thresholds: (number | Date)[], colors: string[] }"
}
},
"data": { "type": { "description": "readonly V[]" } },
"dataKey": { "type": { "description": "string" } },
"disableLine": { "type": { "description": "boolean" }, "default": "false" },
"disableTicks": { "type": { "description": "boolean" }, "default": "false" },
"domainLimit": {
"type": {
"description": "'nice' | 'strict' | ((min: NumberValue, max: NumberValue) =&gt; { min: NumberValue; max: NumberValue })"
"description": "'nice' | 'strict' | (min: number | { valueOf: () =&gt; number }, max: number | { valueOf: () =&gt; number }) =&gt; { min: number | { valueOf: () =&gt; number }, max: number | { valueOf: () =&gt; number } }"
}
},
"height": {
"type": { "description": "number | 'auto'" },
"type": { "description": "'auto' | number" },
"default": "45 if an axis label is provided, 25 otherwise."
},
"hideTooltip": { "type": { "description": "boolean" } },
"ignoreTooltip": { "type": { "description": "boolean" } },
"label": { "type": { "description": "string" } },
"labelStyle": { "type": { "description": "ChartsTextProps['style']" } },
"labelStyle": { "type": { "description": "ChartsTextStyle" } },
"offset": { "type": { "description": "number" }, "default": "0" },
"position": { "type": { "description": "'top' | 'bottom' | 'none'" } },
"position": { "type": { "description": "'bottom' | 'none' | 'top'" } },
"reverse": { "type": { "description": "boolean" } },
"slotProps": {
"type": { "description": "Partial&lt;ChartsAxisSlotProps&gt;" },
"type": {
"description": "{ axisLine?: Partial&lt;SVGAttributes&lt;SVGPathElement&gt;&gt;, axisTick?: Partial&lt;SVGAttributes&lt;SVGPathElement&gt;&gt;, axisTickLabel?: Partial&lt;ChartsTextProps&gt;, axisLabel?: Partial&lt;ChartsTextProps&gt;, xAxis?: Partial&lt;ChartsXAxisProps&gt;, yAxis?: Partial&lt;ChartsYAxisProps&gt; }"
},
"default": "{}"
},
"slots": { "type": { "description": "Partial&lt;ChartsAxisSlots&gt;" }, "default": "{}" },
Expand All @@ -42,28 +53,33 @@
"default": "'auto'"
},
"tickLabelInterval": {
"type": { "description": "'auto' | ((value: any, index: number) =&gt; boolean)" },
"type": { "description": "'auto' | (value: any, index: number) =&gt; boolean" },
"default": "'auto'"
},
"tickLabelPlacement": { "type": { "description": "'middle' | 'tick'" }, "default": "'middle'" },
"tickLabelStyle": { "type": { "description": "ChartsTextProps['style']" } },
"tickLabelStyle": { "type": { "description": "ChartsTextStyle" } },
"tickMaxStep": { "type": { "description": "number" } },
"tickMinStep": { "type": { "description": "number" } },
"tickNumber": { "type": { "description": "number" } },
"tickPlacement": {
"type": { "description": "'start' | 'end' | 'middle' | 'extremities'" },
"type": { "description": "'end' | 'extremities' | 'middle' | 'start'" },
"default": "'extremities'"
},
"tickSize": { "type": { "description": "number" }, "default": "6" },
"tickSpacing": { "type": { "description": "number" }, "default": "0" },
"valueFormatter": {
"type": {
"description": "&lt;TScaleName extends S&gt;(value: V, context: AxisValueFormatterContext&lt;TScaleName&gt;) =&gt; string"
"description": "(value: V, context: { location: 'legend' } | { location: 'tick', scale: (value: Date | number | { valueOf: () =&gt; number }) =&gt; number, defaultTickLabel: string, tickNumber?: number } | { location: 'tooltip' | 'zoom-slider-tooltip', scale: (value: Date | number | { valueOf: () =&gt; number }) =&gt; number }) =&gt; string"
}
},
"valueGetter": {
"type": { "description": "(item: DatasetElementType&lt;unknown&gt;) =&gt; V" }
},
"zoom": { "type": { "description": "boolean | ZoomOptions" }, "isProPlan": true }
"zoom": {
"type": {
"description": "boolean | { minStart?: number, maxEnd?: number, step?: number, minSpan?: number, maxSpan?: number, panning?: boolean, filterMode?: 'discard' | 'keep', slider?: { enabled?: boolean, size?: number, showTooltip?: 'always' | 'hover' | 'never', preview?: boolean | { seriesIds?: string[] } } }"
},
"isProPlan": true
}
}
}
Loading
Loading