@arc-ui/components 13.2.0 → 13.3.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/styles.css +1 -1
- package/lib/Button/styles.css +1 -1
- package/lib/ButtonGroup/styles.css +1 -1
- package/lib/ButtonV2/styles.css +1 -1
- package/lib/Calendar/Calendar.cjs +2 -2
- package/lib/Calendar/Calendar.mjs +2 -2
- package/lib/Calendar/styles.css +1 -1
- package/lib/CardFooter/styles.css +1 -1
- package/lib/CardHeading/styles.css +1 -1
- package/lib/Carousel/Carousel.cjs +1 -1
- package/lib/Carousel/Carousel.mjs +1 -1
- package/lib/Carousel/styles.css +1 -1
- package/lib/Checkbox/styles.css +1 -1
- package/lib/CheckboxIcon/styles.css +1 -1
- package/lib/Columns/styles.css +1 -1
- package/lib/ComboBox/styles.css +1 -1
- package/lib/ContentSwitcher/styles.css +1 -1
- package/lib/ContentSwitcherDropdown/styles.css +1 -1
- package/lib/DatePicker/DatePicker.cjs +2 -2
- package/lib/DatePicker/DatePicker.mjs +2 -2
- 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/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/styles.css +1 -1
- package/lib/GradientPageBackground/GradientPageBackground.cjs +2 -2
- package/lib/GradientPageBackground/GradientPageBackground.mjs +2 -2
- 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/styles.css +1 -1
- package/lib/Hidden/styles.css +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/styles.css +1 -1
- package/lib/InformationCard/InformationCard.cjs +2 -2
- package/lib/InformationCard/InformationCard.mjs +2 -2
- package/lib/InformationCard/styles.css +1 -1
- package/lib/Link/styles.css +1 -1
- package/lib/Markup/styles.css +1 -1
- package/lib/MediaCard/styles.css +1 -1
- package/lib/Menu/styles.css +1 -1
- package/lib/Modal/styles.css +1 -1
- package/lib/NavigationHeader/NavigationHeader.cjs +2 -2
- package/lib/NavigationHeader/NavigationHeader.mjs +2 -2
- package/lib/NavigationHeader/styles.css +1 -1
- package/lib/Pagination/styles.css +1 -1
- package/lib/PaginationSimple/styles.css +1 -1
- package/lib/Popover/styles.css +1 -1
- package/lib/Poster/styles.css +1 -1
- package/lib/ProgressBar/styles.css +1 -1
- package/lib/ProgressStepper/styles.css +1 -1
- package/lib/ProgressStepperOverflow/styles.css +1 -1
- package/lib/RadioCardGroup/styles.css +1 -1
- package/lib/RadioGroup/styles.css +1 -1
- package/lib/Rule/styles.css +1 -1
- package/lib/ScrollToTop/styles.css +1 -1
- package/lib/Section/styles.css +1 -1
- package/lib/Select/styles.css +1 -1
- package/lib/SemanticButton/styles.css +1 -1
- package/lib/SemanticHeading/styles.css +1 -1
- package/lib/SemanticLink/styles.css +1 -1
- package/lib/SiteFooter/styles.css +1 -1
- package/lib/SiteFooterV2/styles.css +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.cjs +1 -1
- package/lib/SiteHeaderV2/SiteHeaderV2.mjs +1 -1
- package/lib/SiteHeaderV2/styles.css +1 -1
- package/lib/Skeleton/styles.css +1 -1
- package/lib/SkipLink/styles.css +1 -1
- package/lib/Spacing/styles.css +1 -1
- package/lib/Spinner/styles.css +1 -1
- package/lib/Surface/styles.css +1 -1
- package/lib/Switch/styles.css +1 -1
- package/lib/TabbedBanner/TabbedBanner.cjs +3 -3
- package/lib/TabbedBanner/TabbedBanner.mjs +3 -3
- package/lib/TabbedBanner/styles.css +1 -1
- package/lib/Tabs/styles.css +1 -1
- package/lib/Tag/styles.css +1 -1
- package/lib/TemplateBanner/TemplateBanner.cjs +3 -3
- package/lib/TemplateBanner/TemplateBanner.mjs +3 -3
- package/lib/TemplateBanner/styles.css +1 -1
- package/lib/Text/styles.css +1 -1
- package/lib/TextArea/styles.css +1 -1
- 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/styles.css +1 -1
- package/lib/Toast/styles.css +1 -1
- package/lib/Tooltip/styles.css +1 -1
- package/lib/Truncate/styles.css +1 -1
- package/lib/TypographyCard/styles.css +1 -1
- package/lib/UniversalHeader/styles.css +1 -1
- package/lib/VerticalSpace/styles.css +1 -1
- 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/{Calendar-B-DmNni2.cjs → Calendar-DzrCblS7.cjs} +1 -1
- package/lib/_shared/cjs/{TemplateBanner-DfzDwiVT.cjs → TemplateBanner-BYuDjH9w.cjs} +1 -1
- package/lib/_shared/cjs/{arc-breakpoints-C3HREhvT.cjs → arc-breakpoints-BuvObBnW.cjs} +1 -1
- package/lib/_shared/cjs/{index.es-D5DdMrn2.cjs → index.es-C4DHJlS_.cjs} +1 -1
- package/lib/_shared/esm/{Calendar-CfEBiAjy.mjs → Calendar-D1dKY2q1.mjs} +1 -1
- package/lib/_shared/esm/{TemplateBanner-oQjgkrBQ.mjs → TemplateBanner-D9LAh6EQ.mjs} +1 -1
- package/lib/_shared/esm/{arc-breakpoints-ANMn37k9.mjs → arc-breakpoints-DEwTuwn3.mjs} +1 -1
- package/lib/_shared/esm/{index.es-Du5Lyvbp.mjs → index.es-mlUVFLmd.mjs} +1 -1
- package/lib/index.cjs +2 -2
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +21 -21
- package/lib/index.d.mts +21 -21
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +2 -2
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +3 -3
- package/package.json +7 -7
package/lib/index.d.cts
CHANGED
|
@@ -58,7 +58,7 @@ interface LinkProps {
|
|
|
58
58
|
/**
|
|
59
59
|
* Configures the size of `Link`.
|
|
60
60
|
*/
|
|
61
|
-
size?: "
|
|
61
|
+
size?: "l" | "m" | "s";
|
|
62
62
|
/**
|
|
63
63
|
* Removes underline if true.
|
|
64
64
|
*/
|
|
@@ -553,7 +553,7 @@ interface ImageProps extends React__default.ImgHTMLAttributes<HTMLImageElement>
|
|
|
553
553
|
|
|
554
554
|
type AvatarImage = Pick<ImageProps, "src" | "loading" | "sizes" | "srcSet" | "width" | "height" | "alt" | "fadeOnLoad">;
|
|
555
555
|
|
|
556
|
-
type AvatarSize = "
|
|
556
|
+
type AvatarSize = "xl" | "l" | "m" | "s";
|
|
557
557
|
|
|
558
558
|
/** Use `Avatar` to visually represent a user. */
|
|
559
559
|
declare const Avatar: ({ img, initials, href, title, ariaLabel, onClick, size, ...props }: AvatarProps) => React__default.JSX.Element;
|
|
@@ -651,7 +651,7 @@ declare const Heading: ({ align, casing, color, children, level, isInline, fontS
|
|
|
651
651
|
type HeadingCasing = "auto" | "none";
|
|
652
652
|
type HeadingColor = "auto" | "brand";
|
|
653
653
|
type HeadingLevel = SemanticHeadingLevel;
|
|
654
|
-
type HeadingSize = "
|
|
654
|
+
type HeadingSize = "xxxl" | "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | "xxxs";
|
|
655
655
|
interface HeadingProps {
|
|
656
656
|
/**
|
|
657
657
|
* Text alignment of the Heading.
|
|
@@ -1079,7 +1079,7 @@ interface ButtonProps extends ButtonElementProps, LinkElementProps$2 {
|
|
|
1079
1079
|
/**
|
|
1080
1080
|
* How should a Button icon be displayed?
|
|
1081
1081
|
*/
|
|
1082
|
-
size?: "
|
|
1082
|
+
size?: "l" | "m" | "s";
|
|
1083
1083
|
/**
|
|
1084
1084
|
* Optional supporting text for the Button.
|
|
1085
1085
|
*/
|
|
@@ -1209,7 +1209,7 @@ interface ButtonV2Props extends ButtonV2ElementProps, LinkElementProps$1 {
|
|
|
1209
1209
|
/**
|
|
1210
1210
|
* Size of `ButtonV2`
|
|
1211
1211
|
*/
|
|
1212
|
-
size?: "
|
|
1212
|
+
size?: "l" | "m" | "s";
|
|
1213
1213
|
/**
|
|
1214
1214
|
* HTML ID for the `ButtonV2`
|
|
1215
1215
|
*/
|
|
@@ -1470,7 +1470,7 @@ interface CheckboxProps extends Omit<CheckedProps$1, "defaultChecked"> {
|
|
|
1470
1470
|
/**
|
|
1471
1471
|
* Size of the Checkbox.
|
|
1472
1472
|
*/
|
|
1473
|
-
size?: "
|
|
1473
|
+
size?: "m" | "s";
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Value for the Checkbox.
|
|
1476
1476
|
*/
|
|
@@ -1538,7 +1538,7 @@ interface CheckboxIconProps extends Omit<CheckedProps, "defaultChecked"> {
|
|
|
1538
1538
|
/**
|
|
1539
1539
|
* Size of the Checkbox.
|
|
1540
1540
|
*/
|
|
1541
|
-
size?: "
|
|
1541
|
+
size?: "m" | "s";
|
|
1542
1542
|
/**
|
|
1543
1543
|
* Value for the Checkbox.
|
|
1544
1544
|
*/
|
|
@@ -1677,7 +1677,7 @@ interface FormControlProps {
|
|
|
1677
1677
|
/**
|
|
1678
1678
|
* Label size.
|
|
1679
1679
|
*/
|
|
1680
|
-
labelSize?: "
|
|
1680
|
+
labelSize?: "l" | "m" | "s";
|
|
1681
1681
|
/**
|
|
1682
1682
|
* Position of Label (Switch component only)
|
|
1683
1683
|
*/
|
|
@@ -1715,7 +1715,7 @@ interface FormControlProps {
|
|
|
1715
1715
|
|
|
1716
1716
|
type FocusHandler = (e: React.FocusEvent<HTMLInputElement, Element>) => void;
|
|
1717
1717
|
|
|
1718
|
-
type InputSize = "
|
|
1718
|
+
type InputSize = "l" | "m" | "s";
|
|
1719
1719
|
|
|
1720
1720
|
/** Use `ComboBox` to assist a text input with a dropdown list of options. */
|
|
1721
1721
|
declare const ComboBox: ({ ref, name, onBlur, onFocus, label, helper, id, hideLabel, isFluid, errorMessage, disclosureTitle, disclosureText, onClickDisclosure, listBoxAriaLabel, prefixIcon, onChange, noResultsSupportingCopy, customOptionSupportingCopy, multiSelectLimit, options: initialOptions, clearButtonTooltip, defaultSelectedValues, defaultValue, size, visibleTagCount, isClearButtonEnabled, isReadOnly, isMultiSelectable, isDisabled, isRequired, isAutocomplete, isCustomEntryAllowed, ...props }: ComboBoxProps) => React__default.JSX.Element;
|
|
@@ -2101,7 +2101,7 @@ interface TextInputComponentProps extends Omit<FormControlProps, "children" | "e
|
|
|
2101
2101
|
/**
|
|
2102
2102
|
* Size of the input.
|
|
2103
2103
|
*/
|
|
2104
|
-
size?: "
|
|
2104
|
+
size?: "l" | "m" | "s";
|
|
2105
2105
|
/**
|
|
2106
2106
|
* Determine the alignment of the text within the input
|
|
2107
2107
|
*/
|
|
@@ -2245,7 +2245,7 @@ interface DisclosureMiniProps {
|
|
|
2245
2245
|
/**
|
|
2246
2246
|
* Disclosure size.
|
|
2247
2247
|
*/
|
|
2248
|
-
size?: "
|
|
2248
|
+
size?: "l" | "s";
|
|
2249
2249
|
}
|
|
2250
2250
|
|
|
2251
2251
|
declare const iconNames: readonly ["alertDismiss", "alertError", "alertGeneral", "alertSuccess", "alertWarning", "avatarUser", "breadcrumbLeft", "breadcrumbRight", "buttonLeft", "buttonRight", "calendarLeft", "calendarRight", "cardRight", "cardPlay", "carouselRight", "carouselLeft", "checkboxChecked", "checkboxError", "comboboxTagRemove", "comboboxAutoComplete", "comboboxSelected", "comboboxNoResults", "comboboxClear", "datePickerCalendar", "disclosureExpand", "disclosureMiniExpand", "downloadFile", "downloadAccessibility", "drawerClose", "formControlAlert", "linkExternal", "modalClose", "navigationHeaderSideMenuBack", "navigationHeaderClose", "navigationHeaderDisclosure", "navigationHeaderArrowRight", "navigationHeaderMenuLinkSmall", "navigationHeaderMenuLinkLarge", "navigationHeaderBasket", "navigationHeaderSearch", "navigationHeaderUser", "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"];
|
|
@@ -2336,7 +2336,7 @@ interface DrawerProps {
|
|
|
2336
2336
|
/**
|
|
2337
2337
|
* Size preset for the drawer. These can be overridden by setting custom `height` (for Bottom position) or `width` (for 'Left, 'Right'). Use 'auto' to hug the `drawer` content.
|
|
2338
2338
|
*/
|
|
2339
|
-
size?: "
|
|
2339
|
+
size?: "l" | "m" | "s" | "auto";
|
|
2340
2340
|
/**
|
|
2341
2341
|
* Set Drawer open or closed.
|
|
2342
2342
|
*/
|
|
@@ -2840,7 +2840,7 @@ interface CardFooterProps {
|
|
|
2840
2840
|
/**
|
|
2841
2841
|
* Size of the button.
|
|
2842
2842
|
*/
|
|
2843
|
-
buttonSize?: "
|
|
2843
|
+
buttonSize?: "m" | "s";
|
|
2844
2844
|
/**
|
|
2845
2845
|
* Whether to show the button.
|
|
2846
2846
|
*/
|
|
@@ -3611,7 +3611,7 @@ interface ModalProps {
|
|
|
3611
3611
|
/**
|
|
3612
3612
|
* Size of the modal dialog.
|
|
3613
3613
|
*/
|
|
3614
|
-
size?: "
|
|
3614
|
+
size?: "l" | "m" | "s";
|
|
3615
3615
|
/**
|
|
3616
3616
|
* Set modal open or closed.
|
|
3617
3617
|
*/
|
|
@@ -4322,7 +4322,7 @@ interface RadioGroupProps extends Omit<FormControlProps, "children" | "elementTy
|
|
|
4322
4322
|
/**
|
|
4323
4323
|
* Size of the RadioGroup
|
|
4324
4324
|
*/
|
|
4325
|
-
size?: "
|
|
4325
|
+
size?: "l" | "s";
|
|
4326
4326
|
/**
|
|
4327
4327
|
* Error message for the RadioGroup
|
|
4328
4328
|
*/
|
|
@@ -4340,7 +4340,7 @@ type ContextProps = {
|
|
|
4340
4340
|
groupDisabled: boolean;
|
|
4341
4341
|
checkedValue?: string;
|
|
4342
4342
|
name: string;
|
|
4343
|
-
size: "
|
|
4343
|
+
size: "l" | "s";
|
|
4344
4344
|
};
|
|
4345
4345
|
|
|
4346
4346
|
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;
|
|
@@ -4596,7 +4596,7 @@ interface SelectProps extends Omit<FormControlProps, "children" | "elementType"
|
|
|
4596
4596
|
/**
|
|
4597
4597
|
* determine the size of the select.
|
|
4598
4598
|
*/
|
|
4599
|
-
size?: "
|
|
4599
|
+
size?: "l" | "m" | "s";
|
|
4600
4600
|
/**
|
|
4601
4601
|
* Sets the Select to 100% width.
|
|
4602
4602
|
*/
|
|
@@ -5131,7 +5131,7 @@ interface SpacingProps {
|
|
|
5131
5131
|
* Use `Spinner` to display a loading state.
|
|
5132
5132
|
*/
|
|
5133
5133
|
declare const Spinner: ({ size, color, ...props }: SpinnerProps) => React__default.JSX.Element;
|
|
5134
|
-
type SpinnerSize = "
|
|
5134
|
+
type SpinnerSize = "xxl" | "xl" | "l" | "m" | "s";
|
|
5135
5135
|
interface SpinnerProps {
|
|
5136
5136
|
/**
|
|
5137
5137
|
* Colour options. If no `color` option defined, the colour will use currentColor.
|
|
@@ -5173,7 +5173,7 @@ interface SwitchProps extends Omit<FormControlProps, "children" | "elementType"
|
|
|
5173
5173
|
/**
|
|
5174
5174
|
* Size of the Switch.
|
|
5175
5175
|
*/
|
|
5176
|
-
size?: "
|
|
5176
|
+
size?: "m" | "s";
|
|
5177
5177
|
/**
|
|
5178
5178
|
* set the switch to be checked by default
|
|
5179
5179
|
*/
|
|
@@ -5366,7 +5366,7 @@ interface TagProps {
|
|
|
5366
5366
|
*/
|
|
5367
5367
|
declare const Text: ({ align, children, id, isInline, isMeasured, size, tone, elementType, ...props }: TextProps) => React__default.JSX.Element;
|
|
5368
5368
|
type Tone = "default" | "supporting" | "muted";
|
|
5369
|
-
type TextSize = "
|
|
5369
|
+
type TextSize = "l" | "m" | "s" | "xs";
|
|
5370
5370
|
interface TextProps {
|
|
5371
5371
|
/**
|
|
5372
5372
|
* Alignment of the Text.
|
|
@@ -5574,7 +5574,7 @@ interface InputIconProps {
|
|
|
5574
5574
|
/**
|
|
5575
5575
|
* Pass in TextInput size to Icon.
|
|
5576
5576
|
*/
|
|
5577
|
-
size?: "
|
|
5577
|
+
size?: "l" | "m" | "s";
|
|
5578
5578
|
/**
|
|
5579
5579
|
* Set a Tooltip to appear on hover.
|
|
5580
5580
|
*/
|
package/lib/index.d.mts
CHANGED
|
@@ -58,7 +58,7 @@ interface LinkProps {
|
|
|
58
58
|
/**
|
|
59
59
|
* Configures the size of `Link`.
|
|
60
60
|
*/
|
|
61
|
-
size?: "
|
|
61
|
+
size?: "l" | "m" | "s";
|
|
62
62
|
/**
|
|
63
63
|
* Removes underline if true.
|
|
64
64
|
*/
|
|
@@ -553,7 +553,7 @@ interface ImageProps extends React__default.ImgHTMLAttributes<HTMLImageElement>
|
|
|
553
553
|
|
|
554
554
|
type AvatarImage = Pick<ImageProps, "src" | "loading" | "sizes" | "srcSet" | "width" | "height" | "alt" | "fadeOnLoad">;
|
|
555
555
|
|
|
556
|
-
type AvatarSize = "
|
|
556
|
+
type AvatarSize = "xl" | "l" | "m" | "s";
|
|
557
557
|
|
|
558
558
|
/** Use `Avatar` to visually represent a user. */
|
|
559
559
|
declare const Avatar: ({ img, initials, href, title, ariaLabel, onClick, size, ...props }: AvatarProps) => React__default.JSX.Element;
|
|
@@ -651,7 +651,7 @@ declare const Heading: ({ align, casing, color, children, level, isInline, fontS
|
|
|
651
651
|
type HeadingCasing = "auto" | "none";
|
|
652
652
|
type HeadingColor = "auto" | "brand";
|
|
653
653
|
type HeadingLevel = SemanticHeadingLevel;
|
|
654
|
-
type HeadingSize = "
|
|
654
|
+
type HeadingSize = "xxxl" | "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | "xxxs";
|
|
655
655
|
interface HeadingProps {
|
|
656
656
|
/**
|
|
657
657
|
* Text alignment of the Heading.
|
|
@@ -1079,7 +1079,7 @@ interface ButtonProps extends ButtonElementProps, LinkElementProps$2 {
|
|
|
1079
1079
|
/**
|
|
1080
1080
|
* How should a Button icon be displayed?
|
|
1081
1081
|
*/
|
|
1082
|
-
size?: "
|
|
1082
|
+
size?: "l" | "m" | "s";
|
|
1083
1083
|
/**
|
|
1084
1084
|
* Optional supporting text for the Button.
|
|
1085
1085
|
*/
|
|
@@ -1209,7 +1209,7 @@ interface ButtonV2Props extends ButtonV2ElementProps, LinkElementProps$1 {
|
|
|
1209
1209
|
/**
|
|
1210
1210
|
* Size of `ButtonV2`
|
|
1211
1211
|
*/
|
|
1212
|
-
size?: "
|
|
1212
|
+
size?: "l" | "m" | "s";
|
|
1213
1213
|
/**
|
|
1214
1214
|
* HTML ID for the `ButtonV2`
|
|
1215
1215
|
*/
|
|
@@ -1470,7 +1470,7 @@ interface CheckboxProps extends Omit<CheckedProps$1, "defaultChecked"> {
|
|
|
1470
1470
|
/**
|
|
1471
1471
|
* Size of the Checkbox.
|
|
1472
1472
|
*/
|
|
1473
|
-
size?: "
|
|
1473
|
+
size?: "m" | "s";
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Value for the Checkbox.
|
|
1476
1476
|
*/
|
|
@@ -1538,7 +1538,7 @@ interface CheckboxIconProps extends Omit<CheckedProps, "defaultChecked"> {
|
|
|
1538
1538
|
/**
|
|
1539
1539
|
* Size of the Checkbox.
|
|
1540
1540
|
*/
|
|
1541
|
-
size?: "
|
|
1541
|
+
size?: "m" | "s";
|
|
1542
1542
|
/**
|
|
1543
1543
|
* Value for the Checkbox.
|
|
1544
1544
|
*/
|
|
@@ -1677,7 +1677,7 @@ interface FormControlProps {
|
|
|
1677
1677
|
/**
|
|
1678
1678
|
* Label size.
|
|
1679
1679
|
*/
|
|
1680
|
-
labelSize?: "
|
|
1680
|
+
labelSize?: "l" | "m" | "s";
|
|
1681
1681
|
/**
|
|
1682
1682
|
* Position of Label (Switch component only)
|
|
1683
1683
|
*/
|
|
@@ -1715,7 +1715,7 @@ interface FormControlProps {
|
|
|
1715
1715
|
|
|
1716
1716
|
type FocusHandler = (e: React.FocusEvent<HTMLInputElement, Element>) => void;
|
|
1717
1717
|
|
|
1718
|
-
type InputSize = "
|
|
1718
|
+
type InputSize = "l" | "m" | "s";
|
|
1719
1719
|
|
|
1720
1720
|
/** Use `ComboBox` to assist a text input with a dropdown list of options. */
|
|
1721
1721
|
declare const ComboBox: ({ ref, name, onBlur, onFocus, label, helper, id, hideLabel, isFluid, errorMessage, disclosureTitle, disclosureText, onClickDisclosure, listBoxAriaLabel, prefixIcon, onChange, noResultsSupportingCopy, customOptionSupportingCopy, multiSelectLimit, options: initialOptions, clearButtonTooltip, defaultSelectedValues, defaultValue, size, visibleTagCount, isClearButtonEnabled, isReadOnly, isMultiSelectable, isDisabled, isRequired, isAutocomplete, isCustomEntryAllowed, ...props }: ComboBoxProps) => React__default.JSX.Element;
|
|
@@ -2101,7 +2101,7 @@ interface TextInputComponentProps extends Omit<FormControlProps, "children" | "e
|
|
|
2101
2101
|
/**
|
|
2102
2102
|
* Size of the input.
|
|
2103
2103
|
*/
|
|
2104
|
-
size?: "
|
|
2104
|
+
size?: "l" | "m" | "s";
|
|
2105
2105
|
/**
|
|
2106
2106
|
* Determine the alignment of the text within the input
|
|
2107
2107
|
*/
|
|
@@ -2245,7 +2245,7 @@ interface DisclosureMiniProps {
|
|
|
2245
2245
|
/**
|
|
2246
2246
|
* Disclosure size.
|
|
2247
2247
|
*/
|
|
2248
|
-
size?: "
|
|
2248
|
+
size?: "l" | "s";
|
|
2249
2249
|
}
|
|
2250
2250
|
|
|
2251
2251
|
declare const iconNames: readonly ["alertDismiss", "alertError", "alertGeneral", "alertSuccess", "alertWarning", "avatarUser", "breadcrumbLeft", "breadcrumbRight", "buttonLeft", "buttonRight", "calendarLeft", "calendarRight", "cardRight", "cardPlay", "carouselRight", "carouselLeft", "checkboxChecked", "checkboxError", "comboboxTagRemove", "comboboxAutoComplete", "comboboxSelected", "comboboxNoResults", "comboboxClear", "datePickerCalendar", "disclosureExpand", "disclosureMiniExpand", "downloadFile", "downloadAccessibility", "drawerClose", "formControlAlert", "linkExternal", "modalClose", "navigationHeaderSideMenuBack", "navigationHeaderClose", "navigationHeaderDisclosure", "navigationHeaderArrowRight", "navigationHeaderMenuLinkSmall", "navigationHeaderMenuLinkLarge", "navigationHeaderBasket", "navigationHeaderSearch", "navigationHeaderUser", "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"];
|
|
@@ -2336,7 +2336,7 @@ interface DrawerProps {
|
|
|
2336
2336
|
/**
|
|
2337
2337
|
* Size preset for the drawer. These can be overridden by setting custom `height` (for Bottom position) or `width` (for 'Left, 'Right'). Use 'auto' to hug the `drawer` content.
|
|
2338
2338
|
*/
|
|
2339
|
-
size?: "
|
|
2339
|
+
size?: "l" | "m" | "s" | "auto";
|
|
2340
2340
|
/**
|
|
2341
2341
|
* Set Drawer open or closed.
|
|
2342
2342
|
*/
|
|
@@ -2840,7 +2840,7 @@ interface CardFooterProps {
|
|
|
2840
2840
|
/**
|
|
2841
2841
|
* Size of the button.
|
|
2842
2842
|
*/
|
|
2843
|
-
buttonSize?: "
|
|
2843
|
+
buttonSize?: "m" | "s";
|
|
2844
2844
|
/**
|
|
2845
2845
|
* Whether to show the button.
|
|
2846
2846
|
*/
|
|
@@ -3611,7 +3611,7 @@ interface ModalProps {
|
|
|
3611
3611
|
/**
|
|
3612
3612
|
* Size of the modal dialog.
|
|
3613
3613
|
*/
|
|
3614
|
-
size?: "
|
|
3614
|
+
size?: "l" | "m" | "s";
|
|
3615
3615
|
/**
|
|
3616
3616
|
* Set modal open or closed.
|
|
3617
3617
|
*/
|
|
@@ -4322,7 +4322,7 @@ interface RadioGroupProps extends Omit<FormControlProps, "children" | "elementTy
|
|
|
4322
4322
|
/**
|
|
4323
4323
|
* Size of the RadioGroup
|
|
4324
4324
|
*/
|
|
4325
|
-
size?: "
|
|
4325
|
+
size?: "l" | "s";
|
|
4326
4326
|
/**
|
|
4327
4327
|
* Error message for the RadioGroup
|
|
4328
4328
|
*/
|
|
@@ -4340,7 +4340,7 @@ type ContextProps = {
|
|
|
4340
4340
|
groupDisabled: boolean;
|
|
4341
4341
|
checkedValue?: string;
|
|
4342
4342
|
name: string;
|
|
4343
|
-
size: "
|
|
4343
|
+
size: "l" | "s";
|
|
4344
4344
|
};
|
|
4345
4345
|
|
|
4346
4346
|
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;
|
|
@@ -4596,7 +4596,7 @@ interface SelectProps extends Omit<FormControlProps, "children" | "elementType"
|
|
|
4596
4596
|
/**
|
|
4597
4597
|
* determine the size of the select.
|
|
4598
4598
|
*/
|
|
4599
|
-
size?: "
|
|
4599
|
+
size?: "l" | "m" | "s";
|
|
4600
4600
|
/**
|
|
4601
4601
|
* Sets the Select to 100% width.
|
|
4602
4602
|
*/
|
|
@@ -5131,7 +5131,7 @@ interface SpacingProps {
|
|
|
5131
5131
|
* Use `Spinner` to display a loading state.
|
|
5132
5132
|
*/
|
|
5133
5133
|
declare const Spinner: ({ size, color, ...props }: SpinnerProps) => React__default.JSX.Element;
|
|
5134
|
-
type SpinnerSize = "
|
|
5134
|
+
type SpinnerSize = "xxl" | "xl" | "l" | "m" | "s";
|
|
5135
5135
|
interface SpinnerProps {
|
|
5136
5136
|
/**
|
|
5137
5137
|
* Colour options. If no `color` option defined, the colour will use currentColor.
|
|
@@ -5173,7 +5173,7 @@ interface SwitchProps extends Omit<FormControlProps, "children" | "elementType"
|
|
|
5173
5173
|
/**
|
|
5174
5174
|
* Size of the Switch.
|
|
5175
5175
|
*/
|
|
5176
|
-
size?: "
|
|
5176
|
+
size?: "m" | "s";
|
|
5177
5177
|
/**
|
|
5178
5178
|
* set the switch to be checked by default
|
|
5179
5179
|
*/
|
|
@@ -5366,7 +5366,7 @@ interface TagProps {
|
|
|
5366
5366
|
*/
|
|
5367
5367
|
declare const Text: ({ align, children, id, isInline, isMeasured, size, tone, elementType, ...props }: TextProps) => React__default.JSX.Element;
|
|
5368
5368
|
type Tone = "default" | "supporting" | "muted";
|
|
5369
|
-
type TextSize = "
|
|
5369
|
+
type TextSize = "l" | "m" | "s" | "xs";
|
|
5370
5370
|
interface TextProps {
|
|
5371
5371
|
/**
|
|
5372
5372
|
* Alignment of the Text.
|
|
@@ -5574,7 +5574,7 @@ interface InputIconProps {
|
|
|
5574
5574
|
/**
|
|
5575
5575
|
* Pass in TextInput size to Icon.
|
|
5576
5576
|
*/
|
|
5577
|
-
size?: "
|
|
5577
|
+
size?: "l" | "m" | "s";
|
|
5578
5578
|
/**
|
|
5579
5579
|
* Set a Tooltip to appear on hover.
|
|
5580
5580
|
*/
|