@arc-ui/components 12.0.0 → 13.0.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/lib/Alert/styles.css +1 -1
- package/lib/Align/styles.css +1 -1
- package/lib/AppButton/styles.css +1 -1
- package/lib/Avatar/styles.css +1 -1
- package/lib/AvatarGroup/styles.css +1 -1
- package/lib/Badge/styles.css +1 -1
- package/lib/Banner/Banner.cjs +3 -3
- package/lib/Banner/Banner.mjs +3 -3
- package/lib/Box/styles.css +1 -1
- package/lib/BrandLogo/styles.css +1 -1
- package/lib/Breadcrumbs/Breadcrumbs.cjs +7 -7
- package/lib/Breadcrumbs/Breadcrumbs.mjs +7 -7
- package/lib/Breadcrumbs/styles.css +1 -1
- package/lib/Button/Button.cjs +1 -1
- package/lib/Button/Button.mjs +1 -1
- package/lib/Button/styles.css +1 -1
- package/lib/ButtonGroup/ButtonGroup.cjs +6 -3
- package/lib/ButtonGroup/ButtonGroup.mjs +6 -3
- package/lib/ButtonGroup/styles.css +1 -1
- package/lib/ButtonV2/ButtonV2.cjs +1 -1
- package/lib/ButtonV2/ButtonV2.mjs +1 -1
- package/lib/ButtonV2/styles.css +1 -1
- package/lib/Calendar/Calendar.cjs +6 -6
- package/lib/Calendar/Calendar.mjs +6 -6
- package/lib/Calendar/styles.css +1 -1
- package/lib/CardFooter/styles.css +1 -1
- package/lib/CardHeading/CardHeading.cjs +1 -1
- package/lib/CardHeading/CardHeading.mjs +1 -1
- package/lib/CardHeading/styles.css +1 -1
- package/lib/Carousel/Carousel.cjs +348 -8
- package/lib/Carousel/Carousel.mjs +348 -8
- package/lib/Carousel/styles.css +1 -1
- package/lib/Checkbox/Checkbox.cjs +7 -7
- package/lib/Checkbox/Checkbox.mjs +8 -8
- package/lib/Checkbox/styles.css +1 -1
- package/lib/CheckboxIcon/CheckboxIcon.cjs +1 -1
- package/lib/CheckboxIcon/CheckboxIcon.mjs +1 -1
- package/lib/CheckboxIcon/styles.css +1 -1
- package/lib/Columns/styles.css +1 -1
- package/lib/ComboBox/ComboBox.cjs +13 -13
- package/lib/ComboBox/ComboBox.mjs +14 -14
- package/lib/ComboBox/styles.css +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.cjs +1 -1
- package/lib/ContentSwitcher/ContentSwitcher.mjs +4 -4
- package/lib/ContentSwitcher/styles.css +1 -1
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +7 -7
- package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +7 -7
- package/lib/ContentSwitcherDropdown/styles.css +1 -1
- package/lib/DatePicker/DatePicker.cjs +18 -18
- package/lib/DatePicker/DatePicker.mjs +19 -19
- package/lib/DatePicker/styles.css +1 -1
- package/lib/Disclosure/styles.css +1 -1
- package/lib/DisclosureMini/styles.css +1 -1
- package/lib/Download/styles.css +1 -1
- package/lib/Drawer/Drawer.cjs +36 -28
- package/lib/Drawer/Drawer.mjs +36 -28
- package/lib/Drawer/styles.css +1 -1
- package/lib/Elevation/styles.css +1 -1
- package/lib/Filter/styles.css +1 -1
- package/lib/FormControl/styles.css +1 -1
- package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +2 -2
- package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +2 -2
- package/lib/GhostedHeroBanner/styles.css +1 -1
- package/lib/GradientPageBackground/GradientPageBackground.cjs +3 -3
- package/lib/GradientPageBackground/GradientPageBackground.mjs +3 -3
- package/lib/GradientPageBackground/styles.css +1 -1
- package/lib/Grid/styles.css +1 -1
- package/lib/Group/styles.css +1 -1
- package/lib/Heading/styles.css +1 -1
- package/lib/HeroBanner/HeroBanner.cjs +3 -3
- package/lib/HeroBanner/HeroBanner.mjs +3 -3
- package/lib/HeroBanner/styles.css +1 -1
- package/lib/HeroButton/HeroButton.cjs +3 -3
- package/lib/HeroButton/HeroButton.mjs +4 -4
- package/lib/HeroButton/styles.css +1 -1
- package/lib/Hidden/styles.css +1 -1
- package/lib/HorizontalCard/HorizontalCard.cjs +1 -1
- package/lib/HorizontalCard/HorizontalCard.mjs +1 -1
- package/lib/HorizontalCard/styles.css +1 -1
- package/lib/Icon/styles.css +1 -1
- package/lib/Image/styles.css +1 -1
- package/lib/ImpactCard/ImpactCard.cjs +4 -4
- package/lib/ImpactCard/ImpactCard.mjs +4 -4
- package/lib/ImpactCard/styles.css +1 -1
- package/lib/InformationCard/InformationCard.cjs +7 -7
- package/lib/InformationCard/InformationCard.mjs +7 -7
- package/lib/InformationCard/styles.css +1 -1
- package/lib/Link/styles.css +1 -1
- package/lib/Markup/styles.css +1 -1
- package/lib/MediaCard/MediaCard.cjs +5 -5
- package/lib/MediaCard/MediaCard.mjs +5 -5
- package/lib/MediaCard/styles.css +1 -1
- package/lib/Menu/Menu.cjs +17 -16
- package/lib/Menu/Menu.mjs +17 -16
- package/lib/Menu/styles.css +1 -1
- package/lib/Modal/Modal.cjs +7 -7
- package/lib/Modal/Modal.mjs +7 -7
- package/lib/Modal/styles.css +1 -1
- package/lib/NavigationHeader/NavigationHeader.cjs +38 -50
- package/lib/NavigationHeader/NavigationHeader.mjs +39 -51
- package/lib/NavigationHeader/styles.css +1 -1
- package/lib/Pagination/styles.css +1 -1
- package/lib/PaginationSimple/styles.css +1 -1
- package/lib/Popover/Popover.cjs +7 -7
- package/lib/Popover/Popover.mjs +7 -7
- package/lib/Popover/styles.css +1 -1
- package/lib/Poster/styles.css +1 -1
- package/lib/ProgressBar/ProgressBar.cjs +2 -2
- package/lib/ProgressBar/ProgressBar.mjs +2 -2
- package/lib/ProgressBar/styles.css +1 -1
- package/lib/ProgressStepper/ProgressStepper.cjs +2 -2
- package/lib/ProgressStepper/ProgressStepper.mjs +2 -2
- package/lib/ProgressStepper/styles.css +1 -1
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +76 -121
- package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +77 -123
- package/lib/ProgressStepperOverflow/styles.css +1 -1
- package/lib/RadioCardGroup/RadioCardGroup.cjs +12 -8
- package/lib/RadioCardGroup/RadioCardGroup.mjs +12 -8
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/RadioGroup.cjs +6 -6
- package/lib/RadioGroup/RadioGroup.mjs +7 -7
- package/lib/RadioGroup/styles.css +1 -1
- package/lib/Rule/Rule.cjs +1 -1
- package/lib/Rule/Rule.mjs +1 -1
- package/lib/Rule/styles.css +1 -1
- package/lib/ScrollToTop/ScrollToTop.cjs +1 -1
- package/lib/ScrollToTop/ScrollToTop.mjs +1 -1
- package/lib/ScrollToTop/styles.css +1 -1
- package/lib/Section/styles.css +1 -1
- package/lib/Select/Select.cjs +6 -6
- package/lib/Select/Select.mjs +6 -6
- package/lib/Select/styles.css +1 -1
- package/lib/SemanticHeading/styles.css +1 -1
- package/lib/SiteFooter/styles.css +1 -1
- package/lib/SiteFooterV2/SiteFooterV2.cjs +1 -1
- package/lib/SiteFooterV2/SiteFooterV2.mjs +1 -1
- package/lib/SiteFooterV2/styles.css +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.cjs +13 -9
- package/lib/SiteHeaderV2/SiteHeaderV2.mjs +13 -9
- package/lib/SiteHeaderV2/styles.css +1 -1
- package/lib/Skeleton/styles.css +1 -1
- package/lib/SkipLink/SkipLink.cjs +2 -2
- package/lib/SkipLink/SkipLink.mjs +3 -3
- package/lib/SkipLink/styles.css +1 -1
- package/lib/Spinner/styles.css +1 -1
- package/lib/Surface/styles.css +1 -1
- package/lib/Switch/Switch.mjs +1 -1
- package/lib/Switch/styles.css +1 -1
- package/lib/TabbedBanner/TabbedBanner.cjs +9 -9
- package/lib/TabbedBanner/TabbedBanner.mjs +12 -12
- package/lib/TabbedBanner/styles.css +1 -1
- package/lib/Tabs/Tabs.mjs +3 -3
- package/lib/Tabs/styles.css +1 -1
- package/lib/Tag/styles.css +1 -1
- package/lib/TemplateBanner/TemplateBanner.cjs +1 -1
- package/lib/TemplateBanner/TemplateBanner.mjs +1 -1
- package/lib/TemplateBanner/styles.css +1 -1
- package/lib/Text/styles.css +1 -1
- package/lib/TextArea/TextArea.cjs +3 -3
- package/lib/TextArea/TextArea.mjs +4 -4
- package/lib/TextArea/styles.css +1 -1
- package/lib/TextInput/TextInput.cjs +4 -4
- package/lib/TextInput/TextInput.mjs +4 -4
- package/lib/TextInput/styles.css +1 -1
- package/lib/Theme/Theme.cjs +1 -1
- package/lib/Theme/Theme.mjs +1 -1
- package/lib/Theme/styles.css +1 -1
- package/lib/ThemeIcon/styles.css +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +1 -1
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/Toast/Toast.mjs +2 -2
- package/lib/Toast/styles.css +1 -1
- package/lib/Tooltip/Tooltip.cjs +3 -3
- package/lib/Tooltip/Tooltip.mjs +3 -3
- package/lib/Tooltip/styles.css +1 -1
- package/lib/Truncate/styles.css +1 -1
- package/lib/TypographyCard/TypographyCard.cjs +4 -4
- package/lib/TypographyCard/TypographyCard.mjs +4 -4
- package/lib/TypographyCard/styles.css +1 -1
- package/lib/UniversalHeader/styles.css +1 -1
- package/lib/VerticalSpace/styles.css +1 -1
- package/lib/VideoPlayer/VideoPlayer.cjs +3 -3
- package/lib/VideoPlayer/VideoPlayer.mjs +3 -3
- package/lib/VideoPlayer/styles.css +1 -1
- package/lib/Visible/styles.css +1 -1
- package/lib/VisuallyHidden/styles.css +1 -1
- package/lib/_shared/cjs/{Button-BN4jUsg5.cjs → Button-CrevzrTg.cjs} +3 -3
- package/lib/_shared/cjs/{ButtonV2-bUu36xW8.cjs → ButtonV2-CxyploaQ.cjs} +3 -3
- package/lib/_shared/cjs/{Calendar-BvPNEvfm.cjs → Calendar-CdLn9iv6.cjs} +7 -7
- package/lib/_shared/cjs/{CardHeading-lGy1u6eD.cjs → CardHeading-C84m67_F.cjs} +2 -2
- package/lib/_shared/cjs/{CheckboxIcon-BTkdXfpp.cjs → CheckboxIcon-BzY1S_ud.cjs} +6 -5
- package/lib/_shared/cjs/{Combination-6m6aOXZq.cjs → Combination-Cm62lfyr.cjs} +1 -1
- package/lib/_shared/cjs/{ContentSwitcherDropdown-BLXyhXVS.cjs → ContentSwitcherDropdown-6IGRpV54.cjs} +2 -2
- package/lib/_shared/cjs/{ContentSwitcherList-BgAW2IhJ.cjs → ContentSwitcherList-Di7RS8ue.cjs} +28 -17
- package/lib/_shared/cjs/{Popover-CYcqjefw.cjs → Popover-BtvRErpC.cjs} +7 -4
- package/lib/_shared/cjs/{ProgressStepper-DTZQabiV.cjs → ProgressStepper-Cs6vX7Th.cjs} +19 -18
- package/lib/_shared/cjs/{Rule-jmvOpci7.cjs → Rule-essaguo_.cjs} +2 -2
- package/lib/_shared/cjs/{TemplateBanner-CzDAL0lq.cjs → TemplateBanner-DyXBKuMw.cjs} +2 -2
- package/lib/_shared/cjs/{TextInput-BHzuoI7E.cjs → TextInput-C_K2PLf5.cjs} +6 -6
- package/lib/_shared/cjs/{Tooltip-CEb7YEP2.cjs → Tooltip-CdmWvrnr.cjs} +2 -2
- package/lib/_shared/cjs/{arc-breakpoints-Cl4-g1TC.cjs → arc-breakpoints-uADxN-b4.cjs} +1 -1
- package/lib/_shared/cjs/{index-BGGFOAAx.cjs → index-BBDa9gnQ.cjs} +2 -2
- package/lib/_shared/cjs/{index-D9onmVh5.cjs → index-BDUrOKEW.cjs} +3 -3
- package/lib/_shared/cjs/{index-CklPiHsS.cjs → index-B_WZUATb.cjs} +2 -2
- package/lib/_shared/cjs/{index-B11wQrRa.cjs → index-BdJeAKfz.cjs} +1 -1
- package/lib/_shared/cjs/{index-CDVpHNP8.cjs → index-Dgn0408w.cjs} +4 -4
- package/lib/_shared/cjs/{index-DXNM3D1d.cjs → index-DlWZZNwu.cjs} +2 -2
- package/lib/_shared/cjs/{index-BWfgSvRQ.cjs → index-DsqYRMfM.cjs} +4 -4
- package/lib/_shared/cjs/{index-KrMgv4q_.cjs → index-WO7l1Mfx.cjs} +3 -3
- package/lib/_shared/cjs/{index.es-Dbvw_3_e.cjs → index.es-BAsay4oe.cjs} +1 -1
- package/lib/_shared/cjs/{use-media-query-DqZqShGX.cjs → use-media-query-BJV2IbHi.cjs} +4 -4
- package/lib/_shared/esm/{Button-DTiOFT9M.mjs → Button-Benn9Qop.mjs} +4 -4
- package/lib/_shared/esm/{ButtonV2-ByW5P8Hq.mjs → ButtonV2-CgjYgfZA.mjs} +4 -4
- package/lib/_shared/esm/{Calendar-DzsQqJlh.mjs → Calendar-CzFIMyD1.mjs} +8 -8
- package/lib/_shared/esm/{CardHeading-CfPEEmBO.mjs → CardHeading-CV14vmox.mjs} +2 -2
- package/lib/_shared/esm/{CheckboxIcon-BcVQe6mC.mjs → CheckboxIcon-CzRn1j8X.mjs} +6 -5
- package/lib/_shared/esm/{Combination-BQ4XBtF-.mjs → Combination-BW0YAEZD.mjs} +1 -1
- package/lib/_shared/esm/{ContentSwitcherDropdown-ckPG4pry.mjs → ContentSwitcherDropdown-CwoMd63a.mjs} +2 -2
- package/lib/_shared/esm/{ContentSwitcherList-i4m4nAzP.mjs → ContentSwitcherList-Bvp9Zl85.mjs} +30 -19
- package/lib/_shared/esm/{Popover-BHCEpLSa.mjs → Popover-DRQSgAog.mjs} +7 -4
- package/lib/_shared/esm/{ProgressStepper-CujHLQsm.mjs → ProgressStepper-DTPHHVFe.mjs} +20 -19
- package/lib/_shared/esm/{Rule-I1w3EaZi.mjs → Rule-Bz3QPezk.mjs} +3 -3
- package/lib/_shared/esm/{TemplateBanner-CZSTdma0.mjs → TemplateBanner-BPzuH5bz.mjs} +2 -2
- package/lib/_shared/esm/{TextInput-CZaNXVHl.mjs → TextInput-BCvKXfM_.mjs} +8 -8
- package/lib/_shared/esm/{Tooltip-BpSzN3Tx.mjs → Tooltip-DY8nS1to.mjs} +2 -2
- package/lib/_shared/esm/{arc-breakpoints-Br78xe-f.mjs → arc-breakpoints-ChQgbftE.mjs} +1 -1
- package/lib/_shared/esm/{index-u47CK8Y0.mjs → index-B3ewsmrD.mjs} +2 -2
- package/lib/_shared/esm/{index-GCEHSsY8.mjs → index-BMmvMegf.mjs} +2 -2
- package/lib/_shared/esm/{index-DXHprNQ6.mjs → index-C_mwuZg6.mjs} +1 -1
- package/lib/_shared/esm/{index-BWkI4Dwz.mjs → index-CfXVJXLq.mjs} +3 -3
- package/lib/_shared/esm/{index-CWHcEz3_.mjs → index-Cgsjp3NL.mjs} +1 -1
- package/lib/_shared/esm/{index-CN4hP3Wu.mjs → index-CjeQnMcn.mjs} +3 -3
- package/lib/_shared/esm/{index-BFKdmv_g.mjs → index-DNvlT7G_.mjs} +3 -3
- package/lib/_shared/esm/{index-Do2wfP-X.mjs → index-Dd3yZ_Kk.mjs} +4 -4
- package/lib/_shared/esm/{index-vnVJe9rH.mjs → index-Dfz5UgHo.mjs} +4 -4
- package/lib/_shared/esm/{index-Bz2JQq34.mjs → index-DkAfUbDx.mjs} +2 -2
- package/lib/_shared/esm/{index-6HtUz28p.mjs → index-Drb5ngQr.mjs} +1 -1
- package/lib/_shared/esm/{index.es-f0R-yhhl.mjs → index.es-99J0r2va.mjs} +2 -2
- package/lib/_shared/esm/{use-media-query-BmsMeo2M.mjs → use-media-query-l6Sou0dd.mjs} +4 -4
- package/lib/index.cjs +662 -346
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1063 -328
- package/lib/index.d.mts +1063 -328
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +663 -348
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +2 -2
- package/lib/use-media-query/use-media-query.cjs +1 -1
- package/lib/use-media-query/use-media-query.mjs +1 -1
- package/package.json +14 -12
- package/lib/_shared/cjs/capitalise-first-letter-CdhexpSx.cjs +0 -8
- package/lib/_shared/esm/capitalise-first-letter-Cubg2CS1.mjs +0 -6
package/lib/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { ReactNode, JSX, HTMLAttributes, Ref, MouseEvent as MouseEvent$1, ChangeEvent, ReactElement } from 'react';
|
|
2
3
|
import { ArcGradient } from '@arc-ui/gradients';
|
|
3
4
|
import { ImageProps as ImageProps$1 } from 'src/components/Image/Image';
|
|
4
5
|
import { VideoPlayerProps as VideoPlayerProps$1 } from 'src/components/VideoPlayer';
|
|
@@ -8,7 +9,7 @@ import { ReactPlayerProps } from 'react-player';
|
|
|
8
9
|
/**
|
|
9
10
|
* Use `Align` to align items horizontally or vertically.
|
|
10
11
|
*/
|
|
11
|
-
declare const Align:
|
|
12
|
+
declare const Align: ({ children, horizontal, isDebugVisible, vertical, ...props }: AlignProps) => React__default.JSX.Element;
|
|
12
13
|
interface AlignProps {
|
|
13
14
|
/**
|
|
14
15
|
* Contents of the Align. Each item will be wrapped in an AlignItem component.
|
|
@@ -32,7 +33,7 @@ interface AlignProps {
|
|
|
32
33
|
/**
|
|
33
34
|
* Use `Link` to direct users to a new page or piece of information.
|
|
34
35
|
*/
|
|
35
|
-
declare const Link:
|
|
36
|
+
declare const Link: ({ id, href, title, rel, target, children, onClick, screenReaderText, isButton, isImplied, size, ...props }: LinkProps$1) => JSX.Element;
|
|
36
37
|
interface LinkProps$1 {
|
|
37
38
|
/**
|
|
38
39
|
* Id attribute for `Link`.
|
|
@@ -69,7 +70,7 @@ interface LinkProps$1 {
|
|
|
69
70
|
/**
|
|
70
71
|
* Click handler for `Link`.
|
|
71
72
|
*/
|
|
72
|
-
onClick?: (e:
|
|
73
|
+
onClick?: (e: React__default.MouseEvent) => void;
|
|
73
74
|
/**
|
|
74
75
|
* Target for `Link`.
|
|
75
76
|
*/
|
|
@@ -84,17 +85,303 @@ interface LinkProps$1 {
|
|
|
84
85
|
* Use `SemanticHeading` to render accessible headings that preserve correct
|
|
85
86
|
* document hierarchy.
|
|
86
87
|
*/
|
|
87
|
-
declare const SemanticHeading:
|
|
88
|
+
declare const SemanticHeading: ({ children, level, className, ...props }: SemanticHeadingProps) => React__default.DetailedReactHTMLElement<{
|
|
89
|
+
defaultChecked?: boolean | undefined;
|
|
90
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
91
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
92
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
93
|
+
accessKey?: string | undefined;
|
|
94
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
95
|
+
autoFocus?: boolean | undefined;
|
|
96
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
97
|
+
contextMenu?: string | undefined;
|
|
98
|
+
dir?: string | undefined;
|
|
99
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
100
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
101
|
+
hidden?: boolean | undefined;
|
|
102
|
+
id?: string | undefined;
|
|
103
|
+
lang?: string | undefined;
|
|
104
|
+
nonce?: string | undefined;
|
|
105
|
+
slot?: string | undefined;
|
|
106
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
107
|
+
style?: React__default.CSSProperties | undefined;
|
|
108
|
+
tabIndex?: number | undefined;
|
|
109
|
+
title?: string | undefined;
|
|
110
|
+
translate?: "yes" | "no" | undefined;
|
|
111
|
+
radioGroup?: string | undefined;
|
|
112
|
+
role?: React__default.AriaRole | undefined;
|
|
113
|
+
about?: string | undefined;
|
|
114
|
+
content?: string | undefined;
|
|
115
|
+
datatype?: string | undefined;
|
|
116
|
+
inlist?: any;
|
|
117
|
+
prefix?: string | undefined;
|
|
118
|
+
property?: string | undefined;
|
|
119
|
+
rel?: string | undefined;
|
|
120
|
+
resource?: string | undefined;
|
|
121
|
+
rev?: string | undefined;
|
|
122
|
+
typeof?: string | undefined;
|
|
123
|
+
vocab?: string | undefined;
|
|
124
|
+
autoCorrect?: string | undefined;
|
|
125
|
+
autoSave?: string | undefined;
|
|
126
|
+
color?: string | undefined;
|
|
127
|
+
itemProp?: string | undefined;
|
|
128
|
+
itemScope?: boolean | undefined;
|
|
129
|
+
itemType?: string | undefined;
|
|
130
|
+
itemID?: string | undefined;
|
|
131
|
+
itemRef?: string | undefined;
|
|
132
|
+
results?: number | undefined;
|
|
133
|
+
security?: string | undefined;
|
|
134
|
+
unselectable?: "on" | "off" | undefined;
|
|
135
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
136
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
137
|
+
popoverTarget?: string | undefined;
|
|
138
|
+
inert?: boolean | undefined;
|
|
139
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
140
|
+
is?: string | undefined;
|
|
141
|
+
exportparts?: string | undefined;
|
|
142
|
+
part?: string | undefined;
|
|
143
|
+
"aria-activedescendant"?: string | undefined;
|
|
144
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
145
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
146
|
+
"aria-braillelabel"?: string | undefined;
|
|
147
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
148
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
149
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
150
|
+
"aria-colcount"?: number | undefined;
|
|
151
|
+
"aria-colindex"?: number | undefined;
|
|
152
|
+
"aria-colindextext"?: string | undefined;
|
|
153
|
+
"aria-colspan"?: number | undefined;
|
|
154
|
+
"aria-controls"?: string | undefined;
|
|
155
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
156
|
+
"aria-describedby"?: string | undefined;
|
|
157
|
+
"aria-description"?: string | undefined;
|
|
158
|
+
"aria-details"?: string | undefined;
|
|
159
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
160
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
161
|
+
"aria-errormessage"?: string | undefined;
|
|
162
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
163
|
+
"aria-flowto"?: string | undefined;
|
|
164
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
165
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
166
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
167
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
168
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
169
|
+
"aria-label"?: string | undefined;
|
|
170
|
+
"aria-labelledby"?: string | undefined;
|
|
171
|
+
"aria-level"?: number | undefined;
|
|
172
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
173
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
174
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
175
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
176
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
177
|
+
"aria-owns"?: string | undefined;
|
|
178
|
+
"aria-placeholder"?: string | undefined;
|
|
179
|
+
"aria-posinset"?: number | undefined;
|
|
180
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
181
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
182
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
183
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
184
|
+
"aria-roledescription"?: string | undefined;
|
|
185
|
+
"aria-rowcount"?: number | undefined;
|
|
186
|
+
"aria-rowindex"?: number | undefined;
|
|
187
|
+
"aria-rowindextext"?: string | undefined;
|
|
188
|
+
"aria-rowspan"?: number | undefined;
|
|
189
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
190
|
+
"aria-setsize"?: number | undefined;
|
|
191
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
192
|
+
"aria-valuemax"?: number | undefined;
|
|
193
|
+
"aria-valuemin"?: number | undefined;
|
|
194
|
+
"aria-valuenow"?: number | undefined;
|
|
195
|
+
"aria-valuetext"?: string | undefined;
|
|
196
|
+
dangerouslySetInnerHTML?: {
|
|
197
|
+
__html: string | TrustedHTML;
|
|
198
|
+
} | undefined;
|
|
199
|
+
onCopy?: React__default.ClipboardEventHandler<HTMLHeadingElement> | undefined;
|
|
200
|
+
onCopyCapture?: React__default.ClipboardEventHandler<HTMLHeadingElement> | undefined;
|
|
201
|
+
onCut?: React__default.ClipboardEventHandler<HTMLHeadingElement> | undefined;
|
|
202
|
+
onCutCapture?: React__default.ClipboardEventHandler<HTMLHeadingElement> | undefined;
|
|
203
|
+
onPaste?: React__default.ClipboardEventHandler<HTMLHeadingElement> | undefined;
|
|
204
|
+
onPasteCapture?: React__default.ClipboardEventHandler<HTMLHeadingElement> | undefined;
|
|
205
|
+
onCompositionEnd?: React__default.CompositionEventHandler<HTMLHeadingElement> | undefined;
|
|
206
|
+
onCompositionEndCapture?: React__default.CompositionEventHandler<HTMLHeadingElement> | undefined;
|
|
207
|
+
onCompositionStart?: React__default.CompositionEventHandler<HTMLHeadingElement> | undefined;
|
|
208
|
+
onCompositionStartCapture?: React__default.CompositionEventHandler<HTMLHeadingElement> | undefined;
|
|
209
|
+
onCompositionUpdate?: React__default.CompositionEventHandler<HTMLHeadingElement> | undefined;
|
|
210
|
+
onCompositionUpdateCapture?: React__default.CompositionEventHandler<HTMLHeadingElement> | undefined;
|
|
211
|
+
onFocus?: React__default.FocusEventHandler<HTMLHeadingElement> | undefined;
|
|
212
|
+
onFocusCapture?: React__default.FocusEventHandler<HTMLHeadingElement> | undefined;
|
|
213
|
+
onBlur?: React__default.FocusEventHandler<HTMLHeadingElement> | undefined;
|
|
214
|
+
onBlurCapture?: React__default.FocusEventHandler<HTMLHeadingElement> | undefined;
|
|
215
|
+
onChange?: React__default.FormEventHandler<HTMLHeadingElement> | undefined;
|
|
216
|
+
onChangeCapture?: React__default.FormEventHandler<HTMLHeadingElement> | undefined;
|
|
217
|
+
onBeforeInput?: React__default.InputEventHandler<HTMLHeadingElement> | undefined;
|
|
218
|
+
onBeforeInputCapture?: React__default.FormEventHandler<HTMLHeadingElement> | undefined;
|
|
219
|
+
onInput?: React__default.FormEventHandler<HTMLHeadingElement> | undefined;
|
|
220
|
+
onInputCapture?: React__default.FormEventHandler<HTMLHeadingElement> | undefined;
|
|
221
|
+
onReset?: React__default.FormEventHandler<HTMLHeadingElement> | undefined;
|
|
222
|
+
onResetCapture?: React__default.FormEventHandler<HTMLHeadingElement> | undefined;
|
|
223
|
+
onSubmit?: React__default.FormEventHandler<HTMLHeadingElement> | undefined;
|
|
224
|
+
onSubmitCapture?: React__default.FormEventHandler<HTMLHeadingElement> | undefined;
|
|
225
|
+
onInvalid?: React__default.FormEventHandler<HTMLHeadingElement> | undefined;
|
|
226
|
+
onInvalidCapture?: React__default.FormEventHandler<HTMLHeadingElement> | undefined;
|
|
227
|
+
onLoad?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
228
|
+
onLoadCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
229
|
+
onError?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
230
|
+
onErrorCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
231
|
+
onKeyDown?: React__default.KeyboardEventHandler<HTMLHeadingElement> | undefined;
|
|
232
|
+
onKeyDownCapture?: React__default.KeyboardEventHandler<HTMLHeadingElement> | undefined;
|
|
233
|
+
onKeyPress?: React__default.KeyboardEventHandler<HTMLHeadingElement> | undefined;
|
|
234
|
+
onKeyPressCapture?: React__default.KeyboardEventHandler<HTMLHeadingElement> | undefined;
|
|
235
|
+
onKeyUp?: React__default.KeyboardEventHandler<HTMLHeadingElement> | undefined;
|
|
236
|
+
onKeyUpCapture?: React__default.KeyboardEventHandler<HTMLHeadingElement> | undefined;
|
|
237
|
+
onAbort?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
238
|
+
onAbortCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
239
|
+
onCanPlay?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
240
|
+
onCanPlayCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
241
|
+
onCanPlayThrough?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
242
|
+
onCanPlayThroughCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
243
|
+
onDurationChange?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
244
|
+
onDurationChangeCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
245
|
+
onEmptied?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
246
|
+
onEmptiedCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
247
|
+
onEncrypted?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
248
|
+
onEncryptedCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
249
|
+
onEnded?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
250
|
+
onEndedCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
251
|
+
onLoadedData?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
252
|
+
onLoadedDataCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
253
|
+
onLoadedMetadata?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
254
|
+
onLoadedMetadataCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
255
|
+
onLoadStart?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
256
|
+
onLoadStartCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
257
|
+
onPause?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
258
|
+
onPauseCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
259
|
+
onPlay?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
260
|
+
onPlayCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
261
|
+
onPlaying?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
262
|
+
onPlayingCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
263
|
+
onProgress?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
264
|
+
onProgressCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
265
|
+
onRateChange?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
266
|
+
onRateChangeCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
267
|
+
onSeeked?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
268
|
+
onSeekedCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
269
|
+
onSeeking?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
270
|
+
onSeekingCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
271
|
+
onStalled?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
272
|
+
onStalledCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
273
|
+
onSuspend?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
274
|
+
onSuspendCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
275
|
+
onTimeUpdate?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
276
|
+
onTimeUpdateCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
277
|
+
onVolumeChange?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
278
|
+
onVolumeChangeCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
279
|
+
onWaiting?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
280
|
+
onWaitingCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
281
|
+
onAuxClick?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
282
|
+
onAuxClickCapture?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
283
|
+
onClick?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
284
|
+
onClickCapture?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
285
|
+
onContextMenu?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
286
|
+
onContextMenuCapture?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
287
|
+
onDoubleClick?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
288
|
+
onDoubleClickCapture?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
289
|
+
onDrag?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
290
|
+
onDragCapture?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
291
|
+
onDragEnd?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
292
|
+
onDragEndCapture?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
293
|
+
onDragEnter?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
294
|
+
onDragEnterCapture?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
295
|
+
onDragExit?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
296
|
+
onDragExitCapture?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
297
|
+
onDragLeave?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
298
|
+
onDragLeaveCapture?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
299
|
+
onDragOver?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
300
|
+
onDragOverCapture?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
301
|
+
onDragStart?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
302
|
+
onDragStartCapture?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
303
|
+
onDrop?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
304
|
+
onDropCapture?: React__default.DragEventHandler<HTMLHeadingElement> | undefined;
|
|
305
|
+
onMouseDown?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
306
|
+
onMouseDownCapture?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
307
|
+
onMouseEnter?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
308
|
+
onMouseLeave?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
309
|
+
onMouseMove?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
310
|
+
onMouseMoveCapture?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
311
|
+
onMouseOut?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
312
|
+
onMouseOutCapture?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
313
|
+
onMouseOver?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
314
|
+
onMouseOverCapture?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
315
|
+
onMouseUp?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
316
|
+
onMouseUpCapture?: React__default.MouseEventHandler<HTMLHeadingElement> | undefined;
|
|
317
|
+
onSelect?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
318
|
+
onSelectCapture?: React__default.ReactEventHandler<HTMLHeadingElement> | undefined;
|
|
319
|
+
onTouchCancel?: React__default.TouchEventHandler<HTMLHeadingElement> | undefined;
|
|
320
|
+
onTouchCancelCapture?: React__default.TouchEventHandler<HTMLHeadingElement> | undefined;
|
|
321
|
+
onTouchEnd?: React__default.TouchEventHandler<HTMLHeadingElement> | undefined;
|
|
322
|
+
onTouchEndCapture?: React__default.TouchEventHandler<HTMLHeadingElement> | undefined;
|
|
323
|
+
onTouchMove?: React__default.TouchEventHandler<HTMLHeadingElement> | undefined;
|
|
324
|
+
onTouchMoveCapture?: React__default.TouchEventHandler<HTMLHeadingElement> | undefined;
|
|
325
|
+
onTouchStart?: React__default.TouchEventHandler<HTMLHeadingElement> | undefined;
|
|
326
|
+
onTouchStartCapture?: React__default.TouchEventHandler<HTMLHeadingElement> | undefined;
|
|
327
|
+
onPointerDown?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
328
|
+
onPointerDownCapture?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
329
|
+
onPointerMove?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
330
|
+
onPointerMoveCapture?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
331
|
+
onPointerUp?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
332
|
+
onPointerUpCapture?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
333
|
+
onPointerCancel?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
334
|
+
onPointerCancelCapture?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
335
|
+
onPointerEnter?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
336
|
+
onPointerLeave?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
337
|
+
onPointerOver?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
338
|
+
onPointerOverCapture?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
339
|
+
onPointerOut?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
340
|
+
onPointerOutCapture?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
341
|
+
onGotPointerCapture?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
342
|
+
onGotPointerCaptureCapture?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
343
|
+
onLostPointerCapture?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
344
|
+
onLostPointerCaptureCapture?: React__default.PointerEventHandler<HTMLHeadingElement> | undefined;
|
|
345
|
+
onScroll?: React__default.UIEventHandler<HTMLHeadingElement> | undefined;
|
|
346
|
+
onScrollCapture?: React__default.UIEventHandler<HTMLHeadingElement> | undefined;
|
|
347
|
+
onScrollEnd?: React__default.UIEventHandler<HTMLHeadingElement> | undefined;
|
|
348
|
+
onScrollEndCapture?: React__default.UIEventHandler<HTMLHeadingElement> | undefined;
|
|
349
|
+
onWheel?: React__default.WheelEventHandler<HTMLHeadingElement> | undefined;
|
|
350
|
+
onWheelCapture?: React__default.WheelEventHandler<HTMLHeadingElement> | undefined;
|
|
351
|
+
onAnimationStart?: React__default.AnimationEventHandler<HTMLHeadingElement> | undefined;
|
|
352
|
+
onAnimationStartCapture?: React__default.AnimationEventHandler<HTMLHeadingElement> | undefined;
|
|
353
|
+
onAnimationEnd?: React__default.AnimationEventHandler<HTMLHeadingElement> | undefined;
|
|
354
|
+
onAnimationEndCapture?: React__default.AnimationEventHandler<HTMLHeadingElement> | undefined;
|
|
355
|
+
onAnimationIteration?: React__default.AnimationEventHandler<HTMLHeadingElement> | undefined;
|
|
356
|
+
onAnimationIterationCapture?: React__default.AnimationEventHandler<HTMLHeadingElement> | undefined;
|
|
357
|
+
onToggle?: React__default.ToggleEventHandler<HTMLHeadingElement> | undefined;
|
|
358
|
+
onBeforeToggle?: React__default.ToggleEventHandler<HTMLHeadingElement> | undefined;
|
|
359
|
+
onTransitionCancel?: React__default.TransitionEventHandler<HTMLHeadingElement> | undefined;
|
|
360
|
+
onTransitionCancelCapture?: React__default.TransitionEventHandler<HTMLHeadingElement> | undefined;
|
|
361
|
+
onTransitionEnd?: React__default.TransitionEventHandler<HTMLHeadingElement> | undefined;
|
|
362
|
+
onTransitionEndCapture?: React__default.TransitionEventHandler<HTMLHeadingElement> | undefined;
|
|
363
|
+
onTransitionRun?: React__default.TransitionEventHandler<HTMLHeadingElement> | undefined;
|
|
364
|
+
onTransitionRunCapture?: React__default.TransitionEventHandler<HTMLHeadingElement> | undefined;
|
|
365
|
+
onTransitionStart?: React__default.TransitionEventHandler<HTMLHeadingElement> | undefined;
|
|
366
|
+
onTransitionStartCapture?: React__default.TransitionEventHandler<HTMLHeadingElement> | undefined;
|
|
367
|
+
className: string;
|
|
368
|
+
}, HTMLElement>;
|
|
88
369
|
type SemanticHeadingLevel = "1" | "2" | "3" | "4" | "5" | "6";
|
|
89
|
-
interface SemanticHeadingProps extends
|
|
370
|
+
interface SemanticHeadingProps extends React__default.HTMLAttributes<HTMLHeadingElement> {
|
|
371
|
+
/**
|
|
372
|
+
* The semantic heading level (1-6).
|
|
373
|
+
*/
|
|
90
374
|
level?: SemanticHeadingLevel;
|
|
91
|
-
|
|
375
|
+
/**
|
|
376
|
+
* Content to render within the heading.
|
|
377
|
+
*/
|
|
378
|
+
children: React__default.ReactNode;
|
|
92
379
|
}
|
|
93
380
|
|
|
94
381
|
/**
|
|
95
382
|
* Use `Alert` to inform the user of important changes or actions.
|
|
96
383
|
*/
|
|
97
|
-
declare const Alert:
|
|
384
|
+
declare const Alert: ({ heading, headingLevel, description, links, status, isDismissable, onDismiss, icon, isMeasured, autoFocusOnMount, role, ...props }: AlertProps) => React__default.JSX.Element | null;
|
|
98
385
|
type AlertLinkProps = Omit<LinkProps$1, "size" | "isImplied">;
|
|
99
386
|
interface AlertProps {
|
|
100
387
|
/**
|
|
@@ -147,11 +434,20 @@ type AlertStatus = "general" | "error" | "warning" | "success";
|
|
|
147
434
|
/**
|
|
148
435
|
* Use `AppButton` for a branded button that links users to download an app.
|
|
149
436
|
*/
|
|
150
|
-
declare const AppButton:
|
|
437
|
+
declare const AppButton: ({ type, url, screenReaderText, ...props }: AppButtonProps) => React__default.JSX.Element;
|
|
151
438
|
type AppButtonType = "google-play" | "apple-app-store";
|
|
152
439
|
interface AppButtonProps {
|
|
440
|
+
/**
|
|
441
|
+
* The type of app store button to display.
|
|
442
|
+
*/
|
|
153
443
|
type: AppButtonType;
|
|
444
|
+
/**
|
|
445
|
+
* Text to be read by screen readers describing the button action.
|
|
446
|
+
*/
|
|
154
447
|
screenReaderText: string;
|
|
448
|
+
/**
|
|
449
|
+
* The URL to link to for downloading the app.
|
|
450
|
+
*/
|
|
155
451
|
url: string;
|
|
156
452
|
}
|
|
157
453
|
|
|
@@ -161,8 +457,8 @@ declare const anchorPoints: readonly ["N", "NE", "E", "SE", "S", "SW", "W", "NW"
|
|
|
161
457
|
* Use `Image` to render a single image, or set of images, with support for
|
|
162
458
|
* image fitting and art direction.
|
|
163
459
|
*/
|
|
164
|
-
declare const Image:
|
|
165
|
-
declare const ImageSource:
|
|
460
|
+
declare const Image: ({ alt, fadeOnLoad, anchor, children, fetchPriority, fillColor, fit, height, loading, overlay, sizes, src, srcSet, width, ...props }: ImageProps) => React__default.JSX.Element;
|
|
461
|
+
declare const ImageSource: ({ height, media, srcSet, sizes, type, ...props }: ImageSourceProps) => React__default.JSX.Element;
|
|
166
462
|
interface ImageSourceProps {
|
|
167
463
|
/**
|
|
168
464
|
* The intrinsic height of the ImageSource, in pixels
|
|
@@ -192,7 +488,7 @@ interface ImageSourceProps {
|
|
|
192
488
|
declare const fitOptions: readonly ["cover"];
|
|
193
489
|
declare const loadingOptions: readonly ["eager", "lazy"];
|
|
194
490
|
declare const overlayOptions: readonly ["scrimBottomDark"];
|
|
195
|
-
interface ImageProps extends
|
|
491
|
+
interface ImageProps extends React__default.ImgHTMLAttributes<HTMLImageElement> {
|
|
196
492
|
/**
|
|
197
493
|
* Alternative text for the Image, shown if the image cannot be displayed.
|
|
198
494
|
*/
|
|
@@ -260,33 +556,75 @@ type AvatarImage = Pick<ImageProps, "src" | "loading" | "sizes" | "srcSet" | "wi
|
|
|
260
556
|
type AvatarSize = "s" | "m" | "l" | "xl";
|
|
261
557
|
|
|
262
558
|
/** Use `Avatar` to visually represent a user. */
|
|
263
|
-
declare const Avatar:
|
|
559
|
+
declare const Avatar: ({ img, initials, href, title, ariaLabel, onClick, size, ...props }: AvatarProps) => React__default.JSX.Element;
|
|
264
560
|
interface AvatarProps {
|
|
561
|
+
/**
|
|
562
|
+
* Initials to display in the avatar (up to 3 characters).
|
|
563
|
+
*/
|
|
265
564
|
initials?: string;
|
|
565
|
+
/**
|
|
566
|
+
* URL to link to when the avatar is clicked.
|
|
567
|
+
*/
|
|
266
568
|
href?: string;
|
|
569
|
+
/**
|
|
570
|
+
* Title attribute for the avatar link.
|
|
571
|
+
*/
|
|
267
572
|
title?: string;
|
|
573
|
+
/**
|
|
574
|
+
* Accessible label for the avatar.
|
|
575
|
+
*/
|
|
268
576
|
ariaLabel?: string;
|
|
269
|
-
|
|
577
|
+
/**
|
|
578
|
+
* Click handler for the avatar link.
|
|
579
|
+
*/
|
|
580
|
+
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
581
|
+
/**
|
|
582
|
+
* Image to display in the avatar.
|
|
583
|
+
*/
|
|
270
584
|
img?: AvatarImage;
|
|
585
|
+
/**
|
|
586
|
+
* Size of the avatar.
|
|
587
|
+
*/
|
|
271
588
|
size?: AvatarSize;
|
|
272
589
|
}
|
|
273
590
|
|
|
274
591
|
type GroupAvatar = Omit<AvatarProps, "size" | "title" | "href" | "onClick" | "ariaLabel">;
|
|
275
592
|
|
|
276
593
|
/** Use `AvatarGroup` to visually represent a group of users. */
|
|
277
|
-
declare const AvatarGroup:
|
|
594
|
+
declare const AvatarGroup: ({ title, ariaLabel, href, avatars, onClick, max, size, ...props }: AvatarGroupProps) => React__default.JSX.Element;
|
|
278
595
|
interface AvatarGroupProps {
|
|
596
|
+
/**
|
|
597
|
+
* Array of avatars to display in the group.
|
|
598
|
+
*/
|
|
279
599
|
avatars: GroupAvatar[];
|
|
600
|
+
/**
|
|
601
|
+
* Size of the avatars in the group.
|
|
602
|
+
*/
|
|
280
603
|
size?: AvatarSize;
|
|
604
|
+
/**
|
|
605
|
+
* Maximum number of avatars to display before showing a count.
|
|
606
|
+
*/
|
|
281
607
|
max?: number;
|
|
608
|
+
/**
|
|
609
|
+
* Title attribute for the avatar group link.
|
|
610
|
+
*/
|
|
282
611
|
title?: string;
|
|
612
|
+
/**
|
|
613
|
+
* Accessible label for the avatar group.
|
|
614
|
+
*/
|
|
283
615
|
ariaLabel?: string;
|
|
616
|
+
/**
|
|
617
|
+
* URL to link to when the avatar group is clicked.
|
|
618
|
+
*/
|
|
284
619
|
href?: string;
|
|
285
|
-
|
|
620
|
+
/**
|
|
621
|
+
* Click handler for the avatar group link.
|
|
622
|
+
*/
|
|
623
|
+
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
286
624
|
}
|
|
287
625
|
|
|
288
626
|
/** Use `Badge` as a static, non-interactive way to provide short updates. */
|
|
289
|
-
declare const Badge:
|
|
627
|
+
declare const Badge: ({ children, state, ariaLabel, ariaRole, ...props }: BadgeProps) => React__default.JSX.Element;
|
|
290
628
|
interface BadgeProps {
|
|
291
629
|
/**
|
|
292
630
|
* Text to display within Badge
|
|
@@ -309,7 +647,7 @@ interface BadgeProps {
|
|
|
309
647
|
/**
|
|
310
648
|
* Use `Heading` to display heading text.
|
|
311
649
|
*/
|
|
312
|
-
declare const Heading:
|
|
650
|
+
declare const Heading: ({ align, casing, color, children, level, isInline, fontStyle, isResponsive, isWordWrap, size, id, ...props }: HeadingProps) => React__default.JSX.Element;
|
|
313
651
|
type HeadingCasing = "auto" | "none";
|
|
314
652
|
type HeadingColor = "auto" | "brand";
|
|
315
653
|
type HeadingLevel = SemanticHeadingLevel;
|
|
@@ -363,12 +701,18 @@ interface HeadingProps {
|
|
|
363
701
|
}
|
|
364
702
|
|
|
365
703
|
interface BannerImageProps extends Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "width" | "height" | "fadeOnLoad" | "fit" | "anchor" | "fetchPriority"> {
|
|
704
|
+
/**
|
|
705
|
+
* Whether the image should be hidden from screen readers.
|
|
706
|
+
*/
|
|
366
707
|
ariaHidden?: boolean;
|
|
708
|
+
/**
|
|
709
|
+
* Array of source elements for responsive images.
|
|
710
|
+
*/
|
|
367
711
|
sources?: Pick<ImageSourceProps, "media" | "sizes" | "srcSet">[];
|
|
368
712
|
}
|
|
369
713
|
|
|
370
714
|
/** Use `TemplateBanner` as a base structure for banner components; other banner variants extend or consume this template. */
|
|
371
|
-
declare const TemplateBanner:
|
|
715
|
+
declare const TemplateBanner: ({ heading, fontStyle, label, labelLevel, text, img, contentRatio, children, alignment, additionalTopMargin, minHeight, minHeightM, minHeightL, minHeightXL, headingSize, isReversed, isElevated, headingLevel, headingWordWrap, type, ...props }: TemplateBannerProps) => React__default.JSX.Element;
|
|
372
716
|
type TemplateBannerStyle = "light" | "dark" | "contained";
|
|
373
717
|
type TemplateBannerAlignment = "top" | "bottom" | "center";
|
|
374
718
|
interface TemplateBannerImage extends BannerImageProps {
|
|
@@ -418,7 +762,7 @@ interface TemplateBannerProps {
|
|
|
418
762
|
/**
|
|
419
763
|
* Content for the TemplateBanner.
|
|
420
764
|
*/
|
|
421
|
-
children?:
|
|
765
|
+
children?: React__default.ReactNode;
|
|
422
766
|
/**
|
|
423
767
|
* Heading level for the Banner heading.
|
|
424
768
|
*/
|
|
@@ -459,20 +803,24 @@ interface TemplateBannerProps {
|
|
|
459
803
|
* Changes the Heading font family. Please note `dottee` fonts will only work when theme is set to `ee`
|
|
460
804
|
*/
|
|
461
805
|
fontStyle?: "default" | "display-standard" | "display-condensed" | "display-extended";
|
|
806
|
+
/**
|
|
807
|
+
* Whether long words in heading should be wrapped.
|
|
808
|
+
*/
|
|
809
|
+
headingWordWrap?: boolean;
|
|
462
810
|
}
|
|
463
811
|
|
|
464
812
|
/** Use `Banner` to promote key content or products with bold visuals and messaging. */
|
|
465
|
-
declare const Banner:
|
|
813
|
+
declare const Banner: ({ heading, label, text, img, contentRatio, children, minHeight, isReversed, isElevated, headingLevel, type, alignment, headingWordWrap, ...props }: BannerProps) => React__default.JSX.Element;
|
|
466
814
|
type BannerProps = Omit<TemplateBannerProps, "headingSize" | "additionalTopMargin">;
|
|
467
815
|
|
|
468
816
|
type SurfaceBackground = "light" | "dark";
|
|
469
|
-
declare const Context$1:
|
|
817
|
+
declare const Context$1: React__default.Context<{
|
|
470
818
|
surface: SurfaceBackground;
|
|
471
819
|
}>;
|
|
472
820
|
/**
|
|
473
821
|
* Use `Surface` to compose content using the Arc system.
|
|
474
822
|
*/
|
|
475
|
-
declare const Surface:
|
|
823
|
+
declare const Surface: ({ background, children, growVertically, padding, paddingHorizontal, paddingVertical, isTransparent, ...props }: SurfaceProps) => React__default.JSX.Element;
|
|
476
824
|
declare const backgrounds: readonly ["dark-black", "dark-brand-01", "dark-brand-02", "dark-neutral-01", "dark-neutral-02", "light-brand-01", "light-brand-02", "light-neutral-01", "light-neutral-02", "light-white"];
|
|
477
825
|
declare const backgroundsBT: readonly ["dark-black", "dark-brand-01", "dark-brand-02", "dark-neutral-01", "dark-neutral-02", "light-brand-01", "light-brand-02", "light-neutral-01", "light-neutral-02", "light-white"];
|
|
478
826
|
type SurfacePadding = "8" | "12" | "16" | "24" | "32" | "48" | "64";
|
|
@@ -520,12 +868,12 @@ interface SurfaceProps extends HTMLAttributes<HTMLElement> {
|
|
|
520
868
|
/**
|
|
521
869
|
* Use `Box` as a simple way to group bespoke content and interactive elements together.
|
|
522
870
|
*/
|
|
523
|
-
declare const Box:
|
|
871
|
+
declare const Box: ({ children, borderWidth, elevationLevel, padding, isFullHeight, isBorderRadius, surface, isSurfaceTransparent, ...props }: BoxProps) => React__default.JSX.Element;
|
|
524
872
|
interface BoxProps {
|
|
525
873
|
/**
|
|
526
874
|
* Contents of the Box.
|
|
527
875
|
*/
|
|
528
|
-
children:
|
|
876
|
+
children: ReactNode;
|
|
529
877
|
/**
|
|
530
878
|
* Set Box to fill parent element.
|
|
531
879
|
*/
|
|
@@ -559,7 +907,7 @@ interface BoxProps {
|
|
|
559
907
|
/**
|
|
560
908
|
* Use `BrandLogo` to display the brand logo.
|
|
561
909
|
*/
|
|
562
|
-
declare const BrandLogo:
|
|
910
|
+
declare const BrandLogo: ({ color, label, size, subBrand, ...props }: BrandLogoProps) => React__default.JSX.Element;
|
|
563
911
|
declare const colors$1: readonly ["auto", "brand"];
|
|
564
912
|
declare const subBrands$1: readonly ["redcare", "wholesale", "ee"];
|
|
565
913
|
interface BrandLogoProps {
|
|
@@ -582,7 +930,7 @@ interface BrandLogoProps {
|
|
|
582
930
|
}
|
|
583
931
|
|
|
584
932
|
/** Use `Breadcrumbs` to add a secondary navigation scheme that reveals the user’s location. Each item should be wrapped with `BreadcrumbsItem` */
|
|
585
|
-
declare const Breadcrumbs:
|
|
933
|
+
declare const Breadcrumbs: ({ isLight, children, ...props }: BreadcrumbsProps) => React__default.JSX.Element;
|
|
586
934
|
interface BreadcrumbsProps {
|
|
587
935
|
/**
|
|
588
936
|
* Contents of the Breadcrumbs Should only contain `Breadcrumb.Item`.
|
|
@@ -594,7 +942,7 @@ interface BreadcrumbsProps {
|
|
|
594
942
|
isLight?: boolean;
|
|
595
943
|
}
|
|
596
944
|
|
|
597
|
-
declare const BreadcrumbsItem:
|
|
945
|
+
declare const BreadcrumbsItem: ({ spacerIconAfter, spacerIconBefore, children, }: ItemProps$1) => React__default.JSX.Element;
|
|
598
946
|
interface ItemProps$1 {
|
|
599
947
|
/**
|
|
600
948
|
* Render child elements within `BreadcrumbsItem`
|
|
@@ -610,8 +958,12 @@ interface ItemProps$1 {
|
|
|
610
958
|
spacerIconBefore?: boolean;
|
|
611
959
|
}
|
|
612
960
|
|
|
613
|
-
declare const BreadcrumbsLink:
|
|
961
|
+
declare const BreadcrumbsLink: ({ onClick, href, isActive, children, ref, ...props }: LinkProps) => React__default.JSX.Element;
|
|
614
962
|
interface LinkProps {
|
|
963
|
+
/**
|
|
964
|
+
* Ref to the underlying anchor element.
|
|
965
|
+
*/
|
|
966
|
+
ref?: Ref<HTMLAnchorElement>;
|
|
615
967
|
/**
|
|
616
968
|
* Render children of `breadcrumbs.link`
|
|
617
969
|
*/
|
|
@@ -628,10 +980,6 @@ interface LinkProps {
|
|
|
628
980
|
* Highlights item in breadcrumb (This also removes the a tag and any links)
|
|
629
981
|
*/
|
|
630
982
|
isActive?: boolean;
|
|
631
|
-
/**
|
|
632
|
-
* Ref to `<a>` tag
|
|
633
|
-
*/
|
|
634
|
-
ref?: React.Ref<HTMLAnchorElement>;
|
|
635
983
|
/**
|
|
636
984
|
* React router property
|
|
637
985
|
*/
|
|
@@ -639,11 +987,11 @@ interface LinkProps {
|
|
|
639
987
|
}
|
|
640
988
|
|
|
641
989
|
type ElementUnion$2 = HTMLButtonElement | HTMLAnchorElement;
|
|
642
|
-
type
|
|
990
|
+
type ButtonRef$2 = React__default.Ref<ElementUnion$2> | null;
|
|
643
991
|
/**
|
|
644
992
|
* Use `Button` to let a user complete an action like ‘Log in’ or ‘Register’.
|
|
645
993
|
*/
|
|
646
|
-
declare const Button:
|
|
994
|
+
declare const Button: ({ ariaLabel, ariaControls, ariaExpanded, ariaHasPopup, fill, href, icon, iconPosition, id, isDisabled, isDisplayBlock, isFullWidth, label, onClick, rel, size, supportingText, target, type, form, ref, ...props }: ButtonProps) => React__default.JSX.Element;
|
|
647
995
|
interface ButtonElementProps {
|
|
648
996
|
/**
|
|
649
997
|
* Default behavior of the Button element. If not provided, 'submit' will
|
|
@@ -715,7 +1063,7 @@ interface ButtonProps extends ButtonElementProps, LinkElementProps$2 {
|
|
|
715
1063
|
/**
|
|
716
1064
|
* Optional property to provide component Ref
|
|
717
1065
|
*/
|
|
718
|
-
ref?:
|
|
1066
|
+
ref?: ButtonRef$2;
|
|
719
1067
|
/**
|
|
720
1068
|
* How should a Button icon be displayed?
|
|
721
1069
|
*/
|
|
@@ -742,13 +1090,13 @@ interface ButtonProps extends ButtonElementProps, LinkElementProps$2 {
|
|
|
742
1090
|
* Use `ButtonGroup` to group multiple buttons together, ensuring consistent sizing, spacing,
|
|
743
1091
|
* and alignment. Only accepts `Button` or `ButtonV2` components as children.
|
|
744
1092
|
*/
|
|
745
|
-
declare const ButtonGroup:
|
|
1093
|
+
declare const ButtonGroup: ({ children, size, align, orientation, gap, ariaLabel, isFullWidth, ...props }: ButtonGroupProps) => React__default.JSX.Element;
|
|
746
1094
|
interface ButtonGroupProps {
|
|
747
1095
|
/**
|
|
748
1096
|
* Components to appear within the ButtonGroup
|
|
749
1097
|
* Can be Button, ButtonV2 only.
|
|
750
1098
|
*/
|
|
751
|
-
children:
|
|
1099
|
+
children: React__default.ReactNode;
|
|
752
1100
|
/**
|
|
753
1101
|
* Size of the buttons in the ButtonGroup This will override the size prop for each individual button.
|
|
754
1102
|
*/
|
|
@@ -776,11 +1124,11 @@ interface ButtonGroupProps {
|
|
|
776
1124
|
}
|
|
777
1125
|
|
|
778
1126
|
type ElementUnion$1 = HTMLButtonElement | HTMLAnchorElement;
|
|
779
|
-
type
|
|
1127
|
+
type ButtonRef$1 = React__default.Ref<ElementUnion$1> | null;
|
|
780
1128
|
/**
|
|
781
1129
|
* Use `ButtonV2` for our most up to date Call To Action button, offering Primary, Secondary, Tertiary, Compact and Error states.
|
|
782
1130
|
*/
|
|
783
|
-
declare const ButtonV2:
|
|
1131
|
+
declare const ButtonV2: ({ label, buttonStyle, icon, iconActive, iconPosition, size, ariaLabel, ariaControls, ariaExpanded, ariaHasPopup, isFullWidth, isLoading, isSpan, onClick, href, id, rel, target, type, form, ref, ...props }: ButtonV2Props) => React__default.JSX.Element;
|
|
784
1132
|
interface LinkElementProps$1 {
|
|
785
1133
|
/**
|
|
786
1134
|
* URL to link to if `ButtonV2` elementType is 'a'.
|
|
@@ -836,7 +1184,7 @@ interface ButtonV2Props extends ButtonV2ElementProps, LinkElementProps$1 {
|
|
|
836
1184
|
/**
|
|
837
1185
|
* Optional property to provide component Ref
|
|
838
1186
|
*/
|
|
839
|
-
ref?:
|
|
1187
|
+
ref?: ButtonRef$1;
|
|
840
1188
|
/**
|
|
841
1189
|
* Should the `ButtonV2` take up the full width of its container?
|
|
842
1190
|
*/
|
|
@@ -892,7 +1240,7 @@ type SelectionType = "single" | "range";
|
|
|
892
1240
|
type CalendarType = "month" | "year" | "double";
|
|
893
1241
|
|
|
894
1242
|
/** Use `Calendar` to clearly present available dates and allowing users to choose a way to enter information. */
|
|
895
|
-
declare const Calendar:
|
|
1243
|
+
declare const Calendar: ({ type, selectionType, autoFocusOnMount, selectedRange: rawSelectedRange, selectedDate: rawSelectedDate, disabledDates: rawDisabledDates, minDate: rawMinDate, maxDate: rawMaxDate, onCancelClick, onDateSelect, onRangeSelect, uncontained, ...props }: CalendarProps) => React__default.JSX.Element;
|
|
896
1244
|
interface CalendarProps {
|
|
897
1245
|
/**
|
|
898
1246
|
* Select single date or range
|
|
@@ -938,6 +1286,9 @@ interface CalendarProps {
|
|
|
938
1286
|
* Focus will be set on the selected day when the component mounts, defaults to false.
|
|
939
1287
|
*/
|
|
940
1288
|
autoFocusOnMount?: boolean;
|
|
1289
|
+
/**
|
|
1290
|
+
* Whether the calendar should be uncontained
|
|
1291
|
+
*/
|
|
941
1292
|
uncontained?: boolean;
|
|
942
1293
|
}
|
|
943
1294
|
|
|
@@ -951,8 +1302,12 @@ interface SlideConfig {
|
|
|
951
1302
|
|
|
952
1303
|
type Responsive = Partial<Record<BreakPoints, SlideConfig>>;
|
|
953
1304
|
|
|
954
|
-
declare const Carousel:
|
|
1305
|
+
declare const Carousel: ({ children, responsive, itemsToScroll, itemsPerSlide, withGutter, loop, isPartialVisible, autoplay, isPlaying, fade, }: CarouselProps) => React__default.JSX.Element;
|
|
955
1306
|
interface CarouselProps {
|
|
1307
|
+
/**
|
|
1308
|
+
* Items for the carousel.
|
|
1309
|
+
*/
|
|
1310
|
+
children: ReactNode;
|
|
956
1311
|
/**
|
|
957
1312
|
* Adds a gap between the slides.
|
|
958
1313
|
*/
|
|
@@ -978,15 +1333,48 @@ interface CarouselProps {
|
|
|
978
1333
|
*/
|
|
979
1334
|
responsive?: Responsive;
|
|
980
1335
|
/**
|
|
981
|
-
*
|
|
1336
|
+
* Autoplay configuration. Pass an empty object to use default options.
|
|
1337
|
+
*/
|
|
1338
|
+
autoplay?: {
|
|
1339
|
+
/**
|
|
1340
|
+
* Time in milliseconds between auto scrolls.
|
|
1341
|
+
*/
|
|
1342
|
+
delay?: number;
|
|
1343
|
+
/**
|
|
1344
|
+
* Start autoplay on initialization.
|
|
1345
|
+
*/
|
|
1346
|
+
playOnInit?: boolean;
|
|
1347
|
+
/**
|
|
1348
|
+
* Stops autoplay on user interaction (click/tap).
|
|
1349
|
+
*/
|
|
1350
|
+
stopOnInteraction?: boolean;
|
|
1351
|
+
/**
|
|
1352
|
+
* Stops autoplay when mouse enters carousel.
|
|
1353
|
+
*/
|
|
1354
|
+
stopOnMouseEnter?: boolean;
|
|
1355
|
+
/**
|
|
1356
|
+
* Stops autoplay when carousel receives focus.
|
|
1357
|
+
*/
|
|
1358
|
+
stopOnFocusIn?: boolean;
|
|
1359
|
+
/**
|
|
1360
|
+
* Stops autoplay when reaching the last slide.
|
|
1361
|
+
*/
|
|
1362
|
+
stopOnLastSnap?: boolean;
|
|
1363
|
+
};
|
|
1364
|
+
/**
|
|
1365
|
+
* Use isPlaying to control the state of autoplay.
|
|
1366
|
+
*/
|
|
1367
|
+
isPlaying?: boolean;
|
|
1368
|
+
/**
|
|
1369
|
+
* Enable fade transition between slides.
|
|
982
1370
|
*/
|
|
983
|
-
|
|
1371
|
+
fade?: boolean;
|
|
984
1372
|
}
|
|
985
1373
|
|
|
986
1374
|
/**
|
|
987
1375
|
* Use `Checkbox` to allow users to select individual options.
|
|
988
1376
|
*/
|
|
989
|
-
declare const Checkbox:
|
|
1377
|
+
declare const Checkbox: ({ checked, errorMessage, helper, id, isDisabled, isRequired, label, hideLabel, name, onBlur, onChange, size, value, checkboxAlignment, indeterminate, isError, isErrorAlert, ref, ...props }: CheckboxProps) => React__default.JSX.Element;
|
|
990
1378
|
type CheckedProps$1 = {
|
|
991
1379
|
/**
|
|
992
1380
|
* Is the input checked?
|
|
@@ -1002,6 +1390,10 @@ type CheckedProps$1 = {
|
|
|
1002
1390
|
indeterminate?: boolean;
|
|
1003
1391
|
};
|
|
1004
1392
|
interface CheckboxProps extends Omit<CheckedProps$1, "defaultChecked"> {
|
|
1393
|
+
/**
|
|
1394
|
+
* Optional property to provide component Ref
|
|
1395
|
+
*/
|
|
1396
|
+
ref?: Ref<HTMLInputElement>;
|
|
1005
1397
|
/**
|
|
1006
1398
|
* Error message for the Checkbox.
|
|
1007
1399
|
*/
|
|
@@ -1013,7 +1405,7 @@ interface CheckboxProps extends Omit<CheckedProps$1, "defaultChecked"> {
|
|
|
1013
1405
|
/**
|
|
1014
1406
|
* Helper text for the Checkbox, shown below the label.
|
|
1015
1407
|
*/
|
|
1016
|
-
helper?:
|
|
1408
|
+
helper?: React__default.ReactNode;
|
|
1017
1409
|
/**
|
|
1018
1410
|
* Determine the alignment of the Checkbox.
|
|
1019
1411
|
*/
|
|
@@ -1033,7 +1425,7 @@ interface CheckboxProps extends Omit<CheckedProps$1, "defaultChecked"> {
|
|
|
1033
1425
|
/**
|
|
1034
1426
|
* Label for the Checkbox.
|
|
1035
1427
|
*/
|
|
1036
|
-
label:
|
|
1428
|
+
label: React__default.ReactNode;
|
|
1037
1429
|
/**
|
|
1038
1430
|
* Use `hideLabel` to visually hide the `Checkbox` label. This still allows screen readers to have access to labels. This is set to `false` by default.
|
|
1039
1431
|
*/
|
|
@@ -1045,12 +1437,12 @@ interface CheckboxProps extends Omit<CheckedProps$1, "defaultChecked"> {
|
|
|
1045
1437
|
/**
|
|
1046
1438
|
* Function to call when the Checkbox loses focus.
|
|
1047
1439
|
*/
|
|
1048
|
-
onBlur?: (e:
|
|
1440
|
+
onBlur?: (e: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
1049
1441
|
/**
|
|
1050
1442
|
* Callback function to update the Checkbox's controlled `checked` prop, for
|
|
1051
1443
|
* example `e => setChecked(e.target.checked)`.
|
|
1052
1444
|
*/
|
|
1053
|
-
onChange?: (event:
|
|
1445
|
+
onChange?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
1054
1446
|
/**
|
|
1055
1447
|
* Size of the Checkbox.
|
|
1056
1448
|
*/
|
|
@@ -1066,7 +1458,7 @@ interface CheckboxProps extends Omit<CheckedProps$1, "defaultChecked"> {
|
|
|
1066
1458
|
}
|
|
1067
1459
|
|
|
1068
1460
|
/** Use `CheckboxIcon` to display a visual checkbox indicator that reflects a checked, unchecked, or indeterminate state. */
|
|
1069
|
-
declare const CheckboxIcon:
|
|
1461
|
+
declare const CheckboxIcon: ({ id, name, checked, indeterminate, isDisabled, isRequired, size, value, error, ariaDescribedBy, onBlur, onChange, ref, ...props }: CheckboxIconProps) => React__default.JSX.Element;
|
|
1070
1462
|
type CheckedProps = {
|
|
1071
1463
|
/**
|
|
1072
1464
|
* Is the input checked?
|
|
@@ -1082,6 +1474,10 @@ type CheckedProps = {
|
|
|
1082
1474
|
indeterminate?: boolean;
|
|
1083
1475
|
};
|
|
1084
1476
|
interface CheckboxIconProps extends Omit<CheckedProps, "defaultChecked"> {
|
|
1477
|
+
/**
|
|
1478
|
+
* Ref to the underlying input element.
|
|
1479
|
+
*/
|
|
1480
|
+
ref?: Ref<HTMLInputElement>;
|
|
1085
1481
|
/**
|
|
1086
1482
|
* Error state for the Checkbox.
|
|
1087
1483
|
*/
|
|
@@ -1109,12 +1505,12 @@ interface CheckboxIconProps extends Omit<CheckedProps, "defaultChecked"> {
|
|
|
1109
1505
|
/**
|
|
1110
1506
|
* Function to call when the Checkbox loses focus.
|
|
1111
1507
|
*/
|
|
1112
|
-
onBlur?: (e:
|
|
1508
|
+
onBlur?: (e: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
1113
1509
|
/**
|
|
1114
1510
|
* Callback function to update the Checkbox's controlled `checked` prop, for
|
|
1115
1511
|
* example `e => setChecked(e.target.checked)`.
|
|
1116
1512
|
*/
|
|
1117
|
-
onChange?: (event:
|
|
1513
|
+
onChange?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
1118
1514
|
/**
|
|
1119
1515
|
* Size of the Checkbox.
|
|
1120
1516
|
*/
|
|
@@ -1135,8 +1531,8 @@ interface ExtentableContainer {
|
|
|
1135
1531
|
/**
|
|
1136
1532
|
* Use `Columns` to compose layouts on a 12-column grid. Place within `Section` components to align with any sibling `Grid` components.
|
|
1137
1533
|
*/
|
|
1138
|
-
declare const Columns:
|
|
1139
|
-
declare const ColumnsCol:
|
|
1534
|
+
declare const Columns: ({ children, isGutterless, isExtended, ...props }: ColumnsProps) => React__default.JSX.Element;
|
|
1535
|
+
declare const ColumnsCol: ({ align, children, isDebugVisible, offset, offsetS, offsetM, offsetL, offsetXL, span, spanS, spanM, spanL, spanXL, ...props }: ColumnsColProps) => React__default.JSX.Element;
|
|
1140
1536
|
type Span = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
1141
1537
|
type Offset = "0" | "24" | "48" | "72" | "96" | "120" | "144" | "168" | "192" | "216" | "240" | "264" | "288" | "312" | "336" | "360" | "384";
|
|
1142
1538
|
interface ColumnsColProps {
|
|
@@ -1206,18 +1602,18 @@ interface ColumnsProps extends ExtentableContainer {
|
|
|
1206
1602
|
}
|
|
1207
1603
|
|
|
1208
1604
|
type RequirementStatus = "required" | "optional" | "not-applicable";
|
|
1209
|
-
declare const Context:
|
|
1605
|
+
declare const Context: React__default.Context<{
|
|
1210
1606
|
requirementStatus: RequirementStatus | null;
|
|
1211
1607
|
}>;
|
|
1212
1608
|
/**
|
|
1213
1609
|
* Use `FormControl` to provide inputs with labels, helper text and error messages
|
|
1214
1610
|
*/
|
|
1215
|
-
declare const FormControl:
|
|
1611
|
+
declare const FormControl: ({ children, elementType: ElementType, errorMessage, helper, htmlFor, supplementaryInfo, id, label, labelSize, labelPosition, requirementStatus, helperUnderLabel, isDisabled, hideLabel, disclosureTitle, disclosureText, onClickDisclosure, isErrorAlert, ...props }: FormControlProps) => React__default.JSX.Element;
|
|
1216
1612
|
interface FormControlProps {
|
|
1217
1613
|
/**
|
|
1218
1614
|
* Render the input or series of inputs
|
|
1219
1615
|
*/
|
|
1220
|
-
children:
|
|
1616
|
+
children: React__default.ReactNode;
|
|
1221
1617
|
/**
|
|
1222
1618
|
* HTML Element type for the FormControl.
|
|
1223
1619
|
* @default 'div'
|
|
@@ -1230,7 +1626,7 @@ interface FormControlProps {
|
|
|
1230
1626
|
/**
|
|
1231
1627
|
* Helper text for the FormControl, shown below the label.
|
|
1232
1628
|
*/
|
|
1233
|
-
helper?:
|
|
1629
|
+
helper?: React__default.ReactNode;
|
|
1234
1630
|
/**
|
|
1235
1631
|
* ID for the input that the FormControl points towards.
|
|
1236
1632
|
*/
|
|
@@ -1276,7 +1672,7 @@ interface FormControlProps {
|
|
|
1276
1672
|
/**
|
|
1277
1673
|
* Optional additional information for the FormControl.
|
|
1278
1674
|
*/
|
|
1279
|
-
supplementaryInfo?:
|
|
1675
|
+
supplementaryInfo?: React__default.ReactNode;
|
|
1280
1676
|
/**
|
|
1281
1677
|
* Position helper text under label. This is set to `false` by default.
|
|
1282
1678
|
*/
|
|
@@ -1292,23 +1688,60 @@ interface FormControlProps {
|
|
|
1292
1688
|
}
|
|
1293
1689
|
|
|
1294
1690
|
/** Use `ComboBox` to provide a searchable dropdown list that allows users to select from or filter through multiple options. */
|
|
1295
|
-
declare const ComboBox:
|
|
1691
|
+
declare const ComboBox: ({ ref, name, onBlur, onFocus, label, helper, id, options: initialOptions, hideLabel, isFluid, errorMessage, disclosureTitle, disclosureText, onClickDisclosure, listBoxAriaLabel, defaultValue, labelSize, isMultiSelectable, isDisabled, isRequired, isAutocomplete, ...props }: ComboBoxProps) => React__default.JSX.Element;
|
|
1296
1692
|
interface ComboBoxProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel" | "supplementaryInfo" | "labelPosition"> {
|
|
1693
|
+
/**
|
|
1694
|
+
* Ref to the underlying input element.
|
|
1695
|
+
*/
|
|
1696
|
+
ref?: Ref<HTMLInputElement>;
|
|
1697
|
+
/**
|
|
1698
|
+
* Accessible label for the listbox.
|
|
1699
|
+
*/
|
|
1297
1700
|
listBoxAriaLabel: string;
|
|
1701
|
+
/**
|
|
1702
|
+
* Array of options to display in the dropdown.
|
|
1703
|
+
*/
|
|
1298
1704
|
options: string[];
|
|
1705
|
+
/**
|
|
1706
|
+
* Name attribute for the input.
|
|
1707
|
+
*/
|
|
1299
1708
|
name?: string;
|
|
1709
|
+
/**
|
|
1710
|
+
* Whether the field is required.
|
|
1711
|
+
*/
|
|
1300
1712
|
isRequired?: boolean;
|
|
1713
|
+
/**
|
|
1714
|
+
* Default value for the input.
|
|
1715
|
+
*/
|
|
1301
1716
|
defaultValue?: string;
|
|
1302
|
-
|
|
1303
|
-
|
|
1717
|
+
/**
|
|
1718
|
+
* Blur event handler.
|
|
1719
|
+
*/
|
|
1720
|
+
onBlur?: (e: React__default.FocusEvent<HTMLInputElement, Element>) => void;
|
|
1721
|
+
/**
|
|
1722
|
+
* Focus event handler.
|
|
1723
|
+
*/
|
|
1724
|
+
onFocus?: (e: React__default.FocusEvent<HTMLInputElement, Element>) => void;
|
|
1725
|
+
/**
|
|
1726
|
+
* Whether multiple options can be selected.
|
|
1727
|
+
*/
|
|
1304
1728
|
isMultiSelectable?: boolean;
|
|
1729
|
+
/**
|
|
1730
|
+
* Whether the combobox has autocomplete functionality.
|
|
1731
|
+
*/
|
|
1305
1732
|
isAutocomplete?: boolean;
|
|
1733
|
+
/**
|
|
1734
|
+
* Whether the input is read-only.
|
|
1735
|
+
*/
|
|
1306
1736
|
isReadOnly?: boolean;
|
|
1737
|
+
/**
|
|
1738
|
+
* Whether the combobox should fill its container width.
|
|
1739
|
+
*/
|
|
1307
1740
|
isFluid?: boolean;
|
|
1308
1741
|
}
|
|
1309
1742
|
|
|
1310
1743
|
/** Use `ContentSwitcher` to allow users to navigate between different sections of relevant content. */
|
|
1311
|
-
declare const ContentSwitcher:
|
|
1744
|
+
declare const ContentSwitcher: ({ children, defaultValue, onValueChange, activationMode, value, ...props }: ContentSwitcherProps) => React__default.JSX.Element;
|
|
1312
1745
|
interface ContentSwitcherProps {
|
|
1313
1746
|
/**
|
|
1314
1747
|
* Render children
|
|
@@ -1332,8 +1765,12 @@ interface ContentSwitcherProps {
|
|
|
1332
1765
|
value?: string;
|
|
1333
1766
|
}
|
|
1334
1767
|
|
|
1335
|
-
declare const ContentSwitcherTab:
|
|
1768
|
+
declare const ContentSwitcherTab: ({ label, value, onClick, onFocus, ref, ...props }: ContentSwitcherTabProps) => React__default.JSX.Element;
|
|
1336
1769
|
interface ContentSwitcherTabProps {
|
|
1770
|
+
/**
|
|
1771
|
+
* Ref to the underlying button element.
|
|
1772
|
+
*/
|
|
1773
|
+
ref?: Ref<HTMLButtonElement>;
|
|
1337
1774
|
/**
|
|
1338
1775
|
* Label to display on the ContentSwitcherTab
|
|
1339
1776
|
*/
|
|
@@ -1352,7 +1789,7 @@ interface ContentSwitcherTabProps {
|
|
|
1352
1789
|
onFocus?: () => void;
|
|
1353
1790
|
}
|
|
1354
1791
|
|
|
1355
|
-
declare const ContentSwitcherContent:
|
|
1792
|
+
declare const ContentSwitcherContent: ({ children, value, hidden, forceMount, ...props }: ContentSwitcherContentProps) => React__default.JSX.Element;
|
|
1356
1793
|
interface ContentSwitcherContentProps {
|
|
1357
1794
|
/**
|
|
1358
1795
|
* Content to display
|
|
@@ -1372,7 +1809,7 @@ interface ContentSwitcherContentProps {
|
|
|
1372
1809
|
forceMount?: boolean;
|
|
1373
1810
|
}
|
|
1374
1811
|
|
|
1375
|
-
declare const ContentSwitcherList:
|
|
1812
|
+
declare const ContentSwitcherList: ({ children, type, isJustified, ariaLabel, isInset, ...props }: ContentSwitcherListProps) => React__default.JSX.Element;
|
|
1376
1813
|
interface ContentSwitcherListProps {
|
|
1377
1814
|
/**
|
|
1378
1815
|
* Contents of the `ContentSwitcherList` Should contain `Tab`
|
|
@@ -1399,8 +1836,8 @@ interface ContentSwitcherListProps {
|
|
|
1399
1836
|
/**
|
|
1400
1837
|
* Use `ContentSwitcherDropdown` tab control used to toggle between related views or content sections, without navigating away from the current page.
|
|
1401
1838
|
*/
|
|
1402
|
-
declare const ContentSwitcherDropdown:
|
|
1403
|
-
declare const ContentSwitcherDropdownContent:
|
|
1839
|
+
declare const ContentSwitcherDropdown: ({ defaultValue, tabs, onValueChange, children, isInset, value, ariaLabel, isFluid, width, ...props }: ContentSwitcherDropdownProps) => React__default.JSX.Element;
|
|
1840
|
+
declare const ContentSwitcherDropdownContent: ({ children, }: ContentSwitcherDropdownContentProps) => React__default.JSX.Element;
|
|
1404
1841
|
interface ContentSwitcherDropdownContentProps {
|
|
1405
1842
|
/**
|
|
1406
1843
|
* Content to display
|
|
@@ -1483,12 +1920,12 @@ declare const DATE_FORMAT = "dd/MM/yyyy";
|
|
|
1483
1920
|
type AutoCompleteTypes = "on" | "off" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "country" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "email" | "impp" | "url" | "photo" | "organization-unit";
|
|
1484
1921
|
|
|
1485
1922
|
/** Use `Tooltip` to display information related to an element when the element receives keyboard focus or the mouse hovers over it */
|
|
1486
|
-
declare const Tooltip:
|
|
1923
|
+
declare const Tooltip: ({ children, side, sideOffset, align, alignContent, title, supportingCopy, icon, ariaLabel, maxWidth, delayDuration, open, onOpenChange, asChild, zIndex, ...props }: TooltipProps) => React__default.JSX.Element;
|
|
1487
1924
|
interface TooltipProps {
|
|
1488
1925
|
/**
|
|
1489
1926
|
* Content to render within Tooltip
|
|
1490
1927
|
*/
|
|
1491
|
-
children?:
|
|
1928
|
+
children?: React__default.ReactNode;
|
|
1492
1929
|
/**
|
|
1493
1930
|
* The preferred side of the anchor to render against when open
|
|
1494
1931
|
*/
|
|
@@ -1547,12 +1984,16 @@ interface TooltipProps {
|
|
|
1547
1984
|
asChild?: boolean;
|
|
1548
1985
|
}
|
|
1549
1986
|
|
|
1550
|
-
type EventType$4 =
|
|
1987
|
+
type EventType$4 = React__default.ChangeEvent<HTMLInputElement>;
|
|
1551
1988
|
/**
|
|
1552
1989
|
* Use `TextInput` to allow users to enter short form text.
|
|
1553
1990
|
*/
|
|
1554
|
-
declare const TextInput:
|
|
1991
|
+
declare const TextInput: (props: TextInputProps) => React__default.JSX.Element;
|
|
1555
1992
|
interface TextInputComponentProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel" | "supplementaryInfo" | "labelPosition" | "labelSize"> {
|
|
1993
|
+
/**
|
|
1994
|
+
* Ref to the underlying input element.
|
|
1995
|
+
*/
|
|
1996
|
+
ref?: Ref<HTMLInputElement>;
|
|
1556
1997
|
/**
|
|
1557
1998
|
* Uncontrolled default value of the TextInput. If the TextInput is controlled
|
|
1558
1999
|
* via `value`/`onChange`, `defaultValue` will be ignored.
|
|
@@ -1598,11 +2039,11 @@ interface TextInputComponentProps extends Omit<FormControlProps, "children" | "e
|
|
|
1598
2039
|
/**
|
|
1599
2040
|
* Add a leadingSlot value within `TextInput`
|
|
1600
2041
|
*/
|
|
1601
|
-
leadingSlot?:
|
|
2042
|
+
leadingSlot?: React__default.ReactNode;
|
|
1602
2043
|
/**
|
|
1603
2044
|
* Add a trailingSlot value within `TextInput`. If `showPassword`, `clearIcon` or `isloading` is true, this value will not be displayed.
|
|
1604
2045
|
*/
|
|
1605
|
-
trailingSlot?:
|
|
2046
|
+
trailingSlot?: React__default.ReactNode;
|
|
1606
2047
|
/**
|
|
1607
2048
|
* Add a suffix value within `TextInput`.
|
|
1608
2049
|
*/
|
|
@@ -1626,11 +2067,11 @@ interface TextInputComponentProps extends Omit<FormControlProps, "children" | "e
|
|
|
1626
2067
|
/**
|
|
1627
2068
|
* Function to call when the TextInput loses focus.
|
|
1628
2069
|
*/
|
|
1629
|
-
onBlur?: (e:
|
|
2070
|
+
onBlur?: (e: React__default.FocusEvent<HTMLInputElement, Element>) => void;
|
|
1630
2071
|
/**
|
|
1631
2072
|
* Function to call when the TextInput is focused.
|
|
1632
2073
|
*/
|
|
1633
|
-
onFocus?: (e:
|
|
2074
|
+
onFocus?: (e: React__default.FocusEvent<HTMLInputElement, Element>) => void;
|
|
1634
2075
|
/**
|
|
1635
2076
|
* Callback function commonly used to update the TextInput's controlled
|
|
1636
2077
|
* `value`, for example `e => setValue(e.target.value)`.
|
|
@@ -1669,10 +2110,6 @@ interface TextInputComponentProps extends Omit<FormControlProps, "children" | "e
|
|
|
1669
2110
|
* Sets autoComplete value for TextInput.
|
|
1670
2111
|
*/
|
|
1671
2112
|
autoComplete?: AutoCompleteTypes;
|
|
1672
|
-
/**
|
|
1673
|
-
* A reference to TextInput
|
|
1674
|
-
*/
|
|
1675
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
1676
2113
|
}
|
|
1677
2114
|
type TextInputProps = Omit<TextInputComponentProps, "placeholder">;
|
|
1678
2115
|
type TextInputWithPlaceholderProps = TextInputComponentProps;
|
|
@@ -1680,28 +2117,50 @@ type TextInputWithPlaceholderProps = TextInputComponentProps;
|
|
|
1680
2117
|
/**
|
|
1681
2118
|
* Use `DatePicker` to clearly present available dates and allow users to choose a way to enter information.
|
|
1682
2119
|
*/
|
|
1683
|
-
declare const DatePicker:
|
|
2120
|
+
declare const DatePicker: ({ errorMessage, helper, id, label, isDisabled, isReadOnly, isRequired, size, value, name, onBlur, onChange, onDateSelect, onRangeSelect, onClickDisclosure, disclosureTitle, disclosureText, type, isFluid, selectionType, disabledDates, minDate, maxDate, ref, ...props }: DatePickerProps) => React__default.JSX.Element;
|
|
1684
2121
|
interface DatePickerRangeSelection$1 extends RangeSelection {
|
|
1685
2122
|
formattedRange: string;
|
|
1686
2123
|
}
|
|
1687
2124
|
interface DatePickerProps extends Omit<TextInputWithPlaceholderProps, "defaultValue" | "inputMode" | "minLength" | "maxLength" | "pattern" | "type" | "showPassword" | "placeholder" | "trailingInputIcon" | "prefix" | "suffix">, Omit<CalendarProps, "onDateSelect" | "onRangeSelect" | "selectedDate" | "selectedRange"> {
|
|
2125
|
+
/**
|
|
2126
|
+
* Ref to the underlying input element.
|
|
2127
|
+
*/
|
|
2128
|
+
ref?: Ref<HTMLInputElement>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Whether the DatePicker should take up the full width of its container.
|
|
2131
|
+
*/
|
|
1688
2132
|
isFluid?: boolean;
|
|
2133
|
+
/**
|
|
2134
|
+
* Callback when a single date is selected.
|
|
2135
|
+
*/
|
|
1689
2136
|
onDateSelect?: (value: {
|
|
1690
2137
|
date: Date;
|
|
1691
2138
|
formattedDate: string;
|
|
1692
2139
|
}) => void;
|
|
2140
|
+
/**
|
|
2141
|
+
* Callback when a date range is selected.
|
|
2142
|
+
*/
|
|
1693
2143
|
onRangeSelect?: (value: DatePickerRangeSelection$1) => void;
|
|
1694
2144
|
}
|
|
1695
2145
|
|
|
1696
|
-
declare const DatePickerRange:
|
|
2146
|
+
declare const DatePickerRange: ({ inputStart, inputEnd, type, minDate, maxDate, disabledDates, onRangeSelect, isFluid, }: DatePickerRangeProps) => React__default.JSX.Element;
|
|
1697
2147
|
interface DatePickerRangeSelection extends RangeSelection {
|
|
1698
2148
|
formattedStart: string;
|
|
1699
2149
|
formattedEnd: string;
|
|
1700
2150
|
}
|
|
1701
2151
|
type SharedInputProps = Omit<TextInputWithPlaceholderProps, "defaultValue" | "inputMode" | "minLength" | "maxLength" | "pattern" | "type" | "showPassword" | "placeholder" | "trailingInputIcon" | "prefix" | "suffix" | "label"> & Partial<Pick<TextInputWithPlaceholderProps, "label">>;
|
|
1702
2152
|
interface DatePickerRangeProps extends Pick<CalendarProps, "type" | "minDate" | "maxDate" | "disabledDates"> {
|
|
2153
|
+
/**
|
|
2154
|
+
* Configuration for the start date input.
|
|
2155
|
+
*/
|
|
1703
2156
|
inputStart: SharedInputProps;
|
|
2157
|
+
/**
|
|
2158
|
+
* Configuration for the end date input.
|
|
2159
|
+
*/
|
|
1704
2160
|
inputEnd: SharedInputProps;
|
|
2161
|
+
/**
|
|
2162
|
+
* Callback when a date range is selected.
|
|
2163
|
+
*/
|
|
1705
2164
|
onRangeSelect?: (value: DatePickerRangeSelection) => void;
|
|
1706
2165
|
/**
|
|
1707
2166
|
* Enable to make the `DatePickerRange` fill its parent container
|
|
@@ -1712,7 +2171,7 @@ interface DatePickerRangeProps extends Pick<CalendarProps, "type" | "minDate" |
|
|
|
1712
2171
|
/**
|
|
1713
2172
|
* Use `Disclosure` to show and hide sections of content.
|
|
1714
2173
|
*/
|
|
1715
|
-
declare const Disclosure:
|
|
2174
|
+
declare const Disclosure: ({ children, headingLevel, indentDetails, isOpen, summary, ...props }: DisclosureProps) => React__default.JSX.Element;
|
|
1716
2175
|
interface DisclosureProps {
|
|
1717
2176
|
/**
|
|
1718
2177
|
* Content to display in the Disclosure.
|
|
@@ -1740,7 +2199,7 @@ interface DisclosureProps {
|
|
|
1740
2199
|
/**
|
|
1741
2200
|
* Use `DisclosureMini` to show and hide sections of content.
|
|
1742
2201
|
*/
|
|
1743
|
-
declare const DisclosureMini:
|
|
2202
|
+
declare const DisclosureMini: ({ children, summary, onClick, id, isOpen, iconPosition, size, ...props }: DisclosureMiniProps) => React__default.JSX.Element;
|
|
1744
2203
|
interface DisclosureMiniProps {
|
|
1745
2204
|
/**
|
|
1746
2205
|
* Content to display in the DisclosureMini.
|
|
@@ -1775,7 +2234,7 @@ interface DisclosureMiniProps {
|
|
|
1775
2234
|
declare const iconNames: readonly ["alertDismiss", "alertError", "alertGeneral", "alertSuccess", "alertWarning", "avatarUser", "breadcrumbLeft", "breadcrumbRight", "buttonLeft", "buttonRight", "calendarLeft", "calendarRight", "cardRight", "cardPlay", "carouselRight", "carouselLeft", "checkboxChecked", "checkboxError", "datePickerCalendar", "disclosureExpand", "disclosureMiniExpand", "downloadFile", "downloadAccessibility", "drawerClose", "formControlAlert", "linkExternal", "modalClose", "navigationHeaderClose", "navigationHeaderDisclosure", "navigationHeaderMenuLinkSmall", "navigationHeaderMenuLinkLarge", "paginationPrevious", "paginationNext", "paginationSimplePrevious", "paginationSimpleNext", "progressBarSuccess", "progressBarError", "progressBarRefresh", "progressStepperComplete", "progressStepperCurrent", "progressStepperWarning", "progressStepperError", "scrollToTop", "selectTrigger", "selectScrollUp", "selectScrollDown", "selectIndicator", "siteFooterExpand", "siteHeaderBack", "siteHeaderBurger", "siteHeaderLink", "siteHeaderItemGroupExpand", "siteHeaderNavItemExpand", "siteHeaderNavItemExpandAlt", "siteHeaderViewAll", "siteHeaderSubNavOpen", "switchToggle", "tabsNext", "tabsPrevious", "tagRemove", "textInputShowPassword", "textInputHidePassword", "textInputClear", "toastGeneral", "toastSuccess", "toastWarning", "toastError", "toastDismiss", "videoPlayerTranscript", "videoPlayerPlay"];
|
|
1776
2235
|
|
|
1777
2236
|
/** Use `ThemeIcon` to display an icon that allows switching between theme-specific icons. */
|
|
1778
|
-
declare const ThemeIcon:
|
|
2237
|
+
declare const ThemeIcon: ({ size, icon, color, ...props }: ThemeIconProps) => React__default.JSX.Element;
|
|
1779
2238
|
interface ThemeIconProps {
|
|
1780
2239
|
/**
|
|
1781
2240
|
* Size of the Icon, in pixels.
|
|
@@ -1793,7 +2252,7 @@ interface ThemeIconProps {
|
|
|
1793
2252
|
type ThemeIconNames = (typeof iconNames)[number];
|
|
1794
2253
|
|
|
1795
2254
|
/** Use `Download` to provide users with a file download action. */
|
|
1796
|
-
declare const Download:
|
|
2255
|
+
declare const Download: ({ name, onClick, description, href, type, size, icon, isCompact, isFullWidth, }: DownloadProps) => React__default.JSX.Element;
|
|
1797
2256
|
interface DownloadProps {
|
|
1798
2257
|
/**
|
|
1799
2258
|
* Name for `<Download />`
|
|
@@ -1833,7 +2292,7 @@ interface DownloadProps {
|
|
|
1833
2292
|
onClick?: (e: MouseEvent$1<HTMLAnchorElement>) => void;
|
|
1834
2293
|
}
|
|
1835
2294
|
|
|
1836
|
-
declare const Drawer:
|
|
2295
|
+
declare const Drawer: ({ isOpen, children, onRequestClose, noOverlay, shouldReturnFocus, size, height, width, position, draggable, snapPoints, snapBehaviour, dragDownToDismiss, onDragHandleClick, ariaDescription, ...props }: DrawerProps) => React__default.JSX.Element;
|
|
1837
2296
|
interface DrawerProps {
|
|
1838
2297
|
/**
|
|
1839
2298
|
* Show or hide page overlay.
|
|
@@ -1868,7 +2327,7 @@ interface DrawerProps {
|
|
|
1868
2327
|
/**
|
|
1869
2328
|
* Content to include with in the `Drawer` This should typically be `DrawerHeader`, `DrawerFooter` and `DrawerFooter`. This can also have custom content.
|
|
1870
2329
|
*/
|
|
1871
|
-
children?:
|
|
2330
|
+
children?: ReactNode;
|
|
1872
2331
|
/**
|
|
1873
2332
|
* Set the position of the `Drawer`
|
|
1874
2333
|
*/
|
|
@@ -1893,45 +2352,62 @@ interface DrawerProps {
|
|
|
1893
2352
|
*/
|
|
1894
2353
|
dragDownToDismiss?: boolean;
|
|
1895
2354
|
/**
|
|
1896
|
-
*
|
|
2355
|
+
* Invoke function when drag handle is clicked
|
|
1897
2356
|
*/
|
|
1898
|
-
onDragHandleClick?: (e:
|
|
2357
|
+
onDragHandleClick?: (e: React__default.MouseEvent) => void;
|
|
1899
2358
|
/**
|
|
1900
2359
|
* Describe the content of the Drawer
|
|
1901
2360
|
*/
|
|
1902
2361
|
ariaDescription: string;
|
|
1903
2362
|
}
|
|
1904
2363
|
|
|
1905
|
-
declare const DrawerHeader:
|
|
2364
|
+
declare const DrawerHeader: ({ title, isFixed, isResponsive, children, isFullBleed, titleWordWrap, ...props }: DrawerHeaderProps) => React__default.JSX.Element;
|
|
1906
2365
|
interface DrawerHeaderProps extends Pick<HeadingProps, "isResponsive"> {
|
|
1907
2366
|
/**
|
|
1908
|
-
*
|
|
2367
|
+
* Content to display within for the DrawerHeader. Can not be used in conjunction with `title`.
|
|
2368
|
+
*/
|
|
2369
|
+
children?: ReactNode;
|
|
2370
|
+
/**
|
|
2371
|
+
* Title for the DrawerHeader. Can not be used in conjunction with `children`.
|
|
2372
|
+
|
|
1909
2373
|
*/
|
|
1910
2374
|
title?: string;
|
|
1911
2375
|
/**
|
|
1912
2376
|
* Determine if the `DrawerHeader` is fixed to the top of the `Drawer`
|
|
1913
2377
|
*/
|
|
1914
2378
|
isFixed?: boolean;
|
|
2379
|
+
/**
|
|
2380
|
+
* Removes padding within the DrawerHeader
|
|
2381
|
+
*/
|
|
2382
|
+
isFullBleed?: boolean;
|
|
2383
|
+
/**
|
|
2384
|
+
* Whether long words in title should be wrapped.
|
|
2385
|
+
*/
|
|
2386
|
+
titleWordWrap?: boolean;
|
|
1915
2387
|
}
|
|
1916
2388
|
|
|
1917
|
-
declare const DrawerFooter:
|
|
2389
|
+
declare const DrawerFooter: ({ isFixed, isFullBleed, children, }: DrawerFooterProps) => React__default.JSX.Element;
|
|
1918
2390
|
interface DrawerFooterProps {
|
|
1919
2391
|
/**
|
|
1920
2392
|
* Content to display within the DrawerFooter. This will typically be ButtonGroup
|
|
1921
2393
|
*/
|
|
1922
|
-
children?:
|
|
2394
|
+
children?: ReactNode;
|
|
1923
2395
|
/**
|
|
1924
2396
|
* Determine if the `DrawerFooter` is fixed to the bottom of the `Drawer`
|
|
1925
2397
|
*/
|
|
1926
2398
|
isFixed?: boolean;
|
|
2399
|
+
/**
|
|
2400
|
+
* Removes padding within the DrawerFooter
|
|
2401
|
+
*/
|
|
2402
|
+
isFullBleed?: boolean;
|
|
1927
2403
|
}
|
|
1928
2404
|
|
|
1929
|
-
declare const DrawerContent:
|
|
2405
|
+
declare const DrawerContent: ({ isFullBleed, children, }: DrawerContentProps) => React__default.JSX.Element;
|
|
1930
2406
|
interface DrawerContentProps {
|
|
1931
2407
|
/**
|
|
1932
|
-
* Display content within the DrawerContent
|
|
2408
|
+
* Display content within the DrawerContent section
|
|
1933
2409
|
*/
|
|
1934
|
-
children:
|
|
2410
|
+
children: ReactNode;
|
|
1935
2411
|
/**
|
|
1936
2412
|
* This property removes all arc styling and opens the Drawer to have fully custom content
|
|
1937
2413
|
*/
|
|
@@ -1941,7 +2417,7 @@ interface DrawerContentProps {
|
|
|
1941
2417
|
/**
|
|
1942
2418
|
* Use `Elevation` to elevate what matters.
|
|
1943
2419
|
*/
|
|
1944
|
-
declare const Elevation:
|
|
2420
|
+
declare const Elevation: ({ children, level, isFullWidth, ...props }: ElevationProps) => React__default.JSX.Element;
|
|
1945
2421
|
interface ElevationProps {
|
|
1946
2422
|
/**
|
|
1947
2423
|
* Contents to Elevate.
|
|
@@ -1957,7 +2433,7 @@ interface ElevationProps {
|
|
|
1957
2433
|
isFullWidth?: boolean;
|
|
1958
2434
|
}
|
|
1959
2435
|
|
|
1960
|
-
declare const FilterControls:
|
|
2436
|
+
declare const FilterControls: ({ children, controlsAlignment, }: FilterControlsProps) => React__default.JSX.Element;
|
|
1961
2437
|
interface FilterControlsProps {
|
|
1962
2438
|
/**
|
|
1963
2439
|
* Contents of the `<FilterControls />` Should contain `<FilterControl />`
|
|
@@ -1969,7 +2445,7 @@ interface FilterControlsProps {
|
|
|
1969
2445
|
controlsAlignment?: "left" | "right" | "center";
|
|
1970
2446
|
}
|
|
1971
2447
|
|
|
1972
|
-
declare const FilterItems:
|
|
2448
|
+
declare const FilterItems: ({ children, error, displayType, }: FilterItemsProps) => React__default.JSX.Element;
|
|
1973
2449
|
interface FilterItemsProps {
|
|
1974
2450
|
/**
|
|
1975
2451
|
* Render children of `<FilterItems />`. This should only use `<FilterItem />`
|
|
@@ -1986,12 +2462,15 @@ interface FilterItemsProps {
|
|
|
1986
2462
|
}
|
|
1987
2463
|
|
|
1988
2464
|
/** Use `Filter` to filter and categorise page content. */
|
|
1989
|
-
declare const Filter:
|
|
2465
|
+
declare const Filter: ({ children, onChange, controls, displayType, controlsAlignment, logicType, error, ...props }: FilterProps) => React__default.JSX.Element;
|
|
1990
2466
|
interface FilterProps {
|
|
1991
2467
|
/**
|
|
1992
2468
|
* Contents of the `<Filter />` Should contain `<FilterItem />`
|
|
1993
2469
|
*/
|
|
1994
2470
|
children?: ReactNode;
|
|
2471
|
+
/**
|
|
2472
|
+
* Array of filter control configurations
|
|
2473
|
+
*/
|
|
1995
2474
|
controls: {
|
|
1996
2475
|
label: string;
|
|
1997
2476
|
isSelected?: boolean;
|
|
@@ -2019,7 +2498,7 @@ interface FilterProps {
|
|
|
2019
2498
|
error?: ReactNode;
|
|
2020
2499
|
}
|
|
2021
2500
|
|
|
2022
|
-
declare const FilterItem:
|
|
2501
|
+
declare const FilterItem: ({ children }: FilterItemProps) => React__default.JSX.Element;
|
|
2023
2502
|
interface FilterItemProps {
|
|
2024
2503
|
/**
|
|
2025
2504
|
* Content to display within `FilterItem`
|
|
@@ -2032,7 +2511,7 @@ interface FilterItemProps {
|
|
|
2032
2511
|
}
|
|
2033
2512
|
|
|
2034
2513
|
/** Group `FilterControl` components to add controls to `Filter` component. */
|
|
2035
|
-
declare const FilterControl:
|
|
2514
|
+
declare const FilterControl: ({ children, onClick, isSelected, }: FilterControlProps) => React__default.JSX.Element;
|
|
2036
2515
|
interface FilterControlProps {
|
|
2037
2516
|
/**
|
|
2038
2517
|
* Name of the `<FilterControl />`
|
|
@@ -2051,8 +2530,8 @@ interface FilterControlProps {
|
|
|
2051
2530
|
/**
|
|
2052
2531
|
* Use `GhostedHeroBanner` to grab attention and convey the main message or purpose of a webpage
|
|
2053
2532
|
*/
|
|
2054
|
-
declare const GhostedHeroBanner:
|
|
2055
|
-
type GhostedHeroBannerProps = Pick<TemplateBannerProps, "heading" | "img" | "children" | "label" | "text" | "headingLevel" | "fontStyle">;
|
|
2533
|
+
declare const GhostedHeroBanner: ({ heading, headingLevel, label, text, img, children, fontStyle, headingWordWrap, ...props }: GhostedHeroBannerProps) => React__default.JSX.Element;
|
|
2534
|
+
type GhostedHeroBannerProps = Pick<TemplateBannerProps, "heading" | "img" | "children" | "label" | "text" | "headingLevel" | "fontStyle" | "headingWordWrap">;
|
|
2056
2535
|
|
|
2057
2536
|
/**
|
|
2058
2537
|
* Provides an object of breakpoints for responsive designs.
|
|
@@ -2078,7 +2557,7 @@ type ScrimFadeSize = "l" | "m" | "s";
|
|
|
2078
2557
|
/**
|
|
2079
2558
|
* Use `GradientPageBackground` as a content wrapper blending multiple colours to add depth, mood or emphasise hero sections, footer sections, or mid-page section backgrounds.
|
|
2080
2559
|
*/
|
|
2081
|
-
declare const GradientPageBackground:
|
|
2560
|
+
declare const GradientPageBackground: ({ gradient, responsiveGradient, children, scrimFadeSize, scrimFadeHeights, extendBackgrounds, loading, scrimFadePosition, ...props }: GradientPageBackgroundProps) => React__default.JSX.Element;
|
|
2082
2561
|
interface GradientPageBackgroundProps {
|
|
2083
2562
|
/**
|
|
2084
2563
|
* Gradient for the component. You can import these directly from the @arc-ui/gradients package, or pass your own.
|
|
@@ -2107,7 +2586,7 @@ interface GradientPageBackgroundProps {
|
|
|
2107
2586
|
/**
|
|
2108
2587
|
* Content to be displayed on top of the gradient
|
|
2109
2588
|
*/
|
|
2110
|
-
children
|
|
2589
|
+
children?: React__default.ReactNode;
|
|
2111
2590
|
/**
|
|
2112
2591
|
* Loading behaviour of the background gradient image.
|
|
2113
2592
|
*/
|
|
@@ -2117,7 +2596,7 @@ interface GradientPageBackgroundProps {
|
|
|
2117
2596
|
/**
|
|
2118
2597
|
* Use `Grid` to compose layouts on a 12-column grid. Aligns with sibling `Section` components.
|
|
2119
2598
|
*/
|
|
2120
|
-
declare const Grid:
|
|
2599
|
+
declare const Grid: ({ children, isFluid, isDebugVisible, isGutterless, isExtended, ...props }: GridProps) => React__default.JSX.Element;
|
|
2121
2600
|
interface GridProps extends ExtentableContainer {
|
|
2122
2601
|
/**
|
|
2123
2602
|
* `Grid` is set to 100% width if true.
|
|
@@ -2134,7 +2613,7 @@ interface GridProps extends ExtentableContainer {
|
|
|
2134
2613
|
/**
|
|
2135
2614
|
* Contents of the Grid Should only contain `GridRow`.
|
|
2136
2615
|
*/
|
|
2137
|
-
children:
|
|
2616
|
+
children: React__default.ReactNode;
|
|
2138
2617
|
}
|
|
2139
2618
|
|
|
2140
2619
|
declare const BREAKPOINTS: readonly ["xs", "s", "m", "l", "xl", "xxl", "xxxl"];
|
|
@@ -2148,26 +2627,50 @@ type Column = ColumnConfig<ColumnValue>;
|
|
|
2148
2627
|
type Arrangement = ColumnConfig<GridValue>;
|
|
2149
2628
|
type Alignment = ColumnConfig<AlignmentValue>;
|
|
2150
2629
|
|
|
2151
|
-
declare const GridCol:
|
|
2630
|
+
declare const GridCol: ({ order, offset, align, children, ...props }: GridColProps) => React__default.JSX.Element;
|
|
2152
2631
|
interface GridColProps extends Column {
|
|
2632
|
+
/**
|
|
2633
|
+
* Offset configuration for the column
|
|
2634
|
+
*/
|
|
2153
2635
|
offset?: Arrangement;
|
|
2636
|
+
/**
|
|
2637
|
+
* Order configuration for the column
|
|
2638
|
+
*/
|
|
2154
2639
|
order?: Arrangement;
|
|
2640
|
+
/**
|
|
2641
|
+
* Alignment configuration for the column
|
|
2642
|
+
*/
|
|
2155
2643
|
align?: Alignment;
|
|
2156
|
-
|
|
2644
|
+
/**
|
|
2645
|
+
* Content to display in the GridCol
|
|
2646
|
+
*/
|
|
2647
|
+
children: React__default.ReactNode;
|
|
2157
2648
|
}
|
|
2158
2649
|
|
|
2159
|
-
declare const GridRow:
|
|
2650
|
+
declare const GridRow: ({ direction, align, justify, children, ...props }: GridRowProps) => React__default.JSX.Element;
|
|
2160
2651
|
interface GridRowProps {
|
|
2652
|
+
/**
|
|
2653
|
+
* Alignment of items in the row
|
|
2654
|
+
*/
|
|
2161
2655
|
align?: AlignmentValue;
|
|
2656
|
+
/**
|
|
2657
|
+
* Direction of the row
|
|
2658
|
+
*/
|
|
2162
2659
|
direction?: "column" | "row" | "column-reverse" | "row-reverse";
|
|
2660
|
+
/**
|
|
2661
|
+
* Justification of items in the row
|
|
2662
|
+
*/
|
|
2163
2663
|
justify?: "start" | "center" | "end" | "between" | "around" | "normal";
|
|
2164
|
-
|
|
2664
|
+
/**
|
|
2665
|
+
* Content to display in the GridRow
|
|
2666
|
+
*/
|
|
2667
|
+
children: React__default.ReactNode;
|
|
2165
2668
|
}
|
|
2166
2669
|
|
|
2167
2670
|
/**
|
|
2168
2671
|
* Use `Group` to arrange flexible items in a row.
|
|
2169
2672
|
*/
|
|
2170
|
-
declare const Group:
|
|
2673
|
+
declare const Group: ({ children, grow, growEqual, gutterBorder, noWrap, isExtended, ...props }: GroupProps) => React__default.JSX.Element;
|
|
2171
2674
|
interface GroupProps extends ExtentableContainer {
|
|
2172
2675
|
/**
|
|
2173
2676
|
* Contents of the Group Should only contain `GroupItem`.
|
|
@@ -2191,7 +2694,7 @@ interface GroupProps extends ExtentableContainer {
|
|
|
2191
2694
|
noWrap?: boolean;
|
|
2192
2695
|
}
|
|
2193
2696
|
|
|
2194
|
-
declare const GroupItem:
|
|
2697
|
+
declare const GroupItem: ({ children, grow, isDebugVisible, ...props }: ItemProps) => React__default.JSX.Element;
|
|
2195
2698
|
interface ItemProps {
|
|
2196
2699
|
/**
|
|
2197
2700
|
* Content to display in the GroupItem.
|
|
@@ -2209,7 +2712,7 @@ interface ItemProps {
|
|
|
2209
2712
|
}
|
|
2210
2713
|
|
|
2211
2714
|
/** Use `HeroBanner` to promote key content or products with bold visuals and messaging. */
|
|
2212
|
-
declare const HeroBanner:
|
|
2715
|
+
declare const HeroBanner: ({ heading, label, text, img, contentRatio, children, minHeight, isReversed, isElevated, headingLevel, extendBeyondContainer, type, fontStyle, headingWordWrap, ...props }: HeroBannerProps) => React__default.JSX.Element;
|
|
2213
2716
|
interface HeroBannerProps extends Omit<TemplateBannerProps, "headingSize" | "alignment" | "additionalTopMargin"> {
|
|
2214
2717
|
/**
|
|
2215
2718
|
* Extend HeroBanner 56px beyond its container on both sides at larger breakpoints (e.g., 1440px and above).
|
|
@@ -2218,11 +2721,11 @@ interface HeroBannerProps extends Omit<TemplateBannerProps, "headingSize" | "ali
|
|
|
2218
2721
|
}
|
|
2219
2722
|
|
|
2220
2723
|
type ElementUnion = HTMLButtonElement | HTMLAnchorElement;
|
|
2221
|
-
type
|
|
2724
|
+
type ButtonRef = Ref<ElementUnion> | null;
|
|
2222
2725
|
/**
|
|
2223
2726
|
* Use `HeroButton` as the most prominent call-to-action. It should be used sparingly at the most important parts of a user journey only.
|
|
2224
2727
|
*/
|
|
2225
|
-
declare const HeroButton:
|
|
2728
|
+
declare const HeroButton: ({ label, buttonStyle, icon, ariaLabel, isLoading, onClick, href, id, rel, target, type, form, ref, ...props }: HeroButtonProps) => React__default.JSX.Element;
|
|
2226
2729
|
interface LinkElementProps {
|
|
2227
2730
|
/**
|
|
2228
2731
|
* URL to link to if `HeroButton` elementType is 'a'.
|
|
@@ -2269,7 +2772,7 @@ interface HeroButtonProps extends HeroButtonElementProps, LinkElementProps {
|
|
|
2269
2772
|
/**
|
|
2270
2773
|
* Optional property to provide component Ref
|
|
2271
2774
|
*/
|
|
2272
|
-
ref?:
|
|
2775
|
+
ref?: ButtonRef;
|
|
2273
2776
|
/**
|
|
2274
2777
|
* Text to override `label` with additional, more precise information
|
|
2275
2778
|
* specifically for screen reader users.
|
|
@@ -2295,23 +2798,44 @@ interface BreakpointVisibility {
|
|
|
2295
2798
|
}
|
|
2296
2799
|
|
|
2297
2800
|
/** Use `Hidden` to hide it's children at specific breakpoints */
|
|
2298
|
-
declare const Hidden:
|
|
2801
|
+
declare const Hidden: ({ children, xs, s, m, l, xl, xxl, ...props }: HiddenProps) => React__default.JSX.Element;
|
|
2299
2802
|
interface HiddenProps extends BreakpointVisibility {
|
|
2300
|
-
|
|
2803
|
+
/**
|
|
2804
|
+
* Content to hide at specific breakpoints
|
|
2805
|
+
*/
|
|
2806
|
+
children: React__default.ReactNode;
|
|
2301
2807
|
}
|
|
2302
2808
|
|
|
2303
2809
|
type CardFooterIcon = "play" | "arrow";
|
|
2304
2810
|
interface CardFooterProps {
|
|
2811
|
+
/**
|
|
2812
|
+
* Metadata text or date to display in the footer.
|
|
2813
|
+
*/
|
|
2305
2814
|
metaText?: string | Date;
|
|
2815
|
+
/**
|
|
2816
|
+
* Whether to use dark pathway styling.
|
|
2817
|
+
*/
|
|
2306
2818
|
isDarkPathway?: boolean;
|
|
2819
|
+
/**
|
|
2820
|
+
* Icon to display in the button.
|
|
2821
|
+
*/
|
|
2307
2822
|
buttonIcon?: CardFooterIcon;
|
|
2823
|
+
/**
|
|
2824
|
+
* Size of the button.
|
|
2825
|
+
*/
|
|
2308
2826
|
buttonSize?: "s" | "m";
|
|
2827
|
+
/**
|
|
2828
|
+
* Whether to show the button.
|
|
2829
|
+
*/
|
|
2309
2830
|
showButton?: boolean;
|
|
2831
|
+
/**
|
|
2832
|
+
* Whether the card is in a hovered state.
|
|
2833
|
+
*/
|
|
2310
2834
|
isHovered?: boolean;
|
|
2311
2835
|
}
|
|
2312
2836
|
|
|
2313
2837
|
/** Use `HorizontalCard` to display card content in a horizontal layout. */
|
|
2314
|
-
declare const HorizontalCard:
|
|
2838
|
+
declare const HorizontalCard: ({ text, heading, headingLevel, img, metaText, url, onClick, ...props }: HorizontalCardProps) => React__default.JSX.Element;
|
|
2315
2839
|
interface HorizontalCardProps {
|
|
2316
2840
|
/**
|
|
2317
2841
|
* Heading for the HorizontalCard.
|
|
@@ -2344,13 +2868,13 @@ interface HorizontalCardProps {
|
|
|
2344
2868
|
/**
|
|
2345
2869
|
* Click handler for the HorizontalCard. Only applied when a url is provided.
|
|
2346
2870
|
*/
|
|
2347
|
-
onClick?: (e:
|
|
2871
|
+
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement>) => void;
|
|
2348
2872
|
}
|
|
2349
2873
|
|
|
2350
2874
|
/**
|
|
2351
2875
|
* Use `Icon` to display brand iconography.
|
|
2352
2876
|
*/
|
|
2353
|
-
declare const Icon:
|
|
2877
|
+
declare const Icon: ({ testId, icon, label, size, color, isInline, ...props }: IconProps) => React__default.JSX.Element;
|
|
2354
2878
|
declare const colors: readonly ["auto", "brand", "brand-alt", "statusRed", "statusAmber", "statusGreen"];
|
|
2355
2879
|
type IconColor = (typeof colors)[number];
|
|
2356
2880
|
interface IconProps {
|
|
@@ -2383,7 +2907,7 @@ interface IconProps {
|
|
|
2383
2907
|
type CardHeadingSize = Extract<HeadingSize, "m" | "l">;
|
|
2384
2908
|
|
|
2385
2909
|
/** Use `ImpactCard` for important content that needs additional hierarchy and prominence. */
|
|
2386
|
-
declare const ImpactCard:
|
|
2910
|
+
declare const ImpactCard: ({ url, onClick, heading, img, label, minHeight, headingSize, headingWordWrap, linkData, pathway, headingLevel, buttonIcon, labelLevel, ...props }: ImpactCardProps) => React__default.JSX.Element;
|
|
2387
2911
|
type ImpactCardPathway = "light" | "dark";
|
|
2388
2912
|
interface ImpactCardProps {
|
|
2389
2913
|
/**
|
|
@@ -2394,6 +2918,10 @@ interface ImpactCardProps {
|
|
|
2394
2918
|
* Heading size for the ImpactCard.
|
|
2395
2919
|
*/
|
|
2396
2920
|
headingSize?: CardHeadingSize;
|
|
2921
|
+
/**
|
|
2922
|
+
* Whether long words in heading should be wrapped.
|
|
2923
|
+
*/
|
|
2924
|
+
headingWordWrap?: boolean;
|
|
2397
2925
|
/**
|
|
2398
2926
|
* Url for the ImpactCard. Makes the whole card a link
|
|
2399
2927
|
*/
|
|
@@ -2417,7 +2945,7 @@ interface ImpactCardProps {
|
|
|
2417
2945
|
/**
|
|
2418
2946
|
* Click handler for the ImpactCard.
|
|
2419
2947
|
*/
|
|
2420
|
-
onClick?: (e:
|
|
2948
|
+
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement>) => void;
|
|
2421
2949
|
/**
|
|
2422
2950
|
* Object of `data-` attributes to render on internal anchor element, e.g.
|
|
2423
2951
|
* `{ data-analytics-link: "My link"}` => `<a data-analytics-link="My link">`.
|
|
@@ -2440,7 +2968,7 @@ interface ImpactCardProps {
|
|
|
2440
2968
|
}
|
|
2441
2969
|
|
|
2442
2970
|
/** Use `InformationCard` for flexibility and the ability to focus and highlight product specific content. */
|
|
2443
|
-
declare const InformationCard:
|
|
2971
|
+
declare const InformationCard: ({ cardUrl, onClick, heading, text, label, footerLogo, button, image, badges, icon, minHeight, minHeights, headingLevel, labelLevel, headingWordWrap, ...props }: InformationCardProps) => React__default.JSX.Element;
|
|
2444
2972
|
type InformationCardImage = Pick<ImageProps, "alt" | "loading" | "width" | "height" | "src" | "fadeOnLoad" | "fetchPriority">;
|
|
2445
2973
|
type InformationCardButtonProps = Pick<ButtonV2Props, "label" | "onClick" | "href">;
|
|
2446
2974
|
interface minHeightsProps {
|
|
@@ -2476,7 +3004,7 @@ interface InformationCardProps {
|
|
|
2476
3004
|
/**
|
|
2477
3005
|
* Click handler for the InformationCard. Only applied when a card url is provided.
|
|
2478
3006
|
*/
|
|
2479
|
-
onClick?: (e:
|
|
3007
|
+
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement>) => void;
|
|
2480
3008
|
/**
|
|
2481
3009
|
* Footer logo for the InformationCard.
|
|
2482
3010
|
*/
|
|
@@ -2511,12 +3039,16 @@ interface InformationCardProps {
|
|
|
2511
3039
|
* Heading level for the InformationCard label.
|
|
2512
3040
|
*/
|
|
2513
3041
|
labelLevel?: HeadingLevel;
|
|
3042
|
+
/**
|
|
3043
|
+
* Whether long words in heading should be wrapped.
|
|
3044
|
+
*/
|
|
3045
|
+
headingWordWrap?: boolean;
|
|
2514
3046
|
}
|
|
2515
3047
|
|
|
2516
3048
|
/**
|
|
2517
3049
|
* Use `Markup` to display HTML-formatted text.
|
|
2518
3050
|
*/
|
|
2519
|
-
declare const Markup:
|
|
3051
|
+
declare const Markup: ({ children, isMeasured, ...props }: MarkupProps) => React__default.JSX.Element;
|
|
2520
3052
|
interface MarkupProps {
|
|
2521
3053
|
/**
|
|
2522
3054
|
* HTML-formatted text to display in Markup.
|
|
@@ -2539,7 +3071,7 @@ interface MediaCardVideo extends Partial<Omit<VideoPlayerProps$1, "url" | "title
|
|
|
2539
3071
|
/**
|
|
2540
3072
|
* Use `MediaCard` to contain content and an image about a single subject.
|
|
2541
3073
|
*/
|
|
2542
|
-
declare const MediaCard:
|
|
3074
|
+
declare const MediaCard: ({ media, url, onClick, heading, label, labelLevel, text, metaText, minHeight, buttonIcon, isContained, headingLevel, headingWordWrap, ...props }: MediaCardProps) => React__default.JSX.Element;
|
|
2543
3075
|
interface MediaCardProps {
|
|
2544
3076
|
/**
|
|
2545
3077
|
* Heading for the MediaCard.
|
|
@@ -2584,22 +3116,26 @@ interface MediaCardProps {
|
|
|
2584
3116
|
/**
|
|
2585
3117
|
* Click handler for the MediaCard. Only applied when a url is provided.
|
|
2586
3118
|
*/
|
|
2587
|
-
onClick?: (e:
|
|
3119
|
+
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement>) => void;
|
|
2588
3120
|
/**
|
|
2589
3121
|
* Heading level for the MediaCard label.
|
|
2590
3122
|
*/
|
|
2591
3123
|
labelLevel?: HeadingLevel;
|
|
3124
|
+
/**
|
|
3125
|
+
* Whether long words in heading should be wrapped.
|
|
3126
|
+
*/
|
|
3127
|
+
headingWordWrap?: boolean;
|
|
2592
3128
|
}
|
|
2593
3129
|
|
|
2594
3130
|
/**
|
|
2595
3131
|
* Use 'Menu' to display a list of selectable options, e.g. suggestions, presets or autocomplete results.
|
|
2596
3132
|
*/
|
|
2597
|
-
declare const Menu:
|
|
3133
|
+
declare const Menu: ({ defaultOpen, open, onOpenChange, modal, isMobileMenu, children, defaultWidth, ...props }: MenuProps) => React__default.JSX.Element;
|
|
2598
3134
|
interface MenuProps {
|
|
2599
3135
|
/**
|
|
2600
3136
|
* The content of the menu
|
|
2601
3137
|
*/
|
|
2602
|
-
children:
|
|
3138
|
+
children: React__default.ReactNode;
|
|
2603
3139
|
/**
|
|
2604
3140
|
* Whether the menu is open by default
|
|
2605
3141
|
*/
|
|
@@ -2626,7 +3162,7 @@ interface MenuProps {
|
|
|
2626
3162
|
defaultWidth?: string | number;
|
|
2627
3163
|
}
|
|
2628
3164
|
|
|
2629
|
-
declare const MenuItemContentTemplate:
|
|
3165
|
+
declare const MenuItemContentTemplate: ({ leadingIcon, supportingText, keyCommands, trailingIcon, children, }: MenuItemContentTemplateProps) => React__default.JSX.Element;
|
|
2630
3166
|
interface MenuItemContentTemplateProps {
|
|
2631
3167
|
/**
|
|
2632
3168
|
* Optional supporting text that appears below the label for additional context.
|
|
@@ -2650,7 +3186,7 @@ interface MenuItemContentTemplateProps {
|
|
|
2650
3186
|
keyCommands?: string;
|
|
2651
3187
|
}
|
|
2652
3188
|
|
|
2653
|
-
declare const MenuItemCheckbox:
|
|
3189
|
+
declare const MenuItemCheckbox: ({ children, checked, onCheckedChange, isDisabled, onSelect, id, shouldKeepOpen, ...props }: MenuItemCheckboxProps) => React__default.JSX.Element;
|
|
2654
3190
|
interface MenuItemCheckboxProps extends Pick<MenuItemContentTemplateProps, "supportingText" | "children"> {
|
|
2655
3191
|
/**
|
|
2656
3192
|
* Controls whether the checkbox is checked, unchecked.
|
|
@@ -2681,12 +3217,16 @@ interface MenuItemCheckboxProps extends Pick<MenuItemContentTemplateProps, "supp
|
|
|
2681
3217
|
/**
|
|
2682
3218
|
* The component that pops out when the dropdown menu is open.
|
|
2683
3219
|
*/
|
|
2684
|
-
declare const MenuContent:
|
|
3220
|
+
declare const MenuContent: ({ ref, children, width, minWidth, maxWidth, align, alignOffset, side, initalTitle, isFluidToViewport, ...props }: MenuContentProps) => React__default.JSX.Element;
|
|
2685
3221
|
interface MenuContentProps {
|
|
3222
|
+
/**
|
|
3223
|
+
* Ref to the underlying div element
|
|
3224
|
+
*/
|
|
3225
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
2686
3226
|
/**
|
|
2687
3227
|
* The content inside the menu, typically `MenuItem`, `MenuGroup`, and other menu elements.
|
|
2688
3228
|
*/
|
|
2689
|
-
children:
|
|
3229
|
+
children: React__default.ReactNode;
|
|
2690
3230
|
/**
|
|
2691
3231
|
* The width of the menu content. Can be any valid CSS width value. This is `fit-content` by default and needs to be set to `auto` to use other properties.
|
|
2692
3232
|
*/
|
|
@@ -2724,7 +3264,7 @@ interface MenuContentProps {
|
|
|
2724
3264
|
/**
|
|
2725
3265
|
* Displays footer content at the bottom of the menu.
|
|
2726
3266
|
*/
|
|
2727
|
-
declare const MenuFooter:
|
|
3267
|
+
declare const MenuFooter: ({ leadingIcon, trailingIcon, supportingText, keyCommands, children, onClick, isDisabled, ariaLabel, }: MenuFooterProps) => React__default.JSX.Element;
|
|
2728
3268
|
interface MenuFooterProps extends MenuItemContentTemplateProps {
|
|
2729
3269
|
/**
|
|
2730
3270
|
* Click event handler triggered when the menu header is selected.
|
|
@@ -2747,18 +3287,18 @@ interface MenuFooterProps extends MenuItemContentTemplateProps {
|
|
|
2747
3287
|
/**
|
|
2748
3288
|
* Groups related menu items together within a dropdown menu.
|
|
2749
3289
|
*/
|
|
2750
|
-
declare const MenuGroup:
|
|
3290
|
+
declare const MenuGroup: ({ children, ...props }: MenuGroupProps) => React__default.JSX.Element;
|
|
2751
3291
|
interface MenuGroupProps {
|
|
2752
3292
|
/**
|
|
2753
3293
|
* Menu items grouped together within the menu.
|
|
2754
3294
|
*/
|
|
2755
|
-
children:
|
|
3295
|
+
children: React__default.ReactNode;
|
|
2756
3296
|
}
|
|
2757
3297
|
|
|
2758
3298
|
/**
|
|
2759
3299
|
* Displays a header within the dropdown menu.
|
|
2760
3300
|
*/
|
|
2761
|
-
declare const MenuHeader:
|
|
3301
|
+
declare const MenuHeader: ({ leadingIcon, trailingIcon, supportingText, keyCommands, children, onClick, isDisabled, ariaLabel, }: MenuHeaderProps) => React__default.JSX.Element;
|
|
2762
3302
|
interface MenuHeaderProps extends MenuItemContentTemplateProps {
|
|
2763
3303
|
/**
|
|
2764
3304
|
* Click event handler triggered when the menu header is selected.
|
|
@@ -2781,7 +3321,7 @@ interface MenuHeaderProps extends MenuItemContentTemplateProps {
|
|
|
2781
3321
|
/**
|
|
2782
3322
|
* Renders a menu item, optionally as a link if `href` is provided.
|
|
2783
3323
|
*/
|
|
2784
|
-
declare const MenuItem:
|
|
3324
|
+
declare const MenuItem: ({ leadingIcon, supportingText, keyCommands, trailingIcon, children, onClick, shouldKeepOpen, isDisabled, href, ariaLabel, ...props }: MenuItemProps) => React__default.JSX.Element;
|
|
2785
3325
|
interface MenuItemProps extends MenuItemContentTemplateProps {
|
|
2786
3326
|
/**
|
|
2787
3327
|
* Click event handler triggered when the menu item is selected.
|
|
@@ -2808,7 +3348,7 @@ interface MenuItemProps extends MenuItemContentTemplateProps {
|
|
|
2808
3348
|
/**
|
|
2809
3349
|
* Provides a label to group related menu items.
|
|
2810
3350
|
*/
|
|
2811
|
-
declare const MenuLabel:
|
|
3351
|
+
declare const MenuLabel: ({ children, ...props }: MenuLabelProps) => React__default.JSX.Element;
|
|
2812
3352
|
interface MenuLabelProps {
|
|
2813
3353
|
/**
|
|
2814
3354
|
* The text content of the label, typically used to group related menu items.
|
|
@@ -2819,23 +3359,23 @@ interface MenuLabelProps {
|
|
|
2819
3359
|
/**
|
|
2820
3360
|
* When used, portals the content part into the body. By default it's arc's theme element
|
|
2821
3361
|
*/
|
|
2822
|
-
declare const MenuPortal:
|
|
3362
|
+
declare const MenuPortal: ({ children, ...props }: MenuPortalProps) => React__default.JSX.Element;
|
|
2823
3363
|
interface MenuPortalProps {
|
|
2824
3364
|
/**
|
|
2825
3365
|
* The content to be portalled.
|
|
2826
3366
|
*/
|
|
2827
|
-
children:
|
|
3367
|
+
children: React__default.ReactNode;
|
|
2828
3368
|
}
|
|
2829
3369
|
|
|
2830
3370
|
/**
|
|
2831
3371
|
* Groups menu items allowing single selection from multiple options.
|
|
2832
3372
|
*/
|
|
2833
|
-
declare const MenuGroupSingleSelect:
|
|
3373
|
+
declare const MenuGroupSingleSelect: ({ children, value, onValueChange, ...props }: MenuGroupSingleSelectProps) => React__default.JSX.Element;
|
|
2834
3374
|
interface MenuGroupSingleSelectProps {
|
|
2835
3375
|
/**
|
|
2836
3376
|
* The single select items inside the group.
|
|
2837
3377
|
*/
|
|
2838
|
-
children:
|
|
3378
|
+
children: React__default.ReactNode;
|
|
2839
3379
|
/**
|
|
2840
3380
|
* The current selected value of the single select group.
|
|
2841
3381
|
*/
|
|
@@ -2849,7 +3389,7 @@ interface MenuGroupSingleSelectProps {
|
|
|
2849
3389
|
/**
|
|
2850
3390
|
* A selectable menu item used within a radio group.
|
|
2851
3391
|
*/
|
|
2852
|
-
declare const MenuItemSingleSelect:
|
|
3392
|
+
declare const MenuItemSingleSelect: ({ children, value, disabled, onSelect, leadingIcon, supportingText, shouldKeepOpen, ...props }: MenuItemSingleSelectProps) => React__default.JSX.Element;
|
|
2853
3393
|
interface MenuItemSingleSelectProps extends Omit<MenuItemContentTemplateProps, "trailingIcon"> {
|
|
2854
3394
|
/**
|
|
2855
3395
|
* The value assigned to this radio item.
|
|
@@ -2872,39 +3412,48 @@ interface MenuItemSingleSelectProps extends Omit<MenuItemContentTemplateProps, "
|
|
|
2872
3412
|
/**
|
|
2873
3413
|
* Scrollable container that adjusts height based on surrounding menu content.
|
|
2874
3414
|
*/
|
|
2875
|
-
declare const MenuScrollable:
|
|
3415
|
+
declare const MenuScrollable: ({ children }: MenuScrollableProps) => React__default.JSX.Element;
|
|
2876
3416
|
interface MenuScrollableProps {
|
|
2877
3417
|
/**
|
|
2878
3418
|
* The content within the scrollable area, typically a list of `MenuItem` components or similar menu elements.
|
|
2879
3419
|
*/
|
|
2880
|
-
children:
|
|
3420
|
+
children: React__default.ReactNode;
|
|
2881
3421
|
}
|
|
2882
3422
|
|
|
2883
3423
|
/**
|
|
2884
3424
|
* Visual separator used to divide groups of menu items.
|
|
2885
3425
|
*/
|
|
2886
|
-
declare const MenuSeparator:
|
|
3426
|
+
declare const MenuSeparator: ({ ...props }: {
|
|
3427
|
+
[x: string]: any;
|
|
3428
|
+
}) => React__default.JSX.Element;
|
|
2887
3429
|
|
|
2888
3430
|
/**
|
|
2889
3431
|
* Container for multi-level menu content within a dropdown menu.
|
|
2890
3432
|
*/
|
|
2891
|
-
declare const MenuItemMultiLevel:
|
|
3433
|
+
declare const MenuItemMultiLevel: ({ children, ...props }: MenuItemMultiLevelProps) => React__default.JSX.Element;
|
|
2892
3434
|
interface MenuItemMultiLevelProps {
|
|
2893
3435
|
/**
|
|
2894
3436
|
* The content inside the multi-level menu.
|
|
2895
3437
|
*/
|
|
2896
|
-
children:
|
|
3438
|
+
children: ReactNode;
|
|
2897
3439
|
}
|
|
2898
3440
|
|
|
2899
3441
|
/**
|
|
2900
3442
|
* The multi-level menu content that pops out when a menu item with children is hovered or clicked.
|
|
2901
3443
|
*/
|
|
2902
|
-
declare const MenuItemMultiLevelContent:
|
|
3444
|
+
declare const MenuItemMultiLevelContent: {
|
|
3445
|
+
({ ref, children, width, minWidth, maxWidth, alignOffset, ...props }: MenuItemMultiLevelContentProps): React__default.JSX.Element;
|
|
3446
|
+
displayName: string;
|
|
3447
|
+
};
|
|
2903
3448
|
interface MenuItemMultiLevelContentProps {
|
|
3449
|
+
/**
|
|
3450
|
+
* Ref to the underlying div element
|
|
3451
|
+
*/
|
|
3452
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
2904
3453
|
/**
|
|
2905
3454
|
* The multi-level menu content, typically containing `Menu.Item` elements.
|
|
2906
3455
|
*/
|
|
2907
|
-
children:
|
|
3456
|
+
children: React__default.ReactNode;
|
|
2908
3457
|
/**
|
|
2909
3458
|
* The width of the multi-level menu content. Can be any valid CSS width value. This is `fit-content` by default and needs to be set to `auto` to use other properties.
|
|
2910
3459
|
*/
|
|
@@ -2938,15 +3487,18 @@ interface MenuItemMultiLevelContentProps {
|
|
|
2938
3487
|
/**
|
|
2939
3488
|
* Trigger element that opens a multi-level menu when selected.
|
|
2940
3489
|
*/
|
|
2941
|
-
declare const MenuItemMultiLevelTrigger:
|
|
2942
|
-
interface
|
|
2943
|
-
|
|
3490
|
+
declare const MenuItemMultiLevelTrigger: ({ children, isDisabled, leadingIcon, supportingText, keyCommands, ariaLabel, pairedContent, ...props }: InternalMenuItemMultiLevelTriggerProps) => React__default.JSX.Element;
|
|
3491
|
+
interface InternalMenuItemMultiLevelTriggerProps extends MenuItemMultiLevelTriggerProps {
|
|
3492
|
+
/**
|
|
3493
|
+
* The paired content to be displayed in the multi-level menu.
|
|
3494
|
+
*/
|
|
3495
|
+
pairedContent?: React__default.ReactNode;
|
|
2944
3496
|
}
|
|
2945
3497
|
interface MenuItemMultiLevelTriggerProps extends Pick<MenuItemProps, "keyCommands" | "leadingIcon" | "ariaLabel" | "supportingText"> {
|
|
2946
3498
|
/**
|
|
2947
3499
|
* The trigger element for opening the multi-level menu.
|
|
2948
3500
|
*/
|
|
2949
|
-
children:
|
|
3501
|
+
children: React__default.ReactNode;
|
|
2950
3502
|
/**
|
|
2951
3503
|
* Disables the sub-trigger, preventing interaction.
|
|
2952
3504
|
*/
|
|
@@ -2956,12 +3508,12 @@ interface MenuItemMultiLevelTriggerProps extends Pick<MenuItemProps, "keyCommand
|
|
|
2956
3508
|
/**
|
|
2957
3509
|
* The element that toggles the menu.
|
|
2958
3510
|
*/
|
|
2959
|
-
declare const MenuTrigger:
|
|
3511
|
+
declare const MenuTrigger: ({ children, asChild, ...props }: MenuTriggerProps) => React__default.JSX.Element;
|
|
2960
3512
|
interface MenuTriggerProps {
|
|
2961
3513
|
/**
|
|
2962
3514
|
* The element that triggers the menu when clicked or interacted with.
|
|
2963
3515
|
*/
|
|
2964
|
-
children:
|
|
3516
|
+
children: React__default.ReactNode;
|
|
2965
3517
|
/**
|
|
2966
3518
|
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
2967
3519
|
*/
|
|
@@ -2969,7 +3521,7 @@ interface MenuTriggerProps {
|
|
|
2969
3521
|
}
|
|
2970
3522
|
|
|
2971
3523
|
/** Use `Modal` to display information that needs immediate action from a user. */
|
|
2972
|
-
declare const Modal:
|
|
3524
|
+
declare const Modal: ({ title, description, ariaDescribedBy, isOpen, actions, onRequestClose, children, role, shouldReturnFocus, isContentScrollable, size, fullBleed, customWidths, titleWordWrap, ...props }: ModalProps) => React__default.JSX.Element;
|
|
2973
3525
|
type modalSpan = 4 | 6 | 8 | 10 | 12;
|
|
2974
3526
|
interface ModalProps {
|
|
2975
3527
|
/**
|
|
@@ -3015,7 +3567,7 @@ interface ModalProps {
|
|
|
3015
3567
|
/**
|
|
3016
3568
|
* Custom content for `Modal`.
|
|
3017
3569
|
*/
|
|
3018
|
-
children?:
|
|
3570
|
+
children?: React__default.ReactNode;
|
|
3019
3571
|
/**
|
|
3020
3572
|
* Removes all default padding from the children section of the modal.
|
|
3021
3573
|
*/
|
|
@@ -3029,12 +3581,16 @@ interface ModalProps {
|
|
|
3029
3581
|
m?: modalSpan;
|
|
3030
3582
|
l?: modalSpan;
|
|
3031
3583
|
};
|
|
3584
|
+
/**
|
|
3585
|
+
* Whether long words in title should be wrapped.
|
|
3586
|
+
*/
|
|
3587
|
+
titleWordWrap?: boolean;
|
|
3032
3588
|
}
|
|
3033
3589
|
|
|
3034
3590
|
/**
|
|
3035
3591
|
* Use `Pagination` to navigate through multiple pages of content.
|
|
3036
3592
|
*/
|
|
3037
|
-
declare const Pagination:
|
|
3593
|
+
declare const Pagination: ({ pageCount, onPageChange, defaultSelectedPage, ...props }: PaginationProps) => React__default.JSX.Element;
|
|
3038
3594
|
interface PaginationProps {
|
|
3039
3595
|
/**
|
|
3040
3596
|
* Number of pages for the pagination
|
|
@@ -3056,7 +3612,7 @@ interface PaginationProps {
|
|
|
3056
3612
|
/**
|
|
3057
3613
|
* Use `PaginationSimple` to navigate through multiple pages of content.
|
|
3058
3614
|
*/
|
|
3059
|
-
declare const PaginationSimple:
|
|
3615
|
+
declare const PaginationSimple: ({ hide, hrefs, onPageChange, isFluid, showEllipsis, ...props }: PaginationSimpleProps) => React__default.JSX.Element;
|
|
3060
3616
|
interface PaginationSimpleProps {
|
|
3061
3617
|
/**
|
|
3062
3618
|
* hide buttons if true.
|
|
@@ -3090,18 +3646,18 @@ interface PaginationSimpleProps {
|
|
|
3090
3646
|
/**
|
|
3091
3647
|
* Function to call when page is changed. This is called with type and event
|
|
3092
3648
|
*/
|
|
3093
|
-
onPageChange?: (e:
|
|
3649
|
+
onPageChange?: (e: React__default.MouseEvent, type?: "prev" | "next" | "first" | "last") => void;
|
|
3094
3650
|
}
|
|
3095
3651
|
|
|
3096
3652
|
/**
|
|
3097
3653
|
* Use `Popover` to display content in a portal, triggered by a button.
|
|
3098
3654
|
*/
|
|
3099
|
-
declare const Popover:
|
|
3655
|
+
declare const Popover: ({ align, ariaLabel, alignOffset, arrow, background, children, content, asChild, maxWidth, minHeight, onCloseAutoFocus, onEscapeKeyDown, onFocusOutside, onInteractOutside, onOpenAutoFocus, onPointerDownOutside, onOpenChange, open, constrainToViewport, side, sideOffset, zIndex, hideWhenDetached, useBespokeTrigger, isFluidToViewport, contentMargin, isFullBleed, ...props }: PopoverProps) => React__default.JSX.Element;
|
|
3100
3656
|
interface PopoverProps {
|
|
3101
3657
|
/**
|
|
3102
3658
|
* Content to render within Popover Trigger
|
|
3103
3659
|
*/
|
|
3104
|
-
children?:
|
|
3660
|
+
children?: React__default.ReactNode;
|
|
3105
3661
|
/**
|
|
3106
3662
|
* The preferred side of the anchor to render against when open
|
|
3107
3663
|
*/
|
|
@@ -3192,16 +3748,28 @@ interface PopoverProps {
|
|
|
3192
3748
|
* Defaults to `fit-content`, but becomes scrollable if necessary.
|
|
3193
3749
|
*/
|
|
3194
3750
|
constrainToViewport?: boolean;
|
|
3751
|
+
/**
|
|
3752
|
+
* Content components placed into Popovers to respond to the viewport.
|
|
3753
|
+
*/
|
|
3754
|
+
isFluidToViewport?: boolean;
|
|
3195
3755
|
/**
|
|
3196
3756
|
* Use minHeight in conjunction with constrainToViewport to keep the popover legible. Value in px.
|
|
3197
3757
|
*/
|
|
3198
3758
|
minHeight?: number;
|
|
3759
|
+
/**
|
|
3760
|
+
* Add margin to sides of the Popover Content. Margin to match the section margin values at each breakpoint.
|
|
3761
|
+
*/
|
|
3762
|
+
contentMargin?: boolean;
|
|
3763
|
+
/**
|
|
3764
|
+
* Removes all default padding from the content section of the Popover.
|
|
3765
|
+
*/
|
|
3766
|
+
isFullBleed?: boolean;
|
|
3199
3767
|
}
|
|
3200
3768
|
|
|
3201
3769
|
/**
|
|
3202
3770
|
* Use `Poster` to compose content on an image or video background. BT Brand Only.
|
|
3203
3771
|
*/
|
|
3204
|
-
declare const Poster:
|
|
3772
|
+
declare const Poster: ({ background, children, overlay, surface, ...props }: PosterProps) => React__default.JSX.Element;
|
|
3205
3773
|
interface PosterProps {
|
|
3206
3774
|
/**
|
|
3207
3775
|
* Poster background to overlay content on top of. Must be one of PosterImage or PosterVideo.
|
|
@@ -3222,7 +3790,7 @@ interface PosterProps {
|
|
|
3222
3790
|
surface?: "dark-neutral-02" | "light-neutral-01";
|
|
3223
3791
|
}
|
|
3224
3792
|
|
|
3225
|
-
declare const PosterImage:
|
|
3793
|
+
declare const PosterImage: ({ alt, anchor, loading, sizes, src, srcSet, ...props }: PosterImageProps) => React__default.JSX.Element;
|
|
3226
3794
|
interface PosterImageProps {
|
|
3227
3795
|
/**
|
|
3228
3796
|
* Alternative text for the PosterImage, shown if the image cannot be displayed. Consider avoiding this prop if the image is for decorative purposes only.
|
|
@@ -3251,10 +3819,10 @@ interface PosterImageProps {
|
|
|
3251
3819
|
/**
|
|
3252
3820
|
* Contents of the PosterImage.
|
|
3253
3821
|
*/
|
|
3254
|
-
children?:
|
|
3822
|
+
children?: ReactNode;
|
|
3255
3823
|
}
|
|
3256
3824
|
|
|
3257
|
-
declare const PosterVideo:
|
|
3825
|
+
declare const PosterVideo: ({ anchor, autoPlay, children, loop, ...props }: PosterVideoProps) => React__default.JSX.Element;
|
|
3258
3826
|
interface PosterVideoProps {
|
|
3259
3827
|
/**
|
|
3260
3828
|
* Anchor point for the PosterVideo,
|
|
@@ -3281,7 +3849,7 @@ type ProgressBarIcons = "refresh" | "cross" | "tick";
|
|
|
3281
3849
|
/**
|
|
3282
3850
|
* Use `ProgressBar` to show the progress of a specific task within a page.
|
|
3283
3851
|
*/
|
|
3284
|
-
declare const ProgressBar:
|
|
3852
|
+
declare const ProgressBar: ({ state, value, isIndeterminate, headline, ariaLabel, action, title, description, displayValue, headlineWordWrap, ...props }: ProgressBarProps) => React__default.JSX.Element;
|
|
3285
3853
|
interface ProgressBarProps {
|
|
3286
3854
|
/**
|
|
3287
3855
|
* Label for screen readers.
|
|
@@ -3324,11 +3892,19 @@ interface ProgressBarProps {
|
|
|
3324
3892
|
action: () => void;
|
|
3325
3893
|
icon?: ProgressBarIcons;
|
|
3326
3894
|
};
|
|
3895
|
+
/**
|
|
3896
|
+
* Whether long words in headline should be wrapped.
|
|
3897
|
+
*/
|
|
3898
|
+
headlineWordWrap?: boolean;
|
|
3327
3899
|
}
|
|
3328
3900
|
|
|
3329
3901
|
/** Use `ProgressStepper` to provide an overview of a series of steps in a digital journey. */
|
|
3330
|
-
declare const ProgressStepper:
|
|
3902
|
+
declare const ProgressStepper: ({ ref, children, size, isFluid, direction, isExpandable, invertLabelPosition, currentStep, ...props }: ProgressStepperProps) => React__default.JSX.Element;
|
|
3331
3903
|
interface ProgressStepperProps {
|
|
3904
|
+
/**
|
|
3905
|
+
* Ref to the underlying ol element.
|
|
3906
|
+
*/
|
|
3907
|
+
ref?: Ref<HTMLOListElement>;
|
|
3332
3908
|
/**
|
|
3333
3909
|
* Children of `<ProgressStepper />` should only contain `<ProgressStepperItem />`
|
|
3334
3910
|
*/
|
|
@@ -3350,18 +3926,18 @@ interface ProgressStepperProps {
|
|
|
3350
3926
|
*/
|
|
3351
3927
|
invertLabelPosition?: boolean;
|
|
3352
3928
|
/**
|
|
3353
|
-
*
|
|
3929
|
+
* Detach the active 'dot' indicator from the current status. Pass the index number of the step where the dot should appear.
|
|
3354
3930
|
*/
|
|
3355
|
-
|
|
3931
|
+
currentStep?: number;
|
|
3356
3932
|
/**
|
|
3357
|
-
*
|
|
3933
|
+
* <b>DEPRECATED</b>: This will be removed in a future release.
|
|
3358
3934
|
*/
|
|
3359
|
-
|
|
3935
|
+
isExpandable?: boolean;
|
|
3360
3936
|
}
|
|
3361
3937
|
|
|
3362
3938
|
type ProgressStatus = "completed" | "current" | "warning" | "error" | "todo";
|
|
3363
3939
|
|
|
3364
|
-
declare const ProgressStepperItem:
|
|
3940
|
+
declare const ProgressStepperItem: ({ title, titleHref, subTitle, direction, status, size, isFluid, invertLabelPosition, ariaLabel, onClick, previousStep, stepContent, isStepContentHidden, isViewing, ...props }: ProgressStepperItemProps) => React__default.JSX.Element;
|
|
3365
3941
|
interface ProgressStepperItemProps {
|
|
3366
3942
|
/**
|
|
3367
3943
|
* Determine a title for `<ProgressStepperItem />`
|
|
@@ -3404,6 +3980,10 @@ interface ProgressStepperItemProps {
|
|
|
3404
3980
|
* Determine the context `<ProgressStepperItem /> should be`
|
|
3405
3981
|
*/
|
|
3406
3982
|
previousStep?: ProgressStatus;
|
|
3983
|
+
/**
|
|
3984
|
+
* Determine the `<ProgressStepperItem /> should have a active dot`
|
|
3985
|
+
*/
|
|
3986
|
+
isViewing?: boolean;
|
|
3407
3987
|
/**
|
|
3408
3988
|
* DEPRECATED: Determine if `<ProgressStepperItem /> should have expandable content`
|
|
3409
3989
|
*/
|
|
@@ -3423,42 +4003,48 @@ interface ProgressStepperItemProps {
|
|
|
3423
4003
|
}
|
|
3424
4004
|
|
|
3425
4005
|
/** Use `ProgressStepperOverflow` to wrap `ProgressStepperItem`s and allow overflow behaviour. */
|
|
3426
|
-
declare const ProgressStepperOverflow:
|
|
4006
|
+
declare const ProgressStepperOverflow: ({ ref, children, size, invertLabelPosition, offsetLeft, ...props }: ProgressStepperOverflowProps) => React__default.JSX.Element;
|
|
3427
4007
|
interface ProgressStepperOverflowProps extends Omit<ProgressStepperProps, "isFluid" | "isExpandable" | "direction"> {
|
|
3428
4008
|
/**
|
|
3429
|
-
*
|
|
3430
|
-
*/
|
|
3431
|
-
children?: React.ReactNode;
|
|
3432
|
-
/**
|
|
3433
|
-
* onIndexChange handler for the ProgressStepperOverflow.
|
|
4009
|
+
* Ref to the underlying ol element.
|
|
3434
4010
|
*/
|
|
3435
|
-
|
|
4011
|
+
ref?: Ref<HTMLOListElement>;
|
|
3436
4012
|
/**
|
|
3437
|
-
*
|
|
4013
|
+
* Children of `<ProgressStepperOverflow />` should only contain `<ProgressStepperItem />`
|
|
3438
4014
|
*/
|
|
3439
|
-
|
|
4015
|
+
children?: React__default.ReactNode;
|
|
3440
4016
|
/**
|
|
3441
4017
|
* Add an offset to the start of the steps.
|
|
3442
4018
|
*/
|
|
3443
4019
|
offsetLeft?: 0 | 8 | 12 | 16 | 24 | 32 | 40;
|
|
3444
4020
|
}
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
4021
|
+
|
|
4022
|
+
declare const useProgressStepperOverflow: ({ onLoadStep, increment, offsetLeft, }?: UseProgressStepperOverflowParams) => {
|
|
4023
|
+
stepperRef: React.RefObject<HTMLOListElement | null>;
|
|
4024
|
+
onNextStep: () => void;
|
|
4025
|
+
onPreviousStep: () => void;
|
|
4026
|
+
onViewScroll: (direction: boolean) => void;
|
|
4027
|
+
currentIndex: number;
|
|
4028
|
+
scrollToStep: (index: number) => void;
|
|
4029
|
+
isFirstStepVisible: boolean;
|
|
4030
|
+
isLastStepVisible: boolean;
|
|
4031
|
+
};
|
|
4032
|
+
interface UseProgressStepperOverflowParams {
|
|
4033
|
+
increment?: number;
|
|
4034
|
+
onLoadStep?: number;
|
|
4035
|
+
offsetLeft?: 0 | 8 | 12 | 16 | 24 | 32 | 40;
|
|
3450
4036
|
}
|
|
3451
4037
|
|
|
3452
|
-
type EventType$3 =
|
|
4038
|
+
type EventType$3 = React__default.ChangeEvent<HTMLInputElement>;
|
|
3453
4039
|
/**
|
|
3454
4040
|
* Use `RadioCardGroup` to wrap and control `RadioCard` buttons and apply default values
|
|
3455
4041
|
*/
|
|
3456
|
-
declare const RadioCardGroup:
|
|
4042
|
+
declare const RadioCardGroup: ({ children, checkedValue, isDisabled, id, errorMessage, isRequired, helper, helperUnderLabel, label, labelSize, hideLabel, name, onBlur, onChange, layout, isFluid, width, ...props }: RadioCardGroupProps) => React__default.JSX.Element;
|
|
3457
4043
|
interface RadioCardGroupProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "disclosureText" | "disclosureTitle" | "onClickDisclosure" | "supplementaryInfo" | "labelPosition"> {
|
|
3458
4044
|
/**
|
|
3459
4045
|
* Contents of the `RadioCardGroup`. Should only contain `RadioCardGroupCard`
|
|
3460
4046
|
*/
|
|
3461
|
-
children:
|
|
4047
|
+
children: React__default.ReactNode;
|
|
3462
4048
|
/**
|
|
3463
4049
|
* Value of the `RadioCard` that should be checked by default.
|
|
3464
4050
|
*/
|
|
@@ -3528,6 +4114,13 @@ type ContextProps$1 = {
|
|
|
3528
4114
|
};
|
|
3529
4115
|
|
|
3530
4116
|
interface RadioCardProps {
|
|
4117
|
+
/**
|
|
4118
|
+
* Ref to the underlying input element.
|
|
4119
|
+
*/
|
|
4120
|
+
ref?: Ref<HTMLInputElement>;
|
|
4121
|
+
/**
|
|
4122
|
+
* Custom content to display in the RadioCard.
|
|
4123
|
+
*/
|
|
3531
4124
|
children?: ReactElement;
|
|
3532
4125
|
/**
|
|
3533
4126
|
* ID for the`RadioCard`.
|
|
@@ -3586,8 +4179,12 @@ interface RadioCardProps {
|
|
|
3586
4179
|
/**
|
|
3587
4180
|
* Radio Card component.
|
|
3588
4181
|
*/
|
|
3589
|
-
declare const RadioCardGroupInput:
|
|
4182
|
+
declare const RadioCardGroupInput: ({ ref, icon, support, id, isDisabled, label, value, children, controlLocation, hideButton, ...props }: RadioCardGroupInputProps) => React__default.JSX.Element;
|
|
3590
4183
|
interface RadioCardGroupInputProps extends Omit<RadioCardProps, "name"> {
|
|
4184
|
+
/**
|
|
4185
|
+
* Ref to the underlying input element.
|
|
4186
|
+
*/
|
|
4187
|
+
ref?: Ref<HTMLInputElement>;
|
|
3591
4188
|
/**
|
|
3592
4189
|
* Determine the alignment the RadioButton.
|
|
3593
4190
|
*
|
|
@@ -3619,16 +4216,16 @@ interface RadioCardGroupInputProps extends Omit<RadioCardProps, "name"> {
|
|
|
3619
4216
|
value: string;
|
|
3620
4217
|
}
|
|
3621
4218
|
|
|
3622
|
-
type EventType$1 =
|
|
4219
|
+
type EventType$1 = React__default.ChangeEvent<HTMLInputElement>;
|
|
3623
4220
|
/**
|
|
3624
4221
|
* Use `RadioGroup` to wrap and control radio buttons and apply default values
|
|
3625
4222
|
*/
|
|
3626
|
-
declare const RadioGroup:
|
|
4223
|
+
declare const RadioGroup: ({ children, checkedValue, isDisabled, id, errorMessage, isRequired, helper, label, name, onBlur, onChange, size, ...props }: RadioGroupProps) => React__default.JSX.Element;
|
|
3627
4224
|
interface RadioGroupProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "labelSize" | "requirementStatus" | "disclosureText" | "disclosureTitle" | "onClickDisclosure" | "supplementaryInfo" | "hideLabel" | "labelPosition"> {
|
|
3628
4225
|
/**
|
|
3629
4226
|
* Contents of the RadioGroup Should only contain `RadioGroupInput`
|
|
3630
4227
|
*/
|
|
3631
|
-
children?:
|
|
4228
|
+
children?: React__default.ReactNode;
|
|
3632
4229
|
/**
|
|
3633
4230
|
* Value of the RadioButton that should be checked by default.
|
|
3634
4231
|
*/
|
|
@@ -3686,31 +4283,87 @@ type ContextProps = {
|
|
|
3686
4283
|
size: "s" | "l";
|
|
3687
4284
|
};
|
|
3688
4285
|
|
|
3689
|
-
declare const RadioGroupButton:
|
|
4286
|
+
declare const RadioGroupButton: ({ ref, id, changeEvent, isDisabled, size, labelSize, checked, defaultChecked, radioButtonAlignment, name, blurEvent, value, label, helper, hideLabel, withMargin, isError, }: RadioGroupButtonProps) => React__default.JSX.Element;
|
|
3690
4287
|
interface RadioGroupButtonProps {
|
|
4288
|
+
/**
|
|
4289
|
+
* Ref to the underlying input element.
|
|
4290
|
+
*/
|
|
4291
|
+
ref?: Ref<HTMLInputElement>;
|
|
4292
|
+
/**
|
|
4293
|
+
* ID for the radio button.
|
|
4294
|
+
*/
|
|
3691
4295
|
id: string;
|
|
4296
|
+
/**
|
|
4297
|
+
* Label text for the radio button.
|
|
4298
|
+
*/
|
|
3692
4299
|
label: string;
|
|
4300
|
+
/**
|
|
4301
|
+
* Whether to visually hide the label.
|
|
4302
|
+
*/
|
|
3693
4303
|
hideLabel?: boolean;
|
|
4304
|
+
/**
|
|
4305
|
+
* Name attribute for the radio button.
|
|
4306
|
+
*/
|
|
3694
4307
|
name: ContextProps["name"];
|
|
4308
|
+
/**
|
|
4309
|
+
* Whether to add margin to the radio button.
|
|
4310
|
+
*/
|
|
3695
4311
|
withMargin?: boolean;
|
|
4312
|
+
/**
|
|
4313
|
+
* Whether the radio button is checked by default.
|
|
4314
|
+
*/
|
|
3696
4315
|
defaultChecked?: boolean;
|
|
4316
|
+
/**
|
|
4317
|
+
* Whether the radio button is checked (controlled).
|
|
4318
|
+
*/
|
|
3697
4319
|
checked?: boolean;
|
|
4320
|
+
/**
|
|
4321
|
+
* Value of the radio button.
|
|
4322
|
+
*/
|
|
3698
4323
|
value?: string;
|
|
4324
|
+
/**
|
|
4325
|
+
* Whether the radio button is disabled.
|
|
4326
|
+
*/
|
|
3699
4327
|
isDisabled?: boolean;
|
|
4328
|
+
/**
|
|
4329
|
+
* Helper text for the radio button.
|
|
4330
|
+
*/
|
|
3700
4331
|
helper?: string;
|
|
4332
|
+
/**
|
|
4333
|
+
* Size of the label text.
|
|
4334
|
+
*/
|
|
3701
4335
|
labelSize?: ContextProps["size"];
|
|
4336
|
+
/**
|
|
4337
|
+
* Size of the radio button.
|
|
4338
|
+
*/
|
|
3702
4339
|
size?: ContextProps["size"];
|
|
4340
|
+
/**
|
|
4341
|
+
* Alignment of the radio button.
|
|
4342
|
+
*/
|
|
3703
4343
|
radioButtonAlignment?: "top" | "center";
|
|
4344
|
+
/**
|
|
4345
|
+
* Change event handler.
|
|
4346
|
+
*/
|
|
3704
4347
|
changeEvent?: ContextProps["changeEvent"];
|
|
4348
|
+
/**
|
|
4349
|
+
* Blur event handler.
|
|
4350
|
+
*/
|
|
3705
4351
|
blurEvent?: ContextProps["blurEvent"];
|
|
4352
|
+
/**
|
|
4353
|
+
* Whether the radio button is in an error state.
|
|
4354
|
+
*/
|
|
3706
4355
|
isError?: boolean;
|
|
3707
4356
|
}
|
|
3708
4357
|
|
|
3709
4358
|
/**
|
|
3710
4359
|
* Radio Button component.
|
|
3711
4360
|
*/
|
|
3712
|
-
declare const RadioGroupInput:
|
|
4361
|
+
declare const RadioGroupInput: ({ ref, helper, id, isDisabled, label, radioButtonAlignment, value, isError, ...props }: RadioGroupInputProps) => React__default.JSX.Element;
|
|
3713
4362
|
interface RadioGroupInputProps {
|
|
4363
|
+
/**
|
|
4364
|
+
* Ref to the underlying input element.
|
|
4365
|
+
*/
|
|
4366
|
+
ref?: Ref<HTMLInputElement>;
|
|
3714
4367
|
/**
|
|
3715
4368
|
* Determine the alignment the RadioButton.
|
|
3716
4369
|
*
|
|
@@ -3749,7 +4402,7 @@ interface RadioGroupInputProps {
|
|
|
3749
4402
|
/**
|
|
3750
4403
|
* Use `Rule` to display a horizontal or vertical rule.
|
|
3751
4404
|
*/
|
|
3752
|
-
declare const Rule:
|
|
4405
|
+
declare const Rule: ({ orientation, ...props }: RuleProps) => React__default.JSX.Element;
|
|
3753
4406
|
interface RuleProps {
|
|
3754
4407
|
orientation?: "horizontal" | "vertical";
|
|
3755
4408
|
}
|
|
@@ -3757,7 +4410,7 @@ interface RuleProps {
|
|
|
3757
4410
|
/**
|
|
3758
4411
|
* Use `ScrollToTop` to allow the user to scroll to the top of the page by clicking a button.
|
|
3759
4412
|
*/
|
|
3760
|
-
declare const ScrollToTop:
|
|
4413
|
+
declare const ScrollToTop: ({ appear, isFixed, fill, zIndex, focusColor, ...props }: ScrollToTopProps) => React__default.JSX.Element;
|
|
3761
4414
|
interface ScrollToTopProps {
|
|
3762
4415
|
/**
|
|
3763
4416
|
* If true, the button will stick to the bottom right corner of the screen.
|
|
@@ -3785,7 +4438,7 @@ interface ScrollToTopProps {
|
|
|
3785
4438
|
/**
|
|
3786
4439
|
* Use `Section` to compose content into vertical page layouts.
|
|
3787
4440
|
*/
|
|
3788
|
-
declare const Section:
|
|
4441
|
+
declare const Section: ({ children, isFullWidth, isDebugVisible, isExtended, id, ...props }: SectionProps) => React__default.JSX.Element;
|
|
3789
4442
|
interface SectionProps extends ExtentableContainer {
|
|
3790
4443
|
/**
|
|
3791
4444
|
* Content to display in the Section.
|
|
@@ -3807,7 +4460,7 @@ interface SectionProps extends ExtentableContainer {
|
|
|
3807
4460
|
}
|
|
3808
4461
|
|
|
3809
4462
|
/** Use `Select` to choose from a dropdown list of options. */
|
|
3810
|
-
declare const Select:
|
|
4463
|
+
declare const Select: ({ isRequired, isDisabled, placeholder, label, value, ariaLabel, options, onOpenChange, isDefaultOpen, defaultValue, errorMessage, id, size, helper, hideLabel, name, width, isFluid, onBlur, onFocus, onChange, open, disclosureTitle, disclosureText, onClickDisclosure, ...props }: SelectProps) => React__default.JSX.Element;
|
|
3811
4464
|
interface SelectProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel" | "supplementaryInfo" | "labelSize" | "labelPosition"> {
|
|
3812
4465
|
/**
|
|
3813
4466
|
* Name for the Select.
|
|
@@ -3851,11 +4504,11 @@ interface SelectProps extends Omit<FormControlProps, "children" | "elementType"
|
|
|
3851
4504
|
/**
|
|
3852
4505
|
* onBlur handler for the Select.
|
|
3853
4506
|
*/
|
|
3854
|
-
onBlur?: (e:
|
|
4507
|
+
onBlur?: (e: React__default.FocusEvent<HTMLButtonElement>) => void;
|
|
3855
4508
|
/**
|
|
3856
4509
|
* onFocus handler for the Select.
|
|
3857
4510
|
*/
|
|
3858
|
-
onFocus?: (e:
|
|
4511
|
+
onFocus?: (e: React__default.FocusEvent<HTMLButtonElement>) => void;
|
|
3859
4512
|
/**
|
|
3860
4513
|
* onOpenChange handler for the Select.
|
|
3861
4514
|
*/
|
|
@@ -3893,9 +4546,9 @@ interface SelectProps extends Omit<FormControlProps, "children" | "elementType"
|
|
|
3893
4546
|
/**
|
|
3894
4547
|
* Use `SiteFooter` to display information at the bottom of a page.
|
|
3895
4548
|
*/
|
|
3896
|
-
declare const SiteFooter:
|
|
3897
|
-
declare const SiteFooterItemGroup:
|
|
3898
|
-
declare const SiteFooterItem:
|
|
4549
|
+
declare const SiteFooter: ({ children, currentYear, logoLabel, main, siteName, ...props }: SiteFooterProps) => React__default.JSX.Element;
|
|
4550
|
+
declare const SiteFooterItemGroup: (props: SiteFooterItemGroupProps) => React__default.JSX.Element;
|
|
4551
|
+
declare const SiteFooterItem: ({ children, href, onClick, ...props }: SiteFooterItemProps) => React__default.JSX.Element;
|
|
3899
4552
|
interface SiteFooterItemGroupProps {
|
|
3900
4553
|
/**
|
|
3901
4554
|
* Contents of the SiteFooterItemGroup Must be SiteFooterItem components.
|
|
@@ -3947,7 +4600,7 @@ interface SiteFooterProps {
|
|
|
3947
4600
|
/**
|
|
3948
4601
|
* Use `SiteFooterV2` to display information at the bottom of a page.
|
|
3949
4602
|
*/
|
|
3950
|
-
declare const SiteFooterV2:
|
|
4603
|
+
declare const SiteFooterV2: ({ children, slogan, hideTopBorder, ...props }: SiteFooterV2Props) => React__default.JSX.Element;
|
|
3951
4604
|
interface SiteFooterV2Props {
|
|
3952
4605
|
/**
|
|
3953
4606
|
* Content of the SiteFooterV2. Must include SiteFooterV2Utility component and optional SiteFooterV2Main.
|
|
@@ -3964,9 +4617,9 @@ interface SiteFooterV2Props {
|
|
|
3964
4617
|
hideTopBorder?: boolean;
|
|
3965
4618
|
}
|
|
3966
4619
|
|
|
3967
|
-
declare const SiteFooterV2Main:
|
|
3968
|
-
declare const SiteFooterV2ItemGroup:
|
|
3969
|
-
declare const SiteFooterV2Item:
|
|
4620
|
+
declare const SiteFooterV2Main: ({ children, columns, ...props }: SiteFooterV2MainProps) => React__default.JSX.Element;
|
|
4621
|
+
declare const SiteFooterV2ItemGroup: ({ hideDisclosure, ...props }: SiteFooterV2ItemGroupProps) => React__default.JSX.Element;
|
|
4622
|
+
declare const SiteFooterV2Item: ({ children, href, onClick, ...props }: SiteFooterV2ItemProps) => React__default.JSX.Element;
|
|
3970
4623
|
interface SiteFooterV2MainProps {
|
|
3971
4624
|
/**
|
|
3972
4625
|
* Contents of the SiteFooterV2Main. Must be SiteFooterV2ItemGroup components.
|
|
@@ -4009,7 +4662,7 @@ interface SiteFooterV2ItemProps {
|
|
|
4009
4662
|
/**
|
|
4010
4663
|
* Use `SiteFooterV2.Utility` to display information at the bottom of a page.
|
|
4011
4664
|
*/
|
|
4012
|
-
declare const SiteFooterV2Utility:
|
|
4665
|
+
declare const SiteFooterV2Utility: ({ copyrightYear, children, socialLinks, brand, contentSlot, ...props }: SiteFooterV2UtilityProps) => React__default.JSX.Element;
|
|
4013
4666
|
declare const socialIcons: readonly [string, string, string, string, string];
|
|
4014
4667
|
declare const subBrands: readonly ["redcare", "wholesale", "ee"];
|
|
4015
4668
|
interface SiteFooterV2UtilityProps {
|
|
@@ -4047,7 +4700,7 @@ interface SiteFooterV2UtilityProps {
|
|
|
4047
4700
|
/**
|
|
4048
4701
|
* Use `SiteHeaderV2` to display brand logo and navigation at the top of a page.
|
|
4049
4702
|
*/
|
|
4050
|
-
declare const SiteHeaderV2:
|
|
4703
|
+
declare const SiteHeaderV2: ({ children, basket, hasLogin, isTransparent, loginHref, logoOnClick, loginOnClick, loginTitle, logoHref, logoLabel, search, subBrand, ...props }: SiteHeaderV2Props) => React__default.JSX.Element;
|
|
4051
4704
|
interface SiteHeaderV2Props {
|
|
4052
4705
|
/**
|
|
4053
4706
|
* Contents of the SiteHeaderV2 Must be SiteHeaderV2NavItem or
|
|
@@ -4100,7 +4753,7 @@ interface SiteHeaderV2Props {
|
|
|
4100
4753
|
subBrand?: (typeof subBrands$1)[number];
|
|
4101
4754
|
}
|
|
4102
4755
|
|
|
4103
|
-
declare const SiteHeaderV2Column:
|
|
4756
|
+
declare const SiteHeaderV2Column: ({ children, ...props }: SiteHeaderV2ColumnProps) => React__default.JSX.Element;
|
|
4104
4757
|
interface SiteHeaderV2ColumnProps {
|
|
4105
4758
|
/**
|
|
4106
4759
|
* Contents of the Column. Must be SiteHeaderV2ItemGroup components.
|
|
@@ -4108,7 +4761,7 @@ interface SiteHeaderV2ColumnProps {
|
|
|
4108
4761
|
children: ReactNode;
|
|
4109
4762
|
}
|
|
4110
4763
|
|
|
4111
|
-
declare const SiteHeaderV2Item:
|
|
4764
|
+
declare const SiteHeaderV2Item: ({ children, href, onClick, ...props }: SiteHeaderV2ItemProps) => React__default.JSX.Element;
|
|
4112
4765
|
interface SiteHeaderV2ItemProps {
|
|
4113
4766
|
/**
|
|
4114
4767
|
* Contents of the Item. Usually text to be displayed in the Item link.
|
|
@@ -4124,12 +4777,15 @@ interface SiteHeaderV2ItemProps {
|
|
|
4124
4777
|
onClick?: () => void;
|
|
4125
4778
|
}
|
|
4126
4779
|
|
|
4127
|
-
declare const SiteHeaderV2ItemGroup:
|
|
4780
|
+
declare const SiteHeaderV2ItemGroup: ({ children, href, title, subtitle, onClick, viewAllTitle, ...props }: SiteHeaderV2ItemGroupProps) => JSX.Element;
|
|
4128
4781
|
interface SiteHeaderV2ItemGroupProps {
|
|
4129
4782
|
/**
|
|
4130
4783
|
* Contents of the ItemGroup Must be Item components.
|
|
4131
4784
|
*/
|
|
4132
4785
|
children: ReactNode;
|
|
4786
|
+
/**
|
|
4787
|
+
* Optional subtitle text for the ItemGroup.
|
|
4788
|
+
*/
|
|
4133
4789
|
subtitle?: string;
|
|
4134
4790
|
/**
|
|
4135
4791
|
* A top-level URL for the ItemGroup to link to.
|
|
@@ -4151,7 +4807,7 @@ interface SiteHeaderV2ItemGroupProps {
|
|
|
4151
4807
|
onClick?: () => void;
|
|
4152
4808
|
}
|
|
4153
4809
|
|
|
4154
|
-
declare const SiteHeaderV2NavItem:
|
|
4810
|
+
declare const SiteHeaderV2NavItem: ({ children, href, isCurrent, onClick, title, isPrimary, opensFirstWithPanel, subTitle, ...props }: SiteHeaderV2NavItemProps) => React__default.JSX.Element;
|
|
4155
4811
|
interface SiteHeaderV2NavItemProps {
|
|
4156
4812
|
/**
|
|
4157
4813
|
* Contents of the NavItem. Must be SiteHeaderV2ItemGroup or
|
|
@@ -4186,7 +4842,55 @@ interface SiteHeaderV2NavItemProps {
|
|
|
4186
4842
|
subTitle?: string;
|
|
4187
4843
|
}
|
|
4188
4844
|
|
|
4189
|
-
declare const
|
|
4845
|
+
declare const SiteHeaderV2SubNavItem: ({ children, isDefaultItem, href, onClick, offsetXL, subTitle, title, viewAllTitle, icon, ...props }: SiteHeaderV2SubNavItemProps) => React__default.JSX.Element;
|
|
4846
|
+
interface SiteHeaderV2SubNavItemProps {
|
|
4847
|
+
/**
|
|
4848
|
+
* Contents of the SubNavItem. Must be SiteHeaderV2ItemGroup or
|
|
4849
|
+
* SiteHeaderV2Column components.
|
|
4850
|
+
*/
|
|
4851
|
+
children?: ReactNode;
|
|
4852
|
+
/**
|
|
4853
|
+
* Should the SubNavItem be the default open item in a
|
|
4854
|
+
* SiteHeaderV2NavItemWithSubNav? If not specified, the default open item will
|
|
4855
|
+
* be set automatically.
|
|
4856
|
+
*/
|
|
4857
|
+
isDefaultItem?: boolean;
|
|
4858
|
+
/**
|
|
4859
|
+
* Optionally shift the SubNavItem-link upwards (in "desktop" viewports only)
|
|
4860
|
+
* to close off any empty space between items due to content size.
|
|
4861
|
+
*/
|
|
4862
|
+
offsetXL?: "24" | "48";
|
|
4863
|
+
/**
|
|
4864
|
+
* A URL to link to when the SubNavItem is clicked or touched. Only applies if
|
|
4865
|
+
* `children` are not present.
|
|
4866
|
+
*/
|
|
4867
|
+
href?: string;
|
|
4868
|
+
/**
|
|
4869
|
+
* Optional subtitle text for the SubNavItem.
|
|
4870
|
+
*/
|
|
4871
|
+
subTitle?: string;
|
|
4872
|
+
/**
|
|
4873
|
+
* Title text for the SubNavItem.
|
|
4874
|
+
*/
|
|
4875
|
+
title: string;
|
|
4876
|
+
/**
|
|
4877
|
+
* Text to display in top-level link inside the SubNavItem panel. Only
|
|
4878
|
+
* applies if both `children` are present and `href` is true. If not
|
|
4879
|
+
* provided, top-level link text will be automatically generated from `title`.
|
|
4880
|
+
*/
|
|
4881
|
+
viewAllTitle?: string;
|
|
4882
|
+
/**
|
|
4883
|
+
* Optional icon to display with the SubNavItem.
|
|
4884
|
+
*/
|
|
4885
|
+
icon?: string;
|
|
4886
|
+
/**
|
|
4887
|
+
* On click handler.
|
|
4888
|
+
*/
|
|
4889
|
+
onClick?: () => void;
|
|
4890
|
+
}
|
|
4891
|
+
|
|
4892
|
+
declare const SiteHeaderV2NavItemWithSubNav: ({ href, slot1, slot2, slot3, slot4, slot5, slot6, subTitle, title, onViewAllClick, isPrimary, opensFirstWithPanel, viewAllTitle, ...props }: SiteHeaderV2NavItemWithSubNavProps) => React__default.JSX.Element;
|
|
4893
|
+
type slotType = ReactElement<SiteHeaderV2SubNavItemProps>;
|
|
4190
4894
|
interface SiteHeaderV2NavItemWithSubNavProps {
|
|
4191
4895
|
/**
|
|
4192
4896
|
* The URL to link to when a top-level link inside the NavItemWithSubNav panel
|
|
@@ -4197,28 +4901,28 @@ interface SiteHeaderV2NavItemWithSubNavProps {
|
|
|
4197
4901
|
* Content to be displayed in the first slot of the NavItemWithSubNav. Must be
|
|
4198
4902
|
* a single SiteHeaderV2SubNavItem component.
|
|
4199
4903
|
*/
|
|
4200
|
-
slot1:
|
|
4904
|
+
slot1: slotType;
|
|
4201
4905
|
/**
|
|
4202
4906
|
* Content to be displayed in the second slot of the NavItemWithSubNav. Must
|
|
4203
4907
|
* be a single SiteHeaderV2SubNavItem component.
|
|
4204
4908
|
*/
|
|
4205
|
-
slot2?:
|
|
4909
|
+
slot2?: slotType;
|
|
4206
4910
|
/**
|
|
4207
4911
|
* Content to be displayed in the third slot of the NavItemWithSubNav. Must be
|
|
4208
4912
|
* a single SiteHeaderV2SubNavItem component.
|
|
4209
4913
|
*/
|
|
4210
|
-
slot3?:
|
|
4914
|
+
slot3?: slotType;
|
|
4211
4915
|
/**
|
|
4212
4916
|
* Content to be displayed in the fourth slot of the NavItemWithSubNav. Must be
|
|
4213
4917
|
* a single SiteHeaderV2SubNavItem component.
|
|
4214
4918
|
*/
|
|
4215
|
-
slot4?:
|
|
4216
|
-
slot5?:
|
|
4217
|
-
slot6?:
|
|
4919
|
+
slot4?: slotType;
|
|
4920
|
+
slot5?: slotType;
|
|
4921
|
+
slot6?: slotType;
|
|
4218
4922
|
/**
|
|
4219
4923
|
* Title text to display inside the NavItemWithSubNav panel.
|
|
4220
4924
|
*/
|
|
4221
|
-
subTitle?: string;
|
|
4925
|
+
subTitle?: string | null;
|
|
4222
4926
|
/**
|
|
4223
4927
|
* Top-level text to display in the NavItemWithSubNav.
|
|
4224
4928
|
*/
|
|
@@ -4237,7 +4941,7 @@ interface SiteHeaderV2NavItemWithSubNavProps {
|
|
|
4237
4941
|
opensFirstWithPanel?: boolean;
|
|
4238
4942
|
}
|
|
4239
4943
|
|
|
4240
|
-
declare const SiteHeaderV2NodeItem:
|
|
4944
|
+
declare const SiteHeaderV2NodeItem: ({ children, ...props }: SiteHeaderV2NodeItemProps) => React__default.JSX.Element;
|
|
4241
4945
|
interface SiteHeaderV2NodeItemProps {
|
|
4242
4946
|
/**
|
|
4243
4947
|
* Content to display with `SiteHeaderV2NodeItem`
|
|
@@ -4245,56 +4949,12 @@ interface SiteHeaderV2NodeItemProps {
|
|
|
4245
4949
|
children?: ReactNode;
|
|
4246
4950
|
}
|
|
4247
4951
|
|
|
4248
|
-
declare const
|
|
4249
|
-
interface SiteHeaderV2SubNavItemProps {
|
|
4250
|
-
/**
|
|
4251
|
-
* Contents of the SubNavItem. Must be SiteHeaderV2ItemGroup or
|
|
4252
|
-
* SiteHeaderV2Column components.
|
|
4253
|
-
*/
|
|
4254
|
-
children?: ReactNode;
|
|
4255
|
-
/**
|
|
4256
|
-
* Should the SubNavItem be the default open item in a
|
|
4257
|
-
* SiteHeaderV2NavItemWithSubNav? If not specified, the default open item will
|
|
4258
|
-
* be set automatically.
|
|
4259
|
-
*/
|
|
4260
|
-
isDefaultItem?: boolean;
|
|
4261
|
-
/**
|
|
4262
|
-
* Optionally shift the SubNavItem-link upwards (in "desktop" viewports only)
|
|
4263
|
-
* to close off any empty space between items due to content size.
|
|
4264
|
-
*/
|
|
4265
|
-
offsetXL?: "24" | "48";
|
|
4266
|
-
/**
|
|
4267
|
-
* A URL to link to when the SubNavItem is clicked or touched. Only applies if
|
|
4268
|
-
* `children` are not present.
|
|
4269
|
-
*/
|
|
4270
|
-
href?: string;
|
|
4271
|
-
/**
|
|
4272
|
-
* Optional subtitle text for the SubNavItem.
|
|
4273
|
-
*/
|
|
4274
|
-
subTitle?: string;
|
|
4275
|
-
/**
|
|
4276
|
-
* Title text for the SubNavItem.
|
|
4277
|
-
*/
|
|
4278
|
-
title: string;
|
|
4279
|
-
/**
|
|
4280
|
-
* Text to display in top-level link inside the SubNavItem panel. Only
|
|
4281
|
-
* applies if both `children` are present and `href` is true. If not
|
|
4282
|
-
* provided, top-level link text will be automatically generated from `title`.
|
|
4283
|
-
*/
|
|
4284
|
-
viewAllTitle?: string;
|
|
4285
|
-
icon?: string;
|
|
4286
|
-
/**
|
|
4287
|
-
* On click handler.
|
|
4288
|
-
*/
|
|
4289
|
-
onClick?: () => void;
|
|
4290
|
-
}
|
|
4291
|
-
|
|
4292
|
-
declare const SiteHeaderV2VerticalDivider: () => JSX.Element;
|
|
4952
|
+
declare const SiteHeaderV2VerticalDivider: () => React__default.JSX.Element;
|
|
4293
4953
|
|
|
4294
4954
|
/**
|
|
4295
4955
|
* Use `Skeleton` to display a placeholder preview of your page before the data gets loaded to reduce load-time frustration.
|
|
4296
4956
|
*/
|
|
4297
|
-
declare const Skeleton:
|
|
4957
|
+
declare const Skeleton: ({ width, height, isCircle, animation, ...props }: SkeletonProps) => React__default.JSX.Element;
|
|
4298
4958
|
interface SkeletonProps {
|
|
4299
4959
|
/**
|
|
4300
4960
|
* Animation for `Skeleton`.
|
|
@@ -4315,7 +4975,7 @@ interface SkeletonProps {
|
|
|
4315
4975
|
}
|
|
4316
4976
|
|
|
4317
4977
|
/** Use `SkipLink` to help keyboard-only users skip to the main content on a page. */
|
|
4318
|
-
declare const SkipLink:
|
|
4978
|
+
declare const SkipLink: ({ children, ...props }: SkipLinkProps) => React__default.JSX.Element;
|
|
4319
4979
|
interface SkipLinkProps {
|
|
4320
4980
|
/**
|
|
4321
4981
|
* Links to display in the SkipLinkItem.
|
|
@@ -4323,7 +4983,7 @@ interface SkipLinkProps {
|
|
|
4323
4983
|
children?: ReactNode;
|
|
4324
4984
|
}
|
|
4325
4985
|
|
|
4326
|
-
declare const SkipLinkItem:
|
|
4986
|
+
declare const SkipLinkItem: ({ href, id, label, onClick, }: SkipLinkItemProps) => React__default.JSX.Element;
|
|
4327
4987
|
interface SkipLinkItemProps {
|
|
4328
4988
|
/**
|
|
4329
4989
|
* The label to display for SkipLinkItem.
|
|
@@ -4340,13 +5000,13 @@ interface SkipLinkItemProps {
|
|
|
4340
5000
|
/**
|
|
4341
5001
|
* Click handler for the skip link.
|
|
4342
5002
|
*/
|
|
4343
|
-
onClick?: (e:
|
|
5003
|
+
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
4344
5004
|
}
|
|
4345
5005
|
|
|
4346
5006
|
/**
|
|
4347
5007
|
* Use `Spinner` to display a loading state.
|
|
4348
5008
|
*/
|
|
4349
|
-
declare const Spinner:
|
|
5009
|
+
declare const Spinner: ({ size, color, ...props }: SpinnerProps) => React__default.JSX.Element;
|
|
4350
5010
|
type SpinnerSize = "s" | "m" | "l" | "xl" | "xxl";
|
|
4351
5011
|
interface SpinnerProps {
|
|
4352
5012
|
/**
|
|
@@ -4360,7 +5020,7 @@ interface SpinnerProps {
|
|
|
4360
5020
|
}
|
|
4361
5021
|
|
|
4362
5022
|
/** Use `Switch` to allow users to immediately toggle between two states. */
|
|
4363
|
-
declare const Switch:
|
|
5023
|
+
declare const Switch: ({ defaultChecked, onCheckedChange, label, labelPosition, name, onBlur, value, isDisabled, errorMessage, id, size, onStatusText, offStatusText, hideLabel, ariaLabel, ...props }: SwitchProps) => React__default.JSX.Element;
|
|
4364
5024
|
interface SwitchProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "disclosureText" | "disclosureTitle" | "onClickDisclosure" | "helper" | "helpUnderLabel" | "supplementaryInfo" | "labelSize"> {
|
|
4365
5025
|
/**
|
|
4366
5026
|
* Hide Label above toggle?
|
|
@@ -4413,7 +5073,7 @@ interface SwitchProps extends Omit<FormControlProps, "children" | "elementType"
|
|
|
4413
5073
|
}
|
|
4414
5074
|
|
|
4415
5075
|
/** Use `TabbedBanner` to combine a banner layout with `ContentSwitcher` and `ContentSwitcherDropdown`, allowing users to switch between related content sections. */
|
|
4416
|
-
declare const TabbedBanner:
|
|
5076
|
+
declare const TabbedBanner: ({ tabs, defaultValue, minHeight, minHeightM, minHeightL, minHeightXL, ...props }: TabbedBannerProps) => React__default.JSX.Element;
|
|
4417
5077
|
interface TabbedBannerProps {
|
|
4418
5078
|
/**
|
|
4419
5079
|
* Determine what tabs to render. They need both a `value` and `label` prop
|
|
@@ -4450,7 +5110,7 @@ interface TabbedBannerProps {
|
|
|
4450
5110
|
}
|
|
4451
5111
|
|
|
4452
5112
|
/** Use `Tabs` to allow users to navigate between different sections of relevant content. */
|
|
4453
|
-
declare const Tabs:
|
|
5113
|
+
declare const Tabs: ({ children, defaultValue, onValueChange, activationMode, ...props }: TabsProps) => React__default.JSX.Element;
|
|
4454
5114
|
interface TabsProps {
|
|
4455
5115
|
/**
|
|
4456
5116
|
* Render children
|
|
@@ -4470,7 +5130,7 @@ interface TabsProps {
|
|
|
4470
5130
|
activationMode?: "automatic" | "manual";
|
|
4471
5131
|
}
|
|
4472
5132
|
|
|
4473
|
-
declare const TabsItem:
|
|
5133
|
+
declare const TabsItem: ({ label, value, icon, iconActive, ...props }: TabsItemProps) => React__default.JSX.Element;
|
|
4474
5134
|
interface TabsItemProps {
|
|
4475
5135
|
/**
|
|
4476
5136
|
* Label to display on the Tab
|
|
@@ -4490,7 +5150,7 @@ interface TabsItemProps {
|
|
|
4490
5150
|
iconActive?: string;
|
|
4491
5151
|
}
|
|
4492
5152
|
|
|
4493
|
-
declare const TabsContent:
|
|
5153
|
+
declare const TabsContent: ({ children, value, hidden, forceMount, ...props }: TabsContentProps) => React__default.JSX.Element;
|
|
4494
5154
|
interface TabsContentProps {
|
|
4495
5155
|
/**
|
|
4496
5156
|
* Content to display
|
|
@@ -4510,7 +5170,7 @@ interface TabsContentProps {
|
|
|
4510
5170
|
forceMount?: boolean;
|
|
4511
5171
|
}
|
|
4512
5172
|
|
|
4513
|
-
declare const TabsList:
|
|
5173
|
+
declare const TabsList: ({ children, type, isJustified, ariaLabel, ...props }: TabsListProps) => React__default.JSX.Element;
|
|
4514
5174
|
interface TabsListProps {
|
|
4515
5175
|
/**
|
|
4516
5176
|
* Contents of the `Tabs` Should contain `Tab`
|
|
@@ -4533,7 +5193,7 @@ interface TabsListProps {
|
|
|
4533
5193
|
/**
|
|
4534
5194
|
* Use `Tag` to promote features and manage filtering.
|
|
4535
5195
|
*/
|
|
4536
|
-
declare const Tag:
|
|
5196
|
+
declare const Tag: ({ children, isRemovable, link, icon, onClick, onRemove, title, ...props }: TagProps) => React__default.JSX.Element;
|
|
4537
5197
|
interface TagProps {
|
|
4538
5198
|
/**
|
|
4539
5199
|
* Content to render within the Tag
|
|
@@ -4568,7 +5228,7 @@ interface TagProps {
|
|
|
4568
5228
|
/**
|
|
4569
5229
|
* Use `Text` to display text.
|
|
4570
5230
|
*/
|
|
4571
|
-
declare const Text:
|
|
5231
|
+
declare const Text: ({ align, children, id, isInline, isMeasured, size, tone, elementType, ...props }: TextProps) => React__default.JSX.Element;
|
|
4572
5232
|
type Tone = "default" | "supporting" | "muted";
|
|
4573
5233
|
type TextSize = "xs" | "s" | "m" | "l";
|
|
4574
5234
|
interface TextProps {
|
|
@@ -4607,8 +5267,12 @@ interface TextProps {
|
|
|
4607
5267
|
}
|
|
4608
5268
|
|
|
4609
5269
|
/** Use `TextArea` to allow custom user text entry via keyboard, for long-form and multi-line descriptions */
|
|
4610
|
-
declare const TextArea:
|
|
5270
|
+
declare const TextArea: ({ ref, defaultValue, errorMessage, helper, hideLabel, id, resize, isDisabled, isReadOnly, isRequired, showCharacterCount, label, labelSize, maxLength, name, onBlur, onFocus, onChange, onClickDisclosure, value, disclosureTitle, disclosureText, width, autoComplete, minHeight, maxHeight, isErrorAlert, ...props }: TextAreaProps) => React__default.JSX.Element;
|
|
4611
5271
|
interface TextAreaProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel" | "labelPosition"> {
|
|
5272
|
+
/**
|
|
5273
|
+
* Ref to the underlying textarea element
|
|
5274
|
+
*/
|
|
5275
|
+
ref?: Ref<HTMLTextAreaElement>;
|
|
4612
5276
|
/**
|
|
4613
5277
|
* Uncontrolled default value of the TextArea. If the TextArea is controlled
|
|
4614
5278
|
* via `value`/`onChange`, `defaultValue` will be ignored.
|
|
@@ -4653,16 +5317,16 @@ interface TextAreaProps extends Omit<FormControlProps, "children" | "elementType
|
|
|
4653
5317
|
/**
|
|
4654
5318
|
* Function to call when the TextArea loses focus.
|
|
4655
5319
|
*/
|
|
4656
|
-
onBlur?: (e:
|
|
5320
|
+
onBlur?: (e: React__default.FocusEvent<HTMLTextAreaElement>) => void;
|
|
4657
5321
|
/**
|
|
4658
5322
|
* Function to call when the TextArea is focused.
|
|
4659
5323
|
*/
|
|
4660
|
-
onFocus?: (e:
|
|
5324
|
+
onFocus?: (e: React__default.FocusEvent<HTMLTextAreaElement>) => void;
|
|
4661
5325
|
/**
|
|
4662
5326
|
* Callback function commonly used to update the TextArea's controlled
|
|
4663
5327
|
* `value`, for example `e => setValue(e.target.value)`.
|
|
4664
5328
|
*/
|
|
4665
|
-
onChange?: (e:
|
|
5329
|
+
onChange?: (e: React__default.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
4666
5330
|
/**
|
|
4667
5331
|
* Current value of the TextArea. Must be controlled via an
|
|
4668
5332
|
* `onChange` callback function. Otherwise, use `defaultValue` (or `isReadOnly`).
|
|
@@ -4686,14 +5350,14 @@ interface TextAreaProps extends Omit<FormControlProps, "children" | "elementType
|
|
|
4686
5350
|
maxHeight?: string;
|
|
4687
5351
|
}
|
|
4688
5352
|
|
|
4689
|
-
declare const InputIcon:
|
|
5353
|
+
declare const InputIcon: ({ isButton, isReadOnly, isDisabled, size, tooltip, themeIcon, icon, }: InputIconProps) => React__default.JSX.Element;
|
|
4690
5354
|
interface InputIconProps {
|
|
4691
5355
|
/**
|
|
4692
5356
|
* Sets the Icon to be a Button.
|
|
4693
5357
|
*/
|
|
4694
5358
|
isButton?: {
|
|
4695
|
-
ref?:
|
|
4696
|
-
onFocus?:
|
|
5359
|
+
ref?: React__default.Ref<HTMLButtonElement>;
|
|
5360
|
+
onFocus?: React__default.FocusEventHandler<HTMLButtonElement>;
|
|
4697
5361
|
onClick: () => void;
|
|
4698
5362
|
label: string;
|
|
4699
5363
|
};
|
|
@@ -4726,7 +5390,7 @@ interface InputIconProps {
|
|
|
4726
5390
|
/**
|
|
4727
5391
|
* Use `Theme` component to apply a specific theme to its children.
|
|
4728
5392
|
*/
|
|
4729
|
-
declare const Theme:
|
|
5393
|
+
declare const Theme: ({ theme, resetCssStyles, children, ...props }: ThemeProps) => React__default.JSX.Element;
|
|
4730
5394
|
declare const themes: readonly ["bt-enterprise", "bt-business", "ee"];
|
|
4731
5395
|
type ThemeType = "bt-enterprise" | "bt-business" | "ee";
|
|
4732
5396
|
interface ThemeProps {
|
|
@@ -4745,7 +5409,7 @@ interface ThemeProps {
|
|
|
4745
5409
|
}
|
|
4746
5410
|
|
|
4747
5411
|
/** Use `ThumbnailSignpost` to highlight key information or navigation points with an accompanying thumbnail image or icon. */
|
|
4748
|
-
declare const ThumbnailSignpost:
|
|
5412
|
+
declare const ThumbnailSignpost: ({ text, title, img, button, ...props }: ThumbnailSignpostProps) => React__default.JSX.Element;
|
|
4749
5413
|
interface ThumbnailSignpostProps {
|
|
4750
5414
|
/**
|
|
4751
5415
|
* Title for the ThumbnailSignpost.
|
|
@@ -4772,12 +5436,12 @@ interface ThumbnailSignpostProps {
|
|
|
4772
5436
|
}
|
|
4773
5437
|
|
|
4774
5438
|
/** Use `Toast` to display temporary messages at the bottom of the screen. */
|
|
4775
|
-
declare const Toast:
|
|
5439
|
+
declare const Toast: ({ children, colorScheme, onDarkSurface, ...props }: ToastProps) => React__default.JSX.Element;
|
|
4776
5440
|
interface ToastProps {
|
|
4777
5441
|
/**
|
|
4778
5442
|
* Content to display within `Toast`
|
|
4779
5443
|
*/
|
|
4780
|
-
children:
|
|
5444
|
+
children: React__default.ReactNode;
|
|
4781
5445
|
/**
|
|
4782
5446
|
* Colour scheme for `Toast` - Use 'default' in almost all cases.
|
|
4783
5447
|
*/
|
|
@@ -4789,7 +5453,7 @@ interface ToastProps {
|
|
|
4789
5453
|
}
|
|
4790
5454
|
|
|
4791
5455
|
/** Use `ToastNotification` to display brief, non-intrusive messages that inform users about system events, actions, or feedback. */
|
|
4792
|
-
declare const ToastNotification:
|
|
5456
|
+
declare const ToastNotification: ({ link, title, isOpen, onOpenChange, isStatusIconVisible, isCloseButtonVisible, status, ...props }: ToastNotificationProps) => React__default.JSX.Element;
|
|
4793
5457
|
type ToastStatus = "general" | "error" | "warning" | "success";
|
|
4794
5458
|
interface ToastNotificationProps {
|
|
4795
5459
|
/**
|
|
@@ -4828,7 +5492,7 @@ interface ToastNotificationProps {
|
|
|
4828
5492
|
}
|
|
4829
5493
|
|
|
4830
5494
|
/** Use `Truncate` component to shorten text with an ellipsis. Add a `title` attribute to the truncated element so the full text remains accessible. */
|
|
4831
|
-
declare const Truncate:
|
|
5495
|
+
declare const Truncate: ({ maxWidth, title, children, ...props }: TruncateProps) => React__default.JSX.Element;
|
|
4832
5496
|
interface TruncateProps {
|
|
4833
5497
|
/**
|
|
4834
5498
|
* Content to truncate.
|
|
@@ -4845,7 +5509,7 @@ interface TruncateProps {
|
|
|
4845
5509
|
}
|
|
4846
5510
|
|
|
4847
5511
|
/** Use `TypographyCard` for content that benefits from larger and energetic typography. */
|
|
4848
|
-
declare const TypographyCard:
|
|
5512
|
+
declare const TypographyCard: ({ url, onClick, heading, metaText, label, minHeight, headingSize, linkData, pathway, buttonIcon, headingLevel, labelLevel, headingWordWrap, ...props }: TypographyCardProps) => React__default.JSX.Element;
|
|
4849
5513
|
type TypographyCardPathway = "light" | "dark";
|
|
4850
5514
|
interface TypographyCardProps {
|
|
4851
5515
|
/**
|
|
@@ -4879,7 +5543,7 @@ interface TypographyCardProps {
|
|
|
4879
5543
|
/**
|
|
4880
5544
|
* Click handler for the TypographyCard.
|
|
4881
5545
|
*/
|
|
4882
|
-
onClick?: (e:
|
|
5546
|
+
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement>) => void;
|
|
4883
5547
|
/**
|
|
4884
5548
|
* Text to show adjacent to the cta, can be either a date or text. Its recommended to pass dates as Date objects so the component can render them correctly.
|
|
4885
5549
|
*/
|
|
@@ -4899,13 +5563,17 @@ interface TypographyCardProps {
|
|
|
4899
5563
|
* Heading level for the TypographyCard label.
|
|
4900
5564
|
*/
|
|
4901
5565
|
labelLevel?: HeadingLevel;
|
|
5566
|
+
/**
|
|
5567
|
+
* Whether long words in heading should be wrapped.
|
|
5568
|
+
*/
|
|
5569
|
+
headingWordWrap?: boolean;
|
|
4902
5570
|
}
|
|
4903
5571
|
|
|
4904
5572
|
/**
|
|
4905
5573
|
* Use `UniversalHeader` to display a group-level page header.
|
|
4906
5574
|
*/
|
|
4907
|
-
declare const UniversalHeader:
|
|
4908
|
-
declare const UniversalHeaderItem:
|
|
5575
|
+
declare const UniversalHeader: ({ children, ContentSlot, ...props }: UniversalHeaderProps) => React__default.JSX.Element;
|
|
5576
|
+
declare const UniversalHeaderItem: ({ children, href, isActive, ...props }: UniversalHeaderItemProps) => React__default.JSX.Element;
|
|
4909
5577
|
interface UniversalHeaderItemProps {
|
|
4910
5578
|
/**
|
|
4911
5579
|
* Contents of the UniversalHeaderItem.
|
|
@@ -4935,7 +5603,7 @@ interface UniversalHeaderProps {
|
|
|
4935
5603
|
/**
|
|
4936
5604
|
* Use `VerticalSpace` to create vertical space between components.
|
|
4937
5605
|
*/
|
|
4938
|
-
declare const VerticalSpace:
|
|
5606
|
+
declare const VerticalSpace: ({ isDebugVisible, size, sizeS, sizeM, sizeL, sizeXL, sizeXXL, ...props }: VerticalSpaceProps) => React__default.JSX.Element;
|
|
4939
5607
|
type VerticalSpaceSize = "4" | "8" | "12" | "16" | "20" | "24" | "28" | "32" | "40" | "48" | "64" | "96" | "128";
|
|
4940
5608
|
interface VerticalSpaceProps {
|
|
4941
5609
|
/**
|
|
@@ -4972,18 +5640,36 @@ interface VerticalSpaceProps {
|
|
|
4972
5640
|
/**
|
|
4973
5641
|
* Use `VideoPlayer` to embed videos from YouTube or Vimeo.
|
|
4974
5642
|
*/
|
|
4975
|
-
declare const VideoPlayer:
|
|
5643
|
+
declare const VideoPlayer: ({ title, description, transcriptLink, transcriptContent, light, url, onReady, onPlay, onStart, onPause, onError, onEnded, isBorderRadius, isSupportingTextHidden, titleWordWrap, ...props }: VideoPlayerProps) => React__default.JSX.Element;
|
|
4976
5644
|
interface VideoPlayerProps extends Pick<ReactPlayerProps, "onReady" | "onPlay" | "onStart" | "onPause" | "onEnded" | "onError" | "light"> {
|
|
5645
|
+
/**
|
|
5646
|
+
* URL of the video to play.
|
|
5647
|
+
*/
|
|
4977
5648
|
url: string;
|
|
5649
|
+
/**
|
|
5650
|
+
* Title of the video.
|
|
5651
|
+
*/
|
|
4978
5652
|
title: string;
|
|
5653
|
+
/**
|
|
5654
|
+
* Description of the video.
|
|
5655
|
+
*/
|
|
4979
5656
|
description: string;
|
|
5657
|
+
/**
|
|
5658
|
+
* Apply border radius to the video player.
|
|
5659
|
+
*/
|
|
4980
5660
|
isBorderRadius?: boolean;
|
|
5661
|
+
/**
|
|
5662
|
+
* Link to download the transcript.
|
|
5663
|
+
*/
|
|
4981
5664
|
transcriptLink?: {
|
|
4982
5665
|
url: string;
|
|
4983
5666
|
text: string;
|
|
4984
5667
|
fileSize: string;
|
|
4985
5668
|
format: string;
|
|
4986
5669
|
};
|
|
5670
|
+
/**
|
|
5671
|
+
* Content for the audio described transcript.
|
|
5672
|
+
*/
|
|
4987
5673
|
transcriptContent?: {
|
|
4988
5674
|
heading: string;
|
|
4989
5675
|
description: string;
|
|
@@ -4992,19 +5678,26 @@ interface VideoPlayerProps extends Pick<ReactPlayerProps, "onReady" | "onPlay" |
|
|
|
4992
5678
|
text?: string;
|
|
4993
5679
|
}[];
|
|
4994
5680
|
};
|
|
5681
|
+
/**
|
|
5682
|
+
* Hide the supporting text (title and description).
|
|
5683
|
+
*/
|
|
4995
5684
|
isSupportingTextHidden?: boolean;
|
|
5685
|
+
titleWordWrap?: boolean;
|
|
4996
5686
|
}
|
|
4997
5687
|
|
|
4998
5688
|
/** Use `Visible` to show it's children at specific breakpoints */
|
|
4999
|
-
declare const Visible:
|
|
5689
|
+
declare const Visible: ({ children, xs, s, m, l, xl, xxl, ...props }: VisibleProps) => React__default.JSX.Element;
|
|
5000
5690
|
interface VisibleProps extends BreakpointVisibility {
|
|
5001
|
-
|
|
5691
|
+
/**
|
|
5692
|
+
* Content to display at specific breakpoints.
|
|
5693
|
+
*/
|
|
5694
|
+
children: ReactNode;
|
|
5002
5695
|
}
|
|
5003
5696
|
|
|
5004
5697
|
/**
|
|
5005
5698
|
* Use `VisuallyHidden` to provide text for screen readers that is visually hidden on screen.
|
|
5006
5699
|
*/
|
|
5007
|
-
declare const VisuallyHidden:
|
|
5700
|
+
declare const VisuallyHidden: ({ children, ...props }: VisuallyHiddenProps) => React__default.JSX.Element;
|
|
5008
5701
|
interface VisuallyHiddenProps {
|
|
5009
5702
|
/**
|
|
5010
5703
|
* Content to be Visually Hidden.
|
|
@@ -5029,23 +5722,50 @@ interface NavigationHeaderContainerProps extends ExtentableContainer {
|
|
|
5029
5722
|
/**
|
|
5030
5723
|
* content for the navbar
|
|
5031
5724
|
*/
|
|
5032
|
-
children:
|
|
5725
|
+
children: ReactNode;
|
|
5033
5726
|
}
|
|
5034
5727
|
|
|
5035
5728
|
type Brand = "btWholesale" | "btGlobalFabric" | "ee" | "bt";
|
|
5036
5729
|
interface NavigationHeaderLogoProps {
|
|
5730
|
+
/**
|
|
5731
|
+
* Accessible label for the logo link.
|
|
5732
|
+
*/
|
|
5037
5733
|
ariaLabel?: string;
|
|
5734
|
+
/**
|
|
5735
|
+
* Brand variant for the logo.
|
|
5736
|
+
*/
|
|
5038
5737
|
brand?: Brand;
|
|
5738
|
+
/**
|
|
5739
|
+
* URL to link to when the logo is clicked.
|
|
5740
|
+
*/
|
|
5039
5741
|
href?: string;
|
|
5040
|
-
|
|
5041
|
-
|
|
5742
|
+
/**
|
|
5743
|
+
* Custom SVG to display instead of the default brand logo.
|
|
5744
|
+
*/
|
|
5745
|
+
svg?: ReactNode;
|
|
5746
|
+
/**
|
|
5747
|
+
* Click handler for the logo link.
|
|
5748
|
+
*/
|
|
5749
|
+
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
5042
5750
|
}
|
|
5043
5751
|
|
|
5044
5752
|
interface NavigationHeaderNavLinkProps {
|
|
5753
|
+
/**
|
|
5754
|
+
* Text to display in the navigation link.
|
|
5755
|
+
*/
|
|
5045
5756
|
text: string;
|
|
5757
|
+
/**
|
|
5758
|
+
* URL to link to when the navigation link is clicked.
|
|
5759
|
+
*/
|
|
5046
5760
|
href: string;
|
|
5761
|
+
/**
|
|
5762
|
+
* Border radius size variant for the navigation link.
|
|
5763
|
+
*/
|
|
5047
5764
|
borderRadiusSize?: "s" | "m";
|
|
5048
|
-
|
|
5765
|
+
/**
|
|
5766
|
+
* Click handler for the navigation link.
|
|
5767
|
+
*/
|
|
5768
|
+
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
5049
5769
|
}
|
|
5050
5770
|
|
|
5051
5771
|
type CustomBreakpoint = keyof typeof ArcBreakpoints | number;
|
|
@@ -5092,7 +5812,7 @@ interface NavigationHeaderInlineActionProps {
|
|
|
5092
5812
|
/**
|
|
5093
5813
|
* Click handlers for the action.
|
|
5094
5814
|
*/
|
|
5095
|
-
onClick?: (e:
|
|
5815
|
+
onClick?: (e: React__default.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
5096
5816
|
}
|
|
5097
5817
|
|
|
5098
5818
|
type BurgerMenuPathway = "invert" | "match";
|
|
@@ -5117,7 +5837,7 @@ type ConfigurableHeaderVisibility = Partial<Record<Exclude<ArcBreakpointSizes, "
|
|
|
5117
5837
|
/**
|
|
5118
5838
|
* Use `NavigationHeader` as a Top-level UI element that displays branding, page titles, and primary navigation actions.
|
|
5119
5839
|
*/
|
|
5120
|
-
declare const NavigationHeader:
|
|
5840
|
+
declare const NavigationHeader: ({ leftSlot, middleSlot, rightSlot, isPill, isExtended, isFluid, logo, navItems, meatballMenuTooltip, burgerMenuActions, burgerMenuFooter, burgerMenuHeader, burgerMenuVisibility, onOpenChange, burgerMenuPathway, navMenuVisibility, background, }: NavigationHeaderProps) => React__default.JSX.Element;
|
|
5121
5841
|
interface NavigationHeaderProps extends Omit<NavigationHeaderContainerProps, "children" | "background">, Omit<NavigationHeaderNavListProps, "navItems">, ExtentableContainer {
|
|
5122
5842
|
/**
|
|
5123
5843
|
* set the background color of the navbar.
|
|
@@ -5126,15 +5846,15 @@ interface NavigationHeaderProps extends Omit<NavigationHeaderContainerProps, "ch
|
|
|
5126
5846
|
/**
|
|
5127
5847
|
* Open content slot on the left of the nav bar.
|
|
5128
5848
|
*/
|
|
5129
|
-
leftSlot?:
|
|
5849
|
+
leftSlot?: ReactNode;
|
|
5130
5850
|
/**
|
|
5131
5851
|
* Open content slot on the middle of the nav bar, after the nav items.
|
|
5132
5852
|
*/
|
|
5133
|
-
middleSlot?:
|
|
5853
|
+
middleSlot?: ReactNode;
|
|
5134
5854
|
/**
|
|
5135
5855
|
* Open content slot on the right of the nav bar.
|
|
5136
5856
|
*/
|
|
5137
|
-
rightSlot?:
|
|
5857
|
+
rightSlot?: ReactNode;
|
|
5138
5858
|
/**
|
|
5139
5859
|
* Configuration for the logo. Logo Defaults to BT. Alternatively you can select one of the brands via the `brand` field, or supply your own svg via the `svg` field.
|
|
5140
5860
|
* When supplying your own svg the root element must be an `svg` element that is implemented as follows: it has a `viewBox` attribute, no `height`, `width` or `preserveAspectRatio` attributes. It will also need
|
|
@@ -5148,11 +5868,11 @@ interface NavigationHeaderProps extends Omit<NavigationHeaderContainerProps, "ch
|
|
|
5148
5868
|
/**
|
|
5149
5869
|
* Additional content for the burger menu that sits below all the other content.
|
|
5150
5870
|
*/
|
|
5151
|
-
burgerMenuFooter?:
|
|
5871
|
+
burgerMenuFooter?: ReactNode;
|
|
5152
5872
|
/**
|
|
5153
5873
|
* Additional content for the burger menu that sits between the logo and the nav items.
|
|
5154
5874
|
*/
|
|
5155
|
-
burgerMenuHeader?:
|
|
5875
|
+
burgerMenuHeader?: ReactNode;
|
|
5156
5876
|
/**
|
|
5157
5877
|
* Sets the color pathway for the burger menu, by default it inverts the pathway the header is using for contrast.
|
|
5158
5878
|
*/
|
|
@@ -5169,10 +5889,13 @@ interface NavigationHeaderProps extends Omit<NavigationHeaderContainerProps, "ch
|
|
|
5169
5889
|
* Nav items for `<NavigationHeader />`
|
|
5170
5890
|
*/
|
|
5171
5891
|
navItems?: Array<NavigationHeaderNavigationItem>;
|
|
5892
|
+
/**
|
|
5893
|
+
* Callback when burger menu open state changes.
|
|
5894
|
+
*/
|
|
5172
5895
|
onOpenChange?: (isOpen: boolean) => void;
|
|
5173
5896
|
}
|
|
5174
5897
|
|
|
5175
|
-
declare const NavigationHeaderAction:
|
|
5898
|
+
declare const NavigationHeaderAction: ({ ariaLabel, icon, onClick, title, supportingCopy, isAttention, }: NavigationHeaderActionProps) => React__default.JSX.Element;
|
|
5176
5899
|
interface NavigationHeaderActionProps {
|
|
5177
5900
|
/**
|
|
5178
5901
|
* Icon url for the action.
|
|
@@ -5197,18 +5920,30 @@ interface NavigationHeaderActionProps {
|
|
|
5197
5920
|
/**
|
|
5198
5921
|
* Click handlers for the action.
|
|
5199
5922
|
*/
|
|
5200
|
-
onClick?: (e:
|
|
5923
|
+
onClick?: (e: React__default.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
5201
5924
|
}
|
|
5202
5925
|
|
|
5203
|
-
declare const NavigationHeaderActionBar:
|
|
5926
|
+
declare const NavigationHeaderActionBar: ({ children, }: NavigationHeaderActionBarProps) => React__default.JSX.Element;
|
|
5204
5927
|
interface NavigationHeaderActionBarProps {
|
|
5205
|
-
|
|
5928
|
+
/**
|
|
5929
|
+
* NavigationHeaderAction components to display in the action bar.
|
|
5930
|
+
*/
|
|
5931
|
+
children: ReactNode;
|
|
5206
5932
|
}
|
|
5207
5933
|
|
|
5208
|
-
declare const NavigationHeaderPage:
|
|
5934
|
+
declare const NavigationHeaderPage: ({ icon, title, page, }: NavigationHeaderPageProps) => React__default.JSX.Element;
|
|
5209
5935
|
interface NavigationHeaderPageProps {
|
|
5936
|
+
/**
|
|
5937
|
+
* Icon URL to display with the page title.
|
|
5938
|
+
*/
|
|
5210
5939
|
icon?: string;
|
|
5940
|
+
/**
|
|
5941
|
+
* Page text to display.
|
|
5942
|
+
*/
|
|
5211
5943
|
page?: string;
|
|
5944
|
+
/**
|
|
5945
|
+
* Title text for the page.
|
|
5946
|
+
*/
|
|
5212
5947
|
title: string;
|
|
5213
5948
|
}
|
|
5214
5949
|
|
|
@@ -5231,4 +5966,4 @@ interface NavigationHeaderPageProps {
|
|
|
5231
5966
|
*/
|
|
5232
5967
|
declare const useMediaQuery: (mediaQuery: string) => boolean;
|
|
5233
5968
|
|
|
5234
|
-
export { Alert, type AlertProps, Align, type AlignProps, type AlignmentValue, AppButton, type AppButtonProps, type RangeSelection as ArcCalendarRangeSelection, type SelectionType as ArcCalendarSelectionType, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, type Brand, BrandLogo, colors$1 as BrandLogoColors, type BrandLogoProps, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, ButtonV2, type ButtonV2Props, Calendar, type CalendarProps, Carousel, type CarouselProps, Checkbox, CheckboxIcon, type CheckboxIconProps, type CheckboxProps, type ColumnValue, Columns, ColumnsCol, type ColumnsColProps, type ColumnsProps, ComboBox, type ComboBoxProps, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, type ContentSwitcherDropdownProps, ContentSwitcherList, type ContentSwitcherProps, ContentSwitcherTab, DATE_FORMAT, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, Disclosure, DisclosureMini, type DisclosureMiniProps, type DisclosureProps, Download, type DownloadProps, Drawer, DrawerContent, DrawerFooter, DrawerHeader, type DrawerProps, Elevation, type ElevationProps, Filter, FilterControl, type FilterControlProps, FilterControls, FilterItem, FilterItems, type FilterProps, FormControl, Context as FormControlContext, type FormControlProps, GhostedHeroBanner, type GhostedHeroBannerProps, GradientPageBackground, type GradientPageBackgroundProps, Grid, GridCol, type GridProps, GridRow, type GridValue, Group, GroupItem, type GroupProps, Heading, type HeadingLevel, type HeadingProps, HeroBanner, type HeroBannerProps, HeroButton, type HeroButtonProps, Hidden, type HiddenProps, HorizontalCard, type HorizontalCardProps, Icon, type IconColor, colors as IconColors, type IconProps, Image, fitOptions as ImageFitOptions, overlayOptions as ImageOverlayOptions, type ImageProps, ImageSource, type ImageSourceProps, ImpactCard, type ImpactCardProps, InformationCard, type InformationCardProps, InputIcon, type InputIconProps, Link, type LinkProps$1 as LinkProps, Markup, type MarkupProps, MediaCard, type MediaCardProps, Menu, MenuContent, MenuFooter, MenuGroup, MenuGroupSingleSelect, MenuHeader, MenuItem, MenuItemCheckbox, MenuItemContentTemplate, MenuItemMultiLevel, MenuItemMultiLevelContent, MenuItemMultiLevelTrigger, MenuItemSingleSelect, MenuLabel, MenuPortal, type MenuProps, MenuScrollable, MenuSeparator, MenuTrigger, Modal, type ModalProps, NavigationHeader, NavigationHeaderAction, NavigationHeaderActionBar, type NavigationHeaderActionProps, type NavigationHeaderNavigationItem, NavigationHeaderPage, type NavigationHeaderProps, Pagination, type PaginationProps, PaginationSimple, type PaginationSimpleProps, Popover, type PopoverProps, Poster, PosterImage, type PosterProps, PosterVideo, ProgressBar, type ProgressBarProps, type ProgressBarState, ProgressStepper, ProgressStepperItem, type ProgressStepperItemProps, ProgressStepperOverflow, type
|
|
5969
|
+
export { Alert, type AlertProps, Align, type AlignProps, type AlignmentValue, AppButton, type AppButtonProps, type RangeSelection as ArcCalendarRangeSelection, type SelectionType as ArcCalendarSelectionType, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, type Brand, BrandLogo, colors$1 as BrandLogoColors, type BrandLogoProps, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, ButtonV2, type ButtonV2Props, Calendar, type CalendarProps, Carousel, type CarouselProps, Checkbox, CheckboxIcon, type CheckboxIconProps, type CheckboxProps, type ColumnValue, Columns, ColumnsCol, type ColumnsColProps, type ColumnsProps, ComboBox, type ComboBoxProps, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, type ContentSwitcherDropdownProps, ContentSwitcherList, type ContentSwitcherProps, ContentSwitcherTab, DATE_FORMAT, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, Disclosure, DisclosureMini, type DisclosureMiniProps, type DisclosureProps, Download, type DownloadProps, Drawer, DrawerContent, DrawerFooter, DrawerHeader, type DrawerProps, Elevation, type ElevationProps, Filter, FilterControl, type FilterControlProps, FilterControls, FilterItem, FilterItems, type FilterProps, FormControl, Context as FormControlContext, type FormControlProps, GhostedHeroBanner, type GhostedHeroBannerProps, GradientPageBackground, type GradientPageBackgroundProps, Grid, GridCol, type GridProps, GridRow, type GridValue, Group, GroupItem, type GroupProps, Heading, type HeadingLevel, type HeadingProps, HeroBanner, type HeroBannerProps, HeroButton, type HeroButtonProps, Hidden, type HiddenProps, HorizontalCard, type HorizontalCardProps, Icon, type IconColor, colors as IconColors, type IconProps, Image, fitOptions as ImageFitOptions, overlayOptions as ImageOverlayOptions, type ImageProps, ImageSource, type ImageSourceProps, ImpactCard, type ImpactCardProps, InformationCard, type InformationCardProps, InputIcon, type InputIconProps, Link, type LinkProps$1 as LinkProps, Markup, type MarkupProps, MediaCard, type MediaCardProps, Menu, MenuContent, MenuFooter, MenuGroup, MenuGroupSingleSelect, MenuHeader, MenuItem, MenuItemCheckbox, MenuItemContentTemplate, MenuItemMultiLevel, MenuItemMultiLevelContent, MenuItemMultiLevelTrigger, MenuItemSingleSelect, MenuLabel, MenuPortal, type MenuProps, MenuScrollable, MenuSeparator, MenuTrigger, Modal, type ModalProps, NavigationHeader, NavigationHeaderAction, NavigationHeaderActionBar, type NavigationHeaderActionProps, type NavigationHeaderNavigationItem, NavigationHeaderPage, type NavigationHeaderProps, Pagination, type PaginationProps, PaginationSimple, type PaginationSimpleProps, Popover, type PopoverProps, Poster, PosterImage, type PosterProps, PosterVideo, ProgressBar, type ProgressBarProps, type ProgressBarState, ProgressStepper, ProgressStepperItem, type ProgressStepperItemProps, ProgressStepperOverflow, type ProgressStepperOverflowProps, type ProgressStepperProps, RadioCardGroup, RadioCardGroupInput, type RadioCardGroupProps, RadioGroup, RadioGroupButton, RadioGroupInput, type RadioGroupProps, Rule, type RuleProps, ScrollToTop, type ScrollToTopProps, Section, type SectionProps, Select, type SelectProps, SemanticHeading, type SemanticHeadingLevel, type SemanticHeadingProps, SiteFooter, SiteFooterItem, SiteFooterItemGroup, type SiteFooterProps, SiteFooterV2, SiteFooterV2Item, SiteFooterV2ItemGroup, SiteFooterV2Main, SiteFooterV2Utility, SiteHeaderV2, SiteHeaderV2Column, SiteHeaderV2Item, SiteHeaderV2ItemGroup, SiteHeaderV2NavItem, SiteHeaderV2NavItemWithSubNav, SiteHeaderV2NodeItem, type SiteHeaderV2Props, SiteHeaderV2SubNavItem, SiteHeaderV2VerticalDivider, Skeleton, type SkeletonProps, SkipLink, SkipLinkItem, type Span, Spinner, type SpinnerProps, Surface, type SurfaceBackground, type SurfaceBackgroundColor, Context$1 as SurfaceContext, type SurfacePadding, type SurfaceProps, Switch, type SwitchProps, TabbedBanner, type TabbedBannerProps, Tabs, TabsContent, TabsItem, TabsList, type TabsListProps, type TabsProps, Tag, type TagProps, TemplateBanner, type TemplateBannerProps, Text, TextArea, type TextAreaProps, TextInput, type TextInputProps, type TextProps, Theme, ThemeIcon, type ThemeIconNames, type ThemeIconProps, type ThemeProps, type ThemeType, ThumbnailSignpost, type ThumbnailSignpostProps, Toast, ToastNotification, type ToastProps, Tooltip, type TooltipProps, Truncate, type TruncateProps, TypographyCard, type TypographyCardProps, UniversalHeader, UniversalHeaderItem, type UniversalHeaderProps, VerticalSpace, type VerticalSpaceProps, VideoPlayer, type VideoPlayerProps, Visible, type VisibleProps, VisuallyHidden, type VisuallyHiddenProps, backgrounds, backgroundsBT, isDateValid, isRangeValid, loadingOptions, parseDateString, parseRangeString, themes, useMediaQuery, useProgressStepperOverflow };
|