@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
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import PropTypes from 'prop-types';
8
8
  import React from 'react';
9
- interface ToggleSmallSkeletonProps {
9
+ export interface ToggleSmallSkeletonProps {
10
10
  ['aria-label']: string;
11
11
  /**
12
12
  * Specify an optional className to add to the form item wrapper.
@@ -35,7 +35,7 @@ export declare namespace ToggletipLabel {
35
35
  className: PropTypes.Requireable<string>;
36
36
  };
37
37
  }
38
- interface ToggletipProps<E extends ElementType> {
38
+ export interface ToggletipProps<E extends ElementType> {
39
39
  align?: PopoverAlignment;
40
40
  alignmentAxisOffset?: number;
41
41
  as?: E;
@@ -84,7 +84,7 @@ export declare namespace Toggletip {
84
84
  defaultOpen: PropTypes.Requireable<boolean>;
85
85
  };
86
86
  }
87
- interface ToggletipButtonBaseProps {
87
+ export interface ToggletipButtonBaseProps {
88
88
  children?: ReactNode;
89
89
  className?: string;
90
90
  label?: string;
@@ -95,7 +95,7 @@ export type ToggleTipButtonProps<T extends React.ElementType> = PolymorphicProps
95
95
  * clicks and keyboard interactions.
96
96
  */
97
97
  export declare const ToggletipButton: React.ForwardRefExoticComponent<Omit<ToggleTipButtonProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>, "ref"> & React.RefAttributes<unknown>>;
98
- interface ToggletipContentProps {
98
+ export interface ToggletipContentProps {
99
99
  children?: ReactNode;
100
100
  className?: string;
101
101
  }
@@ -106,7 +106,7 @@ interface ToggletipContentProps {
106
106
  */
107
107
  declare const ToggletipContent: React.ForwardRefExoticComponent<ToggletipContentProps & React.RefAttributes<HTMLDivElement>>;
108
108
  export { ToggletipContent };
109
- interface ToggleTipActionsProps {
109
+ export interface ToggleTipActionsProps {
110
110
  children?: ReactNode;
111
111
  className?: string;
112
112
  }
@@ -82,7 +82,7 @@ declare const Content: {
82
82
  "aria-colindextext"?: string | undefined;
83
83
  "aria-colspan"?: number | undefined;
84
84
  "aria-controls"?: string | undefined;
85
- "aria-current"?: boolean | "true" | "false" | "time" | "date" | "step" | "page" | "location" | undefined;
85
+ "aria-current"?: boolean | "true" | "false" | "time" | "step" | "date" | "page" | "location" | undefined;
86
86
  "aria-describedby"?: string | undefined;
87
87
  "aria-description"?: string | undefined;
88
88
  "aria-details"?: string | undefined;
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- interface HeaderProps {
8
+ export interface HeaderProps {
9
9
  children?: ReactNode;
10
10
  /**
11
11
  * Required props for the accessibility label of the header
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- interface HeaderGlobalActionProps {
8
+ export interface HeaderGlobalActionProps {
9
9
  /**
10
10
  * Required props for the accessibility label of the button
11
11
  */
@@ -12,7 +12,7 @@ import PropTypes from 'prop-types';
12
12
  * with managing focus. It also passes along refs to each child so that it can
13
13
  * help manage focus state of its children.
14
14
  */
15
- interface HeaderMenuProps {
15
+ export interface HeaderMenuProps {
16
16
  /**
17
17
  * Required props for the accessibility label of the menu
18
18
  */
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- interface HeaderPanelProps {
8
+ export interface HeaderPanelProps {
9
9
  /**
10
10
  * Specify whether focus and blur listeners are added. They are by default.
11
11
  */
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React from 'react';
8
- interface SideNavHeaderProps {
8
+ export interface SideNavHeaderProps {
9
9
  /**
10
10
  * The child nodes to be rendered
11
11
  */
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React from 'react';
8
- interface SideNavIconProps {
8
+ export interface SideNavIconProps {
9
9
  /**
10
10
  * Provide a single icon as the child to `SideNavIcon` to render in the
11
11
  * container
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React from 'react';
8
- interface SideNavItemProps {
8
+ export interface SideNavItemProps {
9
9
  /**
10
10
  * Provide a single icon as the child to `SideNavItem` to render in the
11
11
  * container
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React from 'react';
8
- interface SideNavItemsProps {
8
+ export interface SideNavItemsProps {
9
9
  /**
10
10
  * Provide a single icon as the child to `SideNavIcon` to render in the
11
11
  * container
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React from 'react';
8
- interface SideNavMenuProps {
8
+ export interface SideNavMenuProps {
9
9
  /**
10
10
  * An optional CSS class to apply to the component.
11
11
  */
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import React, { ElementType, ComponentProps } from 'react';
8
8
  import Link from './Link';
9
- interface SideNavMenuItemProps extends ComponentProps<typeof Link> {
9
+ export interface SideNavMenuItemProps extends ComponentProps<typeof Link> {
10
10
  /**
11
11
  * Specify the children to be rendered inside of the `SideNavMenuItem`
12
12
  */
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { type ChangeEventHandler } from 'react';
8
- interface SideNavSwitcherProps {
8
+ export interface SideNavSwitcherProps {
9
9
  /**
10
10
  * Provide an optional class to be applied to the containing node
11
11
  */
@@ -11,7 +11,7 @@
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
13
  import React, { ReactNode } from 'react';
14
- interface BaseSwitcherProps {
14
+ export interface BaseSwitcherProps {
15
15
  /**
16
16
  * expects to receive <SwitcherItem />
17
17
  */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- interface SwitcherDividerProps {
2
+ export interface SwitcherDividerProps {
3
3
  /**
4
4
  * Optionally provide a custom class to apply to the underlying `<li>` node
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import React, { HTMLAttributeAnchorTarget } from 'react';
2
- interface BaseSwitcherItemProps {
2
+ export interface BaseSwitcherItemProps {
3
3
  /**
4
4
  * Specify the text content for the link
5
5
  */
@@ -52,14 +52,14 @@ interface BaseSwitcherItemProps {
52
52
  */
53
53
  rel?: string;
54
54
  }
55
- interface SwitcherItemWithAriaLabel extends BaseSwitcherItemProps {
55
+ export interface SwitcherItemWithAriaLabel extends BaseSwitcherItemProps {
56
56
  'aria-label': string;
57
57
  'aria-labelledby'?: never;
58
58
  }
59
- interface SwitcherItemWithAriaLabelledBy extends BaseSwitcherItemProps {
59
+ export interface SwitcherItemWithAriaLabelledBy extends BaseSwitcherItemProps {
60
60
  'aria-label'?: never;
61
61
  'aria-labelledby': string;
62
62
  }
63
- type SwitcherItemProps = SwitcherItemWithAriaLabel | SwitcherItemWithAriaLabelledBy;
63
+ export type SwitcherItemProps = SwitcherItemWithAriaLabel | SwitcherItemWithAriaLabelledBy;
64
64
  declare const SwitcherItem: React.ForwardRefExoticComponent<SwitcherItemProps & React.RefAttributes<React.ElementType<any, keyof React.JSX.IntrinsicElements>>>;
65
65
  export default SwitcherItem;
package/lib/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 {};
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@carbon/react",
3
3
  "description": "React components for the Carbon Design System",
4
- "version": "1.74.0",
4
+ "version": "1.75.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
+ "types": "lib/index.d.ts",
7
8
  "module": "es/index.js",
8
9
  "repository": {
9
10
  "type": "git",
@@ -50,9 +51,9 @@
50
51
  "dependencies": {
51
52
  "@babel/runtime": "^7.24.7",
52
53
  "@carbon/feature-flags": "^0.24.0",
53
- "@carbon/icons-react": "^11.53.0",
54
+ "@carbon/icons-react": "^11.54.0-rc.0",
54
55
  "@carbon/layout": "^11.28.0",
55
- "@carbon/styles": "^1.73.0",
56
+ "@carbon/styles": "^1.74.0-rc.0",
56
57
  "@floating-ui/react": "^0.26.0",
57
58
  "@ibm/telemetry-js": "^1.5.0",
58
59
  "classnames": "2.5.1",
@@ -144,5 +145,5 @@
144
145
  "**/*.scss",
145
146
  "**/*.css"
146
147
  ],
147
- "gitHead": "1896aed10907f83fb95b18ed87410b6ab2a3f451"
148
+ "gitHead": "9ec628547954e438748a23862612f20418e07373"
148
149
  }