@carbon/react 1.74.0 → 1.75.0-rc.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 (172) hide show
  1. package/.playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json +757 -757
  2. package/es/components/AILabel/index.d.ts +1 -2
  3. package/es/components/AILabel/index.js +1 -1
  4. package/es/components/AISkeleton/AISkeletonIcon.d.ts +1 -1
  5. package/es/components/AISkeleton/AISkeletonText.d.ts +1 -1
  6. package/es/components/Accordion/Accordion.Skeleton.d.ts +1 -1
  7. package/es/components/Accordion/AccordionItem.d.ts +2 -2
  8. package/es/components/AspectRatio/AspectRatio.d.ts +1 -1
  9. package/es/components/Button/Button.d.ts +3 -3
  10. package/es/components/Button/Button.js +1 -1
  11. package/es/components/ClassPrefix/index.d.ts +1 -1
  12. package/es/components/ComboBox/ComboBox.d.ts +4 -4
  13. package/es/components/ComboBox/ComboBox.js +0 -1
  14. package/es/components/ComboButton/index.d.ts +1 -1
  15. package/es/components/ComposedModal/ModalFooter.d.ts +1 -2
  16. package/es/components/ComposedModal/ModalFooter.js +2 -2
  17. package/es/components/ComposedModal/ModalHeader.d.ts +1 -2
  18. package/es/components/ContainedList/ContainedList.d.ts +1 -1
  19. package/es/components/ContentSwitcher/ContentSwitcher.d.ts +2 -3
  20. package/es/components/ContextMenu/useContextMenu.d.ts +1 -1
  21. package/es/components/Copy/Copy.d.ts +1 -1
  22. package/es/components/DataTable/TableCell.d.ts +1 -1
  23. package/es/components/DataTable/TableExpandHeader.d.ts +3 -3
  24. package/es/components/DataTable/TableExpandRow.d.ts +1 -1
  25. package/es/components/DataTable/TableExpandedRow.d.ts +1 -1
  26. package/es/components/DataTable/TableHeader.d.ts +1 -1
  27. package/es/components/DataTable/TableSelectAll.d.ts +1 -1
  28. package/es/components/Dropdown/Dropdown.js +11 -3
  29. package/es/components/ErrorBoundary/ErrorBoundary.d.ts +2 -3
  30. package/es/components/FeatureFlags/index.d.ts +1 -1
  31. package/es/components/FileUploader/FileUploader.d.ts +8 -7
  32. package/es/components/FileUploader/FileUploader.js +9 -2
  33. package/es/components/Form/Form.d.ts +1 -1
  34. package/es/components/FormItem/FormItem.d.ts +1 -1
  35. package/es/components/Heading/index.d.ts +1 -1
  36. package/es/components/IconButton/index.d.ts +1 -1
  37. package/es/components/IdPrefix/index.d.ts +1 -1
  38. package/es/components/Layer/index.d.ts +1 -2
  39. package/es/components/LayoutDirection/LayoutDirection.d.ts +1 -1
  40. package/es/components/Link/Link.d.ts +5 -4
  41. package/es/components/Link/Link.js +1 -1
  42. package/es/components/ListItem/ListItem.d.ts +1 -1
  43. package/es/components/Menu/Menu.d.ts +1 -1
  44. package/es/components/Modal/Modal.js +1 -1
  45. package/es/components/ModalWrapper/ModalWrapper.d.ts +1 -1
  46. package/es/components/MultiSelect/FilterableMultiSelect.js +4 -1
  47. package/es/components/MultiSelect/MultiSelect.js +10 -1
  48. package/es/components/OrderedList/OrderedList.d.ts +1 -1
  49. package/es/components/OverflowMenu/OverflowMenu.d.ts +1 -1
  50. package/es/components/PaginationNav/PaginationNav.d.ts +52 -1
  51. package/es/components/Popover/index.d.ts +6 -2
  52. package/es/components/Portal/index.d.ts +1 -1
  53. package/es/components/ProgressIndicator/ProgressIndicator.Skeleton.d.ts +1 -1
  54. package/es/components/SkeletonIcon/SkeletonIcon.d.ts +1 -1
  55. package/es/components/SkeletonText/SkeletonText.d.ts +1 -1
  56. package/es/components/Tabs/Tabs.d.ts +2 -2
  57. package/es/components/Tabs/Tabs.js +1 -1
  58. package/es/components/Tag/DismissibleTag.js +1 -1
  59. package/es/components/Tag/OperationalTag.js +1 -1
  60. package/es/components/Tag/SelectableTag.d.ts +2 -2
  61. package/es/components/Tag/SelectableTag.js +1 -1
  62. package/es/components/Tag/Tag.d.ts +7 -3
  63. package/es/components/Tag/Tag.js +1 -1
  64. package/es/components/Text/Text.d.ts +6 -4
  65. package/es/components/Text/Text.js +1 -1
  66. package/es/components/Theme/index.d.ts +1 -1
  67. package/es/components/Toggle/Toggle.Skeleton.d.ts +1 -1
  68. package/es/components/ToggleSmall/ToggleSmall.Skeleton.d.ts +1 -1
  69. package/es/components/Toggletip/index.d.ts +4 -4
  70. package/es/components/UIShell/Content.d.ts +1 -1
  71. package/es/components/UIShell/Header.d.ts +1 -1
  72. package/es/components/UIShell/HeaderGlobalAction.d.ts +1 -1
  73. package/es/components/UIShell/HeaderMenu.d.ts +1 -1
  74. package/es/components/UIShell/HeaderPanel.d.ts +1 -1
  75. package/es/components/UIShell/SideNavHeader.d.ts +1 -1
  76. package/es/components/UIShell/SideNavIcon.d.ts +1 -1
  77. package/es/components/UIShell/SideNavItem.d.ts +1 -1
  78. package/es/components/UIShell/SideNavItems.d.ts +1 -1
  79. package/es/components/UIShell/SideNavMenu.d.ts +1 -1
  80. package/es/components/UIShell/SideNavMenuItem.d.ts +1 -1
  81. package/es/components/UIShell/SideNavSwitcher.d.ts +1 -1
  82. package/es/components/UIShell/Switcher.d.ts +1 -1
  83. package/es/components/UIShell/SwitcherDivider.d.ts +1 -1
  84. package/es/components/UIShell/SwitcherItem.d.ts +4 -4
  85. package/es/index.d.ts +239 -0
  86. package/es/internal/PolymorphicProps.d.ts +11 -0
  87. package/lib/components/AILabel/index.d.ts +1 -2
  88. package/lib/components/AILabel/index.js +1 -1
  89. package/lib/components/AISkeleton/AISkeletonIcon.d.ts +1 -1
  90. package/lib/components/AISkeleton/AISkeletonText.d.ts +1 -1
  91. package/lib/components/Accordion/Accordion.Skeleton.d.ts +1 -1
  92. package/lib/components/Accordion/AccordionItem.d.ts +2 -2
  93. package/lib/components/AspectRatio/AspectRatio.d.ts +1 -1
  94. package/lib/components/Button/Button.d.ts +3 -3
  95. package/lib/components/Button/Button.js +1 -1
  96. package/lib/components/ClassPrefix/index.d.ts +1 -1
  97. package/lib/components/ComboBox/ComboBox.d.ts +4 -4
  98. package/lib/components/ComboBox/ComboBox.js +0 -1
  99. package/lib/components/ComboButton/index.d.ts +1 -1
  100. package/lib/components/ComposedModal/ModalFooter.d.ts +1 -2
  101. package/lib/components/ComposedModal/ModalFooter.js +2 -2
  102. package/lib/components/ComposedModal/ModalHeader.d.ts +1 -2
  103. package/lib/components/ContainedList/ContainedList.d.ts +1 -1
  104. package/lib/components/ContentSwitcher/ContentSwitcher.d.ts +2 -3
  105. package/lib/components/ContextMenu/useContextMenu.d.ts +1 -1
  106. package/lib/components/Copy/Copy.d.ts +1 -1
  107. package/lib/components/DataTable/TableCell.d.ts +1 -1
  108. package/lib/components/DataTable/TableExpandHeader.d.ts +3 -3
  109. package/lib/components/DataTable/TableExpandRow.d.ts +1 -1
  110. package/lib/components/DataTable/TableExpandedRow.d.ts +1 -1
  111. package/lib/components/DataTable/TableHeader.d.ts +1 -1
  112. package/lib/components/DataTable/TableSelectAll.d.ts +1 -1
  113. package/lib/components/Dropdown/Dropdown.js +11 -3
  114. package/lib/components/ErrorBoundary/ErrorBoundary.d.ts +2 -3
  115. package/lib/components/FeatureFlags/index.d.ts +1 -1
  116. package/lib/components/FileUploader/FileUploader.d.ts +8 -7
  117. package/lib/components/FileUploader/FileUploader.js +9 -2
  118. package/lib/components/Form/Form.d.ts +1 -1
  119. package/lib/components/FormItem/FormItem.d.ts +1 -1
  120. package/lib/components/Heading/index.d.ts +1 -1
  121. package/lib/components/IconButton/index.d.ts +1 -1
  122. package/lib/components/IdPrefix/index.d.ts +1 -1
  123. package/lib/components/Layer/index.d.ts +1 -2
  124. package/lib/components/LayoutDirection/LayoutDirection.d.ts +1 -1
  125. package/lib/components/Link/Link.d.ts +5 -4
  126. package/lib/components/Link/Link.js +1 -1
  127. package/lib/components/ListItem/ListItem.d.ts +1 -1
  128. package/lib/components/Menu/Menu.d.ts +1 -1
  129. package/lib/components/Modal/Modal.js +1 -1
  130. package/lib/components/ModalWrapper/ModalWrapper.d.ts +1 -1
  131. package/lib/components/MultiSelect/FilterableMultiSelect.js +4 -1
  132. package/lib/components/MultiSelect/MultiSelect.js +10 -1
  133. package/lib/components/OrderedList/OrderedList.d.ts +1 -1
  134. package/lib/components/OverflowMenu/OverflowMenu.d.ts +1 -1
  135. package/lib/components/PaginationNav/PaginationNav.d.ts +52 -1
  136. package/lib/components/Popover/index.d.ts +6 -2
  137. package/lib/components/Portal/index.d.ts +1 -1
  138. package/lib/components/ProgressIndicator/ProgressIndicator.Skeleton.d.ts +1 -1
  139. package/lib/components/SkeletonIcon/SkeletonIcon.d.ts +1 -1
  140. package/lib/components/SkeletonText/SkeletonText.d.ts +1 -1
  141. package/lib/components/Tabs/Tabs.d.ts +2 -2
  142. package/lib/components/Tabs/Tabs.js +1 -1
  143. package/lib/components/Tag/DismissibleTag.js +1 -1
  144. package/lib/components/Tag/OperationalTag.js +1 -1
  145. package/lib/components/Tag/SelectableTag.d.ts +2 -2
  146. package/lib/components/Tag/SelectableTag.js +1 -1
  147. package/lib/components/Tag/Tag.d.ts +7 -3
  148. package/lib/components/Tag/Tag.js +1 -1
  149. package/lib/components/Text/Text.d.ts +6 -4
  150. package/lib/components/Text/Text.js +1 -1
  151. package/lib/components/Theme/index.d.ts +1 -1
  152. package/lib/components/Toggle/Toggle.Skeleton.d.ts +1 -1
  153. package/lib/components/ToggleSmall/ToggleSmall.Skeleton.d.ts +1 -1
  154. package/lib/components/Toggletip/index.d.ts +4 -4
  155. package/lib/components/UIShell/Content.d.ts +1 -1
  156. package/lib/components/UIShell/Header.d.ts +1 -1
  157. package/lib/components/UIShell/HeaderGlobalAction.d.ts +1 -1
  158. package/lib/components/UIShell/HeaderMenu.d.ts +1 -1
  159. package/lib/components/UIShell/HeaderPanel.d.ts +1 -1
  160. package/lib/components/UIShell/SideNavHeader.d.ts +1 -1
  161. package/lib/components/UIShell/SideNavIcon.d.ts +1 -1
  162. package/lib/components/UIShell/SideNavItem.d.ts +1 -1
  163. package/lib/components/UIShell/SideNavItems.d.ts +1 -1
  164. package/lib/components/UIShell/SideNavMenu.d.ts +1 -1
  165. package/lib/components/UIShell/SideNavMenuItem.d.ts +1 -1
  166. package/lib/components/UIShell/SideNavSwitcher.d.ts +1 -1
  167. package/lib/components/UIShell/Switcher.d.ts +1 -1
  168. package/lib/components/UIShell/SwitcherDivider.d.ts +1 -1
  169. package/lib/components/UIShell/SwitcherItem.d.ts +4 -4
  170. package/lib/index.d.ts +239 -0
  171. package/lib/internal/PolymorphicProps.d.ts +11 -0
  172. package/package.json +5 -4
package/es/index.d.ts CHANGED
@@ -128,4 +128,243 @@ export * from './components/Tooltip/DefinitionTooltip';
128
128
  export * from './components/Theme';
129
129
  export * from './internal/usePrefix';
130
130
  export { useIdPrefix } from './internal/useIdPrefix';
131
+ export type { AccordionProps } from './components/Accordion/Accordion';
132
+ export type { AccordionSkeletonProps } from './components/Accordion/Accordion.Skeleton';
133
+ export type { AccordionItemProps } from './components/Accordion/AccordionItem';
134
+ export type { AILabelProps } from './components/AILabel/index';
135
+ export type { AISkeletonIconProps } from './components/AISkeleton/AISkeletonIcon';
136
+ export type { AISkeletonPlaceholderProps } from './components/AISkeleton/AISkeletonPlaceholder';
137
+ export type { AISkeletonTextProps } from './components/AISkeleton/AISkeletonText';
138
+ export type { AspectRatioProps } from './components/AspectRatio/AspectRatio';
139
+ export type { BreadcrumbProps } from './components/Breadcrumb/Breadcrumb';
140
+ export type { BreadcrumbItemProps } from './components/Breadcrumb/BreadcrumbItem';
141
+ export type { BreadcrumbSkeletonProps } from './components/Breadcrumb/Breadcrumb.Skeleton';
142
+ export type { ButtonProps } from './components/Button/Button';
143
+ export type { ButtonSkeletonProps } from './components/Button/Button.Skeleton';
144
+ export type { ChatButtonProps } from './components/ChatButton/ChatButton';
145
+ export type { ChatButtonSkeletonProps } from './components/ChatButton/ChatButton.Skeleton';
146
+ export type { CheckboxProps } from './components/Checkbox/Checkbox';
147
+ export type { CheckboxGroupProps } from './components/CheckboxGroup/CheckboxGroup';
148
+ export type { ClassPrefixProps } from './components/ClassPrefix/index';
149
+ export type { CodeSnippetProps } from './components/CodeSnippet/CodeSnippet';
150
+ export type { CodeSnippetSkeletonProps } from './components/CodeSnippet/CodeSnippet.Skeleton';
151
+ export type { ComboBoxProps } from './components/ComboBox/ComboBox';
152
+ export type { ComboButtonProps } from './components/ComboButton/index';
153
+ export type { ComposedModalProps } from './components/ComposedModal/ComposedModal';
154
+ export type { ModalHeaderProps } from './components/ComposedModal/ModalHeader';
155
+ export type { ModalFooterProps } from './components/ComposedModal/ModalFooter';
156
+ export type { ContainedListProps } from './components/ContainedList/ContainedList';
157
+ export type { ContentSwitcherProps } from './components/ContentSwitcher/ContentSwitcher';
158
+ export type { ContextMenuProps } from './components/ContextMenu/useContextMenu';
159
+ export type { CopyProps } from './components/Copy/Copy';
160
+ export type { CopyButtonProps } from './components/CopyButton/CopyButton';
161
+ export type { DataTableProps } from './components/DataTable/DataTable';
162
+ export type { TableBatchActionProps } from './components/DataTable/TableBatchAction';
163
+ export type { TableBatchActionsProps } from './components/DataTable/TableBatchActions';
164
+ export type { TableBodyProps } from './components/DataTable/TableBody';
165
+ export type { TableCellProps } from './components/DataTable/TableCell';
166
+ export type { TableContainerProps } from './components/DataTable/TableContainer';
167
+ export type { TableDecoratorRowProps } from './components/DataTable/TableDecoratorRow';
168
+ export type { TableExpandedRowProps } from './components/DataTable/TableExpandedRow';
169
+ export type { TableExpandHeaderProps } from './components/DataTable/TableExpandHeader';
170
+ export type { TableExpandRowProps } from './components/DataTable/TableExpandRow';
171
+ export type { TableHeadProps } from './components/DataTable/TableHead';
172
+ export type { TableHeaderProps } from './components/DataTable/TableHeader';
173
+ export type { TableRowProps } from './components/DataTable/TableRow';
174
+ export type { TableSelectAllProps } from './components/DataTable/TableSelectAll';
175
+ export type { TableSelectRowProps } from './components/DataTable/TableSelectRow';
176
+ export type { TableToolbarProps } from './components/DataTable/TableToolbar';
177
+ export type { TableToolbarActionProps } from './components/DataTable/TableToolbarAction';
178
+ export type { TableToolbarMenuProps } from './components/DataTable/TableToolbarMenu';
179
+ export type { TableToolbarSearchProps } from './components/DataTable/TableToolbarSearch';
180
+ export type { DataTableSkeletonProps } from './components/DataTableSkeleton/DataTableSkeleton';
181
+ export type { DatePickerProps } from './components/DatePicker/DatePicker';
182
+ export type { DatePickerInputProps } from './components/DatePickerInput/DatePickerInput';
183
+ export type { DialogProps } from './components/Dialog/index';
184
+ export type { DropdownProps } from './components/Dropdown/Dropdown';
185
+ export type { ErrorBoundaryProps } from './components/ErrorBoundary/ErrorBoundary';
186
+ export type { FeatureFlagsProps } from './components/FeatureFlags/index';
187
+ export type { FilenameProps } from './components/FileUploader/Filename';
188
+ export type { FileUploaderProps } from './components/FileUploader/FileUploader';
189
+ export type { FileUploaderSkeletonProps } from './components/FileUploader/FileUploader.Skeleton';
190
+ export type { FileUploaderButtonProps } from './components/FileUploader/FileUploaderButton';
191
+ export type { FileUploaderDropContainerProps } from './components/FileUploader/FileUploaderDropContainer';
192
+ export type { FileUploaderItemProps } from './components/FileUploader/FileUploaderItem';
193
+ export type { FilterableMultiSelectProps } from './components/MultiSelect/FilterableMultiSelect';
194
+ export type { FluidComboBoxProps } from './components/FluidComboBox/FluidComboBox';
195
+ export type { FluidComboBoxSkeletonProps } from './components/FluidComboBox/FluidComboBox.Skeleton';
196
+ export type { FluidDatePickerProps } from './components/FluidDatePicker/FluidDatePicker';
197
+ export type { FluidDatePickerSkeletonProps } from './components/FluidDatePicker/FluidDatePicker.Skeleton';
198
+ export type { FluidFormProps } from './components/FluidForm/FluidForm';
199
+ export type { FluidDropdownProps } from './components/FluidDropdown/FluidDropdown';
200
+ export type { FluidDropdownSkeletonProps } from './components/FluidDropdown/FluidDropdown.Skeleton';
201
+ export type { FluidMultiSelectProps } from './components/FluidMultiSelect/FluidMultiSelect';
202
+ export type { FluidMultiSelectSkeletonProps } from './components/FluidMultiSelect/FluidMultiSelect.Skeleton';
203
+ export type { FluidSearchProps } from './components/FluidSearch/FluidSearch';
204
+ export type { FluidSearchSkeletonProps } from './components/FluidSearch/FluidSearch.Skeleton';
205
+ export type { FluidSelectProps } from './components/FluidSelect/FluidSelect';
206
+ export type { FluidSelectSkeletonProps } from './components/FluidSelect/FluidSelect.Skeleton';
207
+ export type { FluidTextAreaProps } from './components/FluidTextArea/FluidTextArea';
208
+ export type { FluidTextAreaSkeletonProps } from './components/FluidTextArea/FluidTextArea.Skeleton';
209
+ export type { FluidTextInputProps } from './components/FluidTextInput/FluidTextInput';
210
+ export type { FluidTextInputSkeletonProps } from './components/FluidTextInput/FluidTextInput.Skeleton';
211
+ export type { FluidPasswordInputProps } from './components/FluidTextInput/FluidPasswordInput';
212
+ export type { FluidTimePickerProps } from './components/FluidTimePicker/FluidTimePicker';
213
+ export type { FluidTimePickerSkeletonProps } from './components/FluidTimePicker/FluidTimePicker.Skeleton';
214
+ export type { FluidTimePickerSelectProps } from './components/FluidTimePickerSelect/FluidTimePickerSelect';
215
+ export type { FormProps } from './components/Form/Form';
216
+ export type { FormGroupProps } from './components/FormGroup/FormGroup';
217
+ export type { FormItemProps } from './components/FormItem/FormItem';
218
+ export type { FormLabelProps } from './components/FormLabel/FormLabel';
219
+ export type { GridProps } from './components/Grid/GridTypes';
220
+ export type { ColumnBaseProps } from './components/Grid/Column';
221
+ export type { ColumnHangProps } from './components/Grid/ColumnHang';
222
+ export type { GridSettingContext } from './components/Grid/GridContext';
223
+ export type { RowProps } from './components/Grid/Row';
224
+ export type { SectionProps } from './components/Heading/index';
225
+ export type { IconSkeletonProps } from './components/Icon/Icon.Skeleton';
226
+ export type { IconButtonProps } from './components/IconButton/index';
227
+ export type { IdPrefixProps } from './components/IdPrefix/index';
228
+ export type { InlineCheckboxProps } from './components/InlineCheckbox';
229
+ export type { InlineLoadingProps } from './components/InlineLoading/InlineLoading';
230
+ export type { LayerProps } from './components/Layer/index';
231
+ export type { LayoutProps } from './components/Layout/index';
232
+ export type { LayoutDirectionProps } from './components/LayoutDirection/LayoutDirection';
233
+ export type { LinkProps } from './components/Link/Link';
234
+ export type { ListBoxProps } from './components/ListBox/ListBox';
235
+ export type { ListBoxFieldProps } from './components/ListBox/ListBoxField';
236
+ export type { ListBoxMenuProps } from './components/ListBox/ListBoxMenu';
237
+ export type { ListBoxMenuItemProps } from './components/ListBox/ListBoxMenuItem';
238
+ export type { ListBoxMenuIconProps } from './components/ListBox/ListBoxMenuIcon';
239
+ export type { ListBoxMenuIconTranslationKey } from './components/ListBox/ListBoxMenuIcon';
240
+ export type { ListBoxMenuIconComponent } from './components/ListBox/ListBoxMenuIcon';
241
+ export type { ListBoxSelectionProps } from './components/ListBox/ListBoxSelection';
242
+ export type { ListItemProps } from './components/ListItem/ListItem';
243
+ export type { LoadingProps } from './components/Loading/Loading';
244
+ export type { MenuProps } from './components/Menu/Menu';
245
+ export type { MenuItemProps } from './components/Menu/MenuItem';
246
+ export type { MenuButtonProps } from './components/MenuButton/index';
247
+ export type { ModalProps } from './components/Modal/Modal';
248
+ export type { ModalWrapperProps } from './components/ModalWrapper/ModalWrapper';
249
+ export type { MultiSelectProps } from './components/MultiSelect/MultiSelect';
250
+ export type { NotificationActionButtonProps } from './components/Notification/Notification';
251
+ export type { NotificationButtonProps } from './components/Notification/Notification';
252
+ export type { NotificationIconProps } from './components/Notification/Notification';
253
+ export type { ToastNotificationProps } from './components/Notification/Notification';
254
+ export type { InlineNotificationProps } from './components/Notification/Notification';
255
+ export type { ActionableNotificationProps } from './components/Notification/Notification';
256
+ export type { CalloutProps } from './components/Notification/Notification';
257
+ export type { StaticNotificationProps } from './components/Notification/Notification';
258
+ export type { NumberInputProps } from './components/NumberInput/NumberInput';
259
+ export type { NumberInputSkeletonProps } from './components/NumberInput/NumberInput.Skeleton';
260
+ export type { OrderedListProps } from './components/OrderedList/OrderedList';
261
+ export type { OverflowMenuProps } from './components/OverflowMenu/OverflowMenu';
262
+ export type { OverflowMenuItemProps } from './components/OverflowMenuItem/OverflowMenuItem';
263
+ export type { PaginationProps } from './components/Pagination/Pagination';
264
+ export type { PaginationSkeletonProps } from './components/Pagination/Pagination.Skeleton';
265
+ export type { DirectionButtonProps } from './components/PaginationNav/PaginationNav';
266
+ export type { PaginationItemProps } from './components/PaginationNav/PaginationNav';
267
+ export type { PaginationOverflowProps } from './components/PaginationNav/PaginationNav';
268
+ export type { PaginationNavProps } from './components/PaginationNav/PaginationNav';
269
+ export type { PopoverProps } from './components/Popover/index';
270
+ export type { PopoverContentProps } from './components/Popover/index';
271
+ export type { PortalProps } from './components/Portal/index';
272
+ export type { ProgressBarProps } from './components/ProgressBar/ProgressBar';
273
+ export type { ProgressIndicatorProps } from './components/ProgressIndicator/ProgressIndicator';
274
+ export type { ProgressIndicatorSkeletonProps } from './components/ProgressIndicator/ProgressIndicator.Skeleton';
275
+ export type { RadioButtonProps } from './components/RadioButton/RadioButton';
276
+ export type { RadioButtonSkeletonProps } from './components/RadioButton/RadioButton.Skeleton';
277
+ export type { RadioButtonGroupProps } from './components/RadioButtonGroup/RadioButtonGroup';
278
+ export type { RadioTileProps } from './components/RadioTile/RadioTile';
279
+ export type { SearchProps } from './components/Search/Search';
280
+ export type { SearchSkeletonProps } from './components/Search/Search.Skeleton';
281
+ export type { SelectProps } from './components/Select/Select';
282
+ export type { SelectSkeletonProps } from './components/Select/Select.Skeleton';
283
+ export type { SelectItemProps } from './components/SelectItem/SelectItem';
284
+ export type { SelectItemGroupProps } from './components/SelectItemGroup/SelectItemGroup';
285
+ export type { SkeletonIconProps } from './components/SkeletonIcon/SkeletonIcon';
286
+ export type { SkeletonPlaceholderProps } from './components/SkeletonPlaceholder/SkeletonPlaceholder';
287
+ export type { SkeletonTextProps } from './components/SkeletonText/SkeletonText';
288
+ export type { SliderProps } from './components/Slider/Slider';
289
+ export type { SliderSkeletonProps } from './components/Slider/Slider.Skeleton';
290
+ export type { StackProps } from './components/Stack/Stack';
291
+ export type { StructuredListWrapperProps } from './components/StructuredList/StructuredList';
292
+ export type { StructuredListHeadProps } from './components/StructuredList/StructuredList';
293
+ export type { StructuredListBodyProps } from './components/StructuredList/StructuredList';
294
+ export type { StructuredListRowProps } from './components/StructuredList/StructuredList';
295
+ export type { StructuredListCellProps } from './components/StructuredList/StructuredList';
296
+ export type { StructuredListInputProps } from './components/StructuredList/StructuredList';
297
+ export type { StructuredListSkeletonProps } from './components/StructuredList/StructuredList.Skeleton';
298
+ export type { SwitchProps } from './components/Switch/Switch';
299
+ export type { TabContentProps } from './components/TabContent/TabContent';
300
+ export type { TabsProps } from './components/Tabs/Tabs';
301
+ export type { TabsVerticalProps } from './components/Tabs/Tabs';
302
+ export type { TabListProps } from './components/Tabs/Tabs';
303
+ export type { TabListVerticalProps } from './components/Tabs/Tabs';
304
+ export type { TabProps } from './components/Tabs/Tabs';
305
+ export type { IconTabProps } from './components/Tabs/Tabs';
306
+ export type { TabPanelProps } from './components/Tabs/Tabs';
307
+ export type { TabPanelsProps } from './components/Tabs/Tabs';
308
+ export type { TagProps } from './components/Tag/Tag';
309
+ export type { TagSkeletonProps } from './components/Tag/Tag.Skeleton';
310
+ export type { SelectableTagProps } from './components/Tag/SelectableTag';
311
+ export type { OperationalTagProps } from './components/Tag/OperationalTag';
312
+ export type { DismissibleTagProps } from './components/Tag/DismissibleTag';
313
+ export type { TextProps } from './components/Text/Text';
314
+ export type { TextDirectionProps } from './components/Text/TextDirection';
315
+ export type { TextAreaProps } from './components/TextArea/TextArea';
316
+ export type { TextAreaSkeletonProps } from './components/TextArea/TextArea.Skeleton';
317
+ export type { TextInputProps } from './components/TextInput/TextInput';
318
+ export type { TextInputSkeletonProps } from './components/TextInput/TextInput.Skeleton';
319
+ export type { PasswordInputProps } from './components/TextInput/PasswordInput';
320
+ export type { ControlledPasswordInputProps } from './components/TextInput/ControlledPasswordInput';
321
+ export type { GlobalThemeProps } from './components/Theme/index';
322
+ export type { TileProps } from './components/Tile/Tile';
323
+ export type { ClickableTileProps } from './components/Tile/Tile';
324
+ export type { ExpandableTileProps } from './components/Tile/Tile';
325
+ export type { SelectableTileProps } from './components/Tile/Tile';
326
+ export type { TileAboveTheFoldContentProps } from './components/Tile/Tile';
327
+ export type { TileBelowTheFoldContentProps } from './components/Tile/Tile';
328
+ export type { TileGroupProps } from './components/TileGroup/TileGroup';
329
+ export type { TimePickerProps } from './components/TimePicker/TimePicker';
330
+ export type { TimePickerSelectProps } from './components/TimePickerSelect/TimePickerSelect';
331
+ export type { ToggleProps } from './components/Toggle/Toggle';
332
+ export type { ToggleSkeletonProps } from './components/Toggle/Toggle.Skeleton';
333
+ export type { ToggleSmallSkeletonProps } from './components/ToggleSmall/ToggleSmall.Skeleton';
334
+ export type { ToggletipProps } from './components/Toggletip/index';
335
+ export type { ToggletipButtonBaseProps } from './components/Toggletip/index';
336
+ export type { ToggletipContentProps } from './components/Toggletip/index';
337
+ export type { ToggleTipActionsProps } from './components/Toggletip/index';
338
+ export type { TooltipProps } from './components/Tooltip/Tooltip';
339
+ export type { DefinitionTooltipProps } from './components/Tooltip/DefinitionTooltip';
340
+ export type { TreeViewProps } from './components/TreeView/TreeView';
341
+ export type { TreeNodeProps } from './components/TreeView/TreeNode';
342
+ export type { HeaderProps } from './components/UIShell/Header';
343
+ export type { HeaderContainerProps } from './components/UIShell/HeaderContainer';
344
+ export type { HeaderGlobalActionProps } from './components/UIShell/HeaderGlobalAction';
345
+ export type { HeaderMenuProps } from './components/UIShell/HeaderMenu';
346
+ export type { HeaderMenuButtonProps } from './components/UIShell/HeaderMenuButton';
347
+ export type { HeaderMenuItemProps } from './components/UIShell/HeaderMenuItem';
348
+ export type { HeaderMenuItemComponent } from './components/UIShell/HeaderMenuItem';
349
+ export type { HeaderNameProps } from './components/UIShell/HeaderName';
350
+ export type { HeaderNavigationProps } from './components/UIShell/HeaderNavigation';
351
+ export type { HeaderPanelProps } from './components/UIShell/HeaderPanel';
352
+ export type { HeaderSideNavItemsProps } from './components/UIShell/HeaderSideNavItems';
353
+ export type { SideNavProps } from './components/UIShell/SideNav';
354
+ export type { SideNavDetailsProps } from './components/UIShell/SideNavDetails';
355
+ export type { SideNavFooterProps } from './components/UIShell/SideNavFooter';
356
+ export type { SideNavHeaderProps } from './components/UIShell/SideNavHeader';
357
+ export type { SideNavIconProps } from './components/UIShell/SideNavIcon';
358
+ export type { SideNavItemsProps } from './components/UIShell/SideNavItems';
359
+ export type { SideNavItemProps } from './components/UIShell/SideNavItem';
360
+ export type { SideNavLinkProps } from './components/UIShell/SideNavLink';
361
+ export type { SideNavLinkTextProps } from './components/UIShell/SideNavLinkText';
362
+ export type { SideNavMenuProps } from './components/UIShell/SideNavMenu';
363
+ export type { SideNavMenuItemProps } from './components/UIShell/SideNavMenuItem';
364
+ export type { SideNavSwitcherProps } from './components/UIShell/SideNavSwitcher';
365
+ export type { SkipToContentProps } from './components/UIShell/SkipToContent';
366
+ export type { BaseSwitcherProps } from './components/UIShell/Switcher';
367
+ export type { SwitcherDividerProps } from './components/UIShell/SwitcherDivider';
368
+ export type { SwitcherItemProps } from './components/UIShell/SwitcherItem';
369
+ export type { UnorderedListProps } from './components/UnorderedList/UnorderedList';
131
370
  export { IconIndicator as unstable__IconIndicator } from './components/IconIndicator';
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ type AsProp<C extends React.ElementType> = {
3
+ as?: C;
4
+ };
5
+ type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
6
+ export type PolymorphicComponentProp<C extends React.ElementType, Props = {}> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
7
+ export type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>['ref'];
8
+ export type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = {}> = PolymorphicComponentProp<C, Props> & {
9
+ ref?: PolymorphicRef<C>;
10
+ };
11
+ export {};
@@ -16,7 +16,7 @@ export declare const AILabelActions: React.ForwardRefExoticComponent<AILabelActi
16
16
  export type DeprecatedAlignment = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left-bottom' | 'left-top' | 'right-bottom' | 'right-top';
17
17
  export type NewAlignment = 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-end' | 'left-start' | 'right-end' | 'right-start';
18
18
  export type Alignment = DeprecatedAlignment | NewAlignment;
19
- interface AILabelProps {
19
+ export interface AILabelProps {
20
20
  AILabelContent?: React.ReactNode;
21
21
  aiText?: string;
22
22
  aiTextLabel?: string;
@@ -34,4 +34,3 @@ interface AILabelProps {
34
34
  slugLabel?: string;
35
35
  }
36
36
  export declare const AILabel: React.ForwardRefExoticComponent<AILabelProps & React.RefAttributes<HTMLDivElement>>;
37
- export {};
@@ -145,7 +145,7 @@ const AILabel = /*#__PURE__*/React__default["default"].forwardRef(function AILab
145
145
  alignmentAxisOffset: isSmallIcon ? -24 : 0
146
146
  }, rest), /*#__PURE__*/React__default["default"].createElement(index.ToggletipButton, {
147
147
  className: aiLabelButtonClasses,
148
- label: ariaLabelText
148
+ label: kind === 'inline' ? '' : ariaLabelText
149
149
  }, /*#__PURE__*/React__default["default"].createElement("span", {
150
150
  className: `${prefix}--ai-label__text`
151
151
  }, aiText), kind === 'inline' && (aiTextLabel || textLabel) && /*#__PURE__*/React__default["default"].createElement("span", {
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import PropTypes from 'prop-types';
8
8
  import React from 'react';
9
- interface AISkeletonIconProps {
9
+ export interface AISkeletonIconProps {
10
10
  /**
11
11
  * Specify an optional className to add.
12
12
  */
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import PropTypes from 'prop-types';
8
- interface AISkeletonTextProps {
8
+ export interface AISkeletonTextProps {
9
9
  /**
10
10
  * Specify an optional className to be applied to the container node.
11
11
  */
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import PropTypes from 'prop-types';
8
- interface AccordionSkeletonProps {
8
+ export interface AccordionSkeletonProps {
9
9
  /**
10
10
  * Specify the alignment of the accordion heading
11
11
  * title and chevron.
@@ -1,6 +1,6 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import { AnimationEventHandler, AriaAttributes, KeyboardEvent, MouseEventHandler, PropsWithChildren, ReactElement, ReactNode } from 'react';
3
- interface AccordionItemProps {
3
+ export interface AccordionItemProps {
4
4
  /**
5
5
  * Specify an optional className to be
6
6
  * applied to the container node.
@@ -49,7 +49,7 @@ interface AccordionItemProps {
49
49
  */
50
50
  handleAnimationEnd?: AnimationEventHandler<HTMLElement>;
51
51
  }
52
- interface AccordionToggleProps {
52
+ export interface AccordionToggleProps {
53
53
  'aria-controls'?: AriaAttributes['aria-controls'];
54
54
  'aria-expanded'?: AriaAttributes['aria-expanded'];
55
55
  className?: string;
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import PropTypes from 'prop-types';
8
8
  import { PropsWithChildren, ReactHTML } from 'react';
9
- interface AspectRatioProps {
9
+ export interface AspectRatioProps {
10
10
  /**
11
11
  * Provide a custom component or string to be rendered as
12
12
  * the outermost node of the component. This is useful if you want
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import React from 'react';
8
8
  import { IconButtonKind } from '../IconButton';
9
- import { PolymorphicProps } from '../../types/common';
9
+ import { PolymorphicComponentPropWithRef } from '../../internal/PolymorphicProps';
10
10
  export declare const ButtonKinds: readonly ["primary", "secondary", "danger", "ghost", "danger--primary", "danger--ghost", "danger--tertiary", "tertiary"];
11
11
  export type ButtonKind = (typeof ButtonKinds)[number];
12
12
  export declare const ButtonSizes: readonly ["sm", "md", "lg", "xl", "2xl"];
@@ -65,7 +65,7 @@ export interface ButtonBaseProps extends React.ButtonHTMLAttributes<HTMLButtonEl
65
65
  */
66
66
  tooltipPosition?: ButtonTooltipPosition;
67
67
  }
68
- export type ButtonProps<T extends React.ElementType> = PolymorphicProps<T, ButtonBaseProps>;
69
- export type ButtonComponent = <T extends React.ElementType>(props: ButtonProps<T>, context?: any) => React.ReactElement<any, any> | null;
68
+ export type ButtonProps<T extends React.ElementType> = PolymorphicComponentPropWithRef<T, ButtonBaseProps>;
69
+ export type ButtonComponent = <T extends React.ElementType = 'button'>(props: ButtonProps<T>, context?: any) => React.ReactElement | any;
70
70
  declare const _default: ButtonComponent;
71
71
  export default _default;
@@ -31,7 +31,7 @@ function isIconOnlyButton(hasIconOnly, _kind) {
31
31
  }
32
32
  return false;
33
33
  }
34
- const Button = /*#__PURE__*/React__default["default"].forwardRef(function Button(props, ref) {
34
+ const Button = /*#__PURE__*/React__default["default"].forwardRef((props, ref) => {
35
35
  const tooltipRef = React.useRef(null);
36
36
  const {
37
37
  as,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import PropTypes from 'prop-types';
8
8
  import { PropsWithChildren } from 'react';
9
- interface ClassPrefixProps {
9
+ export interface ClassPrefixProps {
10
10
  /**
11
11
  * The value used to prefix the CSS selectors
12
12
  * used by Carbon components.
@@ -9,7 +9,7 @@ import React, { type ReactNode, type ComponentType, type ReactElement, type RefA
9
9
  import { ListBoxSize } from '../ListBox';
10
10
  import { TranslateWithId } from '../../types/common';
11
11
  type ExcludedAttributes = 'id' | 'onChange' | 'onClick' | 'type' | 'size';
12
- interface OnChangeData<ItemType> {
12
+ export interface OnChangeData<ItemType> {
13
13
  selectedItem: ItemType | null | undefined;
14
14
  inputValue?: string | null;
15
15
  }
@@ -20,8 +20,8 @@ interface OnChangeData<ItemType> {
20
20
  * because those components aren't Typescript. (If you try, TranslationKey
21
21
  * ends up just being defined as "string".)
22
22
  */
23
- type TranslationKey = 'close.menu' | 'open.menu' | 'clear.all' | 'clear.selection';
24
- type ItemToStringHandler<ItemType> = (item: ItemType | null) => string;
23
+ export type TranslationKey = 'close.menu' | 'open.menu' | 'clear.all' | 'clear.selection';
24
+ export type ItemToStringHandler<ItemType> = (item: ItemType | null) => string;
25
25
  export interface ComboBoxProps<ItemType> extends Omit<InputHTMLAttributes<HTMLInputElement>, ExcludedAttributes>, TranslateWithId<TranslationKey> {
26
26
  /**
27
27
  * Specify whether or not the ComboBox should allow a value that is
@@ -197,7 +197,7 @@ export interface ComboBoxProps<ItemType> extends Omit<InputHTMLAttributes<HTMLIn
197
197
  warnText?: ReactNode;
198
198
  }
199
199
  type ComboboxComponentProps<ItemType> = PropsWithRef<PropsWithChildren<ComboBoxProps<ItemType>> & RefAttributes<HTMLInputElement>>;
200
- interface ComboBoxComponent {
200
+ export interface ComboBoxComponent {
201
201
  <ItemType>(props: ComboboxComponentProps<ItemType>): ReactElement | null;
202
202
  }
203
203
  declare const _default: ComboBoxComponent;
@@ -397,7 +397,6 @@ const ComboBox = /*#__PURE__*/React.forwardRef((props, ref) => {
397
397
  });
398
398
  const wrapperClasses = cx__default["default"](`${prefix}--list-box__wrapper`, [containerClassName, {
399
399
  [`${prefix}--list-box__wrapper--fluid--invalid`]: isFluid && invalid,
400
- [`${prefix}--list-box__wrapper--fluid--focus`]: isFluid && isFocused,
401
400
  [`${prefix}--list-box__wrapper--slug`]: slug,
402
401
  [`${prefix}--list-box__wrapper--decorator`]: decorator
403
402
  }]);
@@ -16,7 +16,7 @@ declare const defaultTranslations: {
16
16
  /**
17
17
  * Message ids that will be passed to translateWithId().
18
18
  */
19
- type TranslationKey = keyof typeof defaultTranslations;
19
+ export type TranslationKey = keyof typeof defaultTranslations;
20
20
  interface ComboButtonProps extends TranslateWithId<TranslationKey> {
21
21
  /**
22
22
  * A collection of `MenuItems` to be rendered as additional actions for this `ComboButton`.
@@ -1,6 +1,6 @@
1
1
  import React, { type ReactNode, type MouseEvent, type Ref } from 'react';
2
2
  import { InlineLoadingStatus } from '../InlineLoading/InlineLoading';
3
- interface SecondaryButtonProps {
3
+ export interface SecondaryButtonProps {
4
4
  buttonText: ReactNode;
5
5
  onClick(evt: MouseEvent): void;
6
6
  }
@@ -87,4 +87,3 @@ export interface ModalFooterProps {
87
87
  onLoadingSuccess?(): void;
88
88
  }
89
89
  export declare const ModalFooter: React.ForwardRefExoticComponent<ModalFooterProps & React.RefAttributes<HTMLElement>>;
90
- export {};
@@ -40,7 +40,7 @@ function SecondaryButtonSet(_ref) {
40
40
  onRequestClose(evt);
41
41
  }
42
42
  if (Array.isArray(secondaryButtons) && secondaryButtons.length <= 2) {
43
- return secondaryButtons.map((_ref2, i) => {
43
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, secondaryButtons.map((_ref2, i) => {
44
44
  let {
45
45
  buttonText,
46
46
  onClick: onButtonClick
@@ -51,7 +51,7 @@ function SecondaryButtonSet(_ref) {
51
51
  kind: "secondary",
52
52
  onClick: onButtonClick || handleRequestClose
53
53
  }, buttonText);
54
- });
54
+ }));
55
55
  }
56
56
  if (secondaryButtonText) {
57
57
  return /*#__PURE__*/React__default["default"].createElement(Button["default"], {
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { type ReactNode, type MouseEvent, type HTMLAttributes } from 'react';
8
- type DivProps = Omit<HTMLAttributes<HTMLDivElement>, 'title'>;
8
+ export type DivProps = Omit<HTMLAttributes<HTMLDivElement>, 'title'>;
9
9
  export interface ModalHeaderProps extends DivProps {
10
10
  /**
11
11
  * Provide an optional function to be called when the close button is
@@ -55,4 +55,3 @@ export interface ModalHeaderProps extends DivProps {
55
55
  titleClassName?: string;
56
56
  }
57
57
  export declare const ModalHeader: React.ForwardRefExoticComponent<ModalHeaderProps & React.RefAttributes<HTMLDivElement>>;
58
- export {};
@@ -7,7 +7,7 @@
7
7
  import React, { ReactNode } from 'react';
8
8
  import ContainedListItem from './ContainedListItem';
9
9
  declare const variants: readonly ["on-page", "disclosed"];
10
- interface ContainedListType extends React.FC<ContainedListProps> {
10
+ export interface ContainedListType extends React.FC<ContainedListProps> {
11
11
  ContainedListItem: typeof ContainedListItem;
12
12
  }
13
13
  export type Variants = (typeof variants)[number];
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import PropTypes from 'prop-types';
8
8
  import React, { HTMLAttributes, ReactElement } from 'react';
9
- interface SwitchEventHandlersParams {
9
+ export interface SwitchEventHandlersParams {
10
10
  index?: number;
11
11
  name?: string | number;
12
12
  text?: string;
@@ -46,7 +46,7 @@ export interface ContentSwitcherProps extends Omit<HTMLAttributes<HTMLElement>,
46
46
  */
47
47
  size: 'sm' | 'md' | 'lg';
48
48
  }
49
- interface ContentSwitcherState {
49
+ export interface ContentSwitcherState {
50
50
  selectedIndex?: number;
51
51
  }
52
52
  export default class ContentSwitcher extends React.Component<ContentSwitcherProps, ContentSwitcherState> {
@@ -101,4 +101,3 @@ export default class ContentSwitcher extends React.Component<ContentSwitcherProp
101
101
  handleChildChange: (data: any) => void;
102
102
  render(): import("react/jsx-runtime").JSX.Element;
103
103
  }
104
- export {};
@@ -6,7 +6,7 @@
6
6
  */
7
7
  /// <reference types="react" />
8
8
  type TriggerType = Element | Document | Window | React.RefObject<Element>;
9
- interface ContextMenuProps {
9
+ export interface ContextMenuProps {
10
10
  open: boolean;
11
11
  x: number;
12
12
  y: number;
@@ -9,7 +9,7 @@ import React, { AnimationEventHandler, MouseEventHandler, PropsWithChildren } fr
9
9
  export type DeprecatedCopyAlignment = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left-bottom' | 'left-top' | 'right-bottom' | 'right-top';
10
10
  export type NewCopyAlignment = 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-end' | 'left-start' | 'right-end' | 'right-start';
11
11
  export type CopyAlignment = DeprecatedCopyAlignment | NewCopyAlignment;
12
- interface CopyProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
12
+ export interface CopyProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
13
13
  /**
14
14
  * Specify how the trigger should align with the tooltip
15
15
  */
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import React from 'react';
8
8
  import { ReactAttr } from '../../types/common';
9
- interface TableCellProps extends ReactAttr<HTMLTableCellElement> {
9
+ export interface TableCellProps extends ReactAttr<HTMLTableCellElement> {
10
10
  /**
11
11
  * Pass in children that will be embedded in the table header label
12
12
  */
@@ -7,7 +7,7 @@
7
7
  import PropTypes from 'prop-types';
8
8
  import React from 'react';
9
9
  import { ReactAttr } from '../../types/common';
10
- type TableExpandHeaderPropsBase = {
10
+ export type TableExpandHeaderPropsBase = {
11
11
  /**
12
12
  * Space separated list of one or more ID values referencing the TableExpandedRow(s) being controlled by the TableExpandHeader
13
13
  */
@@ -45,13 +45,13 @@ type TableExpandHeaderPropsBase = {
45
45
  */
46
46
  onExpand?(event: React.MouseEvent<HTMLButtonElement>): void;
47
47
  } & ReactAttr<HTMLTableCellElement>;
48
- type TableExpandHeaderPropsWithToggle = Omit<TableExpandHeaderPropsBase, 'ariaLabel' | 'aria-label' | 'enableToggle' | 'onExpand'> & {
48
+ export type TableExpandHeaderPropsWithToggle = Omit<TableExpandHeaderPropsBase, 'ariaLabel' | 'aria-label' | 'enableToggle' | 'onExpand'> & {
49
49
  enableToggle: true;
50
50
  ariaLabel: string;
51
51
  ['aria-label']: string;
52
52
  onExpand(event: React.MouseEvent<HTMLButtonElement>): void;
53
53
  };
54
- type TableExpandHeaderPropsWithExpando = Omit<TableExpandHeaderPropsBase, 'ariaLabel' | 'aria-label' | 'enableExpando' | 'onExpand'> & {
54
+ export type TableExpandHeaderPropsWithExpando = Omit<TableExpandHeaderPropsBase, 'ariaLabel' | 'aria-label' | 'enableExpando' | 'onExpand'> & {
55
55
  enableExpando: true;
56
56
  ariaLabel: string;
57
57
  ['aria-label']: string;
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import React, { type MouseEventHandler, type PropsWithChildren } from 'react';
8
8
  import { TableRowProps } from './TableRow';
9
- interface TableExpandRowProps extends PropsWithChildren<TableRowProps> {
9
+ export interface TableExpandRowProps extends PropsWithChildren<TableRowProps> {
10
10
  /**
11
11
  * Space separated list of one or more ID values referencing the TableExpandedRow(s) being controlled by the TableExpandRow
12
12
  */
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import PropTypes from 'prop-types';
8
8
  import { ReactAttr } from '../../types/common';
9
- interface TableExpandedRowProps extends ReactAttr<HTMLTableRowElement> {
9
+ export interface TableExpandedRowProps extends ReactAttr<HTMLTableRowElement> {
10
10
  /**
11
11
  * The width of the expanded row's internal cell
12
12
  */
@@ -15,7 +15,7 @@ export interface TableHeaderTranslationArgs {
15
15
  sortDirection?: DataTableSortState;
16
16
  sortStates: typeof sortStates;
17
17
  }
18
- interface TableHeaderProps extends ReactAttr<HTMLTableCellElement & HTMLButtonElement>, TranslateWithId<TableHeaderTranslationKey, {
18
+ export interface TableHeaderProps extends ReactAttr<HTMLTableCellElement & HTMLButtonElement>, TranslateWithId<TableHeaderTranslationKey, {
19
19
  header: any;
20
20
  sortDirection: any;
21
21
  isSortHeader: any;
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import PropTypes from 'prop-types';
8
8
  import React from 'react';
9
- interface TableSelectAllProps {
9
+ export interface TableSelectAllProps {
10
10
  /**
11
11
  * Specify the aria label for the underlying input control
12
12
  * node