@commercetools/nimbus-mcp 2.10.0 → 2.11.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.
Files changed (41) hide show
  1. package/data/docs/route-manifest.json +85 -0
  2. package/data/docs/routes/components-layout-scrollarea.json +428 -0
  3. package/data/docs/search-index.json +1 -1
  4. package/data/docs/types/AccordionHeader.json +33 -33
  5. package/data/docs/types/AlertDismissButton.json +50 -50
  6. package/data/docs/types/Button.json +17 -17
  7. package/data/docs/types/ComboBoxRoot.json +17 -17
  8. package/data/docs/types/DatePicker.json +15 -15
  9. package/data/docs/types/DateRangePickerField.json +17 -17
  10. package/data/docs/types/DialogCloseTrigger.json +50 -50
  11. package/data/docs/types/DrawerCloseTrigger.json +50 -50
  12. package/data/docs/types/IconButton.json +17 -17
  13. package/data/docs/types/IconToggleButton.json +17 -17
  14. package/data/docs/types/Image.json +28 -28
  15. package/data/docs/types/MenuTrigger.json +33 -33
  16. package/data/docs/types/MultilineTextInput.json +33 -33
  17. package/data/docs/types/MultilineTextInputField.json +17 -17
  18. package/data/docs/types/NumberInput.json +17 -17
  19. package/data/docs/types/NumberInputField.json +36 -36
  20. package/data/docs/types/PageContentRoot.json +15 -15
  21. package/data/docs/types/PasswordInput.json +17 -17
  22. package/data/docs/types/PasswordInputField.json +17 -17
  23. package/data/docs/types/ProgressBar.json +21 -21
  24. package/data/docs/types/ScrollArea.json +127 -30
  25. package/data/docs/types/ScrollAreaElementIds.json +9 -0
  26. package/data/docs/types/ScrollAreaProps.json +9 -0
  27. package/data/docs/types/SearchInput.json +19 -19
  28. package/data/docs/types/SearchInputField.json +25 -25
  29. package/data/docs/types/SelectRoot.json +15 -15
  30. package/data/docs/types/TabNavItem.json +17 -17
  31. package/data/docs/types/TabNavRoot.json +17 -17
  32. package/data/docs/types/TabsTab.json +17 -17
  33. package/data/docs/types/TextInput.json +16 -16
  34. package/data/docs/types/TextInputField.json +17 -17
  35. package/data/docs/types/ToggleButton.json +17 -17
  36. package/data/docs/types/Toolbar.json +15 -15
  37. package/data/docs/types/TooltipContent.json +19 -19
  38. package/data/docs/types/TooltipRoot.json +3 -3
  39. package/data/docs/types/manifest.json +12 -10
  40. package/data/docs/types/toast.json +2 -2
  41. package/package.json +4 -4
@@ -793,44 +793,44 @@
793
793
  "name": "ReactEventHandler<HTMLInputElement>"
794
794
  }
795
795
  },
796
- "name": {
797
- "defaultValue": null,
798
- "description": "The name of the input element, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname).",
799
- "name": "name",
796
+ "type": {
797
+ "defaultValue": {
798
+ "value": "'text'"
799
+ },
800
+ "description": "The type of input to render. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdeftype).",
801
+ "name": "type",
800
802
  "parent": {
801
803
  "fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.34.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
802
- "name": "InputDOMProps"
804
+ "name": "TextInputDOMProps"
803
805
  },
804
806
  "declarations": [
805
807
  {
806
808
  "fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.34.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
807
- "name": "InputDOMProps"
809
+ "name": "TextInputDOMProps"
808
810
  }
809
811
  ],
810
812
  "required": false,
811
813
  "type": {
812
- "name": "string"
814
+ "name": "\"search\" | \"text\" | (string & {}) | \"tel\" | \"url\" | \"email\" | \"password\""
813
815
  }
814
816
  },
815
- "type": {
816
- "defaultValue": {
817
- "value": "'text'"
818
- },
819
- "description": "The type of input to render. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdeftype).",
820
- "name": "type",
817
+ "name": {
818
+ "defaultValue": null,
819
+ "description": "The name of the input element, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname).",
820
+ "name": "name",
821
821
  "parent": {
822
822
  "fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.34.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
823
- "name": "TextInputDOMProps"
823
+ "name": "InputDOMProps"
824
824
  },
825
825
  "declarations": [
826
826
  {
827
827
  "fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.34.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
828
- "name": "TextInputDOMProps"
828
+ "name": "InputDOMProps"
829
829
  }
830
830
  ],
831
831
  "required": false,
832
832
  "type": {
833
- "name": "\"search\" | \"text\" | (string & {}) | \"tel\" | \"url\" | \"email\" | \"password\""
833
+ "name": "string"
834
834
  }
835
835
  },
836
836
  "value": {
@@ -795,6 +795,23 @@
795
795
  "name": "ReactEventHandler<HTMLInputElement>"
796
796
  }
797
797
  },
798
+ "variant": {
799
+ "defaultValue": {
800
+ "value": "\"solid\""
801
+ },
802
+ "description": "Visual style variant of the text input",
803
+ "name": "variant",
804
+ "declarations": [
805
+ {
806
+ "fileName": "nimbus/packages/nimbus/src/components/text-input/text-input.types.ts",
807
+ "name": "TypeLiteral"
808
+ }
809
+ ],
810
+ "required": false,
811
+ "type": {
812
+ "name": "ConditionalValue<\"solid\" | \"ghost\">"
813
+ }
814
+ },
798
815
  "name": {
799
816
  "defaultValue": null,
800
817
  "description": "The name of the input element, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname).",
@@ -833,23 +850,6 @@
833
850
  "name": "string"
834
851
  }
835
852
  },
836
- "variant": {
837
- "defaultValue": {
838
- "value": "\"solid\""
839
- },
840
- "description": "Visual style variant of the text input",
841
- "name": "variant",
842
- "declarations": [
843
- {
844
- "fileName": "nimbus/packages/nimbus/src/components/text-input/text-input.types.ts",
845
- "name": "TypeLiteral"
846
- }
847
- ],
848
- "required": false,
849
- "type": {
850
- "name": "ConditionalValue<\"solid\" | \"ghost\">"
851
- }
852
- },
853
853
  "isDisabled": {
854
854
  "defaultValue": null,
855
855
  "description": "Whether the input is disabled.",
@@ -39,6 +39,23 @@
39
39
  "name": "SemanticPalettesOnly"
40
40
  }
41
41
  },
42
+ "variant": {
43
+ "defaultValue": {
44
+ "value": "\"outline\""
45
+ },
46
+ "description": "Visual style variant of the toggle button",
47
+ "name": "variant",
48
+ "declarations": [
49
+ {
50
+ "fileName": "nimbus/packages/nimbus/src/components/toggle-button/toggle-button.types.ts",
51
+ "name": "TypeLiteral"
52
+ }
53
+ ],
54
+ "required": false,
55
+ "type": {
56
+ "name": "ConditionalValue<\"outline\" | \"ghost\">"
57
+ }
58
+ },
42
59
  "type": {
43
60
  "defaultValue": null,
44
61
  "description": "",
@@ -58,23 +75,6 @@
58
75
  "name": "string"
59
76
  }
60
77
  },
61
- "variant": {
62
- "defaultValue": {
63
- "value": "\"outline\""
64
- },
65
- "description": "Visual style variant of the toggle button",
66
- "name": "variant",
67
- "declarations": [
68
- {
69
- "fileName": "nimbus/packages/nimbus/src/components/toggle-button/toggle-button.types.ts",
70
- "name": "TypeLiteral"
71
- }
72
- ],
73
- "required": false,
74
- "type": {
75
- "name": "ConditionalValue<\"outline\" | \"ghost\">"
76
- }
77
- },
78
78
  "className": {
79
79
  "defaultValue": {
80
80
  "value": "'react-aria-ToggleButton'"
@@ -48,6 +48,21 @@
48
48
  ]
49
49
  }
50
50
  },
51
+ "variant": {
52
+ "defaultValue": null,
53
+ "description": "Visual style variant of the toolbar",
54
+ "name": "variant",
55
+ "declarations": [
56
+ {
57
+ "fileName": "nimbus/packages/nimbus/src/components/toolbar/toolbar.types.ts",
58
+ "name": "TypeLiteral"
59
+ }
60
+ ],
61
+ "required": false,
62
+ "type": {
63
+ "name": "ConditionalValue<\"outline\" | \"plain\">"
64
+ }
65
+ },
51
66
  "unstyled": {
52
67
  "defaultValue": null,
53
68
  "description": "If `true`, the element will opt out of the theme styles.",
@@ -67,21 +82,6 @@
67
82
  "name": "boolean"
68
83
  }
69
84
  },
70
- "variant": {
71
- "defaultValue": null,
72
- "description": "Visual style variant of the toolbar",
73
- "name": "variant",
74
- "declarations": [
75
- {
76
- "fileName": "nimbus/packages/nimbus/src/components/toolbar/toolbar.types.ts",
77
- "name": "TypeLiteral"
78
- }
79
- ],
80
- "required": false,
81
- "type": {
82
- "name": "ConditionalValue<\"outline\" | \"plain\">"
83
- }
84
- },
85
85
  "orientation": {
86
86
  "defaultValue": {
87
87
  "value": "horizontal"
@@ -24,25 +24,6 @@
24
24
  "name": "boolean"
25
25
  }
26
26
  },
27
- "isOpen": {
28
- "defaultValue": null,
29
- "description": "Whether the element is rendered.",
30
- "name": "isOpen",
31
- "parent": {
32
- "fileName": "nimbus/node_modules/.pnpm/react-aria@3.48.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/overlays/useOverlayPosition.d.ts",
33
- "name": "PositionProps"
34
- },
35
- "declarations": [
36
- {
37
- "fileName": "nimbus/node_modules/.pnpm/react-aria@3.48.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/overlays/useOverlayPosition.d.ts",
38
- "name": "PositionProps"
39
- }
40
- ],
41
- "required": false,
42
- "type": {
43
- "name": "boolean"
44
- }
45
- },
46
27
  "placement": {
47
28
  "defaultValue": {
48
29
  "value": "bottom"
@@ -133,6 +114,25 @@
133
114
  ]
134
115
  }
135
116
  },
117
+ "isOpen": {
118
+ "defaultValue": null,
119
+ "description": "Whether the element is rendered.",
120
+ "name": "isOpen",
121
+ "parent": {
122
+ "fileName": "nimbus/node_modules/.pnpm/react-aria@3.48.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/overlays/useOverlayPosition.d.ts",
123
+ "name": "PositionProps"
124
+ },
125
+ "declarations": [
126
+ {
127
+ "fileName": "nimbus/node_modules/.pnpm/react-aria@3.48.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/overlays/useOverlayPosition.d.ts",
128
+ "name": "PositionProps"
129
+ }
130
+ ],
131
+ "required": false,
132
+ "type": {
133
+ "name": "boolean"
134
+ }
135
+ },
136
136
  "containerPadding": {
137
137
  "defaultValue": {
138
138
  "value": "12"
@@ -85,13 +85,13 @@
85
85
  "required": false,
86
86
  "type": {
87
87
  "name": "enum",
88
- "raw": "\"focus\" | \"hover\"",
88
+ "raw": "\"hover\" | \"focus\"",
89
89
  "value": [
90
90
  {
91
- "value": "\"focus\""
91
+ "value": "\"hover\""
92
92
  },
93
93
  {
94
- "value": "\"hover\""
94
+ "value": "\"focus\""
95
95
  }
96
96
  ]
97
97
  }
@@ -1,4 +1,16 @@
1
1
  {
2
+ "ScrollArea": "ScrollArea",
3
+ "ScrollAreaProps": "ScrollAreaProps",
4
+ "ScrollAreaElementIds": "ScrollAreaElementIds",
5
+ "toast": "toast",
6
+ "ToastOutlet": "ToastOutlet",
7
+ "ToastType": "ToastType",
8
+ "ToastVariant": "ToastVariant",
9
+ "ToastPlacement": "ToastPlacement",
10
+ "ToastAction": "ToastAction",
11
+ "ToastOptions": "ToastOptions",
12
+ "ToastPromiseOptions": "ToastPromiseOptions",
13
+ "ToastManagerApi": "ToastManagerApi",
2
14
  "Avatar": "Avatar",
3
15
  "Box": "Box",
4
16
  "Button": "Button",
@@ -73,7 +85,6 @@
73
85
  "Row": "Row",
74
86
  "ColumnHeader": "ColumnHeader",
75
87
  "Cell": "Cell",
76
- "ScrollArea": "ScrollArea",
77
88
  "ColumnGroup": "ColumnGroup",
78
89
  "Column": "Column",
79
90
  "TableRootProps": "TableRootProps",
@@ -209,15 +220,6 @@
209
220
  "TabProps": "TabProps",
210
221
  "TabPanelsProps": "TabPanelsProps",
211
222
  "TabPanelProps": "TabPanelProps",
212
- "toast": "toast",
213
- "ToastOutlet": "ToastOutlet",
214
- "ToastType": "ToastType",
215
- "ToastVariant": "ToastVariant",
216
- "ToastPlacement": "ToastPlacement",
217
- "ToastAction": "ToastAction",
218
- "ToastOptions": "ToastOptions",
219
- "ToastPromiseOptions": "ToastPromiseOptions",
220
- "ToastManagerApi": "ToastManagerApi",
221
223
  "LocalizedField": "LocalizedField",
222
224
  "Steps": "Steps",
223
225
  "StepsRoot": "StepsRoot",
@@ -32,10 +32,10 @@
32
32
  "value": "\"error\""
33
33
  },
34
34
  {
35
- "value": "\"loading\""
35
+ "value": "\"success\""
36
36
  },
37
37
  {
38
- "value": "\"success\""
38
+ "value": "\"loading\""
39
39
  }
40
40
  ]
41
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools/nimbus-mcp",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "MCP server for the Nimbus design system",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -33,9 +33,9 @@
33
33
  "tsup": "^8.5.1",
34
34
  "tsx": "^4.21.0",
35
35
  "typescript": "~5.9.3",
36
- "@commercetools/nimbus": "^2.10.0",
37
- "@commercetools/nimbus-icons": "^2.10.0",
38
- "@commercetools/nimbus-tokens": "^2.10.0"
36
+ "@commercetools/nimbus": "^2.11.0",
37
+ "@commercetools/nimbus-icons": "^2.11.0",
38
+ "@commercetools/nimbus-tokens": "^2.11.0"
39
39
  },
40
40
  "scripts": {
41
41
  "prebuild": "tsx scripts/prebuild.ts",