@uniformdev/design-system 19.135.0 → 19.136.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.d.mts CHANGED
@@ -23062,6 +23062,11 @@ type Filter = {
23062
23062
  /** The value selected */
23063
23063
  value: string | string[];
23064
23064
  };
23065
+ /** @deprecated beta - Locale filter options */
23066
+ type LocaleOptions = {
23067
+ label: string;
23068
+ value: string;
23069
+ }[];
23065
23070
 
23066
23071
  /** @deprecated beta - a list of possible operator values that sync with uniform search api */
23067
23072
  type OperatorValue = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin' | 'between' | 'ndef' | 'def' | 'match';
@@ -23086,6 +23091,8 @@ declare const RICHTEXT_OPERATORS: OperatorType;
23086
23091
  declare const CHECKBOX_OPERATORS: OperatorType;
23087
23092
  /** @deprecated beta - uniform system field operators */
23088
23093
  declare const SYSTEM_FIELD_OPERATORS: OperatorType;
23094
+ /** @deprecated beta - uniform publish status field operators */
23095
+ declare const PUBLISH_STATUS_FIELD_OPERATORS: OperatorType;
23089
23096
 
23090
23097
  /** @description beta - filter button type */
23091
23098
  type FilterButtonProps = {
@@ -23114,13 +23121,11 @@ declare const FilterButton: ({ text, icon, filterCount, hasSelectedValue, dataTe
23114
23121
  * @deprecated beta - Default filter controls for search and filter
23115
23122
  * @example <FilterControls />
23116
23123
  */
23117
- declare const FilterControls: ({ children, defaultSortByValue, hideSearchInput, }: {
23124
+ declare const FilterControls: ({ children, hideSearchInput, }: {
23118
23125
  /** optional param to allow you to add your own controls */
23119
23126
  children?: ReactNode;
23120
23127
  /** optional param to hide the search input */
23121
23128
  hideSearchInput?: boolean | undefined;
23122
- /** The default sort by value */
23123
- defaultSortByValue: string;
23124
23129
  }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23125
23130
 
23126
23131
  type FilterRowProps = {
@@ -23144,15 +23149,15 @@ declare const FilterItem: ({ index, paramOptions, operatorOptions, valueOptions,
23144
23149
  type FilterItemsProps = {
23145
23150
  /** The text for the add button */
23146
23151
  addButtonText?: string;
23147
- /** The text for the reset button */
23148
- resetButtonText?: string;
23149
23152
  };
23150
23153
  /** @deprecated beta - A filter items component used to display filter options */
23151
- declare const FilterItems: ({ addButtonText, resetButtonText, }: FilterItemsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23154
+ declare const FilterItems: ({ addButtonText }: FilterItemsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23152
23155
 
23153
23156
  type SearchAndFilterOptionsContainerProps = {
23154
23157
  /** The button row to be displayed at the bottom of the container */
23155
23158
  buttonRow?: React__default.ReactNode;
23159
+ /** The sort controls to be displayed at the bottom of the container */
23160
+ sortControls?: React__default.ReactNode;
23156
23161
  /** The children of the container */
23157
23162
  children: React__default.ReactNode;
23158
23163
  };
@@ -23160,7 +23165,7 @@ type SearchAndFilterOptionsContainerProps = {
23160
23165
  * @deprecated beta - A container component for search and filter options
23161
23166
  * @example <SearchAndFilterOptionsContainer buttonRow={<button>Button</button>}>Children</SearchAndFilterOptionsContainer>
23162
23167
  * */
23163
- declare const SearchAndFilterOptionsContainer: ({ buttonRow, children, }: SearchAndFilterOptionsContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23168
+ declare const SearchAndFilterOptionsContainer: ({ buttonRow, sortControls, children, }: SearchAndFilterOptionsContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23164
23169
  type FiltersProps = {
23165
23170
  /** The id of the filter menu */
23166
23171
  id: string;
@@ -23168,22 +23173,29 @@ type FiltersProps = {
23168
23173
  filterTitle?: string;
23169
23174
  /** The controls to be displayed at the bottom of the filter menu */
23170
23175
  menuControls?: React__default.ReactNode;
23176
+ /** Sort options controls that display at the bottom of the filter menu */
23177
+ sortControls?: React__default.ReactNode;
23171
23178
  /** The children of the filter menu */
23172
23179
  children: React__default.ReactNode;
23173
23180
  /** Sets the data-test-id attribute for the filter menu */
23174
23181
  dataTestId?: string;
23182
+ /** The text for the reset button
23183
+ * @default 'reset'
23184
+ */
23185
+ resetButtonText?: string;
23175
23186
  };
23176
23187
  /**
23177
23188
  * @deprecated beta - A filter menu component used to display filter options
23178
23189
  * @example <FilterMenu id="search-and-filter-options">Children</FilterMenu>
23179
23190
  * */
23180
- declare const FilterMenu: ({ id, filterTitle, menuControls, children, dataTestId, }: FiltersProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23191
+ declare const FilterMenu: ({ id, filterTitle, menuControls, sortControls, children, dataTestId, resetButtonText, }: FiltersProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23181
23192
 
23182
23193
  type SearchAndFilterProviderProps = {
23183
23194
  /** sets the filter values */
23184
23195
  filters: Filter[];
23185
23196
  /** sets the filter mode */
23186
- filterMode?: filterMode;
23197
+ /** sets the filter visibility */
23198
+ filterVisible?: boolean;
23187
23199
  /** function to trigger search change event */
23188
23200
  onSearchChange?: (term: string) => void;
23189
23201
  /** function to trigger filter change events */
@@ -23191,7 +23203,7 @@ type SearchAndFilterProviderProps = {
23191
23203
  /** function to trigger sort change events */
23192
23204
  onSortChange: (sort: string) => void;
23193
23205
  /** sets the reset filter values
23194
- * @default []
23206
+ * @default "[{ field: '', operator: '', value: '' }]"
23195
23207
  */
23196
23208
  resetFilterValues?: Filter[];
23197
23209
  /** sets the list of filter options for each filter row */
@@ -23200,6 +23212,12 @@ type SearchAndFilterProviderProps = {
23200
23212
  sortOptions: FilterOption[];
23201
23213
  /** the default sort by value */
23202
23214
  defaultSortByValue: string;
23215
+ /** sets the list of locale options */
23216
+ localeOptions?: LocaleOptions;
23217
+ /** function to trigger locale change events */
23218
+ onLocaleChange?: (locale: string) => void;
23219
+ /** sets the default locale option value */
23220
+ defaultLocale?: string;
23203
23221
  /** the total number of results */
23204
23222
  totalResults?: number;
23205
23223
  /** sets child components giving access to useSearchAndFilter context */
@@ -23212,9 +23230,9 @@ type SearchAndFilterContextProps = {
23212
23230
  /** sets the search term value */
23213
23231
  setSearchTerm: (term: string) => void;
23214
23232
  /** current filter visibility */
23215
- filterVisibility?: filterMode;
23233
+ filterVisibility?: boolean;
23216
23234
  /** sets the filter visibility */
23217
- setFilterVisibility: (mode: filterMode) => void;
23235
+ setFilterVisibility: (visible: boolean) => void;
23218
23236
  /** sets the initial filters */
23219
23237
  filters: Filter[];
23220
23238
  /** function to update the current filters */
@@ -23227,12 +23245,18 @@ type SearchAndFilterContextProps = {
23227
23245
  handleResetFilters: (filters?: Filter[]) => void;
23228
23246
  /** function that deletes a row and it's values visually and from state */
23229
23247
  handleDeleteFilter: (index: number) => void;
23248
+ /** function to handle locale change */
23249
+ handleLocaleChange: (locale: string) => void;
23230
23250
  /** sets the initial list of filter options */
23231
23251
  filterOptions: FilterOption[];
23232
23252
  /** sets the initial list of sort options */
23233
23253
  sortOptions: FilterOption[];
23234
- /** a valid list of valid filter options */
23254
+ /** a value of the selected sort by value */
23235
23255
  sortByValue: string;
23256
+ /** sets the initial list of locale options */
23257
+ localeOptions?: LocaleOptions;
23258
+ /** the value of the selected locale */
23259
+ localeValue?: string;
23236
23260
  /** a valid list of valid filter options */
23237
23261
  validFilterQuery: Filter[] | undefined;
23238
23262
  /** the total number of results */
@@ -23243,7 +23267,7 @@ declare const SearchAndFilterContext: React$1.Context<SearchAndFilterContextProp
23243
23267
  * @deprecated beta - Search and filter provider
23244
23268
  * @example <SearchAndFilterProvider filters={filters} filterOptions={filterOptions} onSearchChange={onSearchChange} onChange={onChange}>Children</SearchAndFilterProvider>
23245
23269
  * */
23246
- declare const SearchAndFilterProvider: ({ filters, filterOptions, sortOptions, defaultSortByValue, filterMode, onSearchChange, onChange, onSortChange, resetFilterValues, totalResults, children, }: SearchAndFilterProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23270
+ declare const SearchAndFilterProvider: ({ filters, filterOptions, sortOptions, defaultSortByValue, defaultLocale, localeOptions, onLocaleChange, filterVisible, onSearchChange, onChange, onSortChange, resetFilterValues, totalResults, children, }: SearchAndFilterProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23247
23271
  /** @deprecated beta - Search and filter hook
23248
23272
  * @example const { searchTerm, setSearchTerm, filterVisibility, setFilterVisibility, filters, setFilters, handleAddFilter, handleResetFilters, handleDeleteFilter, filterOptions, validFilterQuery } = useSearchAndFilter();
23249
23273
  */
@@ -23253,9 +23277,9 @@ declare const useSearchAndFilter: () => {
23253
23277
  /** sets the search term value */
23254
23278
  setSearchTerm: (term: string) => void;
23255
23279
  /** current filter visibility */
23256
- filterVisibility?: filterMode;
23280
+ filterVisibility?: boolean | undefined;
23257
23281
  /** sets the filter visibility */
23258
- setFilterVisibility: (mode: filterMode) => void;
23282
+ setFilterVisibility: (visible: boolean) => void;
23259
23283
  /** sets the initial filters */
23260
23284
  filters: Filter[];
23261
23285
  /** function to update the current filters */
@@ -23268,12 +23292,18 @@ declare const useSearchAndFilter: () => {
23268
23292
  handleResetFilters: (filters?: Filter[]) => void;
23269
23293
  /** function that deletes a row and it's values visually and from state */
23270
23294
  handleDeleteFilter: (index: number) => void;
23295
+ /** function to handle locale change */
23296
+ handleLocaleChange: (locale: string) => void;
23271
23297
  /** sets the initial list of filter options */
23272
23298
  filterOptions: FilterOption[];
23273
23299
  /** sets the initial list of sort options */
23274
23300
  sortOptions: FilterOption[];
23275
- /** a valid list of valid filter options */
23301
+ /** a value of the selected sort by value */
23276
23302
  sortByValue: string;
23303
+ /** sets the initial list of locale options */
23304
+ localeOptions?: LocaleOptions | undefined;
23305
+ /** the value of the selected locale */
23306
+ localeValue?: string | undefined;
23277
23307
  /** a valid list of valid filter options */
23278
23308
  validFilterQuery: Filter[] | undefined;
23279
23309
  /** the total number of results */
@@ -23286,11 +23316,9 @@ type SearchAndFilterProps = Omit<SearchAndFilterProviderProps, 'children'> & {
23286
23316
  */
23287
23317
  filterControls?: React$1.ReactNode;
23288
23318
  /** sets the filter mode */
23289
- filterMode?: filterMode;
23319
+ filterVisible?: boolean;
23290
23320
  /** The view switch controls to be displayed */
23291
23321
  viewSwitchControls?: React$1.ReactNode;
23292
- /** The default sort by value */
23293
- defaultSortByValue: string;
23294
23322
  /** The number of total results */
23295
23323
  totalResults?: number;
23296
23324
  /** The results container view
@@ -23306,7 +23334,7 @@ type SearchAndFilterProps = Omit<SearchAndFilterProviderProps, 'children'> & {
23306
23334
  * @deprecated beta - Search and filter component
23307
23335
  * @example <SearchAndFilter filters={filters} filterOptions={filterOptions} onChange={onChange} onSearchChange={onSearchChange} onSearchReset={onSearchReset} totalResults={totalResults} />
23308
23336
  * */
23309
- declare const SearchAndFilter: ({ filters, filterOptions, filterMode, sortOptions, defaultSortByValue, filterControls, viewSwitchControls, resultsContainerView, children, onChange, onSearchChange, onSortChange, totalResults, resetFilterValues, }: SearchAndFilterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23337
+ declare const SearchAndFilter: ({ filters, filterOptions, filterVisible, sortOptions, defaultSortByValue, filterControls, viewSwitchControls, resultsContainerView, children, onChange, onSearchChange, onSortChange, onLocaleChange, totalResults, resetFilterValues, defaultLocale, localeOptions, }: SearchAndFilterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23310
23338
 
23311
23339
  type SearchAndFilterResultContainerProps = {
23312
23340
  /** The label for the clear button
@@ -23340,6 +23368,7 @@ type SegmentedControlOption<TValue extends string = string> = {
23340
23368
  icon?: IconType;
23341
23369
  tooltip?: string;
23342
23370
  disabled?: boolean;
23371
+ 'data-testid'?: string;
23343
23372
  };
23344
23373
  type SegmentedControlProps<TValue extends string = string> = Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'> & {
23345
23374
  /** A unique name for the component, used to group the options */
@@ -23363,13 +23392,19 @@ type SegmentedControlProps<TValue extends string = string> = Omit<React__default
23363
23392
  * The size of the input
23364
23393
  * @default 'md'
23365
23394
  */
23366
- size?: 'sm' | 'md' | 'lg';
23395
+ size?: 'sm' | 'md' | 'lg' | 'xl';
23396
+ /** Hides the text of the options */
23397
+ hideOptionText?: boolean;
23398
+ /** The size of the icon
23399
+ * @default '1.5em'
23400
+ */
23401
+ iconSize?: string;
23367
23402
  };
23368
23403
  /**
23369
23404
  * Horizontal control with multiple segments. Can be used as a replacement of radio buttons.
23370
23405
  * @example <SegmentedControl name="mySegmentedControl" value={value} options={[{label: 'Option 1', value: 'option1',label: 'Option 2', value: 'option2'}]} onChange={setValue} />
23371
23406
  */
23372
- declare const SegmentedControl: <TValue extends string = string>({ name, options, value, onChange, noCheckmark, disabled, orientation, size, ...props }: SegmentedControlProps<TValue>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23407
+ declare const SegmentedControl: <TValue extends string = string>({ name, options, value, onChange, noCheckmark, disabled, orientation, size, hideOptionText, iconSize, ...props }: SegmentedControlProps<TValue>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23373
23408
 
23374
23409
  declare function ShortcutContext({ children }: {
23375
23410
  children: React__default.ReactNode;
@@ -23814,4 +23849,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
23814
23849
  };
23815
23850
  declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23816
23851
 
23817
- export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, type ArrowPositionProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, CHECKBOX_OPERATORS, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DATE_OPERATORS, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, Fieldset, type FieldsetProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterItem, FilterItems, type FilterItemsProps, FilterMenu, type FilterOption, type FilterRowProps, type FiltersProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, InlineAlert, type InlineAlertProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputOption, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, NUMBER_OPERATORS, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, RICHTEXT_OPERATORS, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, SYSTEM_DATE_OPERATORS, SYSTEM_FIELD_OPERATORS, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TEXTBOX_OPERATORS, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, USER_OPERATORS, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, type filterMode, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, useSearchAndFilter, useShortcut, warningIcon, yesNoIcon };
23852
+ export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, type ArrowPositionProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, CHECKBOX_OPERATORS, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DATE_OPERATORS, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, Fieldset, type FieldsetProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterItem, FilterItems, type FilterItemsProps, FilterMenu, type FilterOption, type FilterRowProps, type FiltersProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, InlineAlert, type InlineAlertProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputOption, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, NUMBER_OPERATORS, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, RICHTEXT_OPERATORS, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, SYSTEM_DATE_OPERATORS, SYSTEM_FIELD_OPERATORS, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TEXTBOX_OPERATORS, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, USER_OPERATORS, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, type filterMode, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, useSearchAndFilter, useShortcut, warningIcon, yesNoIcon };
package/dist/index.d.ts CHANGED
@@ -23062,6 +23062,11 @@ type Filter = {
23062
23062
  /** The value selected */
23063
23063
  value: string | string[];
23064
23064
  };
23065
+ /** @deprecated beta - Locale filter options */
23066
+ type LocaleOptions = {
23067
+ label: string;
23068
+ value: string;
23069
+ }[];
23065
23070
 
23066
23071
  /** @deprecated beta - a list of possible operator values that sync with uniform search api */
23067
23072
  type OperatorValue = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin' | 'between' | 'ndef' | 'def' | 'match';
@@ -23086,6 +23091,8 @@ declare const RICHTEXT_OPERATORS: OperatorType;
23086
23091
  declare const CHECKBOX_OPERATORS: OperatorType;
23087
23092
  /** @deprecated beta - uniform system field operators */
23088
23093
  declare const SYSTEM_FIELD_OPERATORS: OperatorType;
23094
+ /** @deprecated beta - uniform publish status field operators */
23095
+ declare const PUBLISH_STATUS_FIELD_OPERATORS: OperatorType;
23089
23096
 
23090
23097
  /** @description beta - filter button type */
23091
23098
  type FilterButtonProps = {
@@ -23114,13 +23121,11 @@ declare const FilterButton: ({ text, icon, filterCount, hasSelectedValue, dataTe
23114
23121
  * @deprecated beta - Default filter controls for search and filter
23115
23122
  * @example <FilterControls />
23116
23123
  */
23117
- declare const FilterControls: ({ children, defaultSortByValue, hideSearchInput, }: {
23124
+ declare const FilterControls: ({ children, hideSearchInput, }: {
23118
23125
  /** optional param to allow you to add your own controls */
23119
23126
  children?: ReactNode;
23120
23127
  /** optional param to hide the search input */
23121
23128
  hideSearchInput?: boolean | undefined;
23122
- /** The default sort by value */
23123
- defaultSortByValue: string;
23124
23129
  }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23125
23130
 
23126
23131
  type FilterRowProps = {
@@ -23144,15 +23149,15 @@ declare const FilterItem: ({ index, paramOptions, operatorOptions, valueOptions,
23144
23149
  type FilterItemsProps = {
23145
23150
  /** The text for the add button */
23146
23151
  addButtonText?: string;
23147
- /** The text for the reset button */
23148
- resetButtonText?: string;
23149
23152
  };
23150
23153
  /** @deprecated beta - A filter items component used to display filter options */
23151
- declare const FilterItems: ({ addButtonText, resetButtonText, }: FilterItemsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23154
+ declare const FilterItems: ({ addButtonText }: FilterItemsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23152
23155
 
23153
23156
  type SearchAndFilterOptionsContainerProps = {
23154
23157
  /** The button row to be displayed at the bottom of the container */
23155
23158
  buttonRow?: React__default.ReactNode;
23159
+ /** The sort controls to be displayed at the bottom of the container */
23160
+ sortControls?: React__default.ReactNode;
23156
23161
  /** The children of the container */
23157
23162
  children: React__default.ReactNode;
23158
23163
  };
@@ -23160,7 +23165,7 @@ type SearchAndFilterOptionsContainerProps = {
23160
23165
  * @deprecated beta - A container component for search and filter options
23161
23166
  * @example <SearchAndFilterOptionsContainer buttonRow={<button>Button</button>}>Children</SearchAndFilterOptionsContainer>
23162
23167
  * */
23163
- declare const SearchAndFilterOptionsContainer: ({ buttonRow, children, }: SearchAndFilterOptionsContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23168
+ declare const SearchAndFilterOptionsContainer: ({ buttonRow, sortControls, children, }: SearchAndFilterOptionsContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23164
23169
  type FiltersProps = {
23165
23170
  /** The id of the filter menu */
23166
23171
  id: string;
@@ -23168,22 +23173,29 @@ type FiltersProps = {
23168
23173
  filterTitle?: string;
23169
23174
  /** The controls to be displayed at the bottom of the filter menu */
23170
23175
  menuControls?: React__default.ReactNode;
23176
+ /** Sort options controls that display at the bottom of the filter menu */
23177
+ sortControls?: React__default.ReactNode;
23171
23178
  /** The children of the filter menu */
23172
23179
  children: React__default.ReactNode;
23173
23180
  /** Sets the data-test-id attribute for the filter menu */
23174
23181
  dataTestId?: string;
23182
+ /** The text for the reset button
23183
+ * @default 'reset'
23184
+ */
23185
+ resetButtonText?: string;
23175
23186
  };
23176
23187
  /**
23177
23188
  * @deprecated beta - A filter menu component used to display filter options
23178
23189
  * @example <FilterMenu id="search-and-filter-options">Children</FilterMenu>
23179
23190
  * */
23180
- declare const FilterMenu: ({ id, filterTitle, menuControls, children, dataTestId, }: FiltersProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23191
+ declare const FilterMenu: ({ id, filterTitle, menuControls, sortControls, children, dataTestId, resetButtonText, }: FiltersProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23181
23192
 
23182
23193
  type SearchAndFilterProviderProps = {
23183
23194
  /** sets the filter values */
23184
23195
  filters: Filter[];
23185
23196
  /** sets the filter mode */
23186
- filterMode?: filterMode;
23197
+ /** sets the filter visibility */
23198
+ filterVisible?: boolean;
23187
23199
  /** function to trigger search change event */
23188
23200
  onSearchChange?: (term: string) => void;
23189
23201
  /** function to trigger filter change events */
@@ -23191,7 +23203,7 @@ type SearchAndFilterProviderProps = {
23191
23203
  /** function to trigger sort change events */
23192
23204
  onSortChange: (sort: string) => void;
23193
23205
  /** sets the reset filter values
23194
- * @default []
23206
+ * @default "[{ field: '', operator: '', value: '' }]"
23195
23207
  */
23196
23208
  resetFilterValues?: Filter[];
23197
23209
  /** sets the list of filter options for each filter row */
@@ -23200,6 +23212,12 @@ type SearchAndFilterProviderProps = {
23200
23212
  sortOptions: FilterOption[];
23201
23213
  /** the default sort by value */
23202
23214
  defaultSortByValue: string;
23215
+ /** sets the list of locale options */
23216
+ localeOptions?: LocaleOptions;
23217
+ /** function to trigger locale change events */
23218
+ onLocaleChange?: (locale: string) => void;
23219
+ /** sets the default locale option value */
23220
+ defaultLocale?: string;
23203
23221
  /** the total number of results */
23204
23222
  totalResults?: number;
23205
23223
  /** sets child components giving access to useSearchAndFilter context */
@@ -23212,9 +23230,9 @@ type SearchAndFilterContextProps = {
23212
23230
  /** sets the search term value */
23213
23231
  setSearchTerm: (term: string) => void;
23214
23232
  /** current filter visibility */
23215
- filterVisibility?: filterMode;
23233
+ filterVisibility?: boolean;
23216
23234
  /** sets the filter visibility */
23217
- setFilterVisibility: (mode: filterMode) => void;
23235
+ setFilterVisibility: (visible: boolean) => void;
23218
23236
  /** sets the initial filters */
23219
23237
  filters: Filter[];
23220
23238
  /** function to update the current filters */
@@ -23227,12 +23245,18 @@ type SearchAndFilterContextProps = {
23227
23245
  handleResetFilters: (filters?: Filter[]) => void;
23228
23246
  /** function that deletes a row and it's values visually and from state */
23229
23247
  handleDeleteFilter: (index: number) => void;
23248
+ /** function to handle locale change */
23249
+ handleLocaleChange: (locale: string) => void;
23230
23250
  /** sets the initial list of filter options */
23231
23251
  filterOptions: FilterOption[];
23232
23252
  /** sets the initial list of sort options */
23233
23253
  sortOptions: FilterOption[];
23234
- /** a valid list of valid filter options */
23254
+ /** a value of the selected sort by value */
23235
23255
  sortByValue: string;
23256
+ /** sets the initial list of locale options */
23257
+ localeOptions?: LocaleOptions;
23258
+ /** the value of the selected locale */
23259
+ localeValue?: string;
23236
23260
  /** a valid list of valid filter options */
23237
23261
  validFilterQuery: Filter[] | undefined;
23238
23262
  /** the total number of results */
@@ -23243,7 +23267,7 @@ declare const SearchAndFilterContext: React$1.Context<SearchAndFilterContextProp
23243
23267
  * @deprecated beta - Search and filter provider
23244
23268
  * @example <SearchAndFilterProvider filters={filters} filterOptions={filterOptions} onSearchChange={onSearchChange} onChange={onChange}>Children</SearchAndFilterProvider>
23245
23269
  * */
23246
- declare const SearchAndFilterProvider: ({ filters, filterOptions, sortOptions, defaultSortByValue, filterMode, onSearchChange, onChange, onSortChange, resetFilterValues, totalResults, children, }: SearchAndFilterProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23270
+ declare const SearchAndFilterProvider: ({ filters, filterOptions, sortOptions, defaultSortByValue, defaultLocale, localeOptions, onLocaleChange, filterVisible, onSearchChange, onChange, onSortChange, resetFilterValues, totalResults, children, }: SearchAndFilterProviderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23247
23271
  /** @deprecated beta - Search and filter hook
23248
23272
  * @example const { searchTerm, setSearchTerm, filterVisibility, setFilterVisibility, filters, setFilters, handleAddFilter, handleResetFilters, handleDeleteFilter, filterOptions, validFilterQuery } = useSearchAndFilter();
23249
23273
  */
@@ -23253,9 +23277,9 @@ declare const useSearchAndFilter: () => {
23253
23277
  /** sets the search term value */
23254
23278
  setSearchTerm: (term: string) => void;
23255
23279
  /** current filter visibility */
23256
- filterVisibility?: filterMode;
23280
+ filterVisibility?: boolean | undefined;
23257
23281
  /** sets the filter visibility */
23258
- setFilterVisibility: (mode: filterMode) => void;
23282
+ setFilterVisibility: (visible: boolean) => void;
23259
23283
  /** sets the initial filters */
23260
23284
  filters: Filter[];
23261
23285
  /** function to update the current filters */
@@ -23268,12 +23292,18 @@ declare const useSearchAndFilter: () => {
23268
23292
  handleResetFilters: (filters?: Filter[]) => void;
23269
23293
  /** function that deletes a row and it's values visually and from state */
23270
23294
  handleDeleteFilter: (index: number) => void;
23295
+ /** function to handle locale change */
23296
+ handleLocaleChange: (locale: string) => void;
23271
23297
  /** sets the initial list of filter options */
23272
23298
  filterOptions: FilterOption[];
23273
23299
  /** sets the initial list of sort options */
23274
23300
  sortOptions: FilterOption[];
23275
- /** a valid list of valid filter options */
23301
+ /** a value of the selected sort by value */
23276
23302
  sortByValue: string;
23303
+ /** sets the initial list of locale options */
23304
+ localeOptions?: LocaleOptions | undefined;
23305
+ /** the value of the selected locale */
23306
+ localeValue?: string | undefined;
23277
23307
  /** a valid list of valid filter options */
23278
23308
  validFilterQuery: Filter[] | undefined;
23279
23309
  /** the total number of results */
@@ -23286,11 +23316,9 @@ type SearchAndFilterProps = Omit<SearchAndFilterProviderProps, 'children'> & {
23286
23316
  */
23287
23317
  filterControls?: React$1.ReactNode;
23288
23318
  /** sets the filter mode */
23289
- filterMode?: filterMode;
23319
+ filterVisible?: boolean;
23290
23320
  /** The view switch controls to be displayed */
23291
23321
  viewSwitchControls?: React$1.ReactNode;
23292
- /** The default sort by value */
23293
- defaultSortByValue: string;
23294
23322
  /** The number of total results */
23295
23323
  totalResults?: number;
23296
23324
  /** The results container view
@@ -23306,7 +23334,7 @@ type SearchAndFilterProps = Omit<SearchAndFilterProviderProps, 'children'> & {
23306
23334
  * @deprecated beta - Search and filter component
23307
23335
  * @example <SearchAndFilter filters={filters} filterOptions={filterOptions} onChange={onChange} onSearchChange={onSearchChange} onSearchReset={onSearchReset} totalResults={totalResults} />
23308
23336
  * */
23309
- declare const SearchAndFilter: ({ filters, filterOptions, filterMode, sortOptions, defaultSortByValue, filterControls, viewSwitchControls, resultsContainerView, children, onChange, onSearchChange, onSortChange, totalResults, resetFilterValues, }: SearchAndFilterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23337
+ declare const SearchAndFilter: ({ filters, filterOptions, filterVisible, sortOptions, defaultSortByValue, filterControls, viewSwitchControls, resultsContainerView, children, onChange, onSearchChange, onSortChange, onLocaleChange, totalResults, resetFilterValues, defaultLocale, localeOptions, }: SearchAndFilterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23310
23338
 
23311
23339
  type SearchAndFilterResultContainerProps = {
23312
23340
  /** The label for the clear button
@@ -23340,6 +23368,7 @@ type SegmentedControlOption<TValue extends string = string> = {
23340
23368
  icon?: IconType;
23341
23369
  tooltip?: string;
23342
23370
  disabled?: boolean;
23371
+ 'data-testid'?: string;
23343
23372
  };
23344
23373
  type SegmentedControlProps<TValue extends string = string> = Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'> & {
23345
23374
  /** A unique name for the component, used to group the options */
@@ -23363,13 +23392,19 @@ type SegmentedControlProps<TValue extends string = string> = Omit<React__default
23363
23392
  * The size of the input
23364
23393
  * @default 'md'
23365
23394
  */
23366
- size?: 'sm' | 'md' | 'lg';
23395
+ size?: 'sm' | 'md' | 'lg' | 'xl';
23396
+ /** Hides the text of the options */
23397
+ hideOptionText?: boolean;
23398
+ /** The size of the icon
23399
+ * @default '1.5em'
23400
+ */
23401
+ iconSize?: string;
23367
23402
  };
23368
23403
  /**
23369
23404
  * Horizontal control with multiple segments. Can be used as a replacement of radio buttons.
23370
23405
  * @example <SegmentedControl name="mySegmentedControl" value={value} options={[{label: 'Option 1', value: 'option1',label: 'Option 2', value: 'option2'}]} onChange={setValue} />
23371
23406
  */
23372
- declare const SegmentedControl: <TValue extends string = string>({ name, options, value, onChange, noCheckmark, disabled, orientation, size, ...props }: SegmentedControlProps<TValue>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23407
+ declare const SegmentedControl: <TValue extends string = string>({ name, options, value, onChange, noCheckmark, disabled, orientation, size, hideOptionText, iconSize, ...props }: SegmentedControlProps<TValue>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23373
23408
 
23374
23409
  declare function ShortcutContext({ children }: {
23375
23410
  children: React__default.ReactNode;
@@ -23814,4 +23849,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
23814
23849
  };
23815
23850
  declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23816
23851
 
23817
- export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, type ArrowPositionProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, CHECKBOX_OPERATORS, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DATE_OPERATORS, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, Fieldset, type FieldsetProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterItem, FilterItems, type FilterItemsProps, FilterMenu, type FilterOption, type FilterRowProps, type FiltersProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, InlineAlert, type InlineAlertProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputOption, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, NUMBER_OPERATORS, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, RICHTEXT_OPERATORS, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, SYSTEM_DATE_OPERATORS, SYSTEM_FIELD_OPERATORS, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TEXTBOX_OPERATORS, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, USER_OPERATORS, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, type filterMode, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, useSearchAndFilter, useShortcut, warningIcon, yesNoIcon };
23852
+ export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, type ArrowPositionProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, CHECKBOX_OPERATORS, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DATE_OPERATORS, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, Fieldset, type FieldsetProps, type Filter, FilterButton, type FilterButtonProps, FilterControls, type FilterEditor, FilterItem, FilterItems, type FilterItemsProps, FilterMenu, type FilterOption, type FilterRowProps, type FiltersProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, InlineAlert, type InlineAlertProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputOption, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, NUMBER_OPERATORS, type Operator, type OperatorType, type OperatorValue, type OperatorValueType, PUBLISH_STATUS_FIELD_OPERATORS, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, RICHTEXT_OPERATORS, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, SYSTEM_DATE_OPERATORS, SYSTEM_FIELD_OPERATORS, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchAndFilter, SearchAndFilterContext, type SearchAndFilterContextProps, SearchAndFilterOptionsContainer, type SearchAndFilterOptionsContainerProps, type SearchAndFilterProps, SearchAndFilterProvider, type SearchAndFilterProviderProps, SearchAndFilterResultContainer, type SearchAndFilterResultContainerProps, SearchOnlyContext, SearchOnlyFilter, type SearchOnlyProviderProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TEXTBOX_OPERATORS, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, USER_OPERATORS, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, type filterMode, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, useSearchAndFilter, useShortcut, warningIcon, yesNoIcon };