@uniformdev/design-system 19.79.0 → 19.79.1-alpha.13

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
@@ -11,19 +11,21 @@ import { MenuProps as MenuProps$1 } from 'reakit';
11
11
  import * as _react_icons_all_files_lib from '@react-icons/all-files/lib';
12
12
  import { IconType as IconType$1, IconBaseProps } from '@react-icons/all-files/lib';
13
13
  import * as _react_icons_all_files from '@react-icons/all-files';
14
+ import { DateValue } from '@internationalized/date';
15
+ import { CalendarProps as CalendarProps$1, TimeFieldProps, TimeValue } from 'react-aria-components';
14
16
  import InternalSelect from 'react-select/dist/declarations/src/Select';
15
17
  import { StateManagerProps } from 'react-select/dist/declarations/src/useStateManager';
16
18
  import { JsonSchema7Type } from 'zod-to-json-schema/src/parseDef';
17
- import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1 } from '@ariakit/react';
19
+ import * as _ariakit_react from '@ariakit/react';
20
+ import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1, PopoverProps as PopoverProps$1, PopoverProviderProps, TabStoreState, TabListProps, TabProps, TabPanelProps } from '@ariakit/react';
18
21
  import { InitialConfigType } from '@lexical/react/LexicalComposer';
19
22
  import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
20
23
  export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
21
24
  import { Spread, SerializedElementNode, ElementNode, NodeKey, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
22
- import { PopoverProps as PopoverProps$1, PopoverInitialState } from 'reakit/Popover';
23
25
  import * as react_hotkeys_hook_dist_types from 'react-hotkeys-hook/dist/types';
24
- import { TabState, TabListProps, TabProps, TabPanelProps } from 'reakit/Tab';
25
26
  import { TooltipOptions, TooltipInitialState } from 'reakit/Tooltip';
26
27
  export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
28
+ export { Id as ToastId, toast } from 'react-toastify';
27
29
 
28
30
  /** @todo: line 144 onwards will be brought into a title, paragraph, list and link components */
29
31
  type ThemeProps = {
@@ -74,7 +76,7 @@ declare const supports: (cssProp: string) => string;
74
76
  * @function
75
77
  * @param {string} size - The responsive breakpoint value
76
78
  * @returns {string} - compiled container query e.g. @container (min-width: 640px)
77
- * @example `${cq('300px`)} { background: red; }`
79
+ * @example `${cq('300px')} { background: red; }`
78
80
  */
79
81
  declare const cq: (size: string) => string;
80
82
 
@@ -20350,6 +20352,8 @@ declare const allSupportedIcons: {
20350
20352
  'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
20351
20353
  'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
20352
20354
  'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
20355
+ 'list-view-short': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
20356
+ 'list-view-long': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
20353
20357
  'add-r': _react_icons_all_files_lib.IconType;
20354
20358
  add: _react_icons_all_files_lib.IconType;
20355
20359
  airplane: _react_icons_all_files_lib.IconType;
@@ -21057,6 +21061,8 @@ declare const customIcons: {
21057
21061
  'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
21058
21062
  'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
21059
21063
  'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
21064
+ 'list-view-short': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
21065
+ 'list-view-long': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
21060
21066
  };
21061
21067
 
21062
21068
  type IconsMap = Record<string, IconType$1>;
@@ -21091,6 +21097,8 @@ interface ActionButtonsProps {
21091
21097
  children: React$1.ReactNode;
21092
21098
  /** sets the button size */
21093
21099
  size?: ButtonSizeProps;
21100
+ /** sets additional Menu component styles */
21101
+ menuContainerCssClasses?: SerializedStyles;
21094
21102
  }
21095
21103
  /** ButtonWithMenuProps combines the ActionButtonsProps with React HTMLButtonElement attributes */
21096
21104
  type ButtonWithMenuProps = ActionButtonsProps & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
@@ -21116,7 +21124,26 @@ type ButtonWithMenuProps = ActionButtonsProps & React$1.ButtonHTMLAttributes<HTM
21116
21124
  </MenuItem>
21117
21125
  </ButtonWithMenu>
21118
21126
  */
21119
- declare const ButtonWithMenu: ({ onButtonClick, buttonType, buttonText, icon, disabled, children, placement, size, ...buttonProps }: ButtonWithMenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21127
+ declare const ButtonWithMenu: ({ onButtonClick, buttonType, buttonText, icon, disabled, children, placement, size, menuContainerCssClasses, ...buttonProps }: ButtonWithMenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21128
+
21129
+ /**
21130
+ * A string in the ISO 8601 date format: YYYY-MM-DD
21131
+ */
21132
+ type IsoDateString = string;
21133
+ type CalendarProps = Pick<CalendarProps$1<DateValue>, 'autoFocus' | 'isDisabled' | 'isReadOnly' | 'isInvalid'> & Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur' | 'onFocus'> & {
21134
+ value: IsoDateString | null | undefined;
21135
+ timeZone: string;
21136
+ minValue?: IsoDateString;
21137
+ maxValue?: IsoDateString;
21138
+ onChange?: (value: IsoDateString) => void;
21139
+ };
21140
+ /**
21141
+ * A Calendar Grid which allows the user to navigate
21142
+ * and select a date.
21143
+ *
21144
+ * @deprecated This component is in beta, name and props are subject to change without a major version
21145
+ */
21146
+ declare const Calendar: ({ value, timeZone, minValue, maxValue, onChange, autoFocus, isDisabled, isInvalid, isReadOnly, ...props }: CalendarProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21120
21147
 
21121
21148
  /** Callout button types available to use with our brand */
21122
21149
  type CalloutType = 'caution' | 'danger' | 'info' | 'note' | 'success' | 'tip' | 'error';
@@ -21156,7 +21183,7 @@ type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
21156
21183
  /** (optional) sets options for a dropdown menu */
21157
21184
  menuItems?: JSX.Element;
21158
21185
  /** (optional) sets the data-testid attribute on the button element
21159
- * @default 'list-card-menu'
21186
+ * @default 'button-more'
21160
21187
  */
21161
21188
  menuButtonTestId?: string;
21162
21189
  /** (optional) sets the menu button disabled state */
@@ -21270,6 +21297,73 @@ type DashedBoxProps = React$1.HTMLAttributes<HTMLDivElement> & {
21270
21297
  */
21271
21298
  declare const DashedBox: ({ bgColor, textAlign, boxHeight, children, ...props }: DashedBoxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21272
21299
 
21300
+ /**
21301
+ * A string in the ISO 8601 datetime format
21302
+ */
21303
+ type IsoDateTimeString = string;
21304
+ declare enum DateTimePickerVariant {
21305
+ Date = "date",
21306
+ ZonedDateTime = "zoned-datetime"
21307
+ }
21308
+ interface DateTimePickerValue {
21309
+ datetime: IsoDateTimeString | null;
21310
+ timeZone?: string;
21311
+ }
21312
+
21313
+ type DateTimePickerProps = {
21314
+ id: string;
21315
+ /** (optional) sets the label value */
21316
+ label?: string;
21317
+ /** The current controlled value of the picker */
21318
+ value: DateTimePickerValue | null | undefined;
21319
+ /** (optional) The minimum visible date. The calendar will not show previous months */
21320
+ minVisible?: IsoDateTimeString;
21321
+ /** (optional) The maximum visible date. The calendar will not show subsequent months */
21322
+ maxVisible?: IsoDateTimeString;
21323
+ /** (optional) An event that fires when the value changes */
21324
+ onChange?: (value: DateTimePickerValue) => void;
21325
+ /** (optional) The UI variant for the picker which controls which components are shown */
21326
+ variant?: DateTimePickerVariant;
21327
+ /** (optional) sets caption text value */
21328
+ placeholder?: ReactNode;
21329
+ /** (optional) A slot below the time input, use this to populate quick time presets */
21330
+ belowTimeInputSlot?: ReactNode;
21331
+ /** (optional) sets caption text value */
21332
+ caption?: string | JSX.Element;
21333
+ /** (optional) sets whether to show the label or hide it and add a aria-label attributes to the input field directly */
21334
+ showLabel?: boolean;
21335
+ /** (optional) sets and shows the error message value */
21336
+ errorMessage?: string;
21337
+ /** (optional) sets and shows the warning message value */
21338
+ warningMessage?: string;
21339
+ /** (optional) disables the input preventing any interaction */
21340
+ disabled?: boolean;
21341
+ /** (optional) sets the base test id for each of the elements with a testid */
21342
+ testId?: string;
21343
+ };
21344
+ /**
21345
+ * Use this context for slots within the date time picker
21346
+ * in order to manipulate the current value
21347
+ */
21348
+ declare function useDateTimePickerContext(): {
21349
+ clearValue(): void;
21350
+ changeDate(isoDate: string): void;
21351
+ changeTime(isoTime: string): void;
21352
+ };
21353
+ /**
21354
+ * Date Time Picker
21355
+ *
21356
+ * @deprecated This component is in beta, name and props are subject to change without a major version
21357
+ *
21358
+ * This is a Calendar, Time input and TimeZone selector
21359
+ * housed in a popup. You can use it to pick a date as well
21360
+ * as a time, or you can also change it to only pick a date.
21361
+ *
21362
+ * Subcomponents can manipulate the value directly by using
21363
+ * the `useDateTimePickerContext()` hook.
21364
+ */
21365
+ declare const DateTimePicker: ({ id, label, value, minVisible, maxVisible, variant, caption, placeholder, belowTimeInputSlot, showLabel, errorMessage, warningMessage, disabled, onChange, testId, ...props }: DateTimePickerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21366
+
21273
21367
  type DescriptionListProps = {
21274
21368
  items: {
21275
21369
  label: string;
@@ -21573,7 +21667,7 @@ type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
21573
21667
  showLabel?: boolean;
21574
21668
  /** (optional) sets and shows the the error message value */
21575
21669
  errorMessage?: string;
21576
- /** (optional) sets and shows the the warning message value */
21670
+ /** (optional) sets and shows the warning message value */
21577
21671
  warningMessage?: string;
21578
21672
  /** (optional) sets the test id for input field container for test automation*/
21579
21673
  containerTestId?: string;
@@ -21616,7 +21710,7 @@ declare const Input: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttribut
21616
21710
  showLabel?: boolean | undefined;
21617
21711
  /** (optional) sets and shows the the error message value */
21618
21712
  errorMessage?: string | undefined;
21619
- /** (optional) sets and shows the the warning message value */
21713
+ /** (optional) sets and shows the warning message value */
21620
21714
  warningMessage?: string | undefined;
21621
21715
  /** (optional) sets the test id for input field container for test automation*/
21622
21716
  containerTestId?: string | undefined;
@@ -21740,7 +21834,7 @@ type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
21740
21834
  showLabel?: boolean;
21741
21835
  /** (optional) sets and shows the the error message value */
21742
21836
  errorMessage?: string;
21743
- /** (optional) sets and shows the the warning message value */
21837
+ /** (optional) sets and shows the warning message value */
21744
21838
  warningMessage?: string;
21745
21839
  /** (optional) allows react components to be added inline with the label element */
21746
21840
  labelCta?: JSX.Element;
@@ -21763,7 +21857,108 @@ type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
21763
21857
  * Input Select Component
21764
21858
  * @example <InputSelect label="my label" options={[{label: "option 1"}, {label: "option 2"}]} />
21765
21859
  */
21766
- declare const InputSelect: ({ label, defaultOption, options, caption, errorMessage, warningMessage, showLabel, labelCta, compact, classNameContainer, classNameControl, classNameLabel, ...props }: InputSelectProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21860
+ declare const InputSelect: React$1.ForwardRefExoticComponent<React$1.SelectHTMLAttributes<HTMLSelectElement> & {
21861
+ /** (optional) sets the first item in the options list with empty value */
21862
+ defaultOption?: string | undefined;
21863
+ /** sets an array of select options with value and text value */
21864
+ options: Array<React.OptionHTMLAttributes<HTMLOptionElement> & {
21865
+ label: string;
21866
+ }>;
21867
+ /** (optional) sets caption text value */
21868
+ caption?: string | JSX.Element | undefined;
21869
+ /** sets the label value */
21870
+ label: string;
21871
+ /** (optional) sets whether to hide the label and use aria-label on the input field
21872
+ * @default false
21873
+ */
21874
+ showLabel?: boolean | undefined;
21875
+ /** (optional) sets and shows the the error message value */
21876
+ errorMessage?: string | undefined;
21877
+ /** (optional) sets and shows the warning message value */
21878
+ warningMessage?: string | undefined;
21879
+ /** (optional) allows react components to be added inline with the label element */
21880
+ labelCta?: JSX.Element | undefined;
21881
+ /** (optional) styles the component in a compact format */
21882
+ compact?: boolean | undefined;
21883
+ /**
21884
+ * (optional) sets an overriding classname on the container element
21885
+ * @deprecated */
21886
+ classNameContainer?: string | undefined;
21887
+ /**
21888
+ * (optional) sets an overriding classname on the input element
21889
+ * @deprecated */
21890
+ classNameControl?: string | undefined;
21891
+ /**
21892
+ * (optional) sets an overriding classname on the label element
21893
+ * @deprecated */
21894
+ classNameLabel?: string | undefined;
21895
+ } & React$1.RefAttributes<HTMLSelectElement>>;
21896
+
21897
+ /**
21898
+ * A string in the ISO 8601 time format: hh:mm
21899
+ */
21900
+ type IsoTimeString = string;
21901
+ type InputTimeProps = Pick<TimeFieldProps<TimeValue>, 'id' | 'name' | 'hourCycle' | 'autoFocus'> & Pick<React$1.InputHTMLAttributes<HTMLInputElement>, 'disabled'> & {
21902
+ /** (optional) sets the label value */
21903
+ label?: string;
21904
+ /** (optional) sets caption text value */
21905
+ caption?: string | JSX.Element;
21906
+ /** The current value in ISO 8601 time format */
21907
+ value: IsoTimeString | null | undefined;
21908
+ /** (optional) sets the minimum time value in iso8601 time format. ie 10:00 */
21909
+ minValue?: IsoTimeString;
21910
+ /** (optional) sets the maximum time value in iso8601 time format. ie 22:00 */
21911
+ maxValue?: IsoTimeString;
21912
+ /** (optional) sets whether to show the label or hide it and add a aria-label attributes to the input field directly */
21913
+ showLabel?: boolean;
21914
+ /** (optional) sets and shows the the error message value */
21915
+ errorMessage?: string;
21916
+ /** (optional) sets and shows the warning message value */
21917
+ warningMessage?: string;
21918
+ /** (optional) sets the test id for input field container for test automation*/
21919
+ containerTestId?: string;
21920
+ /** (optional) sets label test id */
21921
+ labelTestId?: string;
21922
+ /** (option) sets validation message test id for test automation */
21923
+ errorTestId?: string;
21924
+ /** (option) sets caption message test id for test automation */
21925
+ captionTestId?: string;
21926
+ belowInputSlot?: ReactNode;
21927
+ onChange?: (value: IsoTimeString) => void;
21928
+ };
21929
+ /**
21930
+ * Time input with segmented control
21931
+ *
21932
+ * @deprecated This component is in beta, name and props are subject to change without a major version
21933
+ */
21934
+ declare const InputTime: React$1.ForwardRefExoticComponent<Pick<TimeFieldProps<TimeValue>, "autoFocus" | "id" | "name" | "hourCycle"> & Pick<React$1.InputHTMLAttributes<HTMLInputElement>, "disabled"> & {
21935
+ /** (optional) sets the label value */
21936
+ label?: string | undefined;
21937
+ /** (optional) sets caption text value */
21938
+ caption?: string | JSX.Element | undefined;
21939
+ /** The current value in ISO 8601 time format */
21940
+ value: IsoTimeString | null | undefined;
21941
+ /** (optional) sets the minimum time value in iso8601 time format. ie 10:00 */
21942
+ minValue?: string | undefined;
21943
+ /** (optional) sets the maximum time value in iso8601 time format. ie 22:00 */
21944
+ maxValue?: string | undefined;
21945
+ /** (optional) sets whether to show the label or hide it and add a aria-label attributes to the input field directly */
21946
+ showLabel?: boolean | undefined;
21947
+ /** (optional) sets and shows the the error message value */
21948
+ errorMessage?: string | undefined;
21949
+ /** (optional) sets and shows the warning message value */
21950
+ warningMessage?: string | undefined;
21951
+ /** (optional) sets the test id for input field container for test automation*/
21952
+ containerTestId?: string | undefined;
21953
+ /** (optional) sets label test id */
21954
+ labelTestId?: string | undefined;
21955
+ /** (option) sets validation message test id for test automation */
21956
+ errorTestId?: string | undefined;
21957
+ /** (option) sets caption message test id for test automation */
21958
+ captionTestId?: string | undefined;
21959
+ belowInputSlot?: ReactNode;
21960
+ onChange?: ((value: IsoTimeString) => void) | undefined;
21961
+ } & React$1.RefAttributes<HTMLDivElement>>;
21767
21962
 
21768
21963
  type FontWeightProps = 'normal' | 'medium' | 'bold';
21769
21964
  type InputToggleProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
@@ -21781,7 +21976,7 @@ type InputToggleProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
21781
21976
  caption?: string | JSX.Element;
21782
21977
  /** (optional) sets shows the the error message value */
21783
21978
  errorMessage?: string;
21784
- /** (optional) sets and shows the the warning message value */
21979
+ /** (optional) sets and shows the warning message value */
21785
21980
  warningMessage?: string;
21786
21981
  /** (optional) sets the font weight of the label text
21787
21982
  * @default 'normal'
@@ -21809,7 +22004,7 @@ declare const InputToggle: React$1.ForwardRefExoticComponent<React$1.InputHTMLAt
21809
22004
  caption?: string | JSX.Element | undefined;
21810
22005
  /** (optional) sets shows the the error message value */
21811
22006
  errorMessage?: string | undefined;
21812
- /** (optional) sets and shows the the warning message value */
22007
+ /** (optional) sets and shows the warning message value */
21813
22008
  warningMessage?: string | undefined;
21814
22009
  /** (optional) sets the font weight of the label text
21815
22010
  * @default 'normal'
@@ -22158,6 +22353,8 @@ interface MenuProps extends MenuProps$2 {
22158
22353
  * @deprecated this prop was added to fix a bug with portal, this issue is now fixed, and we don't need this prop anymore.
22159
22354
  */
22160
22355
  withoutPortal?: boolean;
22356
+ /** (optional) sets the test id attribute */
22357
+ testId?: string;
22161
22358
  }
22162
22359
  /**
22163
22360
  * Component used for creating clickable menus
@@ -22181,8 +22378,11 @@ declare const MenuGroup: ({ title, children }: MenuGroupProps) => _emotion_react
22181
22378
 
22182
22379
  type MenuItemTextThemeProps = 'base' | 'red';
22183
22380
  type MenuItemProps = MenuItemProps$1 & {
22184
- /** sets child elements within the component */
22185
- children: ChildFunction | React$1.ReactNode;
22381
+ /**
22382
+ * Sets child elements within the component.
22383
+ * Can be omitted when using the `render` prop
22384
+ */
22385
+ children?: ChildFunction | React$1.ReactNode;
22186
22386
  /** (optional) set whether to hide the menu after a click action */
22187
22387
  hideMenuOnClick?: boolean;
22188
22388
  /** (optional) set an icon along side the item text */
@@ -22231,6 +22431,11 @@ type ModalProps = {
22231
22431
  children?: React__default.ReactNode;
22232
22432
  /** Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked */
22233
22433
  onRequestClose: () => void;
22434
+ /** The size sets the modal width to one of three options sm = 400px, md = 600px and lg = 800px
22435
+ * if a width attribute is used the size will be overridden by the width attribute
22436
+ * @default 'lg'
22437
+ */
22438
+ modalSize?: 'sm' | 'md' | 'lg';
22234
22439
  /** A valid CSS width */
22235
22440
  width?: string;
22236
22441
  /** A valid CSS height */
@@ -22239,33 +22444,14 @@ type ModalProps = {
22239
22444
  * @deprecated the dialog is not rendered inside a wrapper anymore.
22240
22445
  */
22241
22446
  wrapperClassName?: string;
22242
- /** Removes the default padding on the content wrapper */
22243
- withoutContentPadding?: boolean;
22244
22447
  /** Places buttons at the bottom of the modal */
22245
22448
  buttonGroup?: ReactNode;
22246
- } & React__default.HTMLAttributes<HTMLDialogElement>;
22449
+ } & React__default.HTMLProps<HTMLDialogElement>;
22247
22450
  /**
22248
22451
  * A modal component to open a dialog with a backdrop that covers the whole page.
22249
22452
  * @example <Modal>Hello World</Modal>
22250
22453
  */
22251
- declare const Modal: React__default.ForwardRefExoticComponent<{
22252
- header?: React__default.ReactNode;
22253
- children?: React__default.ReactNode;
22254
- /** Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked */
22255
- onRequestClose: () => void;
22256
- /** A valid CSS width */
22257
- width?: string | undefined;
22258
- /** A valid CSS height */
22259
- height?: string | undefined;
22260
- /** The classname to set on the wrapper of the modal.
22261
- * @deprecated the dialog is not rendered inside a wrapper anymore.
22262
- */
22263
- wrapperClassName?: string | undefined;
22264
- /** Removes the default padding on the content wrapper */
22265
- withoutContentPadding?: boolean | undefined;
22266
- /** Places buttons at the bottom of the modal */
22267
- buttonGroup?: ReactNode;
22268
- } & React__default.HTMLAttributes<HTMLDialogElement> & React__default.RefAttributes<HTMLDialogElement>>;
22454
+ declare const Modal: React__default.ForwardRefExoticComponent<Omit<ModalProps, "ref"> & React__default.RefAttributes<HTMLDialogElement>>;
22269
22455
 
22270
22456
  declare function Pagination({ limit, offset, total, onPageChange, }: {
22271
22457
  limit: number;
@@ -22647,7 +22833,7 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
22647
22833
  errorTestId?: string | undefined;
22648
22834
  captionTestId?: string | undefined;
22649
22835
  title?: string | undefined;
22650
- }, "caption" | "label" | "title" | "id" | "menuItems" | "errorMessage" | "warningMessage" | "errorTestId" | "captionTestId" | "hiddenLabel" | "labelLeadingIcon" | "infoMessage" | "hasOverriddenValue" | "onResetOverriddenValue">;
22836
+ }, "caption" | "label" | "title" | "id" | "errorMessage" | "menuItems" | "warningMessage" | "infoMessage" | "errorTestId" | "captionTestId" | "hiddenLabel" | "labelLeadingIcon" | "hasOverriddenValue" | "onResetOverriddenValue">;
22651
22837
  };
22652
22838
  type ParameterShellOverrideProps = {
22653
22839
  /** sets overriding parameters indicator
@@ -22726,13 +22912,15 @@ type PopoverProps = PopoverProps$1 & {
22726
22912
  /** sets the placement of the popover
22727
22913
  * @default 'bottom'
22728
22914
  */
22729
- placement?: PopoverInitialState['placement'];
22915
+ placement?: PopoverProviderProps['placement'];
22730
22916
  /** sets a test id for e2e tests */
22731
22917
  testId?: string;
22732
22918
  children: ReactNode;
22733
22919
  trigger?: ReactNode;
22920
+ /** @deprecated */
22921
+ baseId?: string;
22734
22922
  };
22735
- declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, trigger, children, ...otherProps }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22923
+ declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, trigger, children, baseId, ...otherProps }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22736
22924
 
22737
22925
  interface ProgressBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
22738
22926
  current: number;
@@ -22741,7 +22929,7 @@ interface ProgressBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
22741
22929
  variant?: 'determinate' | 'indeterminate';
22742
22930
  }
22743
22931
  /**
22744
- * @deprecated unstable - props and functionality is likely to change
22932
+ * @deprecated This component is in beta, and might receive breaking changes in minor releases!
22745
22933
  */
22746
22934
  declare function ProgressBar({ current, max, theme, variant, ...props }: ProgressBarProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22747
22935
 
@@ -22793,7 +22981,7 @@ type SegmentedControlProps<TValue extends string = string> = Omit<React__default
22793
22981
  /** A unique name for the component, used to group the options */
22794
22982
  name: string;
22795
22983
  /** The options to show */
22796
- options: SegmentedControlOption<TValue>[];
22984
+ options: Array<SegmentedControlOption<TValue> | undefined>;
22797
22985
  /** The value of the option to be selected */
22798
22986
  value?: TValue;
22799
22987
  /** Called when the user selects a different option */
@@ -22925,27 +23113,30 @@ declare const TableRow: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedH
22925
23113
  declare const TableCellHead: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
22926
23114
  declare const TableCellData: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
22927
23115
 
22928
- declare const useCurrentTab: () => TabState;
22929
- interface TabsProps {
23116
+ declare const useCurrentTab: () => _ariakit_react.TabStore;
23117
+ type TabsProps<TTabName extends string = string> = {
22930
23118
  children: React__default.ReactNode;
22931
- selectedId?: string;
23119
+ selectedId?: TTabName;
22932
23120
  manual?: boolean;
22933
- orientation?: TabState['orientation'];
22934
- onSelectedIdChange?: (tabName: string | undefined) => void;
23121
+ orientation?: TabStoreState['orientation'];
23122
+ onSelectedIdChange?: (tabName: TTabName | undefined) => void;
23123
+ /**
23124
+ * @deprecated you can control the route state on the application level.
23125
+ */
22935
23126
  useHashForState?: boolean;
22936
- }
22937
- declare const Tabs: ({ children, onSelectedIdChange, useHashForState, selectedId, ...props }: TabsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23127
+ };
23128
+ declare const Tabs: <TTabName extends string = string>({ children, onSelectedIdChange, useHashForState, selectedId, manual, ...props }: TabsProps<TTabName>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22938
23129
  declare const TabButtonGroup: ({ children, ...props }: Partial<TabListProps>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22939
- interface TabButtonProps extends Partial<TabProps> {
22940
- id: string;
23130
+ type TabButtonProps<TTabName extends string = string> = Partial<TabProps> & {
23131
+ id: TTabName;
22941
23132
  children: React__default.ReactNode;
22942
- }
22943
- declare const TabButton: ({ children, id, ...props }: TabButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22944
- interface TabContentProps extends Partial<TabPanelProps> {
22945
- id: string;
23133
+ };
23134
+ declare const TabButton: <TTabName extends string = string>({ children, id, ...props }: TabButtonProps<TTabName>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23135
+ type TabContentProps<TTabName extends string = string> = Partial<TabPanelProps> & {
23136
+ tabId?: TTabName;
22946
23137
  children: React__default.ReactNode;
22947
- }
22948
- declare const TabContent: ({ children, ...props }: TabContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23138
+ };
23139
+ declare const TabContent: <TTabName extends string = string>({ children, ...props }: TabContentProps<TTabName>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22949
23140
 
22950
23141
  type CreateTeamIntegrationTileProps = React.HTMLAttributes<HTMLDivElement> & {
22951
23142
  /** (optional) sets the title value
@@ -23091,6 +23282,17 @@ type TileTitleProps = {
23091
23282
  } & HTMLAttributes<HTMLSpanElement>;
23092
23283
  declare const TileText: ({ as, children, ...props }: TileTitleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23093
23284
 
23285
+ type ToastContainerProps = {
23286
+ limit?: number;
23287
+ };
23288
+ /**
23289
+ * A component to render toasts in your app. This component is supposed to be used just once in your app. Typically inside _app.tsx
23290
+ * @example <App><ToastContainer /></App>
23291
+ *
23292
+ * @deprecated This component is in beta, and might receive breaking changes in minor releases!
23293
+ */
23294
+ declare const ToastContainer: ({ limit }: ToastContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23295
+
23094
23296
  type TooltipProps = TooltipOptions & {
23095
23297
  /** Content of tooltip popover */
23096
23298
  title: string | React__default.ReactElement;
@@ -23248,4 +23450,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
23248
23450
  };
23249
23451
  declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23250
23452
 
23251
- export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps$1 as ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu, MenuGroup, MenuGroupProps, MenuItem, MenuItemInner, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, Modal, ModalProps, MultilineChip, MultilineChipProps, PageHeaderSection, PageHeaderSectionProps, Pagination, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextInnerProps, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressBar, ProgressBarProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, RhythmProps, RichTextParamValue, RichTextToolbarIcon, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, SuccessMessage, SuccessMessageProps, Switch, SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, TabButtonProps, TabContent, TabContentProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TakeoverDrawerRenderer, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, Tile, TileContainer, TileContainerProps, TileProps, TileText, TileTitleProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, UniformLogoProps, UseShortcutOptions, VerticalRhythm, WarningMessage, 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, 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, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDrawer, useIconContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };
23453
+ 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, 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, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, type DateTimePickerValue, DateTimePickerVariant, 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, 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 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, type ModalProps, MultilineChip, type MultilineChipProps, 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, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, 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, 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, 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, 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, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };