@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
|
@@ -53,7 +53,7 @@ export interface FileUploaderItemProps extends ReactAttr<HTMLSpanElement> {
|
|
|
53
53
|
*/
|
|
54
54
|
uuid?: string;
|
|
55
55
|
}
|
|
56
|
-
declare function FileUploaderItem({ uuid, name, status, iconDescription, onDelete, invalid, errorSubject, errorBody, size, ...other }: FileUploaderItemProps): JSX.Element;
|
|
56
|
+
declare function FileUploaderItem({ uuid, name, status, iconDescription, onDelete, invalid, errorSubject, errorBody, size, ...other }: FileUploaderItemProps): import("react/jsx-runtime").JSX.Element;
|
|
57
57
|
declare namespace FileUploaderItem {
|
|
58
58
|
var propTypes: {
|
|
59
59
|
/**
|
|
@@ -35,7 +35,7 @@ export interface FilenameProps extends Omit<ReactAttr & SVGAttr, 'tabIndex' | 't
|
|
|
35
35
|
*/
|
|
36
36
|
tabIndex?: number;
|
|
37
37
|
}
|
|
38
|
-
declare function Filename({ iconDescription, status, invalid, name, tabIndex, ['aria-describedby']: ariaDescribedBy, ...rest }: FilenameProps): JSX.Element | null;
|
|
38
|
+
declare function Filename({ iconDescription, status, invalid, name, tabIndex, ['aria-describedby']: ariaDescribedBy, ...rest }: FilenameProps): import("react/jsx-runtime").JSX.Element | null;
|
|
39
39
|
declare namespace Filename {
|
|
40
40
|
var propTypes: {
|
|
41
41
|
/**
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import { type ComponentProps } from 'react';
|
|
9
9
|
type FormProps = ComponentProps<'form'>;
|
|
10
|
-
declare function Form({ className, children, ...other }: FormProps): JSX.Element;
|
|
10
|
+
declare function Form({ className, children, ...other }: FormProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
declare namespace Form {
|
|
12
12
|
var propTypes: {
|
|
13
13
|
/**
|
|
@@ -39,7 +39,7 @@ export interface FormGroupProps extends ReactAttr<HTMLFieldSetElement> {
|
|
|
39
39
|
messageText?: string;
|
|
40
40
|
}
|
|
41
41
|
declare const FormGroup: {
|
|
42
|
-
({ legendId, legendText, invalid, children, className, message, messageText, ...rest }: FormGroupProps): JSX.Element;
|
|
42
|
+
({ legendId, legendText, invalid, children, className, message, messageText, ...rest }: FormGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
propTypes: {
|
|
44
44
|
/**
|
|
45
45
|
* Provide the children form elements to be rendered inside of the <fieldset>
|
|
@@ -16,7 +16,7 @@ type FormItemProps = {
|
|
|
16
16
|
*/
|
|
17
17
|
className?: string;
|
|
18
18
|
};
|
|
19
|
-
declare function FormItem({ className, children, ...rest }: FormItemProps): JSX.Element;
|
|
19
|
+
declare function FormItem({ className, children, ...rest }: FormItemProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
declare namespace FormItem {
|
|
21
21
|
var propTypes: {
|
|
22
22
|
/**
|
|
@@ -20,7 +20,7 @@ export interface FormLabelProps extends Omit<React.LabelHTMLAttributes<HTMLLabel
|
|
|
20
20
|
*/
|
|
21
21
|
id?: string;
|
|
22
22
|
}
|
|
23
|
-
declare function FormLabel({ className: customClassName, children, id, ...rest }: FormLabelProps): JSX.Element;
|
|
23
|
+
declare function FormLabel({ className: customClassName, children, id, ...rest }: FormLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
declare namespace FormLabel {
|
|
25
25
|
var propTypes: {
|
|
26
26
|
/**
|
|
@@ -4,13 +4,13 @@
|
|
|
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 React from 'react';
|
|
7
|
+
import React, { type ElementType } from 'react';
|
|
8
|
+
import type { PolymorphicProps } from '../../types/common';
|
|
8
9
|
type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
9
10
|
type SectionBaseProps = {
|
|
10
11
|
level?: HeadingLevel;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export declare const Heading: React.ForwardRefExoticComponent<Pick<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement>, "key" | keyof React.HTMLAttributes<HTMLHeadingElement>> & React.RefAttributes<HTMLHeadingElement>>;
|
|
13
|
+
type SectionProps<E extends ElementType> = PolymorphicProps<E, SectionBaseProps>;
|
|
14
|
+
export declare const Section: React.ForwardRefExoticComponent<Omit<SectionProps<React.ElementType<any>>, "ref"> & React.RefAttributes<unknown>>;
|
|
15
|
+
export declare const Heading: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
16
16
|
export {};
|
|
@@ -13,7 +13,7 @@ export interface IconSkeletonProps extends ComponentProps<'div'> {
|
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
15
|
declare const IconSkeleton: {
|
|
16
|
-
({ className, ...rest }: IconSkeletonProps): JSX.Element;
|
|
16
|
+
({ className, ...rest }: IconSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
propTypes: {
|
|
18
18
|
/**
|
|
19
19
|
* Specify an optional className to add.
|
|
@@ -36,7 +36,7 @@ export interface InlineLoadingProps extends Omit<React.DetailedHTMLProps<React.H
|
|
|
36
36
|
successDelay?: number;
|
|
37
37
|
}
|
|
38
38
|
declare const InlineLoading: {
|
|
39
|
-
({ className, status, iconDescription, description, onSuccess, successDelay, ...rest }: InlineLoadingProps): JSX.Element;
|
|
39
|
+
({ className, status, iconDescription, description, onSuccess, successDelay, ...rest }: InlineLoadingProps): import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
propTypes: {
|
|
41
41
|
/**
|
|
42
42
|
* Specify a custom className to be applied to the container node
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import { type ComponentProps } from 'react';
|
|
9
9
|
type ListItemProps = ComponentProps<'li'>;
|
|
10
|
-
declare function ListItem({ className, children, ...other }: ListItemProps): JSX.Element;
|
|
10
|
+
declare function ListItem({ className, children, ...other }: ListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
declare namespace ListItem {
|
|
12
12
|
var propTypes: {
|
|
13
13
|
/**
|
|
@@ -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
|
import { ReactAttr } from '../../types/common';
|
|
10
9
|
export interface LoadingProps extends ReactAttr<HTMLDivElement> {
|
|
@@ -33,7 +32,7 @@ export interface LoadingProps extends ReactAttr<HTMLDivElement> {
|
|
|
33
32
|
*/
|
|
34
33
|
withOverlay: boolean;
|
|
35
34
|
}
|
|
36
|
-
declare function Loading({ active, className: customClassName, withOverlay, small, description, ...rest }: LoadingProps): JSX.Element;
|
|
35
|
+
declare function Loading({ active, className: customClassName, withOverlay, small, description, ...rest }: LoadingProps): import("react/jsx-runtime").JSX.Element;
|
|
37
36
|
declare namespace Loading {
|
|
38
37
|
var propTypes: {
|
|
39
38
|
/**
|
|
@@ -52,12 +52,12 @@ function Loading(_ref) {
|
|
|
52
52
|
className: `${prefix}--loading__background`,
|
|
53
53
|
cx: "50%",
|
|
54
54
|
cy: "50%",
|
|
55
|
-
r: "
|
|
55
|
+
r: "42"
|
|
56
56
|
}) : null, /*#__PURE__*/React__default["default"].createElement("circle", {
|
|
57
57
|
className: `${prefix}--loading__stroke`,
|
|
58
58
|
cx: "50%",
|
|
59
59
|
cy: "50%",
|
|
60
|
-
r:
|
|
60
|
+
r: small ? '42' : '44'
|
|
61
61
|
})));
|
|
62
62
|
return withOverlay ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63
63
|
className: overlayClassName
|
|
@@ -70,6 +70,6 @@ export default class ModalWrapper extends React.Component<ModalWrapperProps, Mod
|
|
|
70
70
|
handleOpen: () => void;
|
|
71
71
|
handleClose: (evt: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
72
72
|
handleOnRequestSubmit: (evt: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
73
|
-
render(): JSX.Element;
|
|
73
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
74
74
|
}
|
|
75
75
|
export {};
|
|
@@ -25,7 +25,7 @@ export interface NotificationActionButtonProps extends ButtonProps<'button'> {
|
|
|
25
25
|
*/
|
|
26
26
|
onClick?(): void;
|
|
27
27
|
}
|
|
28
|
-
export declare function NotificationActionButton({ children, className: customClassName, onClick, inline, ...rest }: NotificationActionButtonProps): JSX.Element;
|
|
28
|
+
export declare function NotificationActionButton({ children, className: customClassName, onClick, inline, ...rest }: NotificationActionButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
export declare namespace NotificationActionButton {
|
|
30
30
|
var propTypes: {
|
|
31
31
|
/**
|
|
@@ -82,7 +82,7 @@ export interface NotificationButtonProps extends ButtonHTMLAttributes<HTMLButton
|
|
|
82
82
|
name?: string;
|
|
83
83
|
}>;
|
|
84
84
|
}
|
|
85
|
-
export declare function NotificationButton({ 'aria-label': ariaLabel, ariaLabel: deprecatedAriaLabel, className, type, renderIcon: IconTag, name, notificationType, ...rest }: NotificationButtonProps): JSX.Element;
|
|
85
|
+
export declare function NotificationButton({ 'aria-label': ariaLabel, ariaLabel: deprecatedAriaLabel, className, type, renderIcon: IconTag, name, notificationType, ...rest }: NotificationButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
86
86
|
export declare namespace NotificationButton {
|
|
87
87
|
var propTypes: {
|
|
88
88
|
/**
|
|
@@ -186,7 +186,7 @@ export interface ToastNotificationProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
186
186
|
*/
|
|
187
187
|
title?: string;
|
|
188
188
|
}
|
|
189
|
-
export declare function ToastNotification({ ['aria-label']: ariaLabel, ariaLabel: deprecatedAriaLabel, role, onClose, onCloseButtonClick, statusIconDescription, className, children, kind, lowContrast, hideCloseButton, timeout, title, caption, subtitle, ...rest }: ToastNotificationProps): JSX.Element | null;
|
|
189
|
+
export declare function ToastNotification({ ['aria-label']: ariaLabel, ariaLabel: deprecatedAriaLabel, role, onClose, onCloseButtonClick, statusIconDescription, className, children, kind, lowContrast, hideCloseButton, timeout, title, caption, subtitle, ...rest }: ToastNotificationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
190
190
|
export declare namespace ToastNotification {
|
|
191
191
|
var propTypes: {
|
|
192
192
|
/**
|
|
@@ -308,7 +308,7 @@ export interface InlineNotificationProps extends HTMLAttributes<HTMLDivElement>
|
|
|
308
308
|
*/
|
|
309
309
|
title?: string;
|
|
310
310
|
}
|
|
311
|
-
export declare function InlineNotification({ ['aria-label']: ariaLabel, children, title, subtitle, role, onClose, onCloseButtonClick, statusIconDescription, className, kind, lowContrast, hideCloseButton, ...rest }: InlineNotificationProps): JSX.Element | null;
|
|
311
|
+
export declare function InlineNotification({ ['aria-label']: ariaLabel, children, title, subtitle, role, onClose, onCloseButtonClick, statusIconDescription, className, kind, lowContrast, hideCloseButton, ...rest }: InlineNotificationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
312
312
|
export declare namespace InlineNotification {
|
|
313
313
|
var propTypes: {
|
|
314
314
|
/**
|
|
@@ -388,6 +388,7 @@ export interface ActionableNotificationProps extends HTMLAttributes<HTMLDivEleme
|
|
|
388
388
|
*/
|
|
389
389
|
closeOnEscape?: boolean;
|
|
390
390
|
/**
|
|
391
|
+
* @deprecated use StaticNotification once it's available. Issue #15532
|
|
391
392
|
* Specify if focus should be moved to the component when the notification contains actions
|
|
392
393
|
*/
|
|
393
394
|
hasFocus?: boolean;
|
|
@@ -435,7 +436,7 @@ export interface ActionableNotificationProps extends HTMLAttributes<HTMLDivEleme
|
|
|
435
436
|
*/
|
|
436
437
|
title?: string;
|
|
437
438
|
}
|
|
438
|
-
export declare function ActionableNotification({ actionButtonLabel, ['aria-label']: ariaLabel, ariaLabel: deprecatedAriaLabel, children, role, onActionButtonClick, onClose, onCloseButtonClick, statusIconDescription, className, inline, kind, lowContrast, hideCloseButton, hasFocus, closeOnEscape, title, subtitle, ...rest }: ActionableNotificationProps): JSX.Element | null;
|
|
439
|
+
export declare function ActionableNotification({ actionButtonLabel, ['aria-label']: ariaLabel, ariaLabel: deprecatedAriaLabel, children, role, onActionButtonClick, onClose, onCloseButtonClick, statusIconDescription, className, inline, kind, lowContrast, hideCloseButton, hasFocus, closeOnEscape, title, subtitle, ...rest }: ActionableNotificationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
439
440
|
export declare namespace ActionableNotification {
|
|
440
441
|
var propTypes: {
|
|
441
442
|
/**
|
|
@@ -464,9 +465,10 @@ export declare namespace ActionableNotification {
|
|
|
464
465
|
*/
|
|
465
466
|
closeOnEscape: PropTypes.Requireable<boolean>;
|
|
466
467
|
/**
|
|
468
|
+
* Deprecated, please use StaticNotification once it's available. Issue #15532
|
|
467
469
|
* Specify if focus should be moved to the component when the notification contains actions
|
|
468
470
|
*/
|
|
469
|
-
hasFocus:
|
|
471
|
+
hasFocus: (props: any, propName: any, componentName: any, ...rest: any[]) => any;
|
|
470
472
|
/**
|
|
471
473
|
* Specify the close button should be disabled, or not
|
|
472
474
|
*/
|
|
@@ -637,9 +637,10 @@ ActionableNotification.propTypes = {
|
|
|
637
637
|
*/
|
|
638
638
|
closeOnEscape: PropTypes__default["default"].bool,
|
|
639
639
|
/**
|
|
640
|
+
* Deprecated, please use StaticNotification once it's available. Issue #15532
|
|
640
641
|
* Specify if focus should be moved to the component when the notification contains actions
|
|
641
642
|
*/
|
|
642
|
-
hasFocus: PropTypes__default["default"].bool,
|
|
643
|
+
hasFocus: deprecate["default"](PropTypes__default["default"].bool),
|
|
643
644
|
/**
|
|
644
645
|
* Specify the close button should be disabled, or not
|
|
645
646
|
*/
|
|
@@ -16,7 +16,7 @@ export interface NumberInputSkeletonProps extends HTMLAttributes<HTMLDivElement>
|
|
|
16
16
|
*/
|
|
17
17
|
hideLabel?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare function NumberInputSkeleton({ hideLabel, className, ...rest }: NumberInputSkeletonProps): JSX.Element;
|
|
19
|
+
declare function NumberInputSkeleton({ hideLabel, className, ...rest }: NumberInputSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
declare namespace NumberInputSkeleton {
|
|
21
21
|
var propTypes: {
|
|
22
22
|
/**
|
|
@@ -11,7 +11,7 @@ interface OrderedListProps extends ComponentProps<'ol'> {
|
|
|
11
11
|
native?: boolean | undefined;
|
|
12
12
|
isExpressive?: boolean | undefined;
|
|
13
13
|
}
|
|
14
|
-
declare function OrderedList({ className, nested, native, isExpressive, ...other }: OrderedListProps): JSX.Element;
|
|
14
|
+
declare function OrderedList({ className, nested, native, isExpressive, ...other }: OrderedListProps): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
declare namespace OrderedList {
|
|
16
16
|
var propTypes: {
|
|
17
17
|
/**
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { ButtonProps } from '../Button';
|
|
9
|
-
declare const PrimaryButton: <T extends React.ElementType<any>>(props: ButtonProps<T>) => JSX.Element;
|
|
9
|
+
declare const PrimaryButton: <T extends React.ElementType<any>>(props: ButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default PrimaryButton;
|
|
@@ -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 ProgressBarProps {
|
|
10
9
|
/**
|
|
@@ -44,7 +43,7 @@ interface ProgressBarProps {
|
|
|
44
43
|
*/
|
|
45
44
|
value?: number;
|
|
46
45
|
}
|
|
47
|
-
declare function ProgressBar({ className, helperText, hideLabel, label, max, size, status, type, value, }: ProgressBarProps): JSX.Element;
|
|
46
|
+
declare function ProgressBar({ className, helperText, hideLabel, label, max, size, status, type, value, }: ProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
|
48
47
|
declare namespace ProgressBar {
|
|
49
48
|
var propTypes: {
|
|
50
49
|
/**
|
|
@@ -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
|