@commercetools/nimbus-mcp 3.2.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 +24 -24
- package/data/docs/types/AccordionHeader.json +88 -88
- package/data/docs/types/AccordionItem.json +20 -20
- 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 +6 -6
- 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 +86 -86
- package/data/docs/types/Code.json +11 -11
- package/data/docs/types/Column.json +6 -6
- package/data/docs/types/ColumnGroup.json +6 -6
- package/data/docs/types/ColumnHeader.json +6 -6
- 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 +24 -24
- package/data/docs/types/ComboBoxTrigger.json +6 -6
- package/data/docs/types/DataTable.json +2 -2
- package/data/docs/types/DataTableBody.json +20 -20
- package/data/docs/types/DataTableHeader.json +25 -25
- package/data/docs/types/DataTableRoot.json +2 -2
- package/data/docs/types/DataTableTable.json +6 -6
- 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/DefaultPageRoot.json +2 -2
- package/data/docs/types/DialogCloseTrigger.json +96 -79
- package/data/docs/types/DraggableListField.json +88 -60
- package/data/docs/types/DraggableListItem.json +52 -52
- package/data/docs/types/DraggableListRoot.json +88 -60
- package/data/docs/types/DrawerCloseTrigger.json +96 -79
- 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 +71 -71
- package/data/docs/types/Image.json +43 -43
- 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 +14 -14
- 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 +62 -62
- package/data/docs/types/MenuRoot.json +55 -55
- package/data/docs/types/MenuSection.json +30 -30
- package/data/docs/types/MenuSubmenuTrigger.json +4 -4
- package/data/docs/types/MenuTrigger.json +88 -88
- 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/Stack.json +2 -2
- package/data/docs/types/StepsRoot.json +2 -2
- package/data/docs/types/Switch.json +34 -34
- package/data/docs/types/TabNavItem.json +5 -5
- 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 +6 -6
- package/data/docs/types/TableColumn.json +6 -6
- package/data/docs/types/TableColumnGroup.json +6 -6
- package/data/docs/types/TableColumnHeader.json +6 -6
- package/data/docs/types/TableFooter.json +6 -6
- package/data/docs/types/TableHeader.json +6 -6
- package/data/docs/types/TableRoot.json +19 -19
- 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 +2 -2
- package/data/docs/types/TagGroupRoot.json +24 -24
- package/data/docs/types/TagGroupTag.json +56 -56
- package/data/docs/types/TagGroupTagList.json +14 -14
- 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 +73 -73
- package/data/docs/types/ToggleButtonGroupButton.json +30 -30
- 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/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 +25 -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,636 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tags": {
|
|
3
|
+
"supportsStyleProps": ""
|
|
4
|
+
},
|
|
5
|
+
"filePath": "/home/runner/work/nimbus/nimbus/packages/nimbus/src/index.ts",
|
|
6
|
+
"description": "Tree.Root\n\nThe root container for the tree. Wraps React Aria's `Tree`, providing the\nrecipe context, keyboard navigation, expand/collapse, type-ahead, selection\nand opt-in drag-and-drop (via the `dragAndDropHooks` prop).",
|
|
7
|
+
"displayName": "TreeRoot",
|
|
8
|
+
"methods": [],
|
|
9
|
+
"props": {
|
|
10
|
+
"slot": {
|
|
11
|
+
"defaultValue": null,
|
|
12
|
+
"description": "A slot name for the component. Slots allow the component to receive props from a parent\ncomponent. An explicit `null` value indicates that the local props completely override all\nprops received from a parent.",
|
|
13
|
+
"name": "slot",
|
|
14
|
+
"parent": {
|
|
15
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/utils.d.ts",
|
|
16
|
+
"name": "SlotProps"
|
|
17
|
+
},
|
|
18
|
+
"declarations": [
|
|
19
|
+
{
|
|
20
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/utils.d.ts",
|
|
21
|
+
"name": "SlotProps"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"required": false,
|
|
25
|
+
"type": {
|
|
26
|
+
"name": "string | null"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"autoFocus": {
|
|
30
|
+
"defaultValue": null,
|
|
31
|
+
"description": "Whether to auto focus the gridlist or an option.",
|
|
32
|
+
"name": "autoFocus",
|
|
33
|
+
"parent": {
|
|
34
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/gridlist/useGridList.d.ts",
|
|
35
|
+
"name": "GridListProps"
|
|
36
|
+
},
|
|
37
|
+
"declarations": [
|
|
38
|
+
{
|
|
39
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/gridlist/useGridList.d.ts",
|
|
40
|
+
"name": "GridListProps"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"fileName": "nimbus/node_modules/.pnpm/@types+react@19.2.17/node_modules/@types/react/index.d.ts",
|
|
44
|
+
"name": "HTMLAttributes"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"required": false,
|
|
48
|
+
"type": {
|
|
49
|
+
"name": "boolean"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"id": {
|
|
53
|
+
"defaultValue": null,
|
|
54
|
+
"description": "The element's unique identifier. See\n[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).",
|
|
55
|
+
"name": "id",
|
|
56
|
+
"parent": {
|
|
57
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
58
|
+
"name": "DOMProps"
|
|
59
|
+
},
|
|
60
|
+
"declarations": [
|
|
61
|
+
{
|
|
62
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
63
|
+
"name": "DOMProps"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"required": false,
|
|
67
|
+
"type": {
|
|
68
|
+
"name": "string"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"aria-describedby": {
|
|
72
|
+
"defaultValue": null,
|
|
73
|
+
"description": "Identifies the element (or elements) that describes the object.",
|
|
74
|
+
"name": "aria-describedby",
|
|
75
|
+
"parent": {
|
|
76
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
77
|
+
"name": "AriaLabelingProps"
|
|
78
|
+
},
|
|
79
|
+
"declarations": [
|
|
80
|
+
{
|
|
81
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
82
|
+
"name": "AriaLabelingProps"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"required": false,
|
|
86
|
+
"type": {
|
|
87
|
+
"name": "string"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"aria-details": {
|
|
91
|
+
"defaultValue": null,
|
|
92
|
+
"description": "Identifies the element (or elements) that provide a detailed, extended description for the\nobject.",
|
|
93
|
+
"name": "aria-details",
|
|
94
|
+
"parent": {
|
|
95
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
96
|
+
"name": "AriaLabelingProps"
|
|
97
|
+
},
|
|
98
|
+
"declarations": [
|
|
99
|
+
{
|
|
100
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
101
|
+
"name": "AriaLabelingProps"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"required": false,
|
|
105
|
+
"type": {
|
|
106
|
+
"name": "string"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"aria-label": {
|
|
110
|
+
"defaultValue": null,
|
|
111
|
+
"description": "Defines a string value that labels the current element.",
|
|
112
|
+
"name": "aria-label",
|
|
113
|
+
"parent": {
|
|
114
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
115
|
+
"name": "AriaLabelingProps"
|
|
116
|
+
},
|
|
117
|
+
"declarations": [
|
|
118
|
+
{
|
|
119
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
120
|
+
"name": "AriaLabelingProps"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"required": false,
|
|
124
|
+
"type": {
|
|
125
|
+
"name": "string"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"aria-labelledby": {
|
|
129
|
+
"defaultValue": null,
|
|
130
|
+
"description": "Identifies the element (or elements) that labels the current element.",
|
|
131
|
+
"name": "aria-labelledby",
|
|
132
|
+
"parent": {
|
|
133
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
134
|
+
"name": "AriaLabelingProps"
|
|
135
|
+
},
|
|
136
|
+
"declarations": [
|
|
137
|
+
{
|
|
138
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
139
|
+
"name": "AriaLabelingProps"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"required": false,
|
|
143
|
+
"type": {
|
|
144
|
+
"name": "string"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"children": {
|
|
148
|
+
"defaultValue": null,
|
|
149
|
+
"description": "The contents of the collection.",
|
|
150
|
+
"name": "children",
|
|
151
|
+
"parent": {
|
|
152
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Collection.d.ts",
|
|
153
|
+
"name": "CollectionProps"
|
|
154
|
+
},
|
|
155
|
+
"declarations": [
|
|
156
|
+
{
|
|
157
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Collection.d.ts",
|
|
158
|
+
"name": "CollectionProps"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"required": false,
|
|
162
|
+
"type": {
|
|
163
|
+
"name": "ReactNode | ((item: T) => ReactNode)"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"render": {
|
|
167
|
+
"defaultValue": null,
|
|
168
|
+
"description": "Overrides the default DOM element with a custom render function.\nThis allows rendering existing components with built-in styles and behaviors\nsuch as router links, animation libraries, and pre-styled components.\n\nRequirements:\n\n- You must render the expected element type (e.g. if `<button>` is expected, you cannot render an\n `<a>`).\n- Only a single root DOM element can be rendered (no fragments).\n- You must pass through props and ref to the underlying DOM element, merging with your own prop\n as appropriate.",
|
|
169
|
+
"name": "render",
|
|
170
|
+
"parent": {
|
|
171
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/utils.d.ts",
|
|
172
|
+
"name": "DOMRenderProps"
|
|
173
|
+
},
|
|
174
|
+
"declarations": [
|
|
175
|
+
{
|
|
176
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/utils.d.ts",
|
|
177
|
+
"name": "DOMRenderProps"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"required": false,
|
|
181
|
+
"type": {
|
|
182
|
+
"name": "DOMRenderFunction<\"div\", PopoverRenderProps>"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"renderEmptyState": {
|
|
186
|
+
"defaultValue": null,
|
|
187
|
+
"description": "Provides content to display when there are no items in the list.",
|
|
188
|
+
"name": "renderEmptyState",
|
|
189
|
+
"parent": {
|
|
190
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Tree.d.ts",
|
|
191
|
+
"name": "TreeProps"
|
|
192
|
+
},
|
|
193
|
+
"declarations": [
|
|
194
|
+
{
|
|
195
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Tree.d.ts",
|
|
196
|
+
"name": "TreeProps"
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"required": false,
|
|
200
|
+
"type": {
|
|
201
|
+
"name": "((props: TreeEmptyStateRenderProps) => ReactNode)"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"keyboardNavigationBehavior": {
|
|
205
|
+
"defaultValue": {
|
|
206
|
+
"value": "'arrow'"
|
|
207
|
+
},
|
|
208
|
+
"description": "Whether keyboard navigation to focusable elements within grid list items is\nvia the left/right arrow keys or the tab key.",
|
|
209
|
+
"name": "keyboardNavigationBehavior",
|
|
210
|
+
"parent": {
|
|
211
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/gridlist/useGridList.d.ts",
|
|
212
|
+
"name": "AriaGridListProps"
|
|
213
|
+
},
|
|
214
|
+
"declarations": [
|
|
215
|
+
{
|
|
216
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/gridlist/useGridList.d.ts",
|
|
217
|
+
"name": "AriaGridListProps"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"required": false,
|
|
221
|
+
"type": {
|
|
222
|
+
"name": "enum",
|
|
223
|
+
"raw": "\"tab\" | \"arrow\"",
|
|
224
|
+
"value": [
|
|
225
|
+
{
|
|
226
|
+
"value": "\"tab\""
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"value": "\"arrow\""
|
|
230
|
+
}
|
|
231
|
+
]
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"escapeKeyBehavior": {
|
|
235
|
+
"defaultValue": {
|
|
236
|
+
"value": "'clearSelection'"
|
|
237
|
+
},
|
|
238
|
+
"description": "Whether pressing the escape key should clear selection in the grid list or not.\n\nMost experiences should not modify this option as it eliminates a keyboard user's ability to\neasily clear selection. Only use if the escape key is being handled externally or should not\ntrigger selection clearing contextually.",
|
|
239
|
+
"name": "escapeKeyBehavior",
|
|
240
|
+
"parent": {
|
|
241
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/gridlist/useGridList.d.ts",
|
|
242
|
+
"name": "AriaGridListProps"
|
|
243
|
+
},
|
|
244
|
+
"declarations": [
|
|
245
|
+
{
|
|
246
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/gridlist/useGridList.d.ts",
|
|
247
|
+
"name": "AriaGridListProps"
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"required": false,
|
|
251
|
+
"type": {
|
|
252
|
+
"name": "enum",
|
|
253
|
+
"raw": "\"none\" | \"clearSelection\"",
|
|
254
|
+
"value": [
|
|
255
|
+
{
|
|
256
|
+
"value": "\"none\""
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"value": "\"clearSelection\""
|
|
260
|
+
}
|
|
261
|
+
]
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"onAction": {
|
|
265
|
+
"defaultValue": null,
|
|
266
|
+
"description": "Handler that is called when a user performs an action on an item. The exact user event depends\non the collection's `selectionBehavior` prop and the interaction modality.",
|
|
267
|
+
"name": "onAction",
|
|
268
|
+
"parent": {
|
|
269
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/gridlist/useGridList.d.ts",
|
|
270
|
+
"name": "GridListProps"
|
|
271
|
+
},
|
|
272
|
+
"declarations": [
|
|
273
|
+
{
|
|
274
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/gridlist/useGridList.d.ts",
|
|
275
|
+
"name": "GridListProps"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"required": false,
|
|
279
|
+
"type": {
|
|
280
|
+
"name": "((key: Key) => void)"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"disabledBehavior": {
|
|
284
|
+
"defaultValue": {
|
|
285
|
+
"value": "'all'"
|
|
286
|
+
},
|
|
287
|
+
"description": "Whether `disabledKeys` applies to all interactions, or only selection.",
|
|
288
|
+
"name": "disabledBehavior",
|
|
289
|
+
"parent": {
|
|
290
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Tree.d.ts",
|
|
291
|
+
"name": "TreeProps"
|
|
292
|
+
},
|
|
293
|
+
"declarations": [
|
|
294
|
+
{
|
|
295
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Tree.d.ts",
|
|
296
|
+
"name": "TreeProps"
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"required": false,
|
|
300
|
+
"type": {
|
|
301
|
+
"name": "enum",
|
|
302
|
+
"raw": "DisabledBehavior",
|
|
303
|
+
"value": [
|
|
304
|
+
{
|
|
305
|
+
"value": "\"all\""
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"value": "\"selection\""
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"shouldSelectOnPressUp": {
|
|
314
|
+
"defaultValue": null,
|
|
315
|
+
"description": "Whether selection should occur on press up instead of press down.",
|
|
316
|
+
"name": "shouldSelectOnPressUp",
|
|
317
|
+
"parent": {
|
|
318
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/gridlist/useGridList.d.ts",
|
|
319
|
+
"name": "GridListProps"
|
|
320
|
+
},
|
|
321
|
+
"declarations": [
|
|
322
|
+
{
|
|
323
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/types/src/gridlist/useGridList.d.ts",
|
|
324
|
+
"name": "GridListProps"
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"required": false,
|
|
328
|
+
"type": {
|
|
329
|
+
"name": "boolean"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"items": {
|
|
333
|
+
"defaultValue": null,
|
|
334
|
+
"description": "Item objects in the collection.",
|
|
335
|
+
"name": "items",
|
|
336
|
+
"parent": {
|
|
337
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/collections.d.ts",
|
|
338
|
+
"name": "CollectionBase"
|
|
339
|
+
},
|
|
340
|
+
"declarations": [
|
|
341
|
+
{
|
|
342
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/collections.d.ts",
|
|
343
|
+
"name": "CollectionBase"
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"required": false,
|
|
347
|
+
"type": {
|
|
348
|
+
"name": "Iterable<T>"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"disabledKeys": {
|
|
352
|
+
"defaultValue": null,
|
|
353
|
+
"description": "The item keys that are disabled. These items cannot be selected, focused, or otherwise\ninteracted with.",
|
|
354
|
+
"name": "disabledKeys",
|
|
355
|
+
"parent": {
|
|
356
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/collections.d.ts",
|
|
357
|
+
"name": "CollectionBase"
|
|
358
|
+
},
|
|
359
|
+
"declarations": [
|
|
360
|
+
{
|
|
361
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/collections.d.ts",
|
|
362
|
+
"name": "CollectionBase"
|
|
363
|
+
}
|
|
364
|
+
],
|
|
365
|
+
"required": false,
|
|
366
|
+
"type": {
|
|
367
|
+
"name": "Iterable<Key>"
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"selectionMode": {
|
|
371
|
+
"defaultValue": null,
|
|
372
|
+
"description": "The type of selection that is allowed in the collection.",
|
|
373
|
+
"name": "selectionMode",
|
|
374
|
+
"parent": {
|
|
375
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/selection.d.ts",
|
|
376
|
+
"name": "MultipleSelection"
|
|
377
|
+
},
|
|
378
|
+
"declarations": [
|
|
379
|
+
{
|
|
380
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/selection.d.ts",
|
|
381
|
+
"name": "MultipleSelection"
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
"required": false,
|
|
385
|
+
"type": {
|
|
386
|
+
"name": "enum",
|
|
387
|
+
"raw": "SelectionMode",
|
|
388
|
+
"value": [
|
|
389
|
+
{
|
|
390
|
+
"value": "\"none\""
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"value": "\"multiple\""
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"value": "\"single\""
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"disallowEmptySelection": {
|
|
402
|
+
"defaultValue": null,
|
|
403
|
+
"description": "Whether the collection allows empty selection.",
|
|
404
|
+
"name": "disallowEmptySelection",
|
|
405
|
+
"parent": {
|
|
406
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/selection.d.ts",
|
|
407
|
+
"name": "MultipleSelection"
|
|
408
|
+
},
|
|
409
|
+
"declarations": [
|
|
410
|
+
{
|
|
411
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/selection.d.ts",
|
|
412
|
+
"name": "MultipleSelection"
|
|
413
|
+
}
|
|
414
|
+
],
|
|
415
|
+
"required": false,
|
|
416
|
+
"type": {
|
|
417
|
+
"name": "boolean"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"selectedKeys": {
|
|
421
|
+
"defaultValue": null,
|
|
422
|
+
"description": "The currently selected keys in the collection (controlled).",
|
|
423
|
+
"name": "selectedKeys",
|
|
424
|
+
"parent": {
|
|
425
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/selection.d.ts",
|
|
426
|
+
"name": "MultipleSelection"
|
|
427
|
+
},
|
|
428
|
+
"declarations": [
|
|
429
|
+
{
|
|
430
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/selection.d.ts",
|
|
431
|
+
"name": "MultipleSelection"
|
|
432
|
+
}
|
|
433
|
+
],
|
|
434
|
+
"required": false,
|
|
435
|
+
"type": {
|
|
436
|
+
"name": "\"all\" | Iterable<Key>"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"defaultSelectedKeys": {
|
|
440
|
+
"defaultValue": null,
|
|
441
|
+
"description": "The initial selected keys in the collection (uncontrolled).",
|
|
442
|
+
"name": "defaultSelectedKeys",
|
|
443
|
+
"parent": {
|
|
444
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/selection.d.ts",
|
|
445
|
+
"name": "MultipleSelection"
|
|
446
|
+
},
|
|
447
|
+
"declarations": [
|
|
448
|
+
{
|
|
449
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/selection.d.ts",
|
|
450
|
+
"name": "MultipleSelection"
|
|
451
|
+
}
|
|
452
|
+
],
|
|
453
|
+
"required": false,
|
|
454
|
+
"type": {
|
|
455
|
+
"name": "\"all\" | Iterable<Key>"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"onSelectionChange": {
|
|
459
|
+
"defaultValue": null,
|
|
460
|
+
"description": "Handler that is called when the selection changes.",
|
|
461
|
+
"name": "onSelectionChange",
|
|
462
|
+
"parent": {
|
|
463
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/selection.d.ts",
|
|
464
|
+
"name": "MultipleSelection"
|
|
465
|
+
},
|
|
466
|
+
"declarations": [
|
|
467
|
+
{
|
|
468
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/selection.d.ts",
|
|
469
|
+
"name": "MultipleSelection"
|
|
470
|
+
}
|
|
471
|
+
],
|
|
472
|
+
"required": false,
|
|
473
|
+
"type": {
|
|
474
|
+
"name": "((keys: Selection) => void)"
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"selectionBehavior": {
|
|
478
|
+
"defaultValue": {
|
|
479
|
+
"value": "'toggle'"
|
|
480
|
+
},
|
|
481
|
+
"description": "How multiple selection should behave in the tree.",
|
|
482
|
+
"name": "selectionBehavior",
|
|
483
|
+
"parent": {
|
|
484
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Tree.d.ts",
|
|
485
|
+
"name": "TreeProps"
|
|
486
|
+
},
|
|
487
|
+
"declarations": [
|
|
488
|
+
{
|
|
489
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Tree.d.ts",
|
|
490
|
+
"name": "TreeProps"
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
"required": false,
|
|
494
|
+
"type": {
|
|
495
|
+
"name": "enum",
|
|
496
|
+
"raw": "SelectionBehavior",
|
|
497
|
+
"value": [
|
|
498
|
+
{
|
|
499
|
+
"value": "\"replace\""
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"value": "\"toggle\""
|
|
503
|
+
}
|
|
504
|
+
]
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"dragAndDropHooks": {
|
|
508
|
+
"defaultValue": null,
|
|
509
|
+
"description": "The drag and drop hooks returned by `useDragAndDrop` used to enable drag and drop behavior for\nthe Tree.",
|
|
510
|
+
"name": "dragAndDropHooks",
|
|
511
|
+
"parent": {
|
|
512
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Tree.d.ts",
|
|
513
|
+
"name": "TreeProps"
|
|
514
|
+
},
|
|
515
|
+
"declarations": [
|
|
516
|
+
{
|
|
517
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Tree.d.ts",
|
|
518
|
+
"name": "TreeProps"
|
|
519
|
+
}
|
|
520
|
+
],
|
|
521
|
+
"required": false,
|
|
522
|
+
"type": {
|
|
523
|
+
"name": "DragAndDropHooks<NoInfer<T>>"
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"dependencies": {
|
|
527
|
+
"defaultValue": null,
|
|
528
|
+
"description": "Values that should invalidate the item cache when using dynamic collections.",
|
|
529
|
+
"name": "dependencies",
|
|
530
|
+
"parent": {
|
|
531
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Collection.d.ts",
|
|
532
|
+
"name": "CollectionProps"
|
|
533
|
+
},
|
|
534
|
+
"declarations": [
|
|
535
|
+
{
|
|
536
|
+
"fileName": "nimbus/node_modules/.pnpm/react-aria-components@1.19.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/types/src/Collection.d.ts",
|
|
537
|
+
"name": "CollectionProps"
|
|
538
|
+
}
|
|
539
|
+
],
|
|
540
|
+
"required": false,
|
|
541
|
+
"type": {
|
|
542
|
+
"name": "readonly any[]"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"onExpandedChange": {
|
|
546
|
+
"defaultValue": null,
|
|
547
|
+
"description": "Handler that is called when items are expanded or collapsed.",
|
|
548
|
+
"name": "onExpandedChange",
|
|
549
|
+
"parent": {
|
|
550
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/collections.d.ts",
|
|
551
|
+
"name": "Expandable"
|
|
552
|
+
},
|
|
553
|
+
"declarations": [
|
|
554
|
+
{
|
|
555
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/collections.d.ts",
|
|
556
|
+
"name": "Expandable"
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"required": false,
|
|
560
|
+
"type": {
|
|
561
|
+
"name": "((keys: Set<Key>) => any)"
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
"expandedKeys": {
|
|
565
|
+
"defaultValue": null,
|
|
566
|
+
"description": "The currently expanded keys in the collection (controlled).",
|
|
567
|
+
"name": "expandedKeys",
|
|
568
|
+
"parent": {
|
|
569
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/collections.d.ts",
|
|
570
|
+
"name": "Expandable"
|
|
571
|
+
},
|
|
572
|
+
"declarations": [
|
|
573
|
+
{
|
|
574
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/collections.d.ts",
|
|
575
|
+
"name": "Expandable"
|
|
576
|
+
}
|
|
577
|
+
],
|
|
578
|
+
"required": false,
|
|
579
|
+
"type": {
|
|
580
|
+
"name": "Iterable<Key>"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
"defaultExpandedKeys": {
|
|
584
|
+
"defaultValue": null,
|
|
585
|
+
"description": "The initial expanded keys in the collection (uncontrolled).",
|
|
586
|
+
"name": "defaultExpandedKeys",
|
|
587
|
+
"parent": {
|
|
588
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/collections.d.ts",
|
|
589
|
+
"name": "Expandable"
|
|
590
|
+
},
|
|
591
|
+
"declarations": [
|
|
592
|
+
{
|
|
593
|
+
"fileName": "nimbus/node_modules/.pnpm/@react-types+shared@3.36.0_react@19.2.0/node_modules/@react-types/shared/src/collections.d.ts",
|
|
594
|
+
"name": "Expandable"
|
|
595
|
+
}
|
|
596
|
+
],
|
|
597
|
+
"required": false,
|
|
598
|
+
"type": {
|
|
599
|
+
"name": "Iterable<Key>"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
"size": {
|
|
603
|
+
"defaultValue": {
|
|
604
|
+
"value": "\"md\""
|
|
605
|
+
},
|
|
606
|
+
"description": "Size of the tree, affecting row height, font size, chevron size and\nindentation step.",
|
|
607
|
+
"name": "size",
|
|
608
|
+
"declarations": [
|
|
609
|
+
{
|
|
610
|
+
"fileName": "nimbus/packages/nimbus/src/components/tree/tree.types.ts",
|
|
611
|
+
"name": "TypeLiteral"
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"required": false,
|
|
615
|
+
"type": {
|
|
616
|
+
"name": "ConditionalValue<\"sm\" | \"md\">"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"ref": {
|
|
620
|
+
"defaultValue": null,
|
|
621
|
+
"description": "Ref to the root tree element.",
|
|
622
|
+
"name": "ref",
|
|
623
|
+
"declarations": [
|
|
624
|
+
{
|
|
625
|
+
"fileName": "nimbus/packages/nimbus/src/components/tree/tree.types.ts",
|
|
626
|
+
"name": "TypeLiteral"
|
|
627
|
+
}
|
|
628
|
+
],
|
|
629
|
+
"required": false,
|
|
630
|
+
"type": {
|
|
631
|
+
"name": "Ref<HTMLDivElement>"
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"supportsStyleProps": true
|
|
636
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tags": {},
|
|
3
|
+
"filePath": "/home/runner/work/nimbus/nimbus/packages/nimbus/src/index.ts",
|
|
4
|
+
"description": "Tree.SubTree\n\nRenders an item's nested children. Supports both static composition (nested\n`Tree.Item` elements as `children`) and dynamic collections (an `items` array\nplus a render function). Internally wraps React Aria's `Collection` so\nconsumers never import it from `react-aria-components` directly.\n\nRenders nothing when `items` is an empty iterable, so callers don't need a\n`children?.length` guard.",
|
|
5
|
+
"displayName": "TreeSubTree",
|
|
6
|
+
"methods": [],
|
|
7
|
+
"props": {
|
|
8
|
+
"items": {
|
|
9
|
+
"defaultValue": null,
|
|
10
|
+
"description": "The nested data to render. When provided, `children` must be a render\nfunction that returns a `Tree.Item` for each item.",
|
|
11
|
+
"name": "items",
|
|
12
|
+
"declarations": [
|
|
13
|
+
{
|
|
14
|
+
"fileName": "nimbus/packages/nimbus/src/components/tree/tree.types.ts",
|
|
15
|
+
"name": "TypeLiteral"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"required": false,
|
|
19
|
+
"type": {
|
|
20
|
+
"name": "Iterable<T>"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"children": {
|
|
24
|
+
"defaultValue": null,
|
|
25
|
+
"description": "Either nested `Tree.Item` elements (static) or a render function mapping\neach item to a `Tree.Item` (dynamic, used with `items`).",
|
|
26
|
+
"name": "children",
|
|
27
|
+
"declarations": [
|
|
28
|
+
{
|
|
29
|
+
"fileName": "nimbus/packages/nimbus/src/components/tree/tree.types.ts",
|
|
30
|
+
"name": "TypeLiteral"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"required": false,
|
|
34
|
+
"type": {
|
|
35
|
+
"name": "ReactNode | ((item: T) => ReactNode)"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"supportsStyleProps": false
|
|
40
|
+
}
|