@commercetools/nimbus-mcp 3.1.0 → 3.3.0
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 +9 -1
- package/data/docs/route-manifest.json +806 -41
- package/data/docs/routes/components-buttons-button.json +25 -2
- package/data/docs/routes/components-chat-chat-message-list.json +448 -0
- package/data/docs/routes/components-chat-chat-message.json +580 -0
- package/data/docs/routes/components-content-markdown.json +548 -0
- package/data/docs/routes/components-feedback-activity-indicator.json +396 -0
- package/data/docs/routes/components-feedback-tooltip.json +23 -1
- package/data/docs/routes/components-inputs-drop-zone.json +562 -0
- package/data/docs/routes/components-inputs-file-trigger.json +421 -0
- package/data/docs/routes/components-layout-splitter.json +3 -3
- package/data/docs/routes/components-media-avatar.json +16 -5
- package/data/docs/routes/components-navigation-menu.json +1 -1
- package/data/docs/routes/components-navigation-tabnav.json +80 -14
- package/data/docs/routes/components-navigation-tabs.json +44 -11
- package/data/docs/routes/components-navigation-tree.json +445 -0
- package/data/docs/routes/home-getting-started-mcp-server-overview.json +2 -2
- package/data/docs/routes/home-getting-started-mcp-server-setup.json +2 -2
- package/data/docs/routes/patterns-buttons-floating-action-button.json +392 -0
- package/data/docs/routes/patterns-buttons.json +58 -0
- package/data/docs/search-index.json +1 -1
- package/data/docs/types/AccordionContent.json +27 -27
- package/data/docs/types/AccordionHeader.json +89 -89
- package/data/docs/types/AccordionItem.json +22 -22
- package/data/docs/types/AccordionRoot.json +14 -14
- package/data/docs/types/ActivityIndicator.json +202 -0
- package/data/docs/types/AlertDescription.json +8 -8
- package/data/docs/types/AlertDismissButton.json +98 -81
- package/data/docs/types/AlertTitle.json +8 -8
- package/data/docs/types/Avatar.json +19 -2
- package/data/docs/types/Badge.json +2 -2
- package/data/docs/types/Body.json +6 -6
- package/data/docs/types/Box.json +6 -6
- package/data/docs/types/Button.json +106 -89
- package/data/docs/types/Calendar.json +56 -56
- package/data/docs/types/Caption.json +6 -6
- package/data/docs/types/CardRoot.json +2 -2
- package/data/docs/types/Cell.json +20 -20
- package/data/docs/types/ChatMessage.json +12 -0
- package/data/docs/types/ChatMessageActions.json +42 -0
- package/data/docs/types/ChatMessageAvatar.json +140 -0
- package/data/docs/types/ChatMessageBody.json +42 -0
- package/data/docs/types/ChatMessageList.json +12 -0
- package/data/docs/types/ChatMessageListItem.json +42 -0
- package/data/docs/types/ChatMessageListRoot.json +78 -0
- package/data/docs/types/ChatMessageMeta.json +42 -0
- package/data/docs/types/ChatMessageRoot.json +119 -0
- package/data/docs/types/ChatMessageTyping.json +42 -0
- package/data/docs/types/Checkbox.json +88 -88
- package/data/docs/types/Code.json +11 -11
- package/data/docs/types/CollapsibleMotionContent.json +2 -2
- package/data/docs/types/CollapsibleMotionRoot.json +2 -2
- package/data/docs/types/CollapsibleMotionTrigger.json +4 -4
- package/data/docs/types/Column.json +8 -8
- package/data/docs/types/ColumnGroup.json +8 -8
- package/data/docs/types/ColumnHeader.json +18 -18
- package/data/docs/types/ComboBoxListBox.json +70 -70
- package/data/docs/types/ComboBoxOption.json +64 -64
- package/data/docs/types/ComboBoxPopover.json +91 -70
- package/data/docs/types/ComboBoxRoot.json +8 -8
- package/data/docs/types/ComboBoxSection.json +25 -25
- package/data/docs/types/ComboBoxTrigger.json +6 -6
- package/data/docs/types/Content.json +2 -2
- package/data/docs/types/DataTable.json +2 -2
- package/data/docs/types/DataTableBody.json +21 -21
- package/data/docs/types/DataTableHeader.json +27 -27
- package/data/docs/types/DataTableRoot.json +2 -2
- package/data/docs/types/DataTableTable.json +20 -20
- package/data/docs/types/DateInput.json +73 -73
- package/data/docs/types/DatePicker.json +58 -58
- package/data/docs/types/DateRangePicker.json +86 -86
- package/data/docs/types/DateRangePickerField.json +86 -86
- package/data/docs/types/DefaultPageBackLink.json +16 -16
- package/data/docs/types/DefaultPageRoot.json +2 -2
- package/data/docs/types/DialogCloseTrigger.json +96 -79
- package/data/docs/types/DialogTrigger.json +2 -2
- package/data/docs/types/DraggableListField.json +88 -60
- package/data/docs/types/DraggableListItem.json +53 -53
- package/data/docs/types/DraggableListRoot.json +88 -60
- package/data/docs/types/DrawerCloseTrigger.json +96 -79
- package/data/docs/types/DrawerTrigger.json +2 -2
- package/data/docs/types/DropZone.json +161 -0
- package/data/docs/types/FieldErrors.json +2 -2
- package/data/docs/types/FileTrigger.json +130 -0
- package/data/docs/types/Flex.json +22 -22
- package/data/docs/types/FloatingActionButton.json +1036 -0
- package/data/docs/types/Footer.json +6 -6
- package/data/docs/types/FormActionBar.json +1 -1
- package/data/docs/types/FormFieldRoot.json +2 -2
- package/data/docs/types/Grid.json +24 -24
- package/data/docs/types/Group.json +12 -12
- package/data/docs/types/Header.json +6 -6
- package/data/docs/types/Heading.json +8 -8
- package/data/docs/types/Icon.json +4 -4
- package/data/docs/types/IconButton.json +106 -89
- package/data/docs/types/IconToggleButton.json +73 -73
- package/data/docs/types/Image.json +63 -63
- package/data/docs/types/Indicator.json +6 -6
- package/data/docs/types/InlineSvg.json +2 -2
- package/data/docs/types/Item.json +6 -6
- package/data/docs/types/Kbd.json +8 -8
- package/data/docs/types/Link.json +30 -30
- package/data/docs/types/ListIndicator.json +6 -6
- package/data/docs/types/ListItem.json +6 -6
- package/data/docs/types/ListRoot.json +11 -11
- package/data/docs/types/LoadingSpinner.json +2 -2
- package/data/docs/types/MakeElementFocusable.json +18 -18
- package/data/docs/types/Markdown.json +183 -0
- package/data/docs/types/MenuItem.json +63 -63
- package/data/docs/types/MenuRoot.json +57 -57
- package/data/docs/types/MenuSection.json +31 -31
- package/data/docs/types/MenuSubmenuTrigger.json +4 -4
- package/data/docs/types/MenuTrigger.json +89 -89
- package/data/docs/types/MultilineTextInput.json +104 -104
- package/data/docs/types/MultilineTextInputField.json +102 -102
- package/data/docs/types/NumberInput.json +86 -86
- package/data/docs/types/NumberInputField.json +82 -82
- package/data/docs/types/PageContentColumn.json +6 -6
- package/data/docs/types/PageContentRoot.json +6 -6
- package/data/docs/types/PasswordInput.json +100 -100
- package/data/docs/types/PasswordInputField.json +100 -100
- package/data/docs/types/ProgressBar.json +13 -13
- package/data/docs/types/RadioInputOption.json +56 -56
- package/data/docs/types/RadioInputRoot.json +48 -48
- package/data/docs/types/RangeCalendar.json +58 -58
- package/data/docs/types/Region.json +6 -6
- package/data/docs/types/RegionTarget.json +6 -6
- package/data/docs/types/RichTextInput.json +2 -2
- package/data/docs/types/Root.json +11 -11
- package/data/docs/types/Row.json +6 -6
- package/data/docs/types/ScrollArea.json +2 -2
- package/data/docs/types/SearchInput.json +106 -106
- package/data/docs/types/SearchInputField.json +102 -102
- package/data/docs/types/SelectOption.json +54 -54
- package/data/docs/types/SelectOptionGroup.json +18 -18
- package/data/docs/types/SelectOptions.json +64 -64
- package/data/docs/types/SelectRoot.json +92 -92
- package/data/docs/types/Separator.json +4 -4
- package/data/docs/types/SimpleGrid.json +28 -28
- package/data/docs/types/SlidingIndicatorGeometry.json +9 -0
- package/data/docs/types/SlidingIndicatorRects.json +9 -0
- package/data/docs/types/SplitButton.json +16 -20
- package/data/docs/types/SplitterRoot.json +2 -2
- package/data/docs/types/Stack.json +2 -2
- package/data/docs/types/StepsNextTrigger.json +2 -2
- package/data/docs/types/StepsPrevTrigger.json +2 -2
- package/data/docs/types/StepsRoot.json +2 -2
- package/data/docs/types/StepsTrigger.json +2 -2
- package/data/docs/types/Switch.json +36 -36
- package/data/docs/types/TabNavItem.json +21 -21
- package/data/docs/types/TabNavRoot.json +5 -5
- package/data/docs/types/TableBody.json +6 -6
- package/data/docs/types/TableCaption.json +6 -6
- package/data/docs/types/TableCell.json +20 -20
- package/data/docs/types/TableColumn.json +8 -8
- package/data/docs/types/TableColumnGroup.json +8 -8
- package/data/docs/types/TableColumnHeader.json +18 -18
- package/data/docs/types/TableFooter.json +6 -6
- package/data/docs/types/TableHeader.json +6 -6
- package/data/docs/types/TableRoot.json +33 -33
- package/data/docs/types/TableRow.json +6 -6
- package/data/docs/types/TableScrollArea.json +6 -6
- package/data/docs/types/TabsList.json +2 -2
- package/data/docs/types/TabsPanel.json +2 -2
- package/data/docs/types/TabsPanels.json +2 -2
- package/data/docs/types/TabsRoot.json +3 -3
- package/data/docs/types/TabsTab.json +4 -4
- package/data/docs/types/TagGroupRoot.json +24 -24
- package/data/docs/types/TagGroupTag.json +56 -56
- package/data/docs/types/TagGroupTagList.json +15 -15
- package/data/docs/types/Text.json +8 -8
- package/data/docs/types/TextInput.json +102 -102
- package/data/docs/types/TextInputField.json +100 -100
- package/data/docs/types/TimeInput.json +68 -68
- package/data/docs/types/ToggleButton.json +75 -75
- package/data/docs/types/ToggleButtonGroupButton.json +32 -32
- package/data/docs/types/ToggleButtonGroupRoot.json +20 -20
- package/data/docs/types/Toolbar.json +9 -9
- package/data/docs/types/TooltipContent.json +28 -28
- package/data/docs/types/TooltipRoot.json +16 -16
- package/data/docs/types/Tree.json +12 -0
- package/data/docs/types/TreeIndicator.json +828 -0
- package/data/docs/types/TreeItem.json +559 -0
- package/data/docs/types/TreeItemContent.json +27 -0
- package/data/docs/types/TreeRoot.json +636 -0
- package/data/docs/types/TreeSubTree.json +40 -0
- package/data/docs/types/Trigger.json +4 -4
- package/data/docs/types/VisuallyHidden.json +6 -6
- package/data/docs/types/createItemsFromCsvDrop.json +4 -4
- package/data/docs/types/createItemsFromDirectoryDrop.json +4 -4
- package/data/docs/types/createItemsFromFileDrop.json +4 -4
- package/data/docs/types/createItemsFromImageDrop.json +4 -4
- package/data/docs/types/createItemsFromJsonDrop.json +4 -4
- package/data/docs/types/manifest.json +26 -0
- package/data/docs/types/useFocusInputOnFieldClick.json +11 -0
- package/data/docs/types/useRegion.json +2 -2
- package/data/docs/types/useSlidingIndicator.json +145 -0
- package/data/docs/types/useTree.json +267 -0
- package/data/tokens.json +21 -0
- package/data/uikit-tokens.json +894 -0
- package/dist/index.js +3298 -109
- package/package.json +8 -6
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tags": {
|
|
3
|
+
"supportsStyleProps": "",
|
|
4
|
+
"see": "{@link https://nimbus-documentation.vercel.app/components/content/markdown}"
|
|
5
|
+
},
|
|
6
|
+
"filePath": "/home/runner/work/nimbus/nimbus/packages/nimbus/src/index.ts",
|
|
7
|
+
"description": "# Markdown\n\nRenders a Markdown string into Nimbus-styled, accessible React elements with\ndefault renderers for every standard element, per-element overrides, embedded\ncustom component tags, and safe incremental rendering of streamed (LLM)\noutput.\n\nSafe by default: raw HTML is never rendered and rendering is restricted to a\nsafe element allowlist; image-host security is delegated to the application\nContent-Security-Policy.",
|
|
8
|
+
"displayName": "Markdown",
|
|
9
|
+
"methods": [],
|
|
10
|
+
"props": {
|
|
11
|
+
"as": {
|
|
12
|
+
"defaultValue": null,
|
|
13
|
+
"description": "",
|
|
14
|
+
"name": "as",
|
|
15
|
+
"parent": {
|
|
16
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.1_@emotion+react@11.14.0_@types+react@19.2.17_react@19.2.0__react_481d5ee5504b18c9383bebdcb4b66737/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
17
|
+
"name": "PolymorphicProps"
|
|
18
|
+
},
|
|
19
|
+
"declarations": [
|
|
20
|
+
{
|
|
21
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.1_@emotion+react@11.14.0_@types+react@19.2.17_react@19.2.0__react_481d5ee5504b18c9383bebdcb4b66737/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
22
|
+
"name": "PolymorphicProps"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"required": false,
|
|
26
|
+
"type": {
|
|
27
|
+
"name": "ElementType"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"asChild": {
|
|
31
|
+
"defaultValue": null,
|
|
32
|
+
"description": "",
|
|
33
|
+
"name": "asChild",
|
|
34
|
+
"parent": {
|
|
35
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.1_@emotion+react@11.14.0_@types+react@19.2.17_react@19.2.0__react_481d5ee5504b18c9383bebdcb4b66737/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
36
|
+
"name": "PolymorphicProps"
|
|
37
|
+
},
|
|
38
|
+
"declarations": [
|
|
39
|
+
{
|
|
40
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.1_@emotion+react@11.14.0_@types+react@19.2.17_react@19.2.0__react_481d5ee5504b18c9383bebdcb4b66737/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
41
|
+
"name": "PolymorphicProps"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"required": false,
|
|
45
|
+
"type": {
|
|
46
|
+
"name": "boolean"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"css": {
|
|
50
|
+
"defaultValue": null,
|
|
51
|
+
"description": "",
|
|
52
|
+
"name": "css",
|
|
53
|
+
"parent": {
|
|
54
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.1_@emotion+react@11.14.0_@types+react@19.2.17_react@19.2.0__react_481d5ee5504b18c9383bebdcb4b66737/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
55
|
+
"name": "JsxStyleProps"
|
|
56
|
+
},
|
|
57
|
+
"declarations": [
|
|
58
|
+
{
|
|
59
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.1_@emotion+react@11.14.0_@types+react@19.2.17_react@19.2.0__react_481d5ee5504b18c9383bebdcb4b66737/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
60
|
+
"name": "JsxStyleProps"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"required": false,
|
|
64
|
+
"type": {
|
|
65
|
+
"name": "SystemStyleObject | Omit<(SystemStyleObject)[], keyof any[]>"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"ref": {
|
|
69
|
+
"defaultValue": null,
|
|
70
|
+
"description": "Ref to the outer root container element.",
|
|
71
|
+
"name": "ref",
|
|
72
|
+
"declarations": [
|
|
73
|
+
{
|
|
74
|
+
"fileName": "nimbus/packages/nimbus/src/components/box/box.tsx",
|
|
75
|
+
"name": "TypeLiteral"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"fileName": "nimbus/packages/nimbus/src/components/markdown/markdown.types.ts",
|
|
79
|
+
"name": "TypeLiteral"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"required": false,
|
|
83
|
+
"type": {
|
|
84
|
+
"name": "Ref<HTMLDivElement>"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"children": {
|
|
88
|
+
"defaultValue": null,
|
|
89
|
+
"description": "The Markdown source string to render (canonical input, matching\n`react-markdown`). GitHub Flavored Markdown — tables, task lists,\nstrikethrough, autolinks — is enabled by default.",
|
|
90
|
+
"name": "children",
|
|
91
|
+
"declarations": [
|
|
92
|
+
{
|
|
93
|
+
"fileName": "nimbus/packages/nimbus/src/components/markdown/markdown.types.ts",
|
|
94
|
+
"name": "TypeLiteral"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"required": true,
|
|
98
|
+
"type": {
|
|
99
|
+
"name": "string"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"components": {
|
|
103
|
+
"defaultValue": null,
|
|
104
|
+
"description": "Renderer map, shallow-merged per key over the Nimbus defaults. Two uses:\n\n- **Per-element override** — a standard element key (e.g. `{ a: MyLink }`)\n replaces that one default renderer; all others stay intact.\n- **Custom component tag** — a non-standard key (e.g.\n `{ SearchQueryResultCard: Card }`) registers a tag that can be embedded in\n the source (`<SearchQueryResultCard id=\"foo\" />`); its string attributes\n are passed to the component as props. Tag names match by exact case, so\n any casing is preserved. Safe by default: a custom tag renders only if a\n component is registered for it — unregistered tags stay inert.",
|
|
105
|
+
"name": "components",
|
|
106
|
+
"declarations": [
|
|
107
|
+
{
|
|
108
|
+
"fileName": "nimbus/packages/nimbus/src/components/markdown/markdown.types.ts",
|
|
109
|
+
"name": "TypeLiteral"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"required": false,
|
|
113
|
+
"type": {
|
|
114
|
+
"name": "MarkdownComponents"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"allowedElements": {
|
|
118
|
+
"defaultValue": null,
|
|
119
|
+
"description": "Restrict rendering to this set of element names. Defaults to a safe\nallowlist covering all Nimbus default renderers. Mutually exclusive with\n`disallowedElements`.",
|
|
120
|
+
"name": "allowedElements",
|
|
121
|
+
"declarations": [
|
|
122
|
+
{
|
|
123
|
+
"fileName": "nimbus/packages/nimbus/src/components/markdown/markdown.types.ts",
|
|
124
|
+
"name": "TypeLiteral"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"required": false,
|
|
128
|
+
"type": {
|
|
129
|
+
"name": "readonly string[] | null"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"disallowedElements": {
|
|
133
|
+
"defaultValue": null,
|
|
134
|
+
"description": "Remove these element names from the rendered output. Mutually exclusive\nwith `allowedElements`.",
|
|
135
|
+
"name": "disallowedElements",
|
|
136
|
+
"declarations": [
|
|
137
|
+
{
|
|
138
|
+
"fileName": "nimbus/packages/nimbus/src/components/markdown/markdown.types.ts",
|
|
139
|
+
"name": "TypeLiteral"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"required": false,
|
|
143
|
+
"type": {
|
|
144
|
+
"name": "readonly string[] | null"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"isStreaming": {
|
|
148
|
+
"defaultValue": {
|
|
149
|
+
"value": "false"
|
|
150
|
+
},
|
|
151
|
+
"description": "Enables safe incremental rendering of streamed (e.g. LLM) output:\nunterminated inline constructs are completed via `remend`, content is split\ninto memoized blocks so only the final block re-parses per token, and the\nroot manages `aria-busy` plus a single coalesced completion announcement.",
|
|
152
|
+
"name": "isStreaming",
|
|
153
|
+
"declarations": [
|
|
154
|
+
{
|
|
155
|
+
"fileName": "nimbus/packages/nimbus/src/components/markdown/markdown.types.ts",
|
|
156
|
+
"name": "TypeLiteral"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"required": false,
|
|
160
|
+
"type": {
|
|
161
|
+
"name": "boolean"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"headingOffset": {
|
|
165
|
+
"defaultValue": {
|
|
166
|
+
"value": "0"
|
|
167
|
+
},
|
|
168
|
+
"description": "Shifts rendered heading levels to preserve the host page outline: a\nmarkdown heading of level `L` renders as `min(L + headingOffset, 6)`.",
|
|
169
|
+
"name": "headingOffset",
|
|
170
|
+
"declarations": [
|
|
171
|
+
{
|
|
172
|
+
"fileName": "nimbus/packages/nimbus/src/components/markdown/markdown.types.ts",
|
|
173
|
+
"name": "TypeLiteral"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"required": false,
|
|
177
|
+
"type": {
|
|
178
|
+
"name": "number"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"supportsStyleProps": true
|
|
183
|
+
}
|