@carbon/react 1.48.0 → 1.49.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.
- package/.playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json +984 -984
- package/es/components/Accordion/Accordion.Skeleton.d.ts +1 -2
- package/es/components/Accordion/Accordion.d.ts +1 -1
- package/es/components/Accordion/AccordionItem.d.ts +1 -1
- package/es/components/Accordion/AccordionItem.js +5 -0
- package/es/components/Accordion/AccordionProvider.d.ts +1 -1
- package/es/components/AspectRatio/AspectRatio.d.ts +1 -1
- package/es/components/Breadcrumb/Breadcrumb.Skeleton.d.ts +1 -1
- package/es/components/Checkbox/Checkbox.Skeleton.d.ts +1 -1
- package/es/components/ClassPrefix/index.d.ts +1 -1
- package/es/components/ContentSwitcher/ContentSwitcher.d.ts +1 -1
- package/es/components/DataTable/Table.d.ts +1 -1
- package/es/components/DataTable/TableBatchAction.d.ts +1 -1
- package/es/components/DataTable/TableBody.d.ts +1 -1
- package/es/components/DataTable/TableContainer.d.ts +1 -1
- package/es/components/DataTable/TableExpandHeader.d.ts +1 -1
- package/es/components/DataTable/TableExpandedRow.d.ts +1 -1
- package/es/components/DataTable/TableRow.d.ts +1 -1
- package/es/components/DataTable/TableSelectAll.d.ts +1 -1
- package/es/components/DataTable/TableSelectRow.d.ts +1 -1
- package/es/components/DataTable/TableSlugRow.d.ts +1 -1
- package/es/components/DataTable/TableToolbarMenu.d.ts +1 -1
- package/es/components/DataTable/TableToolbarSearch.d.ts +1 -1
- package/es/components/DatePicker/DatePicker.Skeleton.d.ts +1 -1
- package/es/components/DatePicker/DatePicker.d.ts +1 -3
- package/es/components/ExpandableSearch/ExpandableSearch.d.ts +1 -1
- package/es/components/FileUploader/FileUploader.Skeleton.d.ts +1 -2
- package/es/components/FileUploader/FileUploader.d.ts +1 -1
- package/es/components/FileUploader/FileUploaderButton.d.ts +1 -1
- package/es/components/FileUploader/FileUploaderDropContainer.d.ts +1 -1
- package/es/components/FileUploader/FileUploaderItem.d.ts +1 -1
- package/es/components/FileUploader/Filename.d.ts +1 -1
- package/es/components/Form/Form.d.ts +1 -1
- package/es/components/FormGroup/FormGroup.d.ts +1 -1
- package/es/components/FormItem/FormItem.d.ts +1 -1
- package/es/components/FormLabel/FormLabel.d.ts +1 -1
- package/es/components/Heading/index.d.ts +5 -5
- package/es/components/Icon/Icon.Skeleton.d.ts +1 -1
- package/es/components/InlineLoading/InlineLoading.d.ts +1 -1
- package/es/components/ListBox/ListBoxMenu.d.ts +1 -0
- package/es/components/ListItem/ListItem.d.ts +1 -1
- package/es/components/Loading/Loading.d.ts +1 -2
- package/es/components/Loading/Loading.js +2 -2
- package/es/components/ModalWrapper/ModalWrapper.d.ts +1 -1
- package/es/components/Notification/Notification.d.ts +8 -6
- package/es/components/Notification/Notification.js +2 -1
- package/es/components/NumberInput/NumberInput.Skeleton.d.ts +1 -1
- package/es/components/OrderedList/OrderedList.d.ts +1 -1
- package/es/components/PrimaryButton/PrimaryButton.d.ts +1 -1
- package/es/components/ProgressBar/ProgressBar.d.ts +1 -2
- package/es/components/ProgressIndicator/ProgressIndicator.Skeleton.d.ts +1 -2
- package/es/components/ProgressIndicator/ProgressIndicator.d.ts +2 -2
- package/es/components/RadioButton/RadioButton.Skeleton.d.ts +1 -1
- package/es/components/Search/Search.Skeleton.d.ts +1 -1
- package/es/components/SecondaryButton/SecondaryButton.d.ts +1 -1
- package/es/components/Select/Select.Skeleton.d.ts +1 -1
- package/es/components/Select/Select.d.ts +1 -1
- package/es/components/SelectItem/SelectItem.d.ts +1 -1
- package/es/components/SelectItemGroup/SelectItemGroup.d.ts +1 -1
- package/es/components/SkeletonPlaceholder/SkeletonPlaceholder.d.ts +1 -1
- package/es/components/SkeletonText/SkeletonText.d.ts +1 -1
- package/es/components/Slider/Slider.Skeleton.d.ts +1 -1
- package/es/components/Slider/Slider.d.ts +1 -1
- package/es/components/Slider/SliderHandles.d.ts +4 -4
- package/es/components/Stack/index.d.ts +4 -3
- package/es/components/StructuredList/StructuredList.Skeleton.d.ts +1 -2
- package/es/components/StructuredList/StructuredList.d.ts +6 -6
- package/es/components/TabContent/TabContent.d.ts +1 -1
- package/es/components/Tabs/Tabs.Skeleton.d.ts +1 -1
- package/es/components/Tabs/Tabs.d.ts +3 -3
- package/es/components/Tag/Tag.Skeleton.d.ts +1 -1
- package/es/components/Tag/Tag.d.ts +1 -1
- package/es/components/Text/Text.d.ts +1 -1
- package/es/components/Text/TextDirection.d.ts +1 -1
- package/es/components/Text/createTextComponent.d.ts +1 -1
- package/es/components/Text/index.d.ts +2 -2
- package/es/components/TextArea/TextArea.Skeleton.d.ts +1 -1
- package/es/components/TextInput/TextInput.Skeleton.d.ts +1 -1
- package/es/components/Theme/index.d.ts +4 -2
- package/es/components/TileGroup/TileGroup.d.ts +1 -1
- package/es/components/Toggle/Toggle.d.ts +1 -1
- package/es/components/Toggletip/index.d.ts +5 -5
- package/es/components/Tooltip/Tooltip.d.ts +1 -1
- package/es/components/UIShell/Content.d.ts +61 -49
- package/es/components/UIShell/HeaderContainer.d.ts +1 -1
- package/es/components/UIShell/HeaderMenuButton.d.ts +1 -1
- package/es/components/UIShell/HeaderName.d.ts +1 -1
- package/es/components/UIShell/HeaderNavigation.d.ts +1 -1
- package/es/components/UIShell/HeaderSideNavItems.d.ts +1 -1
- package/es/components/UIShell/SideNav.d.ts +1 -1
- package/es/components/UIShell/SideNavDetails.d.ts +1 -1
- package/es/components/UIShell/SideNavFooter.d.ts +1 -1
- package/es/components/UIShell/SideNavLinkText.d.ts +1 -1
- package/es/components/UIShell/SkipToContent.d.ts +1 -1
- package/es/components/UnorderedList/UnorderedList.d.ts +1 -1
- package/lib/components/Accordion/Accordion.Skeleton.d.ts +1 -2
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem.js +5 -0
- package/lib/components/Accordion/AccordionProvider.d.ts +1 -1
- package/lib/components/AspectRatio/AspectRatio.d.ts +1 -1
- package/lib/components/Breadcrumb/Breadcrumb.Skeleton.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.Skeleton.d.ts +1 -1
- package/lib/components/ClassPrefix/index.d.ts +1 -1
- package/lib/components/ContentSwitcher/ContentSwitcher.d.ts +1 -1
- package/lib/components/DataTable/Table.d.ts +1 -1
- package/lib/components/DataTable/TableBatchAction.d.ts +1 -1
- package/lib/components/DataTable/TableBody.d.ts +1 -1
- package/lib/components/DataTable/TableContainer.d.ts +1 -1
- package/lib/components/DataTable/TableExpandHeader.d.ts +1 -1
- package/lib/components/DataTable/TableExpandedRow.d.ts +1 -1
- package/lib/components/DataTable/TableRow.d.ts +1 -1
- package/lib/components/DataTable/TableSelectAll.d.ts +1 -1
- package/lib/components/DataTable/TableSelectRow.d.ts +1 -1
- package/lib/components/DataTable/TableSlugRow.d.ts +1 -1
- package/lib/components/DataTable/TableToolbarMenu.d.ts +1 -1
- package/lib/components/DataTable/TableToolbarSearch.d.ts +1 -1
- package/lib/components/DatePicker/DatePicker.Skeleton.d.ts +1 -1
- package/lib/components/DatePicker/DatePicker.d.ts +1 -3
- package/lib/components/ExpandableSearch/ExpandableSearch.d.ts +1 -1
- package/lib/components/FileUploader/FileUploader.Skeleton.d.ts +1 -2
- package/lib/components/FileUploader/FileUploader.d.ts +1 -1
- package/lib/components/FileUploader/FileUploaderButton.d.ts +1 -1
- package/lib/components/FileUploader/FileUploaderDropContainer.d.ts +1 -1
- package/lib/components/FileUploader/FileUploaderItem.d.ts +1 -1
- package/lib/components/FileUploader/Filename.d.ts +1 -1
- package/lib/components/Form/Form.d.ts +1 -1
- package/lib/components/FormGroup/FormGroup.d.ts +1 -1
- package/lib/components/FormItem/FormItem.d.ts +1 -1
- package/lib/components/FormLabel/FormLabel.d.ts +1 -1
- package/lib/components/Heading/index.d.ts +5 -5
- package/lib/components/Icon/Icon.Skeleton.d.ts +1 -1
- package/lib/components/InlineLoading/InlineLoading.d.ts +1 -1
- package/lib/components/ListBox/ListBoxMenu.d.ts +1 -0
- package/lib/components/ListItem/ListItem.d.ts +1 -1
- package/lib/components/Loading/Loading.d.ts +1 -2
- package/lib/components/Loading/Loading.js +2 -2
- package/lib/components/ModalWrapper/ModalWrapper.d.ts +1 -1
- package/lib/components/Notification/Notification.d.ts +8 -6
- package/lib/components/Notification/Notification.js +2 -1
- package/lib/components/NumberInput/NumberInput.Skeleton.d.ts +1 -1
- package/lib/components/OrderedList/OrderedList.d.ts +1 -1
- package/lib/components/PrimaryButton/PrimaryButton.d.ts +1 -1
- package/lib/components/ProgressBar/ProgressBar.d.ts +1 -2
- package/lib/components/ProgressIndicator/ProgressIndicator.Skeleton.d.ts +1 -2
- package/lib/components/ProgressIndicator/ProgressIndicator.d.ts +2 -2
- package/lib/components/RadioButton/RadioButton.Skeleton.d.ts +1 -1
- package/lib/components/Search/Search.Skeleton.d.ts +1 -1
- package/lib/components/SecondaryButton/SecondaryButton.d.ts +1 -1
- package/lib/components/Select/Select.Skeleton.d.ts +1 -1
- package/lib/components/Select/Select.d.ts +1 -1
- package/lib/components/SelectItem/SelectItem.d.ts +1 -1
- package/lib/components/SelectItemGroup/SelectItemGroup.d.ts +1 -1
- package/lib/components/SkeletonPlaceholder/SkeletonPlaceholder.d.ts +1 -1
- package/lib/components/SkeletonText/SkeletonText.d.ts +1 -1
- package/lib/components/Slider/Slider.Skeleton.d.ts +1 -1
- package/lib/components/Slider/Slider.d.ts +1 -1
- package/lib/components/Slider/SliderHandles.d.ts +4 -4
- package/lib/components/Stack/index.d.ts +4 -3
- package/lib/components/StructuredList/StructuredList.Skeleton.d.ts +1 -2
- package/lib/components/StructuredList/StructuredList.d.ts +6 -6
- package/lib/components/TabContent/TabContent.d.ts +1 -1
- package/lib/components/Tabs/Tabs.Skeleton.d.ts +1 -1
- package/lib/components/Tabs/Tabs.d.ts +3 -3
- package/lib/components/Tag/Tag.Skeleton.d.ts +1 -1
- package/lib/components/Tag/Tag.d.ts +1 -1
- package/lib/components/Text/Text.d.ts +1 -1
- package/lib/components/Text/TextDirection.d.ts +1 -1
- package/lib/components/Text/createTextComponent.d.ts +1 -1
- package/lib/components/Text/index.d.ts +2 -2
- package/lib/components/TextArea/TextArea.Skeleton.d.ts +1 -1
- package/lib/components/TextInput/TextInput.Skeleton.d.ts +1 -1
- package/lib/components/Theme/index.d.ts +4 -2
- package/lib/components/TileGroup/TileGroup.d.ts +1 -1
- package/lib/components/Toggle/Toggle.d.ts +1 -1
- package/lib/components/Toggletip/index.d.ts +5 -5
- package/lib/components/Tooltip/Tooltip.d.ts +1 -1
- package/lib/components/UIShell/Content.d.ts +61 -49
- package/lib/components/UIShell/HeaderContainer.d.ts +1 -1
- package/lib/components/UIShell/HeaderMenuButton.d.ts +1 -1
- package/lib/components/UIShell/HeaderName.d.ts +1 -1
- package/lib/components/UIShell/HeaderNavigation.d.ts +1 -1
- package/lib/components/UIShell/HeaderSideNavItems.d.ts +1 -1
- package/lib/components/UIShell/SideNav.d.ts +1 -1
- package/lib/components/UIShell/SideNavDetails.d.ts +1 -1
- package/lib/components/UIShell/SideNavFooter.d.ts +1 -1
- package/lib/components/UIShell/SideNavLinkText.d.ts +1 -1
- package/lib/components/UIShell/SkipToContent.d.ts +1 -1
- package/lib/components/UnorderedList/UnorderedList.d.ts +1 -1
- package/package.json +6 -6
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
import PropTypes from 'prop-types';
|
|
9
8
|
interface ProgressIndicatorSkeletonProps {
|
|
10
9
|
/**
|
|
@@ -16,7 +15,7 @@ interface ProgressIndicatorSkeletonProps {
|
|
|
16
15
|
*/
|
|
17
16
|
vertical?: boolean;
|
|
18
17
|
}
|
|
19
|
-
declare function ProgressIndicatorSkeleton({ className, vertical, ...rest }: ProgressIndicatorSkeletonProps): JSX.Element;
|
|
18
|
+
declare function ProgressIndicatorSkeleton({ className, vertical, ...rest }: ProgressIndicatorSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
20
19
|
declare namespace ProgressIndicatorSkeleton {
|
|
21
20
|
var propTypes: {
|
|
22
21
|
/**
|
|
@@ -33,7 +33,7 @@ interface ProgressIndicatorProps extends Omit<React.HTMLAttributes<HTMLUListElem
|
|
|
33
33
|
*/
|
|
34
34
|
vertical?: boolean;
|
|
35
35
|
}
|
|
36
|
-
declare function ProgressIndicator({ children, className: customClassName, currentIndex: controlledIndex, onChange, spaceEqually, vertical, ...rest }: ProgressIndicatorProps): JSX.Element;
|
|
36
|
+
declare function ProgressIndicator({ children, className: customClassName, currentIndex: controlledIndex, onChange, spaceEqually, vertical, ...rest }: ProgressIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
declare namespace ProgressIndicator {
|
|
38
38
|
var propTypes: {
|
|
39
39
|
/**
|
|
@@ -118,7 +118,7 @@ interface ProgressStepProps {
|
|
|
118
118
|
*/
|
|
119
119
|
translateWithId?: (id: string) => string;
|
|
120
120
|
}
|
|
121
|
-
declare function ProgressStep({ label, description, className, current, complete, invalid, secondaryLabel, disabled, onClick, translateWithId: t, ...rest }: ProgressStepProps): JSX.Element;
|
|
121
|
+
declare function ProgressStep({ label, description, className, current, complete, invalid, secondaryLabel, disabled, onClick, translateWithId: t, ...rest }: ProgressStepProps): import("react/jsx-runtime").JSX.Element;
|
|
122
122
|
declare namespace ProgressStep {
|
|
123
123
|
var propTypes: {
|
|
124
124
|
/**
|
|
@@ -12,7 +12,7 @@ export interface RadioButtonSkeletonProps extends React.InputHTMLAttributes<HTML
|
|
|
12
12
|
*/
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
|
-
declare function RadioButtonSkeleton(props: RadioButtonSkeletonProps): JSX.Element;
|
|
15
|
+
declare function RadioButtonSkeleton(props: RadioButtonSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
declare namespace RadioButtonSkeleton {
|
|
17
17
|
var propTypes: {
|
|
18
18
|
/**
|
|
@@ -17,7 +17,7 @@ export interface SearchSkeletonProps extends React.HTMLAttributes<HTMLDivElement
|
|
|
17
17
|
small?: boolean;
|
|
18
18
|
}
|
|
19
19
|
declare const SearchSkeleton: {
|
|
20
|
-
({ small, className, ...rest }: SearchSkeletonProps): JSX.Element;
|
|
20
|
+
({ small, className, ...rest }: SearchSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
propTypes: {
|
|
22
22
|
/**
|
|
23
23
|
* Specify an optional className to add.
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { ButtonProps } from '../Button';
|
|
9
|
-
declare const SecondaryButton: <T extends React.ElementType<any>>(props: ButtonProps<T>) => JSX.Element;
|
|
9
|
+
declare const SecondaryButton: <T extends React.ElementType<any>>(props: ButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default SecondaryButton;
|
|
@@ -17,7 +17,7 @@ export interface SelectSkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
17
17
|
hideLabel?: boolean;
|
|
18
18
|
}
|
|
19
19
|
declare const SelectSkeleton: {
|
|
20
|
-
({ hideLabel, className, ...rest }: SelectSkeletonProps): JSX.Element;
|
|
20
|
+
({ hideLabel, className, ...rest }: SelectSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
propTypes: {
|
|
22
22
|
/**
|
|
23
23
|
* Specify an optional className to add to the form item wrapper.
|
|
@@ -90,5 +90,5 @@ interface SelectProps extends Omit<ComponentPropsWithRef<'select'>, ExcludedAttr
|
|
|
90
90
|
*/
|
|
91
91
|
warnText?: ReactNode;
|
|
92
92
|
}
|
|
93
|
-
declare const Select: React.ForwardRefExoticComponent<
|
|
93
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & React.RefAttributes<HTMLSelectElement>>;
|
|
94
94
|
export default Select;
|
|
@@ -29,7 +29,7 @@ export interface SelectItemProps extends HTMLAttributes<HTMLOptionElement> {
|
|
|
29
29
|
value: any;
|
|
30
30
|
}
|
|
31
31
|
declare const SelectItem: {
|
|
32
|
-
({ className, value, disabled, hidden, text, ...other }: SelectItemProps): JSX.Element;
|
|
32
|
+
({ className, value, disabled, hidden, text, ...other }: SelectItemProps): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
propTypes: {
|
|
34
34
|
/**
|
|
35
35
|
* Specify an optional className to be applied to the node
|
|
@@ -25,7 +25,7 @@ export interface SelectItemGroupProps extends HTMLAttributes<HTMLOptGroupElement
|
|
|
25
25
|
label: string;
|
|
26
26
|
}
|
|
27
27
|
declare const SelectItemGroup: {
|
|
28
|
-
({ children, className, disabled, label, ...other }: SelectItemGroupProps): JSX.Element;
|
|
28
|
+
({ children, className, disabled, label, ...other }: SelectItemGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
propTypes: {
|
|
30
30
|
/**
|
|
31
31
|
* Provide the contents of your <SelectItemGroup>
|
|
@@ -12,7 +12,7 @@ export interface SkeletonPlaceholderProps {
|
|
|
12
12
|
className?: string;
|
|
13
13
|
}
|
|
14
14
|
declare const SkeletonPlaceholder: {
|
|
15
|
-
({ className, ...other }: SkeletonPlaceholderProps): JSX.Element;
|
|
15
|
+
({ className, ...other }: SkeletonPlaceholderProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
propTypes: {
|
|
17
17
|
/**
|
|
18
18
|
* Add a custom class to the component
|
|
@@ -28,7 +28,7 @@ interface SkeletonTextProps {
|
|
|
28
28
|
width?: string;
|
|
29
29
|
}
|
|
30
30
|
declare const SkeletonText: {
|
|
31
|
-
({ paragraph, lineCount, width, heading, className, ...rest }: SkeletonTextProps): JSX.Element;
|
|
31
|
+
({ paragraph, lineCount, width, heading, className, ...rest }: SkeletonTextProps): import("react/jsx-runtime").JSX.Element;
|
|
32
32
|
propTypes: {
|
|
33
33
|
/**
|
|
34
34
|
* Specify an optional className to be applied to the container node
|
|
@@ -21,7 +21,7 @@ export interface SliderSkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
21
21
|
twoHandles?: boolean;
|
|
22
22
|
}
|
|
23
23
|
declare const SliderSkeleton: {
|
|
24
|
-
({ hideLabel, className, twoHandles, ...rest }: SliderSkeletonProps): JSX.Element;
|
|
24
|
+
({ hideLabel, className, twoHandles, ...rest }: SliderSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
propTypes: {
|
|
26
26
|
/**
|
|
27
27
|
* Specify an optional className to add to the form item wrapper.
|
|
@@ -492,6 +492,6 @@ declare class Slider extends PureComponent<SliderProps> {
|
|
|
492
492
|
getClientXFromEvent(event: MouseEvent | TouchEvent): any;
|
|
493
493
|
hasTwoHandles(): boolean;
|
|
494
494
|
static getDerivedStateFromProps(props: any, state: any): {} | null;
|
|
495
|
-
render(): JSX.Element;
|
|
495
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
496
496
|
}
|
|
497
497
|
export default Slider;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const LowerHandle: () => JSX.Element;
|
|
2
|
-
export declare const LowerHandleFocus: () => JSX.Element;
|
|
3
|
-
export declare const UpperHandle: () => JSX.Element;
|
|
4
|
-
export declare const UpperHandleFocus: () => JSX.Element;
|
|
1
|
+
export declare const LowerHandle: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const LowerHandleFocus: () => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const UpperHandle: () => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const UpperHandleFocus: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import
|
|
7
|
+
import { ReactNode } from 'react';
|
|
8
8
|
import { Stack } from './Stack';
|
|
9
|
-
|
|
10
|
-
declare const
|
|
9
|
+
import { ForwardRefReturn } from '../../types/common';
|
|
10
|
+
declare const HStack: ForwardRefReturn<ReactNode>;
|
|
11
|
+
declare const VStack: ForwardRefReturn<ReactNode>;
|
|
11
12
|
export { HStack, Stack, VStack };
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
import PropTypes from 'prop-types';
|
|
9
8
|
export interface StructuredListSkeletonProps {
|
|
10
9
|
/**
|
|
@@ -16,7 +15,7 @@ export interface StructuredListSkeletonProps {
|
|
|
16
15
|
*/
|
|
17
16
|
rowCount?: number;
|
|
18
17
|
}
|
|
19
|
-
declare function StructuredListSkeleton({ rowCount, className, ...rest }: StructuredListSkeletonProps): JSX.Element;
|
|
18
|
+
declare function StructuredListSkeleton({ rowCount, className, ...rest }: StructuredListSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
20
19
|
declare namespace StructuredListSkeleton {
|
|
21
20
|
var propTypes: {
|
|
22
21
|
/**
|
|
@@ -33,7 +33,7 @@ export interface StructuredListWrapperProps extends DivAttrs {
|
|
|
33
33
|
*/
|
|
34
34
|
selection?: boolean;
|
|
35
35
|
}
|
|
36
|
-
export declare function StructuredListWrapper(props: StructuredListWrapperProps): JSX.Element;
|
|
36
|
+
export declare function StructuredListWrapper(props: StructuredListWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
export declare namespace StructuredListWrapper {
|
|
38
38
|
var propTypes: {
|
|
39
39
|
/**
|
|
@@ -77,7 +77,7 @@ export interface StructuredListHeadProps extends DivAttrs {
|
|
|
77
77
|
*/
|
|
78
78
|
className?: string;
|
|
79
79
|
}
|
|
80
|
-
export declare function StructuredListHead(props: any): JSX.Element;
|
|
80
|
+
export declare function StructuredListHead(props: any): import("react/jsx-runtime").JSX.Element;
|
|
81
81
|
export declare namespace StructuredListHead {
|
|
82
82
|
var propTypes: {
|
|
83
83
|
/**
|
|
@@ -105,7 +105,7 @@ export interface StructuredListBodyProps extends DivAttrs {
|
|
|
105
105
|
*/
|
|
106
106
|
onKeyDown?(event: KeyboardEvent): void;
|
|
107
107
|
}
|
|
108
|
-
export declare function StructuredListBody(props: StructuredListBodyProps): JSX.Element;
|
|
108
|
+
export declare function StructuredListBody(props: StructuredListBodyProps): import("react/jsx-runtime").JSX.Element;
|
|
109
109
|
export declare namespace StructuredListBody {
|
|
110
110
|
var propTypes: {
|
|
111
111
|
/**
|
|
@@ -145,7 +145,7 @@ export interface StructuredListRowProps extends DivAttrs {
|
|
|
145
145
|
*/
|
|
146
146
|
onKeyDown?(event: KeyboardEvent): void;
|
|
147
147
|
}
|
|
148
|
-
export declare function StructuredListRow(props: StructuredListRowProps): JSX.Element;
|
|
148
|
+
export declare function StructuredListRow(props: StructuredListRowProps): import("react/jsx-runtime").JSX.Element;
|
|
149
149
|
export declare namespace StructuredListRow {
|
|
150
150
|
var propTypes: {
|
|
151
151
|
/**
|
|
@@ -196,7 +196,7 @@ export interface StructuredListInputProps extends DivAttrs {
|
|
|
196
196
|
*/
|
|
197
197
|
title?: string;
|
|
198
198
|
}
|
|
199
|
-
export declare function StructuredListInput(props: StructuredListInputProps): JSX.Element;
|
|
199
|
+
export declare function StructuredListInput(props: StructuredListInputProps): import("react/jsx-runtime").JSX.Element;
|
|
200
200
|
export declare namespace StructuredListInput {
|
|
201
201
|
var propTypes: {
|
|
202
202
|
/**
|
|
@@ -247,7 +247,7 @@ export interface StructuredListCellProps extends DivAttrs {
|
|
|
247
247
|
*/
|
|
248
248
|
noWrap?: boolean;
|
|
249
249
|
}
|
|
250
|
-
export declare function StructuredListCell(props: StructuredListCellProps): JSX.Element;
|
|
250
|
+
export declare function StructuredListCell(props: StructuredListCellProps): import("react/jsx-runtime").JSX.Element;
|
|
251
251
|
export declare namespace StructuredListCell {
|
|
252
252
|
var propTypes: {
|
|
253
253
|
/**
|
|
@@ -20,7 +20,7 @@ export interface TabContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
20
20
|
*/
|
|
21
21
|
selected?: boolean;
|
|
22
22
|
}
|
|
23
|
-
declare function TabContent(props: any): JSX.Element;
|
|
23
|
+
declare function TabContent(props: any): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
declare namespace TabContent {
|
|
25
25
|
var propTypes: {
|
|
26
26
|
/**
|
|
@@ -16,7 +16,7 @@ export interface TabsSkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
16
16
|
*/
|
|
17
17
|
contained?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare function TabsSkeleton({ className, contained, ...rest }: TabsSkeletonProps): JSX.Element;
|
|
19
|
+
declare function TabsSkeleton({ className, contained, ...rest }: TabsSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
declare namespace TabsSkeleton {
|
|
21
21
|
var propTypes: {
|
|
22
22
|
/**
|
|
@@ -43,7 +43,7 @@ export interface TabsProps {
|
|
|
43
43
|
*/
|
|
44
44
|
selectedIndex?: number;
|
|
45
45
|
}
|
|
46
|
-
declare function Tabs({ children, defaultSelectedIndex, onChange, selectedIndex: controlledSelectedIndex, dismissable, onTabCloseRequest, }: TabsProps): JSX.Element;
|
|
46
|
+
declare function Tabs({ children, defaultSelectedIndex, onChange, selectedIndex: controlledSelectedIndex, dismissable, onTabCloseRequest, }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
47
47
|
declare namespace Tabs {
|
|
48
48
|
var propTypes: {
|
|
49
49
|
/**
|
|
@@ -136,7 +136,7 @@ export interface TabListProps extends DivAttributes {
|
|
|
136
136
|
*/
|
|
137
137
|
scrollIntoView?: boolean;
|
|
138
138
|
}
|
|
139
|
-
declare function TabList({ activation, 'aria-label': label, children, className: customClassName, contained, fullWidth, iconSize, leftOverflowButtonProps, light, rightOverflowButtonProps, scrollDebounceWait, scrollIntoView, ...rest }: TabListProps): JSX.Element;
|
|
139
|
+
declare function TabList({ activation, 'aria-label': label, children, className: customClassName, contained, fullWidth, iconSize, leftOverflowButtonProps, light, rightOverflowButtonProps, scrollDebounceWait, scrollIntoView, ...rest }: TabListProps): import("react/jsx-runtime").JSX.Element;
|
|
140
140
|
declare namespace TabList {
|
|
141
141
|
var propTypes: {
|
|
142
142
|
/**
|
|
@@ -299,7 +299,7 @@ export interface TabPanelsProps {
|
|
|
299
299
|
*/
|
|
300
300
|
children?: ReactNode;
|
|
301
301
|
}
|
|
302
|
-
declare function TabPanels({ children }: TabPanelsProps): JSX.Element;
|
|
302
|
+
declare function TabPanels({ children }: TabPanelsProps): import("react/jsx-runtime").JSX.Element;
|
|
303
303
|
declare namespace TabPanels {
|
|
304
304
|
var propTypes: {
|
|
305
305
|
/**
|
|
@@ -17,7 +17,7 @@ export interface TagSkeletonProps extends React.HTMLAttributes<HTMLSpanElement>
|
|
|
17
17
|
*/
|
|
18
18
|
size?: 'sm';
|
|
19
19
|
}
|
|
20
|
-
declare function TagSkeleton({ className, size, ...rest }: TagSkeletonProps): JSX.Element;
|
|
20
|
+
declare function TagSkeleton({ className, size, ...rest }: TagSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
declare namespace TagSkeleton {
|
|
22
22
|
var propTypes: {
|
|
23
23
|
/**
|
|
@@ -71,7 +71,7 @@ export interface TagBaseProps {
|
|
|
71
71
|
}
|
|
72
72
|
export type TagProps<T extends React.ElementType> = PolymorphicProps<T, TagBaseProps>;
|
|
73
73
|
declare const Tag: {
|
|
74
|
-
<T extends React.ElementType<any>>({ children, className, id, type, filter, renderIcon: CustomIconElement, title, disabled, onClose, size, as: BaseComponent, slug, ...other }: TagProps<T>): JSX.Element;
|
|
74
|
+
<T extends React.ElementType<any>>({ children, className, id, type, filter, renderIcon: CustomIconElement, title, disabled, onClose, size, as: BaseComponent, slug, ...other }: TagProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
75
75
|
propTypes: {
|
|
76
76
|
/**
|
|
77
77
|
* Provide an alternative tag or component to use instead of the default
|
|
@@ -12,7 +12,7 @@ export interface TextBaseProps {
|
|
|
12
12
|
dir?: TextDir | undefined;
|
|
13
13
|
}
|
|
14
14
|
export type TextProps<T extends React.ElementType> = PolymorphicProps<T, TextBaseProps>;
|
|
15
|
-
declare function Text<T extends React.ElementType>({ as, children, dir, ...rest }: TextProps<T>): JSX.Element;
|
|
15
|
+
declare function Text<T extends React.ElementType>({ as, children, dir, ...rest }: TextProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
declare namespace Text {
|
|
17
17
|
var propTypes: {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@ export interface TextDirectionProps {
|
|
|
13
13
|
dir?: TextDir;
|
|
14
14
|
getTextDirection?: GetTextDirection;
|
|
15
15
|
}
|
|
16
|
-
declare function TextDirection({ children, dir, getTextDirection, }: TextDirectionProps): JSX.Element;
|
|
16
|
+
declare function TextDirection({ children, dir, getTextDirection, }: TextDirectionProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
declare namespace TextDirection {
|
|
18
18
|
var propTypes: {
|
|
19
19
|
/**
|
|
@@ -13,6 +13,6 @@ import { TextProps } from './Text';
|
|
|
13
13
|
* @param {string} displayName
|
|
14
14
|
*/
|
|
15
15
|
export declare function createTextComponent(element: React.ElementType, displayName: string): {
|
|
16
|
-
(props: TextProps<React.ElementType>): JSX.Element;
|
|
16
|
+
(props: TextProps<React.ElementType>): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
@@ -9,10 +9,10 @@ import { Text, TextBaseProps, TextProps } from './Text';
|
|
|
9
9
|
export { TextDirection, Text };
|
|
10
10
|
export type { TextBaseProps, TextProps, TextDirectionProps, GetTextDirection, TextDir, };
|
|
11
11
|
export declare const Label: {
|
|
12
|
-
(props: TextProps<import("react").ElementType<any>>): JSX.Element;
|
|
12
|
+
(props: TextProps<import("react").ElementType<any>>): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
export declare const Legend: {
|
|
16
|
-
(props: TextProps<import("react").ElementType<any>>): JSX.Element;
|
|
16
|
+
(props: TextProps<import("react").ElementType<any>>): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
@@ -17,7 +17,7 @@ export interface TextAreaSkeletonProps extends React.InputHTMLAttributes<HTMLDiv
|
|
|
17
17
|
hideLabel?: boolean;
|
|
18
18
|
}
|
|
19
19
|
declare const TextAreaSkeleton: {
|
|
20
|
-
(props: TextAreaSkeletonProps): JSX.Element;
|
|
20
|
+
(props: TextAreaSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
propTypes: {
|
|
22
22
|
/**
|
|
23
23
|
* Specify an optional className to add to the form item wrapper.
|
|
@@ -17,7 +17,7 @@ export interface TextInputSkeletonProps extends React.HTMLAttributes<HTMLDivElem
|
|
|
17
17
|
hideLabel?: boolean;
|
|
18
18
|
}
|
|
19
19
|
declare const TextInputSkeleton: {
|
|
20
|
-
({ hideLabel, className, ...rest }: TextInputSkeletonProps): JSX.Element;
|
|
20
|
+
({ hideLabel, className, ...rest }: TextInputSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
propTypes: {
|
|
22
22
|
/**
|
|
23
23
|
* Specify an optional className to add to the form item wrapper.
|
|
@@ -12,7 +12,9 @@ interface GlobalThemeProps {
|
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}
|
|
14
14
|
export declare const ThemeContext: React.Context<GlobalThemeProps>;
|
|
15
|
-
export declare const GlobalTheme: React.ForwardRefExoticComponent<GlobalThemeProps &
|
|
15
|
+
export declare const GlobalTheme: React.ForwardRefExoticComponent<GlobalThemeProps & {
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
} & React.RefAttributes<unknown>>;
|
|
16
18
|
type ThemeBaseProps = GlobalThemeProps & {
|
|
17
19
|
className?: string;
|
|
18
20
|
};
|
|
@@ -20,7 +22,7 @@ type ThemeProps<E extends ElementType> = PolymorphicProps<E, ThemeBaseProps>;
|
|
|
20
22
|
/**
|
|
21
23
|
* Specify the theme to be applied to a page, or a region in a page
|
|
22
24
|
*/
|
|
23
|
-
export declare function Theme<E extends ElementType = 'div'>({ as: BaseComponent, className: customClassName, theme, ...rest }: ThemeProps<E>): JSX.Element;
|
|
25
|
+
export declare function Theme<E extends ElementType = 'div'>({ as: BaseComponent, className: customClassName, theme, ...rest }: ThemeProps<E>): import("react/jsx-runtime").JSX.Element;
|
|
24
26
|
export declare namespace Theme {
|
|
25
27
|
var propTypes: {
|
|
26
28
|
/**
|
|
@@ -42,7 +42,7 @@ export interface TileGroupProps extends Omit<ReactAttr<HTMLFieldSetElement>, Exc
|
|
|
42
42
|
valueSelected?: string | number;
|
|
43
43
|
}
|
|
44
44
|
declare const TileGroup: {
|
|
45
|
-
(props: any): JSX.Element;
|
|
45
|
+
(props: any): import("react/jsx-runtime").JSX.Element;
|
|
46
46
|
propTypes: {
|
|
47
47
|
/**
|
|
48
48
|
* Provide a collection of <RadioTile> components to render in the group
|
|
@@ -61,7 +61,7 @@ export interface ToggleProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonE
|
|
|
61
61
|
*/
|
|
62
62
|
toggled?: boolean;
|
|
63
63
|
}
|
|
64
|
-
export declare function Toggle({ 'aria-labelledby': ariaLabelledby, className, defaultToggled, disabled, hideLabel, id, labelA, labelB, labelText, onClick, onToggle, readOnly, size, toggled, ...other }: ToggleProps): JSX.Element;
|
|
64
|
+
export declare function Toggle({ 'aria-labelledby': ariaLabelledby, className, defaultToggled, disabled, hideLabel, id, labelA, labelB, labelText, onClick, onToggle, readOnly, size, toggled, ...other }: ToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
65
65
|
export declare namespace Toggle {
|
|
66
66
|
var propTypes: {
|
|
67
67
|
/**
|
|
@@ -15,7 +15,7 @@ type ToggletipLabelProps<E extends ElementType> = {
|
|
|
15
15
|
/**
|
|
16
16
|
* Used to render the label for a Toggletip
|
|
17
17
|
*/
|
|
18
|
-
export declare function ToggletipLabel<E extends ElementType>({ as: BaseComponent, children, className: customClassName, }: ToggletipLabelProps<E>): JSX.Element;
|
|
18
|
+
export declare function ToggletipLabel<E extends ElementType>({ as: BaseComponent, children, className: customClassName, }: ToggletipLabelProps<E>): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export declare namespace ToggletipLabel {
|
|
20
20
|
var propTypes: {
|
|
21
21
|
/**
|
|
@@ -47,7 +47,7 @@ interface ToggletipProps<E extends ElementType> {
|
|
|
47
47
|
* is responsible for coordinating between interactions with the button and the
|
|
48
48
|
* visibility of the content
|
|
49
49
|
*/
|
|
50
|
-
export declare function Toggletip<E extends ElementType = 'span'>({ align, as, autoAlign, className: customClassName, children, defaultOpen, }: ToggletipProps<E>): JSX.Element;
|
|
50
|
+
export declare function Toggletip<E extends ElementType = 'span'>({ align, as, autoAlign, className: customClassName, children, defaultOpen, }: ToggletipProps<E>): import("react/jsx-runtime").JSX.Element;
|
|
51
51
|
export declare namespace Toggletip {
|
|
52
52
|
var propTypes: {
|
|
53
53
|
/**
|
|
@@ -87,7 +87,7 @@ interface ToggletipButtonProps {
|
|
|
87
87
|
* `ToggletipButton` controls the visibility of the Toggletip through mouse
|
|
88
88
|
* clicks and keyboard interactions.
|
|
89
89
|
*/
|
|
90
|
-
export declare function ToggletipButton({ children, className: customClassName, label, }: ToggletipButtonProps): JSX.Element;
|
|
90
|
+
export declare function ToggletipButton({ children, className: customClassName, label, }: ToggletipButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
91
91
|
export declare namespace ToggletipButton {
|
|
92
92
|
var propTypes: {
|
|
93
93
|
/**
|
|
@@ -114,7 +114,7 @@ interface ToggletipContentProps {
|
|
|
114
114
|
* `children` passed in as a prop inside of `PopoverContent` so that they will
|
|
115
115
|
* be rendered inside of the popover for this component.
|
|
116
116
|
*/
|
|
117
|
-
export declare function ToggletipContent({ children, className: customClassName, }: ToggletipContentProps): JSX.Element;
|
|
117
|
+
export declare function ToggletipContent({ children, className: customClassName, }: ToggletipContentProps): import("react/jsx-runtime").JSX.Element;
|
|
118
118
|
export declare namespace ToggletipContent {
|
|
119
119
|
var propTypes: {
|
|
120
120
|
/**
|
|
@@ -136,7 +136,7 @@ interface ToggleTipActionsProps {
|
|
|
136
136
|
* `ToggletipActions` is a container for one or two actions present at the base
|
|
137
137
|
* of a toggletip. It is used for layout of these items.
|
|
138
138
|
*/
|
|
139
|
-
export declare function ToggletipActions({ children, className: customClassName, }: ToggleTipActionsProps): JSX.Element;
|
|
139
|
+
export declare function ToggletipActions({ children, className: customClassName, }: ToggleTipActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
140
140
|
export declare namespace ToggletipActions {
|
|
141
141
|
var propTypes: {
|
|
142
142
|
/**
|
|
@@ -60,7 +60,7 @@ interface TooltipBaseProps {
|
|
|
60
60
|
leaveDelayMs?: number;
|
|
61
61
|
}
|
|
62
62
|
export type TooltipProps<T extends React.ElementType> = PolymorphicProps<T, TooltipBaseProps>;
|
|
63
|
-
declare function Tooltip<T extends React.ElementType>({ align, className: customClassName, children, label, description, enterDelayMs, leaveDelayMs, defaultOpen, closeOnActivation, ...rest }: TooltipProps<T>): JSX.Element;
|
|
63
|
+
declare function Tooltip<T extends React.ElementType>({ align, className: customClassName, children, label, description, enterDelayMs, leaveDelayMs, defaultOpen, closeOnActivation, ...rest }: TooltipProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
64
64
|
declare namespace Tooltip {
|
|
65
65
|
var propTypes: {
|
|
66
66
|
/**
|