@commercetools/nimbus-mcp 3.0.0 → 3.1.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/data/docs/route-manifest.json +1407 -794
- package/data/docs/routes/components-data-display-data-table.json +66 -34
- package/data/docs/routes/components-data-display-draggable-list.json +62 -7
- package/data/docs/routes/components-inputs-checkbox.json +2 -2
- package/data/docs/routes/components-layout-splitter.json +654 -0
- package/data/docs/routes/components-utilities-region.json +265 -0
- package/data/docs/routes/home-getting-started-bundler-plugins.json +248 -0
- package/data/docs/routes/hooks-usedraganddrop.json +310 -0
- package/data/docs/routes/patterns-actions.json +78 -0
- package/data/docs/routes/patterns-dialogs-confirmation-dialog.json +391 -0
- package/data/docs/routes/patterns-dialogs-form-dialog.json +358 -0
- package/data/docs/routes/patterns-dialogs.json +2 -2
- package/data/docs/routes/patterns-pages-public-page-layout.json +371 -0
- package/data/docs/routes/patterns-pages.json +78 -0
- package/data/docs/search-index.json +1 -1
- package/data/docs/types/AccordionContent.json +32 -32
- package/data/docs/types/AccordionHeader.json +102 -102
- package/data/docs/types/AccordionItem.json +28 -28
- package/data/docs/types/AccordionRoot.json +15 -15
- package/data/docs/types/AlertDescription.json +8 -8
- package/data/docs/types/AlertDismissButton.json +89 -89
- package/data/docs/types/AlertTitle.json +8 -8
- package/data/docs/types/Avatar.json +2 -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 +97 -97
- package/data/docs/types/Calendar.json +111 -65
- 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/Checkbox.json +99 -99
- package/data/docs/types/Code.json +10 -10
- 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 +80 -80
- package/data/docs/types/ComboBoxOption.json +77 -77
- package/data/docs/types/ComboBoxPopover.json +77 -77
- package/data/docs/types/ComboBoxRoot.json +8 -8
- package/data/docs/types/ComboBoxSection.json +29 -29
- package/data/docs/types/ComboBoxTrigger.json +6 -6
- package/data/docs/types/ConfirmationDialog.json +224 -0
- package/data/docs/types/Content.json +2 -2
- package/data/docs/types/DataTable.json +17 -2
- package/data/docs/types/DataTableBody.json +24 -24
- package/data/docs/types/DataTableHeader.json +31 -31
- package/data/docs/types/DataTableRoot.json +17 -2
- package/data/docs/types/DataTableTable.json +35 -20
- package/data/docs/types/DateInput.json +84 -84
- package/data/docs/types/DatePicker.json +65 -65
- package/data/docs/types/DateRangePicker.json +99 -99
- package/data/docs/types/DateRangePickerField.json +99 -99
- package/data/docs/types/DefaultPageBackLink.json +16 -16
- package/data/docs/types/DefaultPageRoot.json +2 -2
- package/data/docs/types/DialogCloseTrigger.json +87 -87
- package/data/docs/types/DialogTrigger.json +2 -2
- package/data/docs/types/DragAndDropItemData.json +9 -0
- package/data/docs/types/DragAndDropProps.json +9 -0
- package/data/docs/types/DraggableListField.json +159 -70
- package/data/docs/types/DraggableListItem.json +63 -63
- package/data/docs/types/DraggableListRoot.json +159 -70
- package/data/docs/types/DrawerCloseTrigger.json +87 -87
- package/data/docs/types/DrawerTrigger.json +2 -2
- package/data/docs/types/FieldErrors.json +2 -2
- package/data/docs/types/Flex.json +22 -22
- package/data/docs/types/Footer.json +6 -6
- package/data/docs/types/FormDialog.json +198 -0
- 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 +97 -97
- package/data/docs/types/IconToggleButton.json +84 -84
- package/data/docs/types/Image.json +30 -30
- 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 +31 -31
- package/data/docs/types/ListIndicator.json +6 -6
- package/data/docs/types/ListItem.json +6 -6
- package/data/docs/types/ListRoot.json +10 -10
- package/data/docs/types/LoadingSpinner.json +2 -2
- package/data/docs/types/MakeElementFocusable.json +19 -19
- package/data/docs/types/MenuItem.json +75 -75
- package/data/docs/types/MenuRoot.json +63 -63
- package/data/docs/types/MenuSection.json +35 -54
- package/data/docs/types/MenuSubmenuTrigger.json +5 -5
- package/data/docs/types/MenuTrigger.json +102 -102
- package/data/docs/types/MultilineTextInput.json +134 -134
- package/data/docs/types/MultilineTextInputField.json +131 -131
- package/data/docs/types/NumberInput.json +100 -100
- package/data/docs/types/NumberInputField.json +95 -95
- package/data/docs/types/PageContentColumn.json +6 -6
- package/data/docs/types/PageContentRoot.json +6 -6
- package/data/docs/types/PasswordInput.json +129 -129
- package/data/docs/types/PasswordInputField.json +129 -129
- package/data/docs/types/ProgressBar.json +14 -14
- package/data/docs/types/PublicPageLayout.json +99 -0
- package/data/docs/types/RadioInputOption.json +64 -64
- package/data/docs/types/RadioInputRoot.json +55 -55
- package/data/docs/types/RangeCalendar.json +90 -71
- package/data/docs/types/Region.json +114 -0
- package/data/docs/types/RegionProvider.json +25 -0
- package/data/docs/types/RegionTarget.json +112 -0
- package/data/docs/types/RichTextInput.json +2 -2
- package/data/docs/types/Root.json +10 -10
- package/data/docs/types/Row.json +6 -6
- package/data/docs/types/SPLITTER_SIZE_TOKENS.json +9 -0
- package/data/docs/types/ScrollArea.json +2 -2
- package/data/docs/types/SearchInput.json +136 -136
- package/data/docs/types/SearchInputField.json +131 -131
- package/data/docs/types/SelectOption.json +66 -66
- package/data/docs/types/SelectOptionGroup.json +22 -22
- package/data/docs/types/SelectOptions.json +74 -74
- package/data/docs/types/SelectRoot.json +102 -102
- package/data/docs/types/Separator.json +4 -4
- package/data/docs/types/SimpleGrid.json +28 -28
- package/data/docs/types/SplitButton.json +12 -12
- package/data/docs/types/Splitter.json +12 -0
- package/data/docs/types/SplitterAside.json +27 -0
- package/data/docs/types/SplitterHandle.json +27 -0
- package/data/docs/types/SplitterMain.json +27 -0
- package/data/docs/types/SplitterRoot.json +271 -0
- package/data/docs/types/SplitterSizeToken.json +9 -0
- 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 +38 -38
- package/data/docs/types/TabNavItem.json +18 -18
- package/data/docs/types/TabNavRoot.json +2 -2
- 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 +32 -32
- package/data/docs/types/TableRow.json +6 -6
- package/data/docs/types/TableScrollArea.json +6 -6
- package/data/docs/types/TabsTab.json +2 -2
- package/data/docs/types/TagGroupRoot.json +27 -27
- package/data/docs/types/TagGroupTag.json +68 -68
- package/data/docs/types/TagGroupTagList.json +18 -18
- package/data/docs/types/Text.json +8 -8
- package/data/docs/types/TextInput.json +132 -132
- package/data/docs/types/TextInputField.json +129 -129
- package/data/docs/types/TimeInput.json +78 -78
- package/data/docs/types/ToggleButton.json +86 -86
- package/data/docs/types/ToggleButtonGroupButton.json +33 -33
- package/data/docs/types/ToggleButtonGroupRoot.json +20 -20
- package/data/docs/types/Toolbar.json +12 -12
- package/data/docs/types/TooltipContent.json +31 -31
- package/data/docs/types/TooltipRoot.json +18 -18
- package/data/docs/types/Trigger.json +4 -4
- package/data/docs/types/UseDragAndDropOptions.json +9 -0
- package/data/docs/types/VisuallyHidden.json +7 -7
- package/data/docs/types/createArrayHandlers.json +12 -0
- package/data/docs/types/createItemsFromCsvDrop.json +833 -0
- package/data/docs/types/createItemsFromDirectoryDrop.json +833 -0
- package/data/docs/types/createItemsFromFileDrop.json +833 -0
- package/data/docs/types/createItemsFromImageDrop.json +833 -0
- package/data/docs/types/createItemsFromJsonDrop.json +833 -0
- package/data/docs/types/createItemsFromTextDrop.json +12 -0
- package/data/docs/types/createListDataHandlers.json +102 -0
- package/data/docs/types/manifest.json +29 -2
- package/data/docs/types/useDragAndDrop.json +174 -0
- package/data/docs/types/useRegion.json +1052 -0
- package/data/docs/types/useResponsiveSplitterSizes.json +143 -0
- package/package.json +6 -6
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"description": "",
|
|
13
13
|
"name": "type",
|
|
14
14
|
"parent": {
|
|
15
|
-
"fileName": "nimbus/node_modules/.pnpm/@types+react@19.2.
|
|
15
|
+
"fileName": "nimbus/node_modules/.pnpm/@types+react@19.2.16/node_modules/@types/react/index.d.ts",
|
|
16
16
|
"name": "AnchorHTMLAttributes"
|
|
17
17
|
},
|
|
18
18
|
"declarations": [
|
|
19
19
|
{
|
|
20
|
-
"fileName": "nimbus/node_modules/.pnpm/@types+react@19.2.
|
|
20
|
+
"fileName": "nimbus/node_modules/.pnpm/@types+react@19.2.16/node_modules/@types/react/index.d.ts",
|
|
21
21
|
"name": "AnchorHTMLAttributes"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"description": "If `true`, the element will opt out of the theme styles.",
|
|
14
14
|
"name": "unstyled",
|
|
15
15
|
"parent": {
|
|
16
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
16
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
17
17
|
"name": "UnstyledProp"
|
|
18
18
|
},
|
|
19
19
|
"declarations": [
|
|
20
20
|
{
|
|
21
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
21
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
22
22
|
"name": "UnstyledProp"
|
|
23
23
|
}
|
|
24
24
|
],
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"description": "",
|
|
15
15
|
"name": "css",
|
|
16
16
|
"parent": {
|
|
17
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
17
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
18
18
|
"name": "JsxStyleProps"
|
|
19
19
|
},
|
|
20
20
|
"declarations": [
|
|
21
21
|
{
|
|
22
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
22
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
23
23
|
"name": "JsxStyleProps"
|
|
24
24
|
}
|
|
25
25
|
],
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"description": "",
|
|
34
34
|
"name": "align",
|
|
35
35
|
"parent": {
|
|
36
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
36
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
37
37
|
"name": "FlexOptions"
|
|
38
38
|
},
|
|
39
39
|
"declarations": [
|
|
40
40
|
{
|
|
41
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
41
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
42
42
|
"name": "FlexOptions"
|
|
43
43
|
}
|
|
44
44
|
],
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"description": "",
|
|
53
53
|
"name": "justify",
|
|
54
54
|
"parent": {
|
|
55
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
55
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
56
56
|
"name": "FlexOptions"
|
|
57
57
|
},
|
|
58
58
|
"declarations": [
|
|
59
59
|
{
|
|
60
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
60
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
61
61
|
"name": "FlexOptions"
|
|
62
62
|
}
|
|
63
63
|
],
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"description": "",
|
|
72
72
|
"name": "wrap",
|
|
73
73
|
"parent": {
|
|
74
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
74
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
75
75
|
"name": "FlexOptions"
|
|
76
76
|
},
|
|
77
77
|
"declarations": [
|
|
78
78
|
{
|
|
79
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
79
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
80
80
|
"name": "FlexOptions"
|
|
81
81
|
}
|
|
82
82
|
],
|
|
@@ -90,12 +90,12 @@
|
|
|
90
90
|
"description": "",
|
|
91
91
|
"name": "direction",
|
|
92
92
|
"parent": {
|
|
93
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
93
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
94
94
|
"name": "FlexOptions"
|
|
95
95
|
},
|
|
96
96
|
"declarations": [
|
|
97
97
|
{
|
|
98
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
98
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
99
99
|
"name": "FlexOptions"
|
|
100
100
|
}
|
|
101
101
|
],
|
|
@@ -109,12 +109,12 @@
|
|
|
109
109
|
"description": "",
|
|
110
110
|
"name": "basis",
|
|
111
111
|
"parent": {
|
|
112
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
112
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
113
113
|
"name": "FlexOptions"
|
|
114
114
|
},
|
|
115
115
|
"declarations": [
|
|
116
116
|
{
|
|
117
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
117
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
118
118
|
"name": "FlexOptions"
|
|
119
119
|
}
|
|
120
120
|
],
|
|
@@ -128,12 +128,12 @@
|
|
|
128
128
|
"description": "",
|
|
129
129
|
"name": "grow",
|
|
130
130
|
"parent": {
|
|
131
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
131
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
132
132
|
"name": "FlexOptions"
|
|
133
133
|
},
|
|
134
134
|
"declarations": [
|
|
135
135
|
{
|
|
136
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
136
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
137
137
|
"name": "FlexOptions"
|
|
138
138
|
}
|
|
139
139
|
],
|
|
@@ -147,12 +147,12 @@
|
|
|
147
147
|
"description": "",
|
|
148
148
|
"name": "shrink",
|
|
149
149
|
"parent": {
|
|
150
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
150
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
151
151
|
"name": "FlexOptions"
|
|
152
152
|
},
|
|
153
153
|
"declarations": [
|
|
154
154
|
{
|
|
155
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
155
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
156
156
|
"name": "FlexOptions"
|
|
157
157
|
}
|
|
158
158
|
],
|
|
@@ -166,12 +166,12 @@
|
|
|
166
166
|
"description": "",
|
|
167
167
|
"name": "inline",
|
|
168
168
|
"parent": {
|
|
169
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
169
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
170
170
|
"name": "FlexOptions"
|
|
171
171
|
},
|
|
172
172
|
"declarations": [
|
|
173
173
|
{
|
|
174
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
174
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/components/flex/flex.d.ts",
|
|
175
175
|
"name": "FlexOptions"
|
|
176
176
|
}
|
|
177
177
|
],
|
|
@@ -185,12 +185,12 @@
|
|
|
185
185
|
"description": "",
|
|
186
186
|
"name": "as",
|
|
187
187
|
"parent": {
|
|
188
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
188
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
189
189
|
"name": "PolymorphicProps"
|
|
190
190
|
},
|
|
191
191
|
"declarations": [
|
|
192
192
|
{
|
|
193
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
193
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
194
194
|
"name": "PolymorphicProps"
|
|
195
195
|
}
|
|
196
196
|
],
|
|
@@ -204,12 +204,12 @@
|
|
|
204
204
|
"description": "",
|
|
205
205
|
"name": "asChild",
|
|
206
206
|
"parent": {
|
|
207
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
207
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
208
208
|
"name": "PolymorphicProps"
|
|
209
209
|
},
|
|
210
210
|
"declarations": [
|
|
211
211
|
{
|
|
212
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
212
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
213
213
|
"name": "PolymorphicProps"
|
|
214
214
|
}
|
|
215
215
|
],
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"description": "",
|
|
11
11
|
"name": "css",
|
|
12
12
|
"parent": {
|
|
13
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
13
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
14
14
|
"name": "JsxStyleProps"
|
|
15
15
|
},
|
|
16
16
|
"declarations": [
|
|
17
17
|
{
|
|
18
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
18
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
19
19
|
"name": "JsxStyleProps"
|
|
20
20
|
}
|
|
21
21
|
],
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"description": "",
|
|
30
30
|
"name": "as",
|
|
31
31
|
"parent": {
|
|
32
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
32
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
33
33
|
"name": "PolymorphicProps"
|
|
34
34
|
},
|
|
35
35
|
"declarations": [
|
|
36
36
|
{
|
|
37
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
37
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
38
38
|
"name": "PolymorphicProps"
|
|
39
39
|
}
|
|
40
40
|
],
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"description": "",
|
|
49
49
|
"name": "asChild",
|
|
50
50
|
"parent": {
|
|
51
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
51
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
52
52
|
"name": "PolymorphicProps"
|
|
53
53
|
},
|
|
54
54
|
"declarations": [
|
|
55
55
|
{
|
|
56
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
56
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
57
57
|
"name": "PolymorphicProps"
|
|
58
58
|
}
|
|
59
59
|
],
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tags": {
|
|
3
|
+
"example": "```tsx\nconst [isOpen, setIsOpen] = useState(false);\n\n<FormDialog\n title=\"Edit profile\"\n isOpen={isOpen}\n onOpenChange={setIsOpen}\n onSave={handleSave}\n onCancel={() => setIsOpen(false)}\n isSaveDisabled={!isDirty}\n>\n <TextInput label=\"Display name\" value={name} onChange={setName} />\n</FormDialog>\n```"
|
|
4
|
+
},
|
|
5
|
+
"filePath": "/home/runner/work/nimbus/nimbus/packages/nimbus/src/index.ts",
|
|
6
|
+
"description": "# FormDialog\n\nA pre-composed save/cancel dialog pattern built on top of the Nimbus\n`Dialog` and `Button` primitives, shaped for hosting an editable form\nin the body. Exposes a flat API (`title`, `children`, `onSave`,\n`onCancel`, plus optional state, label, and accessibility props) for\nthe common case of editing data inside a modal.\n\nClose affordances: clicking the cancel button, the X button in the\nheader, pressing Escape, or clicking the overlay all invoke\n`onCancel` and `onOpenChange(false)`. Clicking the save button\ninvokes `onSave` and then closes — synchronously for `void` returns,\nor after the returned `Promise` fulfills for async saves; rejected\npromises leave the dialog open so the consumer can surface\nvalidation errors. The save path never fires `onCancel`.\n\nWhen `isSaveLoading` is `true` the entire dialog is locked: the save\nbutton shows a spinner and is disabled, the cancel button is\ndisabled, and Escape / overlay click / close-button click are all\nsuppressed.\n\nThe pattern does not wrap `children` in a native `<form>` element.\nConsumers wanting Enter-to-submit semantics or browser-native\nvalidation should wrap their fields in\n`<form onSubmit={handleSubmit}>` inside `children` and call `onSave`\nfrom `handleSubmit`.",
|
|
7
|
+
"displayName": "FormDialog",
|
|
8
|
+
"methods": [],
|
|
9
|
+
"props": {
|
|
10
|
+
"title": {
|
|
11
|
+
"defaultValue": null,
|
|
12
|
+
"description": "Title rendered inside the dialog header.\n\nWhen passed as a string, the dialog's accessible name is derived\nfrom the string automatically. When passed as a ReactNode (for\nexample a composed heading with an icon or badge), pair with\n`aria-label` if the composed markup would not produce a meaningful\naccessible name.",
|
|
13
|
+
"name": "title",
|
|
14
|
+
"declarations": [
|
|
15
|
+
{
|
|
16
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
17
|
+
"name": "TypeLiteral"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"required": true,
|
|
21
|
+
"type": {
|
|
22
|
+
"name": "ReactNode"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"children": {
|
|
26
|
+
"defaultValue": null,
|
|
27
|
+
"description": "Form content rendered inside the dialog body.\n\nThe pattern does NOT wrap children in a native `<form>` element —\n`onSave` is invoked from the save button's `onPress`, not from a\nform `submit` event. Consumers wanting Enter-to-submit semantics or\nbrowser-native validation should wrap their fields in\n`<form onSubmit={handleSubmit}>` inside `children` and call the\npattern's `onSave` from `handleSubmit`.\n\nLong content scrolls within the body; the header and footer remain\npinned at the top and bottom of the dialog respectively.",
|
|
28
|
+
"name": "children",
|
|
29
|
+
"declarations": [
|
|
30
|
+
{
|
|
31
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
32
|
+
"name": "TypeLiteral"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"required": true,
|
|
36
|
+
"type": {
|
|
37
|
+
"name": "ReactNode"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"onSave": {
|
|
41
|
+
"defaultValue": null,
|
|
42
|
+
"description": "Callback fired when the user explicitly saves by clicking the save\nbutton. Not invoked when the dialog is dismissed via the cancel\nbutton, the close button in the header, the Escape key, or an\noverlay click.\n\nIf the callback returns a `Promise`, the dialog stays open while\nthe promise is pending and closes automatically when it fulfills.\nIf the promise rejects, the dialog stays open so the consumer can\nsurface validation errors and let the user correct and retry —\npair with `isSaveLoading` to render the spinner / lockout while\nthe promise is in flight.\n\nOnly native `Promise` instances are awaited. Custom thenables\n(e.g. a third-party Promise polyfill) are treated as synchronous\nreturns and the dialog closes immediately.",
|
|
43
|
+
"name": "onSave",
|
|
44
|
+
"declarations": [
|
|
45
|
+
{
|
|
46
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
47
|
+
"name": "TypeLiteral"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"required": true,
|
|
51
|
+
"type": {
|
|
52
|
+
"name": "() => void | Promise<void>"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"onCancel": {
|
|
56
|
+
"defaultValue": null,
|
|
57
|
+
"description": "Callback fired when the user cancels — by clicking the cancel\nbutton, the close button in the header, pressing Escape, or\nclicking the overlay. Always paired with `onOpenChange(false)` so\nconsumers can distinguish a semantic cancel from a generic\nopen-state change.",
|
|
58
|
+
"name": "onCancel",
|
|
59
|
+
"declarations": [
|
|
60
|
+
{
|
|
61
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
62
|
+
"name": "TypeLiteral"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"required": true,
|
|
66
|
+
"type": {
|
|
67
|
+
"name": "() => void"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"isOpen": {
|
|
71
|
+
"defaultValue": null,
|
|
72
|
+
"description": "Whether the dialog is open (controlled mode).\n\nPair with `onOpenChange` to drive the dialog from consumer state.\nWhen omitted, use `defaultOpen` to start the dialog open in\nuncontrolled mode.",
|
|
73
|
+
"name": "isOpen",
|
|
74
|
+
"declarations": [
|
|
75
|
+
{
|
|
76
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
77
|
+
"name": "TypeLiteral"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"required": false,
|
|
81
|
+
"type": {
|
|
82
|
+
"name": "boolean"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"defaultOpen": {
|
|
86
|
+
"defaultValue": {
|
|
87
|
+
"value": "false"
|
|
88
|
+
},
|
|
89
|
+
"description": "Whether the dialog is open by default (uncontrolled mode).\n\nUse when the consumer does not need to observe or control the open\nstate. Ignored when `isOpen` is provided.",
|
|
90
|
+
"name": "defaultOpen",
|
|
91
|
+
"declarations": [
|
|
92
|
+
{
|
|
93
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
94
|
+
"name": "TypeLiteral"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"required": false,
|
|
98
|
+
"type": {
|
|
99
|
+
"name": "boolean"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"onOpenChange": {
|
|
103
|
+
"defaultValue": null,
|
|
104
|
+
"description": "Callback fired when the open state changes. Invoked with `false`\nwhenever the dialog is closed via any affordance (save, cancel,\nclose button, Escape, overlay click).",
|
|
105
|
+
"name": "onOpenChange",
|
|
106
|
+
"declarations": [
|
|
107
|
+
{
|
|
108
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
109
|
+
"name": "TypeLiteral"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"required": false,
|
|
113
|
+
"type": {
|
|
114
|
+
"name": "((isOpen: boolean) => void)"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"saveLabel": {
|
|
118
|
+
"defaultValue": null,
|
|
119
|
+
"description": "Label for the save button.\n\nWhen omitted, the button renders the localized default\n`Nimbus.FormDialog.save` (\"Save\" in English).",
|
|
120
|
+
"name": "saveLabel",
|
|
121
|
+
"declarations": [
|
|
122
|
+
{
|
|
123
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
124
|
+
"name": "TypeLiteral"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"required": false,
|
|
128
|
+
"type": {
|
|
129
|
+
"name": "ReactNode"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"cancelLabel": {
|
|
133
|
+
"defaultValue": null,
|
|
134
|
+
"description": "Label for the cancel button.\n\nWhen omitted, the button renders the localized default\n`Nimbus.FormDialog.cancel` (\"Cancel\" in English).",
|
|
135
|
+
"name": "cancelLabel",
|
|
136
|
+
"declarations": [
|
|
137
|
+
{
|
|
138
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
139
|
+
"name": "TypeLiteral"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"required": false,
|
|
143
|
+
"type": {
|
|
144
|
+
"name": "ReactNode"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"isSaveDisabled": {
|
|
148
|
+
"defaultValue": {
|
|
149
|
+
"value": "false"
|
|
150
|
+
},
|
|
151
|
+
"description": "Whether the save button is disabled.\n\nUse to gate the save action on consumer-side validity (e.g.\nrequired form fields are empty or invalid).",
|
|
152
|
+
"name": "isSaveDisabled",
|
|
153
|
+
"declarations": [
|
|
154
|
+
{
|
|
155
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
156
|
+
"name": "TypeLiteral"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"required": false,
|
|
160
|
+
"type": {
|
|
161
|
+
"name": "boolean"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"isSaveLoading": {
|
|
165
|
+
"defaultValue": {
|
|
166
|
+
"value": "false"
|
|
167
|
+
},
|
|
168
|
+
"description": "Whether the save action is in flight.\n\nWhen `true`, the save button shows a loading spinner and is\ndisabled, the cancel button is also disabled, and the dialog's\ndismiss affordances (Escape, overlay click, close button) are\nsuppressed for the duration — preventing races between save and\ncancel and protecting against in-flight data loss.",
|
|
169
|
+
"name": "isSaveLoading",
|
|
170
|
+
"declarations": [
|
|
171
|
+
{
|
|
172
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
173
|
+
"name": "TypeLiteral"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"required": false,
|
|
177
|
+
"type": {
|
|
178
|
+
"name": "boolean"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"aria-label": {
|
|
182
|
+
"defaultValue": null,
|
|
183
|
+
"description": "Accessible label for the dialog, forwarded to the underlying\n`Dialog.Root`.\n\nBy default the dialog's accessible name is derived from `title`.\nProvide this override when `title` is a composed `ReactNode` whose\ntext content would produce a confusing accessible name (for example\na title that concatenates inline badges or icons).",
|
|
184
|
+
"name": "aria-label",
|
|
185
|
+
"declarations": [
|
|
186
|
+
{
|
|
187
|
+
"fileName": "nimbus/packages/nimbus/src/patterns/dialogs/form-dialog/form-dialog.types.ts",
|
|
188
|
+
"name": "TypeLiteral"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"required": false,
|
|
192
|
+
"type": {
|
|
193
|
+
"name": "string"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"supportsStyleProps": false
|
|
198
|
+
}
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"description": "If `true`, the element will opt out of the theme styles.",
|
|
47
47
|
"name": "unstyled",
|
|
48
48
|
"parent": {
|
|
49
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
49
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
50
50
|
"name": "UnstyledProp"
|
|
51
51
|
},
|
|
52
52
|
"declarations": [
|
|
53
53
|
{
|
|
54
|
-
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.
|
|
54
|
+
"fileName": "nimbus/node_modules/.pnpm/@chakra-ui+react@3.36.0_@emotion+react@11.14.0_@types+react@19.2.16_react@19.2.0__react_4dad942fc8d022ec3a732dbb122ce5fe/node_modules/@chakra-ui/react/dist/types/styled-system/factory.types.d.ts",
|
|
55
55
|
"name": "UnstyledProp"
|
|
56
56
|
}
|
|
57
57
|
],
|