@czi-sds/components 23.4.0 → 23.5.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/dist/index.cjs.d.ts +15 -2
- package/dist/index.cjs.js +142 -31
- package/dist/index.esm.d.ts +15 -2
- package/dist/index.esm.js +143 -33
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/index.cjs.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ import { MenuProps as RawMenuProps } from "@mui/material";
|
|
|
32
32
|
import { ChipProps as ChipProps$0 } from "@mui/material";
|
|
33
33
|
import { LinkProps as LinkProps$0 } from "@mui/material";
|
|
34
34
|
import { MenuProps as MenuProps$0 } from "@mui/material";
|
|
35
|
+
import { PopoverProps as RawPopoverProps } from "@mui/material";
|
|
35
36
|
import { TabProps as RawTabProps } from "@mui/material";
|
|
36
37
|
import { TabsProps as RawTabsProps } from "@mui/material";
|
|
37
38
|
import React from "react";
|
|
@@ -2252,6 +2253,11 @@ type PanelProps = BasicPanelProps | OverlayPanelProps;
|
|
|
2252
2253
|
* @see https://mui.com/material-ui/react-drawer/
|
|
2253
2254
|
*/
|
|
2254
2255
|
declare const Panel: React.ForwardRefExoticComponent<(Omit<BasicPanelProps, "ref"> | Omit<OverlayPanelProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
2256
|
+
type PopoverProps = RawPopoverProps;
|
|
2257
|
+
/**
|
|
2258
|
+
* @see https://mui.com/material-ui/react-popover/
|
|
2259
|
+
*/
|
|
2260
|
+
declare const Popover: import("react").ForwardRefExoticComponent<Omit<RawPopoverProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
2255
2261
|
interface RowExtraProps extends CommonThemeProps, Omit<React.HTMLProps<HTMLTableRowElement>, "as" | "rev"> {
|
|
2256
2262
|
rowHeight?: number;
|
|
2257
2263
|
useDivider?: boolean;
|
|
@@ -2308,7 +2314,14 @@ declare const PreComposedTable: <TData extends unknown>({ data, columns, border,
|
|
|
2308
2314
|
// first item in array first button, etc
|
|
2309
2315
|
interface SingleButtonDefinition {
|
|
2310
2316
|
disabled?: boolean;
|
|
2311
|
-
icon
|
|
2317
|
+
icon?: keyof IconNameToSizes | React.ReactElement<CustomSVGProps>;
|
|
2318
|
+
label?: string;
|
|
2319
|
+
shouldShowTooltip?: boolean;
|
|
2320
|
+
tooltipProps?: Partial<Omit<TooltipProps, "children">>;
|
|
2321
|
+
/**
|
|
2322
|
+
* @deprecated Use `tooltipProps` instead.
|
|
2323
|
+
* Example: `{ tooltipProps: { title: "My tooltip" } }`
|
|
2324
|
+
*/
|
|
2312
2325
|
tooltipText?: string;
|
|
2313
2326
|
value: string;
|
|
2314
2327
|
}
|
|
@@ -2424,5 +2437,5 @@ interface DiscreteColorGeneratorOptions {
|
|
|
2424
2437
|
* @returns Array of color strings in hex format
|
|
2425
2438
|
*/
|
|
2426
2439
|
declare const generateDiscreteColors: (count: number, options?: DiscreteColorGeneratorOptions) => string[];
|
|
2427
|
-
export { AccordionDetails, AccordionHeader, AccordionProps, Accordion, Alert, AutocompleteSingleColumnOption, AutocompleteMultiColumnOption, SDSAutocompleteOptions, AutocompleteMultiColumnValue, AutocompleteSingleColumnValue, SDSAutocompleteValue, AutocompleteSingleColumnOnChange, AutocompleteMultiColumnOnChange, SDSAutocompleteOnChange, AutocompleteProps$0 as AutocompleteProps, StyledPopper as AutocompleteMultiColumnStyledPopper, StyledPaper$0 as AutocompleteSingleColumnStyledPaper, Autocomplete$0 as Autocomplete, BannerIntentType, BannerProps, Banner, Button, ButtonDropdown, isIconOnlyButton, ButtonGroup, ButtonIconInternalProps, ButtonIconProps, ButtonIcon, ButtonToggle, ButtonLegacyType, ButtonLegacyTypeMap, ButtonLegacySize, SdsIconButtonLegacyProps, SdsMinimalButtonLegacyProps, SdsButtonLegacyProps, SdsLegacyProps, ButtonLegacyProps, ButtonLegacy, ButtonDropdownLegacyProps, ButtonDropdownLegacy, ButtonToggleLegacyProps, ButtonToggleLegacy, CalloutIntentType, CalloutSdsStyleType, CalloutProps, ExposedCalloutProps, Callout, CalloutTitle, CellBasicRawProps, CellBasicProps, CellBasic, CellComponentProps, CellComponent, CellHeaderDirection, CellHeaderProps, CellHeader, Chip, DropdownInputDropdown as ComplexFilterInputDropdown, DropdownPopper as ComplexFilterPopper, ComplexFilterProps, ComplexFilter, ContentCardActions, StyledContentCardBody as ContentCardBody, CardMedia as ContentCardMedia, StyledTitleText as ContentCardTitle, StyledSubtitleText as ContentCardSubtitle, StyledMetadataText as ContentCardMetadata, StyledOverlineText as ContentCardOverline, ContentCard, DialogExtraProps, DialogProps, Dialog, DialogActionsProps, DialogActions, DialogContentProps, _default, _default as DialogContent, DialogPaperProps, DialogPaper, Subtitle as DialogTitleSubtitle, Title as DialogTitleTitle, Overline as DialogTitleOverline, DialogTitleProps, DialogTitle, InputDropdown as DropdownInputDropdown, InputDropdown, StyledPaper$1 as DropdownPaper, StyledPopper$1 as DropdownPopper, ExtraDropdownProps, DropdownProps, Dropdown, DefaultDropdownMenuOption, MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, DropdownMenuProps, DropdownMenu, Hero, SdsIconWithColor$0 as SdsIconWithColor, IconProps, Icon, CheckboxContentProps, CheckboxProps, InputCheckbox, InputDropdownProps$0 as InputDropdownProps, RadioContentProps, RadioProps, InputRadio, AccessibleInputSearchProps, InputSearchProps, InputSearch, InputSliderProps, InputSlider, InputTextProps, InputText, InputToggle, IntentMessage, Legend, LinkProps, Link, ListProps, List, ListItemLabel, ListItemProps, ListItem, ListSubheaderProps, ListSubheader, LoadingIndicatorProps$0 as LoadingIndicatorProps, LoadingIndicator, MenuProps, Menu, IconNameToSmallSizes, MenuItemExtraProps, MenuItemProps, MenuItem, DefaultMenuSelectOption, MenuSelectProps, MenuSelect, NavigationFooterNavItem, FooterImage, NavigationFooterProps, NavItemProps, FooterLinkProps, NavigationFooter, NavigationHeader, NavigationJumpToProps, NavigationJumpTo, NotificationIntentType, NotificationProps, ExposedNotificationProps, Notification, PaginationInternalProps, PaginationProps, Pagination, Panel, PreComposedTableProps, RowHoverContext, PreComposedTable, SingleButtonDefinition, SegmentedControlProps, SegmentedControl, SdsTableProps, TableProps, Table, TableHeaderProps, TableHeader, TableRowProps, TableRow, Tabs, TabProps$0 as TabProps, Tab, SdsTagProps, TagProps, Tag, SdsTagFilterProps, TagFilterProps, TagFilter, Tooltip, TooltipCondensedProps, TooltipCondensed, TooltipTableContent, TooltipTableContent as TooltipTable, AccentColor, BaseColor, IntentColor, SDSPalette, SDSTheme, SDSThemeOptions, AppTheme, Shadows, TypographyStyles, Typography, FontWeights, Corners, Spaces, Spacings, Color, Colors, IconSize, IconSizes, Border, Borders, Theme$0 as Theme, defaultTheme, SDSDarkThemeColors, SDSLightThemeColors, makeSdsSemanticAppTheme, SDSLightAppTheme, SDSDarkAppTheme, SDSChooseTheme, defaultAppTheme, SDSPaletteLight, SDSPaletteDark, makeThemeOptions, focusVisibleA11yStyle, fontBody, fontBodyL, fontBodyM, fontBodyS, fontBodyXs, fontBodyXxs, fontBodyXxxs, fontBodyXxxxs, fontBodyMediumL, fontBodyMediumM, fontBodyMediumS, fontBodyMediumXs, fontBodyMediumXxs, fontBodyMediumXxxs, fontBodyMediumXxxxs, fontBodySemiboldL, fontBodySemiboldM, fontBodySemiboldS, fontBodySemiboldXs, fontBodySemiboldXxs, fontBodySemiboldXxxs, fontBodySemiboldXxxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontHeader, fontHeaderXxl, fontHeaderXl, fontHeaderL, fontHeaderM, fontHeaderS, fontHeaderXs, fontHeaderXxs, fontHeaderXxxs, fontCode, fontCodeXs, fontCodeS, fontCodeMediumXs, fontCodeMediumS, fontCodeSemiboldXs, fontCodeSemiboldS, fontTabular, fontTabularXxxxs, fontTabularXxxs, fontTabularXxs, fontTabularXs, fontTabularS, fontTabularMediumXxxxs, fontTabularMediumXxxs, fontTabularMediumXxs, fontTabularMediumXs, fontTabularMediumS, fontTabularSemiboldXxxxs, fontTabularSemiboldXxxs, fontTabularSemiboldXxs, fontTabularSemiboldXs, fontTabularSemiboldS, fontTitle, fontTitleBoldS, fontTitleBoldM, fontTitleBoldL, fontLink, fontLinkL, fontLinkM, fontLinkS, fontLinkXs, fontLinkXxs, fontLinkXxxs, fontLinkXxxxs, fontLinkMediumL, fontLinkMediumM, fontLinkMediumS, fontLinkMediumXs, fontLinkMediumXxs, fontLinkMediumXxxs, fontLinkMediumXxxxs, fontLinkSemiboldL, fontLinkSemiboldM, fontLinkSemiboldS, fontLinkSemiboldXs, fontLinkSemiboldXxs, fontLinkSemiboldXxxs, fontLinkSemiboldXxxxs, CommonThemeProps, getSpaces, getSpacings, getTypography, getMode, getPalette, getColors, getSemanticColors, getShadows, getCorners, getFontWeights, getIconSizes, getBorders, getBreakpoints, DiscreteColorGeneratorOptions, generateDiscreteColors };
|
|
2440
|
+
export { AccordionDetails, AccordionHeader, AccordionProps, Accordion, Alert, AutocompleteSingleColumnOption, AutocompleteMultiColumnOption, SDSAutocompleteOptions, AutocompleteMultiColumnValue, AutocompleteSingleColumnValue, SDSAutocompleteValue, AutocompleteSingleColumnOnChange, AutocompleteMultiColumnOnChange, SDSAutocompleteOnChange, AutocompleteProps$0 as AutocompleteProps, StyledPopper as AutocompleteMultiColumnStyledPopper, StyledPaper$0 as AutocompleteSingleColumnStyledPaper, Autocomplete$0 as Autocomplete, BannerIntentType, BannerProps, Banner, Button, ButtonDropdown, isIconOnlyButton, ButtonGroup, ButtonIconInternalProps, ButtonIconProps, ButtonIcon, ButtonToggle, ButtonLegacyType, ButtonLegacyTypeMap, ButtonLegacySize, SdsIconButtonLegacyProps, SdsMinimalButtonLegacyProps, SdsButtonLegacyProps, SdsLegacyProps, ButtonLegacyProps, ButtonLegacy, ButtonDropdownLegacyProps, ButtonDropdownLegacy, ButtonToggleLegacyProps, ButtonToggleLegacy, CalloutIntentType, CalloutSdsStyleType, CalloutProps, ExposedCalloutProps, Callout, CalloutTitle, CellBasicRawProps, CellBasicProps, CellBasic, CellComponentProps, CellComponent, CellHeaderDirection, CellHeaderProps, CellHeader, Chip, DropdownInputDropdown as ComplexFilterInputDropdown, DropdownPopper as ComplexFilterPopper, ComplexFilterProps, ComplexFilter, ContentCardActions, StyledContentCardBody as ContentCardBody, CardMedia as ContentCardMedia, StyledTitleText as ContentCardTitle, StyledSubtitleText as ContentCardSubtitle, StyledMetadataText as ContentCardMetadata, StyledOverlineText as ContentCardOverline, ContentCard, DialogExtraProps, DialogProps, Dialog, DialogActionsProps, DialogActions, DialogContentProps, _default, _default as DialogContent, DialogPaperProps, DialogPaper, Subtitle as DialogTitleSubtitle, Title as DialogTitleTitle, Overline as DialogTitleOverline, DialogTitleProps, DialogTitle, InputDropdown as DropdownInputDropdown, InputDropdown, StyledPaper$1 as DropdownPaper, StyledPopper$1 as DropdownPopper, ExtraDropdownProps, DropdownProps, Dropdown, DefaultDropdownMenuOption, MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, DropdownMenuProps, DropdownMenu, Hero, SdsIconWithColor$0 as SdsIconWithColor, IconProps, Icon, CheckboxContentProps, CheckboxProps, InputCheckbox, InputDropdownProps$0 as InputDropdownProps, RadioContentProps, RadioProps, InputRadio, AccessibleInputSearchProps, InputSearchProps, InputSearch, InputSliderProps, InputSlider, InputTextProps, InputText, InputToggle, IntentMessage, Legend, LinkProps, Link, ListProps, List, ListItemLabel, ListItemProps, ListItem, ListSubheaderProps, ListSubheader, LoadingIndicatorProps$0 as LoadingIndicatorProps, LoadingIndicator, MenuProps, Menu, IconNameToSmallSizes, MenuItemExtraProps, MenuItemProps, MenuItem, DefaultMenuSelectOption, MenuSelectProps, MenuSelect, NavigationFooterNavItem, FooterImage, NavigationFooterProps, NavItemProps, FooterLinkProps, NavigationFooter, NavigationHeader, NavigationJumpToProps, NavigationJumpTo, NotificationIntentType, NotificationProps, ExposedNotificationProps, Notification, PaginationInternalProps, PaginationProps, Pagination, Panel, PopoverProps, Popover, PreComposedTableProps, RowHoverContext, PreComposedTable, SingleButtonDefinition, SegmentedControlProps, SegmentedControl, SdsTableProps, TableProps, Table, TableHeaderProps, TableHeader, TableRowProps, TableRow, Tabs, TabProps$0 as TabProps, Tab, SdsTagProps, TagProps, Tag, SdsTagFilterProps, TagFilterProps, TagFilter, Tooltip, TooltipCondensedProps, TooltipCondensed, TooltipTableContent, TooltipTableContent as TooltipTable, AccentColor, BaseColor, IntentColor, SDSPalette, SDSTheme, SDSThemeOptions, AppTheme, Shadows, TypographyStyles, Typography, FontWeights, Corners, Spaces, Spacings, Color, Colors, IconSize, IconSizes, Border, Borders, Theme$0 as Theme, defaultTheme, SDSDarkThemeColors, SDSLightThemeColors, makeSdsSemanticAppTheme, SDSLightAppTheme, SDSDarkAppTheme, SDSChooseTheme, defaultAppTheme, SDSPaletteLight, SDSPaletteDark, makeThemeOptions, focusVisibleA11yStyle, fontBody, fontBodyL, fontBodyM, fontBodyS, fontBodyXs, fontBodyXxs, fontBodyXxxs, fontBodyXxxxs, fontBodyMediumL, fontBodyMediumM, fontBodyMediumS, fontBodyMediumXs, fontBodyMediumXxs, fontBodyMediumXxxs, fontBodyMediumXxxxs, fontBodySemiboldL, fontBodySemiboldM, fontBodySemiboldS, fontBodySemiboldXs, fontBodySemiboldXxs, fontBodySemiboldXxxs, fontBodySemiboldXxxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontHeader, fontHeaderXxl, fontHeaderXl, fontHeaderL, fontHeaderM, fontHeaderS, fontHeaderXs, fontHeaderXxs, fontHeaderXxxs, fontCode, fontCodeXs, fontCodeS, fontCodeMediumXs, fontCodeMediumS, fontCodeSemiboldXs, fontCodeSemiboldS, fontTabular, fontTabularXxxxs, fontTabularXxxs, fontTabularXxs, fontTabularXs, fontTabularS, fontTabularMediumXxxxs, fontTabularMediumXxxs, fontTabularMediumXxs, fontTabularMediumXs, fontTabularMediumS, fontTabularSemiboldXxxxs, fontTabularSemiboldXxxs, fontTabularSemiboldXxs, fontTabularSemiboldXs, fontTabularSemiboldS, fontTitle, fontTitleBoldS, fontTitleBoldM, fontTitleBoldL, fontLink, fontLinkL, fontLinkM, fontLinkS, fontLinkXs, fontLinkXxs, fontLinkXxxs, fontLinkXxxxs, fontLinkMediumL, fontLinkMediumM, fontLinkMediumS, fontLinkMediumXs, fontLinkMediumXxs, fontLinkMediumXxxs, fontLinkMediumXxxxs, fontLinkSemiboldL, fontLinkSemiboldM, fontLinkSemiboldS, fontLinkSemiboldXs, fontLinkSemiboldXxs, fontLinkSemiboldXxxs, fontLinkSemiboldXxxxs, CommonThemeProps, getSpaces, getSpacings, getTypography, getMode, getPalette, getColors, getSemanticColors, getShadows, getCorners, getFontWeights, getIconSizes, getBorders, getBreakpoints, DiscreteColorGeneratorOptions, generateDiscreteColors };
|
|
2428
2441
|
export type { AutocompleteBaseProps, AutocompleteMultiColumnProps, AutocompleteOptionBasic, AutocompleteOptionComponent, DefaultAutocompleteOption, ButtonProps, ButtonDropdownProps, ButtonGroupProps, ButtonToggleProps, ChipProps, ContentCardProps, CardMediaProps as ContentCardMediaProps, ContentCardActionsProps, ContentCardTitleProps, HeroProps, IconNameToSizes, InputToggleExtraProps as InputToggleProps, IntentMessageItem, IntentMessageProps, LegendProps, LegendItemData, NavigationHeaderProps, IconButtonProps, NavigationHeaderPrimaryNavItem, NavigationHeaderPrimaryNavProps, NavigationHeaderSecondaryNavItem, NavigationHeaderSecondaryNavProps, PanelProps, BasicPanelProps, OverlayPanelProps, TabsProps$0 as TabsProps, SdsTagColorType, TooltipProps, TooltipTableContentProps };
|
package/dist/index.cjs.js
CHANGED
|
@@ -7397,6 +7397,9 @@ var SDSWarningTypes;
|
|
|
7397
7397
|
SDSWarningTypes["TooltipInvertStyle"] = "tooltipInvertStyle";
|
|
7398
7398
|
SDSWarningTypes["ContentCardActionsOnlyButtons"] = "contentCardActionsOnlyButtons";
|
|
7399
7399
|
SDSWarningTypes["ClickableContentCardNumberOfButtons"] = "clickableContentCardNumberOfButtons";
|
|
7400
|
+
SDSWarningTypes["SegmentedControlTooltipTextDeprecated"] = "segmentedControlTooltipTextDeprecated";
|
|
7401
|
+
SDSWarningTypes["SegmentedControlMissingIconOrLabel"] = "segmentedControlMissingIconOrLabel";
|
|
7402
|
+
SDSWarningTypes["SegmentedControlIconAndLabelConflict"] = "segmentedControlIconAndLabelConflict";
|
|
7400
7403
|
})(SDSWarningTypes || (SDSWarningTypes = {}));
|
|
7401
7404
|
const SDS_WARNINGS = {
|
|
7402
7405
|
[SDSWarningTypes.ButtonMinimalIsAllCaps]: {
|
|
@@ -7454,6 +7457,21 @@ const SDS_WARNINGS = {
|
|
|
7454
7457
|
[SDSWarningTypes.ClickableContentCardNumberOfButtons]: {
|
|
7455
7458
|
hasWarned: false,
|
|
7456
7459
|
message: "Warning: Clickable Content Cards can only have one or no buttons!"
|
|
7460
|
+
},
|
|
7461
|
+
[SDSWarningTypes.SegmentedControlTooltipTextDeprecated]: {
|
|
7462
|
+
hasWarned: false,
|
|
7463
|
+
message: 'Warning: "tooltipText" in SegmentedControl buttonDefinition is deprecated. ' +
|
|
7464
|
+
'Please use "tooltipProps" instead. Example: { tooltipProps: { title: "My tooltip" } }'
|
|
7465
|
+
},
|
|
7466
|
+
[SDSWarningTypes.SegmentedControlMissingIconOrLabel]: {
|
|
7467
|
+
hasWarned: false,
|
|
7468
|
+
message: 'Warning: Each SegmentedControl button must have either an "icon" or a "label" prop. ' +
|
|
7469
|
+
"A button was found with neither."
|
|
7470
|
+
},
|
|
7471
|
+
[SDSWarningTypes.SegmentedControlIconAndLabelConflict]: {
|
|
7472
|
+
hasWarned: false,
|
|
7473
|
+
message: 'Warning: Each SegmentedControl button should have either an "icon" or a "label", ' +
|
|
7474
|
+
"not both. Please use only one per button."
|
|
7457
7475
|
}
|
|
7458
7476
|
};
|
|
7459
7477
|
const showWarningIfFirstOccurence = (warningType) => {
|
|
@@ -7501,6 +7519,10 @@ const GeneralButtonGroupStyles = (props) => {
|
|
|
7501
7519
|
min-width: fit-content;
|
|
7502
7520
|
z-index: 1;
|
|
7503
7521
|
|
|
7522
|
+
&::before {
|
|
7523
|
+
border-radius: inherit;
|
|
7524
|
+
}
|
|
7525
|
+
|
|
7504
7526
|
&:hover,
|
|
7505
7527
|
&:active,
|
|
7506
7528
|
&:focus {
|
|
@@ -7607,10 +7629,11 @@ const LargeButtonGroupStyles = (props) => {
|
|
|
7607
7629
|
}
|
|
7608
7630
|
}
|
|
7609
7631
|
|
|
7610
|
-
/* Icon-only buttons: has svg but no startIcon/endIcon slots */
|
|
7632
|
+
/* Icon-only buttons: has svg but no startIcon/endIcon slots, or startIcon is the only child (e.g. ButtonToggle) */
|
|
7611
7633
|
.${material.buttonGroupClasses.grouped}:has(svg):not(
|
|
7612
7634
|
:has(.${material.buttonClasses.startIcon})
|
|
7613
|
-
):not(:has(.${material.buttonClasses.endIcon}))
|
|
7635
|
+
):not(:has(.${material.buttonClasses.endIcon})),
|
|
7636
|
+
.${material.buttonGroupClasses.grouped}:has(> .${material.buttonClasses.startIcon}:only-child) {
|
|
7614
7637
|
padding: ${iconOnlyPaddingWide};
|
|
7615
7638
|
|
|
7616
7639
|
${theme?.breakpoints?.down("md")} {
|
|
@@ -7618,8 +7641,10 @@ const LargeButtonGroupStyles = (props) => {
|
|
|
7618
7641
|
}
|
|
7619
7642
|
}
|
|
7620
7643
|
|
|
7621
|
-
/* Text + icon buttons: has startIcon or endIcon */
|
|
7622
|
-
.${material.buttonGroupClasses.grouped}:has(.${material.buttonClasses.startIcon})
|
|
7644
|
+
/* Text + icon buttons: has startIcon or endIcon (excluding icon-only ButtonToggle) */
|
|
7645
|
+
.${material.buttonGroupClasses.grouped}:has(.${material.buttonClasses.startIcon}):not(
|
|
7646
|
+
:has(> .${material.buttonClasses.startIcon}:only-child)
|
|
7647
|
+
),
|
|
7623
7648
|
.${material.buttonGroupClasses.grouped}:has(.${material.buttonClasses.endIcon}) {
|
|
7624
7649
|
${theme?.breakpoints?.down("md")} {
|
|
7625
7650
|
padding: 0 14px;
|
|
@@ -7685,10 +7710,11 @@ const MediumButtonGroupStyles = (props) => {
|
|
|
7685
7710
|
}
|
|
7686
7711
|
}
|
|
7687
7712
|
|
|
7688
|
-
/* Icon-only buttons: has svg but no startIcon/endIcon slots */
|
|
7713
|
+
/* Icon-only buttons: has svg but no startIcon/endIcon slots, or startIcon is the only child (e.g. ButtonToggle) */
|
|
7689
7714
|
.${material.buttonGroupClasses.grouped}:has(svg):not(
|
|
7690
7715
|
:has(.${material.buttonClasses.startIcon})
|
|
7691
|
-
):not(:has(.${material.buttonClasses.endIcon}))
|
|
7716
|
+
):not(:has(.${material.buttonClasses.endIcon})),
|
|
7717
|
+
.${material.buttonGroupClasses.grouped}:has(> .${material.buttonClasses.startIcon}:only-child) {
|
|
7692
7718
|
padding: ${iconOnlyPaddingWide};
|
|
7693
7719
|
|
|
7694
7720
|
${theme?.breakpoints?.down("md")} {
|
|
@@ -7696,8 +7722,10 @@ const MediumButtonGroupStyles = (props) => {
|
|
|
7696
7722
|
}
|
|
7697
7723
|
}
|
|
7698
7724
|
|
|
7699
|
-
/* Text + icon buttons: has startIcon or endIcon -
|
|
7700
|
-
.${material.buttonGroupClasses.grouped}:has(.${material.buttonClasses.startIcon})
|
|
7725
|
+
/* Text + icon buttons: has startIcon or endIcon (excluding icon-only ButtonToggle) */
|
|
7726
|
+
.${material.buttonGroupClasses.grouped}:has(.${material.buttonClasses.startIcon}):not(
|
|
7727
|
+
:has(> .${material.buttonClasses.startIcon}:only-child)
|
|
7728
|
+
),
|
|
7701
7729
|
.${material.buttonGroupClasses.grouped}:has(.${material.buttonClasses.endIcon}) {
|
|
7702
7730
|
padding: 0 10px;
|
|
7703
7731
|
}
|
|
@@ -7761,10 +7789,11 @@ const SmallButtonGroupStyles = (props) => {
|
|
|
7761
7789
|
}
|
|
7762
7790
|
}
|
|
7763
7791
|
|
|
7764
|
-
/* Icon-only buttons: has svg but no startIcon/endIcon slots */
|
|
7792
|
+
/* Icon-only buttons: has svg but no startIcon/endIcon slots, or startIcon is the only child (e.g. ButtonToggle) */
|
|
7765
7793
|
.${material.buttonGroupClasses.grouped}:has(svg):not(
|
|
7766
7794
|
:has(.${material.buttonClasses.startIcon})
|
|
7767
|
-
):not(:has(.${material.buttonClasses.endIcon}))
|
|
7795
|
+
):not(:has(.${material.buttonClasses.endIcon})),
|
|
7796
|
+
.${material.buttonGroupClasses.grouped}:has(> .${material.buttonClasses.startIcon}:only-child) {
|
|
7768
7797
|
padding: ${iconOnlyPaddingWide};
|
|
7769
7798
|
|
|
7770
7799
|
${theme?.breakpoints?.down("md")} {
|
|
@@ -7772,8 +7801,10 @@ const SmallButtonGroupStyles = (props) => {
|
|
|
7772
7801
|
}
|
|
7773
7802
|
}
|
|
7774
7803
|
|
|
7775
|
-
/* Text + icon buttons: has startIcon or endIcon -
|
|
7776
|
-
.${material.buttonGroupClasses.grouped}:has(.${material.buttonClasses.startIcon})
|
|
7804
|
+
/* Text + icon buttons: has startIcon or endIcon (excluding icon-only ButtonToggle) */
|
|
7805
|
+
.${material.buttonGroupClasses.grouped}:has(.${material.buttonClasses.startIcon}):not(
|
|
7806
|
+
:has(> .${material.buttonClasses.startIcon}:only-child)
|
|
7807
|
+
),
|
|
7777
7808
|
.${material.buttonGroupClasses.grouped}:has(.${material.buttonClasses.endIcon}) {
|
|
7778
7809
|
padding: 0 ${spaces?.s}px;
|
|
7779
7810
|
}
|
|
@@ -7822,6 +7853,7 @@ const PrimaryButtonGroupStyles = (props) => {
|
|
|
7822
7853
|
&& .${material.buttonGroupClasses.grouped} {
|
|
7823
7854
|
background-color: transparent;
|
|
7824
7855
|
border: 1px solid ${defaultColor};
|
|
7856
|
+
box-shadow: none;
|
|
7825
7857
|
color: ${defaultColor};
|
|
7826
7858
|
|
|
7827
7859
|
svg {
|
|
@@ -7833,6 +7865,7 @@ const PrimaryButtonGroupStyles = (props) => {
|
|
|
7833
7865
|
color: ${hoverColor};
|
|
7834
7866
|
background-color: ${hoverBgColor};
|
|
7835
7867
|
border: 1px solid ${hoverColor};
|
|
7868
|
+
box-shadow: none;
|
|
7836
7869
|
|
|
7837
7870
|
svg {
|
|
7838
7871
|
color: ${hoverColor};
|
|
@@ -7843,6 +7876,7 @@ const PrimaryButtonGroupStyles = (props) => {
|
|
|
7843
7876
|
color: ${pressedColor};
|
|
7844
7877
|
background-color: ${hoverBgColor};
|
|
7845
7878
|
border: 1px solid ${pressedColor};
|
|
7879
|
+
box-shadow: none;
|
|
7846
7880
|
|
|
7847
7881
|
svg {
|
|
7848
7882
|
color: ${pressedColor};
|
|
@@ -7857,6 +7891,7 @@ const PrimaryButtonGroupStyles = (props) => {
|
|
|
7857
7891
|
color: ${textDisabledColor};
|
|
7858
7892
|
background-color: transparent;
|
|
7859
7893
|
border: 1px solid ${disabledColor};
|
|
7894
|
+
box-shadow: none;
|
|
7860
7895
|
|
|
7861
7896
|
svg {
|
|
7862
7897
|
color: ${ornamentDisabledColor};
|
|
@@ -7910,6 +7945,7 @@ const SecondaryButtonGroupStyles = (props) => {
|
|
|
7910
7945
|
&& .${material.buttonGroupClasses.grouped} {
|
|
7911
7946
|
background-color: transparent;
|
|
7912
7947
|
border: 1px solid ${defaultColor};
|
|
7948
|
+
box-shadow: none;
|
|
7913
7949
|
color: ${textColor};
|
|
7914
7950
|
|
|
7915
7951
|
svg {
|
|
@@ -7921,6 +7957,7 @@ const SecondaryButtonGroupStyles = (props) => {
|
|
|
7921
7957
|
color: ${textColor};
|
|
7922
7958
|
background-color: ${hoverBgColor};
|
|
7923
7959
|
border: 1px solid ${defaultColor};
|
|
7960
|
+
box-shadow: none;
|
|
7924
7961
|
|
|
7925
7962
|
svg {
|
|
7926
7963
|
color: ${ornamentColor};
|
|
@@ -7931,6 +7968,7 @@ const SecondaryButtonGroupStyles = (props) => {
|
|
|
7931
7968
|
color: ${textColor};
|
|
7932
7969
|
background-color: ${pressedBgColor};
|
|
7933
7970
|
border: 1px solid ${defaultColor};
|
|
7971
|
+
box-shadow: none;
|
|
7934
7972
|
|
|
7935
7973
|
svg {
|
|
7936
7974
|
color: ${ornamentColor};
|
|
@@ -7945,6 +7983,7 @@ const SecondaryButtonGroupStyles = (props) => {
|
|
|
7945
7983
|
color: ${textDisabledColor};
|
|
7946
7984
|
background-color: transparent;
|
|
7947
7985
|
border: 1px solid ${disabledColor};
|
|
7986
|
+
box-shadow: none;
|
|
7948
7987
|
|
|
7949
7988
|
svg {
|
|
7950
7989
|
color: ${ornamentDisabledColor};
|
|
@@ -8283,29 +8322,44 @@ const StageOnStyles = (props) => {
|
|
|
8283
8322
|
// So we need to apply the "on" state background to ::before as well
|
|
8284
8323
|
const isSecondary = sdsType === "secondary";
|
|
8285
8324
|
if (isSecondary) {
|
|
8325
|
+
/**
|
|
8326
|
+
* Specificity boost via Emotion's `&&&&` technique.
|
|
8327
|
+
*
|
|
8328
|
+
* Each `&` repeats the component's generated class, producing a selector
|
|
8329
|
+
* like `.css-abc123.css-abc123.css-abc123.css-abc123` — specificity (0,4,0).
|
|
8330
|
+
*
|
|
8331
|
+
* This is needed because ButtonGroup styles its children with
|
|
8332
|
+
* `&& .MuiButtonGroup-grouped` which has specificity (0,3,0).
|
|
8333
|
+
* Without the boost, the sdsStage="on" styles would always lose
|
|
8334
|
+
* the cascade to the ButtonGroup's parent-level overrides.
|
|
8335
|
+
*/
|
|
8286
8336
|
return react.css `
|
|
8287
|
-
|
|
8337
|
+
&&&& {
|
|
8338
|
+
color: ${contentColor};
|
|
8288
8339
|
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8340
|
+
svg {
|
|
8341
|
+
color: ${ornamentColor};
|
|
8342
|
+
}
|
|
8292
8343
|
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8344
|
+
/* Apply "on" state background via ::before to match Button's hover pattern */
|
|
8345
|
+
&::before {
|
|
8346
|
+
background-color: ${sdsStyle === "minimal" && !backgroundOnHover
|
|
8296
8347
|
? "transparent"
|
|
8297
8348
|
: backgroundColor};
|
|
8349
|
+
}
|
|
8298
8350
|
}
|
|
8299
8351
|
`;
|
|
8300
8352
|
}
|
|
8301
8353
|
return react.css `
|
|
8302
|
-
|
|
8354
|
+
&&&& {
|
|
8355
|
+
background-color: ${sdsStyle === "minimal" && !backgroundOnHover
|
|
8303
8356
|
? "transparent"
|
|
8304
8357
|
: backgroundColor};
|
|
8305
|
-
|
|
8358
|
+
color: ${contentColor};
|
|
8306
8359
|
|
|
8307
|
-
|
|
8308
|
-
|
|
8360
|
+
svg {
|
|
8361
|
+
color: ${ornamentColor};
|
|
8362
|
+
}
|
|
8309
8363
|
}
|
|
8310
8364
|
`;
|
|
8311
8365
|
};
|
|
@@ -18590,6 +18644,41 @@ const Panel = React__namespace.default.forwardRef((props, ref) => {
|
|
|
18590
18644
|
}, slotProps: SLOT_PROPS, hideBackdrop: !isBackdropClickEnabled, children: [isOverlayPanelProps(props) && (jsxRuntime.jsxs(StyledHeaderComponent, { children: [props?.HeaderComponent && (jsxRuntime.jsx(PanelHeader, { children: props?.HeaderComponent })), jsxRuntime.jsx(PanelHeaderClose, { onClick: props?.closeButtonOnClick, CloseButtonComponent: props?.CloseButtonComponent })] })), children] })));
|
|
18591
18645
|
});
|
|
18592
18646
|
|
|
18647
|
+
const StyledPopover = styled__default.default(material.Popover) `
|
|
18648
|
+
& .${material.popoverClasses.paper} {
|
|
18649
|
+
${(props) => {
|
|
18650
|
+
const corners = getCorners(props);
|
|
18651
|
+
const shadows = getShadows(props);
|
|
18652
|
+
const semanticColors = getSemanticColors(props);
|
|
18653
|
+
const borders = getBorders(props);
|
|
18654
|
+
const spaces = getSpaces(props);
|
|
18655
|
+
return `
|
|
18656
|
+
background-color: ${semanticColors?.base?.surfacePrimary};
|
|
18657
|
+
background-image: none;
|
|
18658
|
+
border-radius: ${corners?.l}px;
|
|
18659
|
+
padding: ${spaces?.xs}px ${spaces?.m}px;
|
|
18660
|
+
border: ${borders?.none};
|
|
18661
|
+
outline: 1px solid ${addOpacityToHex(semanticColors?.base?.borderSecondary || "#000000", 15)};
|
|
18662
|
+
box-shadow: ${shadows?.m};
|
|
18663
|
+
box-sizing: border-box;
|
|
18664
|
+
z-index: ${props?.theme?.zIndex?.tooltip ?? 1400};
|
|
18665
|
+
`;
|
|
18666
|
+
}}
|
|
18667
|
+
}
|
|
18668
|
+
`;
|
|
18669
|
+
|
|
18670
|
+
/**
|
|
18671
|
+
* @see https://mui.com/material-ui/react-popover/
|
|
18672
|
+
*/
|
|
18673
|
+
const Popover = React.forwardRef(function Popover(props, ref) {
|
|
18674
|
+
const theme = material.useTheme();
|
|
18675
|
+
const spaces = getSpaces({ theme });
|
|
18676
|
+
return (jsxRuntime.jsx(StyledPopover, __assign({ ref: ref, anchorOrigin: {
|
|
18677
|
+
horizontal: "left",
|
|
18678
|
+
vertical: "bottom"
|
|
18679
|
+
}, transformOrigin: { vertical: -(spaces?.s || 8), horizontal: 0 } }, props)));
|
|
18680
|
+
});
|
|
18681
|
+
|
|
18593
18682
|
const doNotForwardProps = ["buttonDefinition"];
|
|
18594
18683
|
const StyledSegmentedControl = styled__default.default(material.ToggleButtonGroup, {
|
|
18595
18684
|
shouldForwardProp: (prop) => !doNotForwardProps.includes(prop)
|
|
@@ -18631,7 +18720,6 @@ const StyledSegmentedControl = styled__default.default(material.ToggleButtonGrou
|
|
|
18631
18720
|
${focusVisibleA11yStyle(props)}
|
|
18632
18721
|
background-color: transparent;
|
|
18633
18722
|
border: none;
|
|
18634
|
-
line-height: 0px;
|
|
18635
18723
|
color: ${semanticColors?.base?.ornamentSecondary};
|
|
18636
18724
|
padding: ${spaces?.xxs}px ${spaces?.m}px;
|
|
18637
18725
|
border-radius: ${corners?.m}px;
|
|
@@ -18660,6 +18748,14 @@ const StyledToggleButton = styled__default.default(material.ToggleButton, {
|
|
|
18660
18748
|
`;
|
|
18661
18749
|
}}
|
|
18662
18750
|
`;
|
|
18751
|
+
const StyledToggleButtonIcon = styled__default.default("div") `
|
|
18752
|
+
line-height: 0px;
|
|
18753
|
+
`;
|
|
18754
|
+
const StyledToggleButtonLabel = styled__default.default("div") `
|
|
18755
|
+
${fontBodyMediumS}
|
|
18756
|
+
white-space: nowrap;
|
|
18757
|
+
line-height: 16px !important;
|
|
18758
|
+
`;
|
|
18663
18759
|
|
|
18664
18760
|
/**
|
|
18665
18761
|
* @see https://mui.com/material-ui/react-toggle-button/
|
|
@@ -18679,13 +18775,27 @@ const SegmentedControl = (props) => {
|
|
|
18679
18775
|
onChangeProp(event, newActive);
|
|
18680
18776
|
}
|
|
18681
18777
|
};
|
|
18682
|
-
return (jsxRuntime.
|
|
18683
|
-
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
|
|
18688
|
-
|
|
18778
|
+
return (jsxRuntime.jsx(StyledSegmentedControl, __assign({ "aria-label": "Segmented Control", size: "small", value: value, exclusive: true, onChange: handleActive }, restProps, { children: buttonDefinition.map((button) => {
|
|
18779
|
+
const { icon, label, shouldShowTooltip = true, tooltipProps, tooltipText, value: buttonValue, disabled = false, } = button;
|
|
18780
|
+
if (tooltipText) {
|
|
18781
|
+
showWarningIfFirstOccurence(SDSWarningTypes.SegmentedControlTooltipTextDeprecated);
|
|
18782
|
+
}
|
|
18783
|
+
if (!icon && !label) {
|
|
18784
|
+
showWarningIfFirstOccurence(SDSWarningTypes.SegmentedControlMissingIconOrLabel);
|
|
18785
|
+
}
|
|
18786
|
+
if (icon && label) {
|
|
18787
|
+
showWarningIfFirstOccurence(SDSWarningTypes.SegmentedControlIconAndLabelConflict);
|
|
18788
|
+
}
|
|
18789
|
+
const iconItem = icon ? (typeof icon !== "string" ? (icon) : (jsxRuntime.jsx(Icon, { sdsIcon: icon, sdsSize: "s" }))) : null;
|
|
18790
|
+
const buttonContent = label ? (jsxRuntime.jsx(StyledToggleButtonLabel, { children: label })) : iconItem ? (jsxRuntime.jsx(StyledToggleButtonIcon, { children: iconItem })) : (jsxRuntime.jsx(StyledToggleButtonLabel, { children: buttonValue }));
|
|
18791
|
+
const toggleButton = (jsxRuntime.jsx(StyledToggleButton, { "aria-label": tooltipText ?? label ?? buttonValue, value: buttonValue, disabled: disabled, children: jsxRuntime.jsx("span", { tabIndex: -1, children: buttonContent }) }, buttonValue));
|
|
18792
|
+
// Resolve the tooltip title: tooltipText takes priority,
|
|
18793
|
+
// then tooltipProps.title, then label, then falls back to buttonValue.
|
|
18794
|
+
const resolvedTitle = tooltipText ?? tooltipProps?.title ?? label ?? buttonValue;
|
|
18795
|
+
// (masoudmanson): If the button is disabled or shouldShowTooltip
|
|
18796
|
+
// is false, we don't render the tooltip.
|
|
18797
|
+
return disabled || !shouldShowTooltip ? (toggleButton) : (React.createElement(Tooltip, __assign({ arrow: true }, tooltipProps, { title: resolvedTitle, key: buttonValue }), toggleButton));
|
|
18798
|
+
}) })));
|
|
18689
18799
|
};
|
|
18690
18800
|
|
|
18691
18801
|
const TabsContext = React.createContext({ sdsSize: "large" });
|
|
@@ -22590,6 +22700,7 @@ exports.NavigationJumpTo = NavigationJumpTo;
|
|
|
22590
22700
|
exports.Notification = Notification;
|
|
22591
22701
|
exports.Pagination = Pagination;
|
|
22592
22702
|
exports.Panel = Panel;
|
|
22703
|
+
exports.Popover = Popover;
|
|
22593
22704
|
exports.PreComposedTable = PreComposedTable;
|
|
22594
22705
|
exports.RowHoverContext = RowHoverContext;
|
|
22595
22706
|
exports.SDSChooseTheme = SDSChooseTheme;
|
package/dist/index.esm.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ import { MenuProps as RawMenuProps } from "@mui/material";
|
|
|
32
32
|
import { ChipProps as ChipProps$0 } from "@mui/material";
|
|
33
33
|
import { LinkProps as LinkProps$0 } from "@mui/material";
|
|
34
34
|
import { MenuProps as MenuProps$0 } from "@mui/material";
|
|
35
|
+
import { PopoverProps as RawPopoverProps } from "@mui/material";
|
|
35
36
|
import { TabProps as RawTabProps } from "@mui/material";
|
|
36
37
|
import { TabsProps as RawTabsProps } from "@mui/material";
|
|
37
38
|
import React from "react";
|
|
@@ -2252,6 +2253,11 @@ type PanelProps = BasicPanelProps | OverlayPanelProps;
|
|
|
2252
2253
|
* @see https://mui.com/material-ui/react-drawer/
|
|
2253
2254
|
*/
|
|
2254
2255
|
declare const Panel: React.ForwardRefExoticComponent<(Omit<BasicPanelProps, "ref"> | Omit<OverlayPanelProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
2256
|
+
type PopoverProps = RawPopoverProps;
|
|
2257
|
+
/**
|
|
2258
|
+
* @see https://mui.com/material-ui/react-popover/
|
|
2259
|
+
*/
|
|
2260
|
+
declare const Popover: import("react").ForwardRefExoticComponent<Omit<RawPopoverProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
2255
2261
|
interface RowExtraProps extends CommonThemeProps, Omit<React.HTMLProps<HTMLTableRowElement>, "as" | "rev"> {
|
|
2256
2262
|
rowHeight?: number;
|
|
2257
2263
|
useDivider?: boolean;
|
|
@@ -2308,7 +2314,14 @@ declare const PreComposedTable: <TData extends unknown>({ data, columns, border,
|
|
|
2308
2314
|
// first item in array first button, etc
|
|
2309
2315
|
interface SingleButtonDefinition {
|
|
2310
2316
|
disabled?: boolean;
|
|
2311
|
-
icon
|
|
2317
|
+
icon?: keyof IconNameToSizes | React.ReactElement<CustomSVGProps>;
|
|
2318
|
+
label?: string;
|
|
2319
|
+
shouldShowTooltip?: boolean;
|
|
2320
|
+
tooltipProps?: Partial<Omit<TooltipProps, "children">>;
|
|
2321
|
+
/**
|
|
2322
|
+
* @deprecated Use `tooltipProps` instead.
|
|
2323
|
+
* Example: `{ tooltipProps: { title: "My tooltip" } }`
|
|
2324
|
+
*/
|
|
2312
2325
|
tooltipText?: string;
|
|
2313
2326
|
value: string;
|
|
2314
2327
|
}
|
|
@@ -2424,5 +2437,5 @@ interface DiscreteColorGeneratorOptions {
|
|
|
2424
2437
|
* @returns Array of color strings in hex format
|
|
2425
2438
|
*/
|
|
2426
2439
|
declare const generateDiscreteColors: (count: number, options?: DiscreteColorGeneratorOptions) => string[];
|
|
2427
|
-
export { AccordionDetails, AccordionHeader, AccordionProps, Accordion, Alert, AutocompleteSingleColumnOption, AutocompleteMultiColumnOption, SDSAutocompleteOptions, AutocompleteMultiColumnValue, AutocompleteSingleColumnValue, SDSAutocompleteValue, AutocompleteSingleColumnOnChange, AutocompleteMultiColumnOnChange, SDSAutocompleteOnChange, AutocompleteProps$0 as AutocompleteProps, StyledPopper as AutocompleteMultiColumnStyledPopper, StyledPaper$0 as AutocompleteSingleColumnStyledPaper, Autocomplete$0 as Autocomplete, BannerIntentType, BannerProps, Banner, Button, ButtonDropdown, isIconOnlyButton, ButtonGroup, ButtonIconInternalProps, ButtonIconProps, ButtonIcon, ButtonToggle, ButtonLegacyType, ButtonLegacyTypeMap, ButtonLegacySize, SdsIconButtonLegacyProps, SdsMinimalButtonLegacyProps, SdsButtonLegacyProps, SdsLegacyProps, ButtonLegacyProps, ButtonLegacy, ButtonDropdownLegacyProps, ButtonDropdownLegacy, ButtonToggleLegacyProps, ButtonToggleLegacy, CalloutIntentType, CalloutSdsStyleType, CalloutProps, ExposedCalloutProps, Callout, CalloutTitle, CellBasicRawProps, CellBasicProps, CellBasic, CellComponentProps, CellComponent, CellHeaderDirection, CellHeaderProps, CellHeader, Chip, DropdownInputDropdown as ComplexFilterInputDropdown, DropdownPopper as ComplexFilterPopper, ComplexFilterProps, ComplexFilter, ContentCardActions, StyledContentCardBody as ContentCardBody, CardMedia as ContentCardMedia, StyledTitleText as ContentCardTitle, StyledSubtitleText as ContentCardSubtitle, StyledMetadataText as ContentCardMetadata, StyledOverlineText as ContentCardOverline, ContentCard, DialogExtraProps, DialogProps, Dialog, DialogActionsProps, DialogActions, DialogContentProps, _default, _default as DialogContent, DialogPaperProps, DialogPaper, Subtitle as DialogTitleSubtitle, Title as DialogTitleTitle, Overline as DialogTitleOverline, DialogTitleProps, DialogTitle, InputDropdown as DropdownInputDropdown, InputDropdown, StyledPaper$1 as DropdownPaper, StyledPopper$1 as DropdownPopper, ExtraDropdownProps, DropdownProps, Dropdown, DefaultDropdownMenuOption, MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, DropdownMenuProps, DropdownMenu, Hero, SdsIconWithColor$0 as SdsIconWithColor, IconProps, Icon, CheckboxContentProps, CheckboxProps, InputCheckbox, InputDropdownProps$0 as InputDropdownProps, RadioContentProps, RadioProps, InputRadio, AccessibleInputSearchProps, InputSearchProps, InputSearch, InputSliderProps, InputSlider, InputTextProps, InputText, InputToggle, IntentMessage, Legend, LinkProps, Link, ListProps, List, ListItemLabel, ListItemProps, ListItem, ListSubheaderProps, ListSubheader, LoadingIndicatorProps$0 as LoadingIndicatorProps, LoadingIndicator, MenuProps, Menu, IconNameToSmallSizes, MenuItemExtraProps, MenuItemProps, MenuItem, DefaultMenuSelectOption, MenuSelectProps, MenuSelect, NavigationFooterNavItem, FooterImage, NavigationFooterProps, NavItemProps, FooterLinkProps, NavigationFooter, NavigationHeader, NavigationJumpToProps, NavigationJumpTo, NotificationIntentType, NotificationProps, ExposedNotificationProps, Notification, PaginationInternalProps, PaginationProps, Pagination, Panel, PreComposedTableProps, RowHoverContext, PreComposedTable, SingleButtonDefinition, SegmentedControlProps, SegmentedControl, SdsTableProps, TableProps, Table, TableHeaderProps, TableHeader, TableRowProps, TableRow, Tabs, TabProps$0 as TabProps, Tab, SdsTagProps, TagProps, Tag, SdsTagFilterProps, TagFilterProps, TagFilter, Tooltip, TooltipCondensedProps, TooltipCondensed, TooltipTableContent, TooltipTableContent as TooltipTable, AccentColor, BaseColor, IntentColor, SDSPalette, SDSTheme, SDSThemeOptions, AppTheme, Shadows, TypographyStyles, Typography, FontWeights, Corners, Spaces, Spacings, Color, Colors, IconSize, IconSizes, Border, Borders, Theme$0 as Theme, defaultTheme, SDSDarkThemeColors, SDSLightThemeColors, makeSdsSemanticAppTheme, SDSLightAppTheme, SDSDarkAppTheme, SDSChooseTheme, defaultAppTheme, SDSPaletteLight, SDSPaletteDark, makeThemeOptions, focusVisibleA11yStyle, fontBody, fontBodyL, fontBodyM, fontBodyS, fontBodyXs, fontBodyXxs, fontBodyXxxs, fontBodyXxxxs, fontBodyMediumL, fontBodyMediumM, fontBodyMediumS, fontBodyMediumXs, fontBodyMediumXxs, fontBodyMediumXxxs, fontBodyMediumXxxxs, fontBodySemiboldL, fontBodySemiboldM, fontBodySemiboldS, fontBodySemiboldXs, fontBodySemiboldXxs, fontBodySemiboldXxxs, fontBodySemiboldXxxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontHeader, fontHeaderXxl, fontHeaderXl, fontHeaderL, fontHeaderM, fontHeaderS, fontHeaderXs, fontHeaderXxs, fontHeaderXxxs, fontCode, fontCodeXs, fontCodeS, fontCodeMediumXs, fontCodeMediumS, fontCodeSemiboldXs, fontCodeSemiboldS, fontTabular, fontTabularXxxxs, fontTabularXxxs, fontTabularXxs, fontTabularXs, fontTabularS, fontTabularMediumXxxxs, fontTabularMediumXxxs, fontTabularMediumXxs, fontTabularMediumXs, fontTabularMediumS, fontTabularSemiboldXxxxs, fontTabularSemiboldXxxs, fontTabularSemiboldXxs, fontTabularSemiboldXs, fontTabularSemiboldS, fontTitle, fontTitleBoldS, fontTitleBoldM, fontTitleBoldL, fontLink, fontLinkL, fontLinkM, fontLinkS, fontLinkXs, fontLinkXxs, fontLinkXxxs, fontLinkXxxxs, fontLinkMediumL, fontLinkMediumM, fontLinkMediumS, fontLinkMediumXs, fontLinkMediumXxs, fontLinkMediumXxxs, fontLinkMediumXxxxs, fontLinkSemiboldL, fontLinkSemiboldM, fontLinkSemiboldS, fontLinkSemiboldXs, fontLinkSemiboldXxs, fontLinkSemiboldXxxs, fontLinkSemiboldXxxxs, CommonThemeProps, getSpaces, getSpacings, getTypography, getMode, getPalette, getColors, getSemanticColors, getShadows, getCorners, getFontWeights, getIconSizes, getBorders, getBreakpoints, DiscreteColorGeneratorOptions, generateDiscreteColors };
|
|
2440
|
+
export { AccordionDetails, AccordionHeader, AccordionProps, Accordion, Alert, AutocompleteSingleColumnOption, AutocompleteMultiColumnOption, SDSAutocompleteOptions, AutocompleteMultiColumnValue, AutocompleteSingleColumnValue, SDSAutocompleteValue, AutocompleteSingleColumnOnChange, AutocompleteMultiColumnOnChange, SDSAutocompleteOnChange, AutocompleteProps$0 as AutocompleteProps, StyledPopper as AutocompleteMultiColumnStyledPopper, StyledPaper$0 as AutocompleteSingleColumnStyledPaper, Autocomplete$0 as Autocomplete, BannerIntentType, BannerProps, Banner, Button, ButtonDropdown, isIconOnlyButton, ButtonGroup, ButtonIconInternalProps, ButtonIconProps, ButtonIcon, ButtonToggle, ButtonLegacyType, ButtonLegacyTypeMap, ButtonLegacySize, SdsIconButtonLegacyProps, SdsMinimalButtonLegacyProps, SdsButtonLegacyProps, SdsLegacyProps, ButtonLegacyProps, ButtonLegacy, ButtonDropdownLegacyProps, ButtonDropdownLegacy, ButtonToggleLegacyProps, ButtonToggleLegacy, CalloutIntentType, CalloutSdsStyleType, CalloutProps, ExposedCalloutProps, Callout, CalloutTitle, CellBasicRawProps, CellBasicProps, CellBasic, CellComponentProps, CellComponent, CellHeaderDirection, CellHeaderProps, CellHeader, Chip, DropdownInputDropdown as ComplexFilterInputDropdown, DropdownPopper as ComplexFilterPopper, ComplexFilterProps, ComplexFilter, ContentCardActions, StyledContentCardBody as ContentCardBody, CardMedia as ContentCardMedia, StyledTitleText as ContentCardTitle, StyledSubtitleText as ContentCardSubtitle, StyledMetadataText as ContentCardMetadata, StyledOverlineText as ContentCardOverline, ContentCard, DialogExtraProps, DialogProps, Dialog, DialogActionsProps, DialogActions, DialogContentProps, _default, _default as DialogContent, DialogPaperProps, DialogPaper, Subtitle as DialogTitleSubtitle, Title as DialogTitleTitle, Overline as DialogTitleOverline, DialogTitleProps, DialogTitle, InputDropdown as DropdownInputDropdown, InputDropdown, StyledPaper$1 as DropdownPaper, StyledPopper$1 as DropdownPopper, ExtraDropdownProps, DropdownProps, Dropdown, DefaultDropdownMenuOption, MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, DropdownMenuProps, DropdownMenu, Hero, SdsIconWithColor$0 as SdsIconWithColor, IconProps, Icon, CheckboxContentProps, CheckboxProps, InputCheckbox, InputDropdownProps$0 as InputDropdownProps, RadioContentProps, RadioProps, InputRadio, AccessibleInputSearchProps, InputSearchProps, InputSearch, InputSliderProps, InputSlider, InputTextProps, InputText, InputToggle, IntentMessage, Legend, LinkProps, Link, ListProps, List, ListItemLabel, ListItemProps, ListItem, ListSubheaderProps, ListSubheader, LoadingIndicatorProps$0 as LoadingIndicatorProps, LoadingIndicator, MenuProps, Menu, IconNameToSmallSizes, MenuItemExtraProps, MenuItemProps, MenuItem, DefaultMenuSelectOption, MenuSelectProps, MenuSelect, NavigationFooterNavItem, FooterImage, NavigationFooterProps, NavItemProps, FooterLinkProps, NavigationFooter, NavigationHeader, NavigationJumpToProps, NavigationJumpTo, NotificationIntentType, NotificationProps, ExposedNotificationProps, Notification, PaginationInternalProps, PaginationProps, Pagination, Panel, PopoverProps, Popover, PreComposedTableProps, RowHoverContext, PreComposedTable, SingleButtonDefinition, SegmentedControlProps, SegmentedControl, SdsTableProps, TableProps, Table, TableHeaderProps, TableHeader, TableRowProps, TableRow, Tabs, TabProps$0 as TabProps, Tab, SdsTagProps, TagProps, Tag, SdsTagFilterProps, TagFilterProps, TagFilter, Tooltip, TooltipCondensedProps, TooltipCondensed, TooltipTableContent, TooltipTableContent as TooltipTable, AccentColor, BaseColor, IntentColor, SDSPalette, SDSTheme, SDSThemeOptions, AppTheme, Shadows, TypographyStyles, Typography, FontWeights, Corners, Spaces, Spacings, Color, Colors, IconSize, IconSizes, Border, Borders, Theme$0 as Theme, defaultTheme, SDSDarkThemeColors, SDSLightThemeColors, makeSdsSemanticAppTheme, SDSLightAppTheme, SDSDarkAppTheme, SDSChooseTheme, defaultAppTheme, SDSPaletteLight, SDSPaletteDark, makeThemeOptions, focusVisibleA11yStyle, fontBody, fontBodyL, fontBodyM, fontBodyS, fontBodyXs, fontBodyXxs, fontBodyXxxs, fontBodyXxxxs, fontBodyMediumL, fontBodyMediumM, fontBodyMediumS, fontBodyMediumXs, fontBodyMediumXxs, fontBodyMediumXxxs, fontBodyMediumXxxxs, fontBodySemiboldL, fontBodySemiboldM, fontBodySemiboldS, fontBodySemiboldXs, fontBodySemiboldXxs, fontBodySemiboldXxxs, fontBodySemiboldXxxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontHeader, fontHeaderXxl, fontHeaderXl, fontHeaderL, fontHeaderM, fontHeaderS, fontHeaderXs, fontHeaderXxs, fontHeaderXxxs, fontCode, fontCodeXs, fontCodeS, fontCodeMediumXs, fontCodeMediumS, fontCodeSemiboldXs, fontCodeSemiboldS, fontTabular, fontTabularXxxxs, fontTabularXxxs, fontTabularXxs, fontTabularXs, fontTabularS, fontTabularMediumXxxxs, fontTabularMediumXxxs, fontTabularMediumXxs, fontTabularMediumXs, fontTabularMediumS, fontTabularSemiboldXxxxs, fontTabularSemiboldXxxs, fontTabularSemiboldXxs, fontTabularSemiboldXs, fontTabularSemiboldS, fontTitle, fontTitleBoldS, fontTitleBoldM, fontTitleBoldL, fontLink, fontLinkL, fontLinkM, fontLinkS, fontLinkXs, fontLinkXxs, fontLinkXxxs, fontLinkXxxxs, fontLinkMediumL, fontLinkMediumM, fontLinkMediumS, fontLinkMediumXs, fontLinkMediumXxs, fontLinkMediumXxxs, fontLinkMediumXxxxs, fontLinkSemiboldL, fontLinkSemiboldM, fontLinkSemiboldS, fontLinkSemiboldXs, fontLinkSemiboldXxs, fontLinkSemiboldXxxs, fontLinkSemiboldXxxxs, CommonThemeProps, getSpaces, getSpacings, getTypography, getMode, getPalette, getColors, getSemanticColors, getShadows, getCorners, getFontWeights, getIconSizes, getBorders, getBreakpoints, DiscreteColorGeneratorOptions, generateDiscreteColors };
|
|
2428
2441
|
export type { AutocompleteBaseProps, AutocompleteMultiColumnProps, AutocompleteOptionBasic, AutocompleteOptionComponent, DefaultAutocompleteOption, ButtonProps, ButtonDropdownProps, ButtonGroupProps, ButtonToggleProps, ChipProps, ContentCardProps, CardMediaProps as ContentCardMediaProps, ContentCardActionsProps, ContentCardTitleProps, HeroProps, IconNameToSizes, InputToggleExtraProps as InputToggleProps, IntentMessageItem, IntentMessageProps, LegendProps, LegendItemData, NavigationHeaderProps, IconButtonProps, NavigationHeaderPrimaryNavItem, NavigationHeaderPrimaryNavProps, NavigationHeaderSecondaryNavItem, NavigationHeaderSecondaryNavProps, PanelProps, BasicPanelProps, OverlayPanelProps, TabsProps$0 as TabsProps, SdsTagColorType, TooltipProps, TooltipTableContentProps };
|