@homebound/beam 3.63.0 → 3.64.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.cts CHANGED
@@ -49,8 +49,11 @@ declare enum Tokens {
49
49
  ButtonGhostFg = "--b-button-ghost-fg",
50
50
  ButtonPrimaryDisabledBg = "--b-button-primary-disabled-bg",
51
51
  ButtonPrimaryDisabledFg = "--b-button-primary-disabled-fg",
52
+ ButtonSecondaryFg = "--b-button-secondary-fg",
52
53
  ButtonTertiaryFg = "--b-button-tertiary-fg",
53
54
  ButtonTertiaryFgPressed = "--b-button-tertiary-fg-pressed",
55
+ ChoiceDisabled = "--b-choice-disabled",
56
+ ChoiceSelected = "--b-choice-selected",
54
57
  Danger = "--b-danger",
55
58
  DangerPressed = "--b-danger-pressed",
56
59
  EnvBrandDev = "--b-env-brand-dev",
@@ -67,11 +70,15 @@ declare enum Tokens {
67
70
  FieldTextDisabled = "--b-field-text-disabled",
68
71
  FocusRingInset = "--b-focus-ring-inset",
69
72
  FocusRingMuted = "--b-focus-ring-muted",
70
- ListRowBgHover = "--b-list-row-bg-hover",
71
73
  LoaderFill = "--b-loader-fill",
72
74
  LoaderSpinner = "--b-loader-spinner",
73
75
  LoaderTrack = "--b-loader-track",
74
- MenuItemBgHover = "--b-menu-item-bg-hover",
76
+ NavGlobalItemBgActive = "--b-nav-global-item-bg-active",
77
+ NavGlobalItemBgHover = "--b-nav-global-item-bg-hover",
78
+ NavGlobalItemBgPressed = "--b-nav-global-item-bg-pressed",
79
+ NavGlobalText = "--b-nav-global-text",
80
+ NavGlobalTextActive = "--b-nav-global-text-active",
81
+ NavGlobalTextDisabled = "--b-nav-global-text-disabled",
75
82
  NavItemBgActive = "--b-nav-item-bg-active",
76
83
  NavItemBgHover = "--b-nav-item-bg-hover",
77
84
  NavItemBgPressed = "--b-nav-item-bg-pressed",
@@ -80,6 +87,7 @@ declare enum Tokens {
80
87
  NavTextDisabled = "--b-nav-text-disabled",
81
88
  NavTextFocusVisible = "--b-nav-text-focus-visible",
82
89
  NavTextPressed = "--b-nav-text-pressed",
90
+ NeutralFillHover = "--b-neutral-fill-hover",
83
91
  NeutralFillHoverStrong = "--b-neutral-fill-hover-strong",
84
92
  NeutralFillHoverSubtle = "--b-neutral-fill-hover-subtle",
85
93
  NeutralFillPressed = "--b-neutral-fill-pressed",
@@ -87,18 +95,17 @@ declare enum Tokens {
87
95
  OnPrimary = "--b-on-primary",
88
96
  OnSurface = "--b-on-surface",
89
97
  OnSurfaceMuted = "--b-on-surface-muted",
90
- OnSurfaceSubtle = "--b-on-surface-subtle",
91
98
  OnSurfaceDisabled = "--b-on-surface-disabled",
92
99
  OnSurfaceRaisedHover = "--b-on-surface-raised-hover",
93
100
  OnSurfaceRaisedPressed = "--b-on-surface-raised-pressed",
94
- PopoverSurface = "--b-popover-surface",
95
101
  Primary = "--b-primary",
96
102
  PrimaryHover = "--b-primary-hover",
97
103
  PrimaryPressed = "--b-primary-pressed",
98
104
  Scrim = "--b-scrim",
105
+ SelectionFill = "--b-selection-fill",
99
106
  SelectionIndicator = "--b-selection-indicator",
100
- StatusSuccessFg = "--b-status-success-fg",
101
107
  Surface = "--b-surface",
108
+ SurfaceHover = "--b-surface-hover",
102
109
  SurfaceRaised = "--b-surface-raised",
103
110
  SurfaceRaisedHover = "--b-surface-raised-hover",
104
111
  SurfaceRaisedPressed = "--b-surface-raised-pressed",
@@ -4790,13 +4797,13 @@ type LabelSuffixStyle = {
4790
4797
  optional?: string;
4791
4798
  };
4792
4799
 
4793
- interface AvatarProps {
4800
+ type AvatarProps = {
4794
4801
  src: string | undefined;
4795
4802
  name?: string;
4796
4803
  size?: AvatarSize;
4797
4804
  showName?: boolean;
4798
4805
  preventTooltip?: boolean;
4799
- }
4806
+ };
4800
4807
  declare function Avatar({ src, name, size, showName, preventTooltip, ...others }: AvatarProps): JSX.Element;
4801
4808
  type AvatarSize = "sm" | "md" | "lg" | "xl";
4802
4809
 
@@ -4856,7 +4863,7 @@ interface TextFieldInternalProps {
4856
4863
  forceHover?: boolean;
4857
4864
  }
4858
4865
 
4859
- interface AvatarButtonProps extends AvatarProps, BeamButtonProps, BeamFocusableProps {
4866
+ type AvatarButtonProps = {
4860
4867
  menuTriggerProps?: AriaButtonProps;
4861
4868
  buttonRef?: RefObject<HTMLButtonElement>;
4862
4869
  /** Storybook-only visual state overrides for snapshotting pseudo-interactions. */
@@ -4865,7 +4872,7 @@ interface AvatarButtonProps extends AvatarProps, BeamButtonProps, BeamFocusableP
4865
4872
  focusVisible?: boolean;
4866
4873
  pressed?: boolean;
4867
4874
  };
4868
- }
4875
+ } & AvatarProps & BeamButtonProps & BeamFocusableProps;
4869
4876
  declare function AvatarButton(props: AvatarButtonProps): JSX.Element;
4870
4877
  declare const hoverStyles: Pick<Properties, never> & {
4871
4878
  boxShadow: csstype.Property.BoxShadow | undefined;
@@ -5943,7 +5950,7 @@ type CardTag = {
5943
5950
  text: string;
5944
5951
  type?: TagType;
5945
5952
  };
5946
- interface CardProps {
5953
+ type CardProps = {
5947
5954
  title: string;
5948
5955
  subtitle: string;
5949
5956
  detailContent?: ReactNode;
@@ -5959,7 +5966,7 @@ interface CardProps {
5959
5966
  disabled?: boolean;
5960
5967
  buttonMenuItems?: MenuItem[];
5961
5968
  tag?: CardTag;
5962
- }
5969
+ };
5963
5970
  declare function Card(props: CardProps): JSX.Element;
5964
5971
 
5965
5972
  type CardSlotBase<K extends string> = {
@@ -6250,7 +6257,7 @@ type GridStyle = {
6250
6257
  firstContentColumn?: Properties;
6251
6258
  });
6252
6259
  /** Allows for customization of the background color used to denote an "active" row */
6253
- activeBgColor?: Palette;
6260
+ activeBgColor?: BeamColor;
6254
6261
  /** Defines styles for the group row which holds the selected rows that have been filtered out */
6255
6262
  keptGroupRowCss?: Properties;
6256
6263
  /** Defines styles for the last row `keptGroup` to provide separation from the rest of the table */
@@ -7062,7 +7069,7 @@ interface ToggleChipsProps<T, X> {
7062
7069
  declare function ToggleChips<T, X extends Only<ToggleChipXss$1, X>>(props: ToggleChipsProps<T, X>): JSX.Element;
7063
7070
 
7064
7071
  type AccordionXss = Xss<Padding>;
7065
- interface AccordionProps<X = AccordionXss> {
7072
+ type AccordionProps<X = AccordionXss> = {
7066
7073
  title: ReactNode;
7067
7074
  children: ReactNode;
7068
7075
  disabled?: boolean;
@@ -7087,7 +7094,7 @@ interface AccordionProps<X = AccordionXss> {
7087
7094
  xss?: X;
7088
7095
  /** Modifies the typography, padding, icon size and background color of the accordion header */
7089
7096
  compact?: boolean;
7090
- }
7097
+ };
7091
7098
  declare function Accordion<X extends Only<AccordionXss, X>>(props: AccordionProps<X>): JSX.Element;
7092
7099
  type AccordionSize = "xs" | "sm" | "md" | "lg";
7093
7100
 
@@ -7128,10 +7135,10 @@ type AppNavSection = {
7128
7135
  };
7129
7136
  type AppNavItem = AppNavLink | AppNavGroup | AppNavSection;
7130
7137
 
7131
- interface AutoSaveIndicatorProps {
7138
+ type AutoSaveIndicatorProps = {
7132
7139
  hideOnIdle?: boolean;
7133
7140
  doNotReset?: boolean;
7134
- }
7141
+ };
7135
7142
  declare function AutoSaveIndicator({ hideOnIdle, doNotReset }: AutoSaveIndicatorProps): JSX.Element | null;
7136
7143
 
7137
7144
  interface AvatarGroupProps {
@@ -7315,12 +7322,12 @@ type ButtonDatePickerProps = {
7315
7322
  } & DatePickerProps & Pick<OverlayTriggerProps, "trigger" | "placement" | "disabled" | "tooltip">;
7316
7323
  declare function ButtonDatePicker(props: ButtonDatePickerProps): JSX.Element;
7317
7324
 
7318
- interface ButtonGroupProps {
7325
+ type ButtonGroupProps = {
7319
7326
  buttons: ButtonGroupButton[];
7320
7327
  /** Disables all buttons in ButtonGroup */
7321
7328
  disabled?: boolean;
7322
7329
  size?: ButtonGroupSize;
7323
- }
7330
+ };
7324
7331
  type ButtonGroupButton = {
7325
7332
  icon?: IconProps["icon"];
7326
7333
  iconColor?: IconProps["color"];
@@ -7909,7 +7916,7 @@ type RadioGroupFieldProps<K extends string> = {
7909
7916
  */
7910
7917
  declare function RadioGroupField<K extends string>(props: RadioGroupFieldProps<K>): JSX.Element;
7911
7918
 
7912
- interface RichTextFieldProps extends Pick<PresentationFieldProps, "fullWidth"> {
7919
+ type RichTextFieldProps = {
7913
7920
  /** The initial html value to show in the trix editor. */
7914
7921
  value: string | undefined;
7915
7922
  onChange: (html: string | undefined, text: string | undefined, mergeTags: string[]) => void;
@@ -7928,7 +7935,7 @@ interface RichTextFieldProps extends Pick<PresentationFieldProps, "fullWidth"> {
7928
7935
  onFocus?: () => void;
7929
7936
  /** For rendering formatted text */
7930
7937
  readOnly?: boolean;
7931
- }
7938
+ } & Pick<PresentationFieldProps, "fullWidth">;
7932
7939
  declare const RichTextField: (props: RichTextFieldProps) => JSX.Element;
7933
7940
  /**
7934
7941
  * Provides a simple rich text editor based on trix.
@@ -8021,7 +8028,7 @@ declare function SelectField<O extends HasIdIsh<V>, V extends Value>(props: Opti
8021
8028
  declare function SelectField<O extends HasNameIsh, V extends Value>(props: Optional<SelectFieldProps<O, V>, "getOptionLabel">): JSX.Element;
8022
8029
  declare function SelectField<O, V extends Value>(props: SelectFieldProps<O, V>): JSX.Element;
8023
8030
 
8024
- interface SwitchProps {
8031
+ type SwitchProps = {
8025
8032
  /** Whether the element should receive focus on render. */
8026
8033
  autoFocus?: boolean;
8027
8034
  /** Whether to render a compact version of Switch */
@@ -8047,7 +8054,7 @@ interface SwitchProps {
8047
8054
  hovered?: boolean;
8048
8055
  focusVisible?: boolean;
8049
8056
  };
8050
- }
8057
+ };
8051
8058
  declare function Switch(props: SwitchProps): JSX.Element;
8052
8059
  declare const switchHoverStyles: Pick<Properties, never> & {
8053
8060
  backgroundColor: csstype.Property.BackgroundColor | undefined;
@@ -8099,7 +8106,7 @@ type TextFieldApi = {
8099
8106
  focus: VoidFunction;
8100
8107
  };
8101
8108
 
8102
- interface ToggleButtonProps {
8109
+ type ToggleButtonProps = {
8103
8110
  /** Input label */
8104
8111
  label: string;
8105
8112
  selected?: boolean;
@@ -8115,7 +8122,7 @@ interface ToggleButtonProps {
8115
8122
  pressed?: boolean;
8116
8123
  focusVisible?: boolean;
8117
8124
  };
8118
- }
8125
+ };
8119
8126
  declare function ToggleButton(props: ToggleButtonProps): JSX.Element;
8120
8127
  /** Styles */
8121
8128
  declare const toggleHoverStyles: Pick<Properties, never> & {
@@ -8930,12 +8937,12 @@ type FormSectionProps = {
8930
8937
  /** A titled section of form content — title/description/actions row, then `fields`, then any recursively-rendered `childSections`. */
8931
8938
  declare function FormSection$1(props: FormSectionProps): JSX.Element;
8932
8939
 
8933
- interface StaticFieldProps {
8940
+ type StaticFieldProps = {
8934
8941
  label: ReactNode;
8935
8942
  value?: string;
8936
8943
  children?: ReactNode;
8937
8944
  labelStyle?: PresentationFieldProps["labelStyle"];
8938
- }
8945
+ };
8939
8946
  declare function StaticField(props: StaticFieldProps): JSX.Element;
8940
8947
 
8941
8948
  type SubmitButtonProps<T> = Omit<ButtonProps, "label"> & {
@@ -8994,13 +9001,13 @@ interface SelectToggleProps {
8994
9001
  /** Provides a checkbox to show/drive this row's selected state. */
8995
9002
  declare function SelectToggle({ id, disabled }: SelectToggleProps): JSX.Element;
8996
9003
 
8997
- interface SortHeaderProps {
9004
+ type SortHeaderProps = {
8998
9005
  content: string;
8999
9006
  xss?: Properties;
9000
9007
  iconOnLeft?: boolean;
9001
9008
  sortKey: string;
9002
9009
  tooltipEl?: ReactNode;
9003
- }
9010
+ };
9004
9011
  /**
9005
9012
  * Wraps column header names with up/down sorting icons.
9006
9013
  *
@@ -9502,7 +9509,7 @@ declare function useRightPaneContext(): RightPaneLayoutContextProps;
9502
9509
 
9503
9510
  declare function RightPaneLayout(props: {
9504
9511
  children: ReactElement;
9505
- paneBgColor?: Palette;
9512
+ paneBgColor?: BeamColor;
9506
9513
  paneWidth?: number;
9507
9514
  defaultPaneContent?: ReactElement;
9508
9515
  }): JSX.Element;
@@ -9759,11 +9766,11 @@ type OffsetAndLimit = {
9759
9766
  limit: number;
9760
9767
  };
9761
9768
  declare const defaultPage: OffsetAndLimit;
9762
- interface PaginationProps {
9769
+ type PaginationProps = {
9763
9770
  page: readonly [PageNumberAndSize, Dispatch<PageNumberAndSize>] | readonly [OffsetAndLimit, Dispatch<OffsetAndLimit>];
9764
9771
  totalCount: number;
9765
9772
  pageSizes?: number[];
9766
- }
9773
+ };
9767
9774
  declare function Pagination(props: PaginationProps): JSX.Element;
9768
9775
  declare function toLimitAndOffset(page: PageSettings): OffsetAndLimit;
9769
9776
  declare function toPageNumberSize(page: PageSettings): PageNumberAndSize;
@@ -9790,7 +9797,7 @@ type SideNavProps = {
9790
9797
  declare function SideNav(props: SideNavProps): JSX.Element;
9791
9798
 
9792
9799
  type SnackbarNoticeTypes = "error" | "warning" | "success" | "info" | "alert";
9793
- interface SnackbarNoticeProps {
9800
+ type SnackbarNoticeProps = {
9794
9801
  /** Adds action button to the right of the notice */
9795
9802
  action?: Pick<ButtonProps, "label" | "onClick" | "variant">;
9796
9803
  /** Does not allow the user to close the notice manually. Notice will fade away in 10s. Value will be ignored if 'persistent' is set to 'true'. */
@@ -9804,7 +9811,7 @@ interface SnackbarNoticeProps {
9804
9811
  id: string;
9805
9812
  /** Removes the snackbar notice from the stack */
9806
9813
  onClose: () => void;
9807
- }
9814
+ };
9808
9815
 
9809
9816
  type Offset = {
9810
9817
  bottom?: number;
@@ -9830,17 +9837,17 @@ interface TriggerNoticeProps extends Omit<SnackbarNoticeProps, "id" | "onClose">
9830
9837
  onClose?: () => void;
9831
9838
  }
9832
9839
 
9833
- interface Step {
9840
+ type Step = {
9834
9841
  label: string;
9835
9842
  state: "incomplete" | "complete" | "error";
9836
9843
  disabled?: boolean;
9837
9844
  value: string;
9838
- }
9839
- interface StepperProps {
9845
+ };
9846
+ type StepperProps = {
9840
9847
  steps: Step[];
9841
9848
  currentStep: Step["value"];
9842
9849
  onChange: (stepValue: string) => void;
9843
- }
9850
+ };
9844
9851
  declare function Stepper(props: StepperProps): JSX.Element;
9845
9852
 
9846
9853
  type StepperTabProps = {
@@ -9892,7 +9899,7 @@ interface ConfirmCloseModalProps {
9892
9899
  /** Modal content to appear when a close checks fails */
9893
9900
  declare function ConfirmCloseModal(props: ConfirmCloseModalProps): JSX.Element;
9894
9901
 
9895
- interface SuperDrawerContentProps {
9902
+ type SuperDrawerContentProps = {
9896
9903
  children: ReactNode;
9897
9904
  /**
9898
9905
  * Actions represents an array of button props with represents that different
@@ -9901,7 +9908,7 @@ interface SuperDrawerContentProps {
9901
9908
  * Ex: A `cancel` and `submit` button
9902
9909
  * */
9903
9910
  actions?: ButtonProps[];
9904
- }
9911
+ };
9905
9912
  /**
9906
9913
  * Helper component to place the given children and actions into the appropriate
9907
9914
  * DOM format to render inside the SuperDrawer.
package/dist/index.d.ts CHANGED
@@ -49,8 +49,11 @@ declare enum Tokens {
49
49
  ButtonGhostFg = "--b-button-ghost-fg",
50
50
  ButtonPrimaryDisabledBg = "--b-button-primary-disabled-bg",
51
51
  ButtonPrimaryDisabledFg = "--b-button-primary-disabled-fg",
52
+ ButtonSecondaryFg = "--b-button-secondary-fg",
52
53
  ButtonTertiaryFg = "--b-button-tertiary-fg",
53
54
  ButtonTertiaryFgPressed = "--b-button-tertiary-fg-pressed",
55
+ ChoiceDisabled = "--b-choice-disabled",
56
+ ChoiceSelected = "--b-choice-selected",
54
57
  Danger = "--b-danger",
55
58
  DangerPressed = "--b-danger-pressed",
56
59
  EnvBrandDev = "--b-env-brand-dev",
@@ -67,11 +70,15 @@ declare enum Tokens {
67
70
  FieldTextDisabled = "--b-field-text-disabled",
68
71
  FocusRingInset = "--b-focus-ring-inset",
69
72
  FocusRingMuted = "--b-focus-ring-muted",
70
- ListRowBgHover = "--b-list-row-bg-hover",
71
73
  LoaderFill = "--b-loader-fill",
72
74
  LoaderSpinner = "--b-loader-spinner",
73
75
  LoaderTrack = "--b-loader-track",
74
- MenuItemBgHover = "--b-menu-item-bg-hover",
76
+ NavGlobalItemBgActive = "--b-nav-global-item-bg-active",
77
+ NavGlobalItemBgHover = "--b-nav-global-item-bg-hover",
78
+ NavGlobalItemBgPressed = "--b-nav-global-item-bg-pressed",
79
+ NavGlobalText = "--b-nav-global-text",
80
+ NavGlobalTextActive = "--b-nav-global-text-active",
81
+ NavGlobalTextDisabled = "--b-nav-global-text-disabled",
75
82
  NavItemBgActive = "--b-nav-item-bg-active",
76
83
  NavItemBgHover = "--b-nav-item-bg-hover",
77
84
  NavItemBgPressed = "--b-nav-item-bg-pressed",
@@ -80,6 +87,7 @@ declare enum Tokens {
80
87
  NavTextDisabled = "--b-nav-text-disabled",
81
88
  NavTextFocusVisible = "--b-nav-text-focus-visible",
82
89
  NavTextPressed = "--b-nav-text-pressed",
90
+ NeutralFillHover = "--b-neutral-fill-hover",
83
91
  NeutralFillHoverStrong = "--b-neutral-fill-hover-strong",
84
92
  NeutralFillHoverSubtle = "--b-neutral-fill-hover-subtle",
85
93
  NeutralFillPressed = "--b-neutral-fill-pressed",
@@ -87,18 +95,17 @@ declare enum Tokens {
87
95
  OnPrimary = "--b-on-primary",
88
96
  OnSurface = "--b-on-surface",
89
97
  OnSurfaceMuted = "--b-on-surface-muted",
90
- OnSurfaceSubtle = "--b-on-surface-subtle",
91
98
  OnSurfaceDisabled = "--b-on-surface-disabled",
92
99
  OnSurfaceRaisedHover = "--b-on-surface-raised-hover",
93
100
  OnSurfaceRaisedPressed = "--b-on-surface-raised-pressed",
94
- PopoverSurface = "--b-popover-surface",
95
101
  Primary = "--b-primary",
96
102
  PrimaryHover = "--b-primary-hover",
97
103
  PrimaryPressed = "--b-primary-pressed",
98
104
  Scrim = "--b-scrim",
105
+ SelectionFill = "--b-selection-fill",
99
106
  SelectionIndicator = "--b-selection-indicator",
100
- StatusSuccessFg = "--b-status-success-fg",
101
107
  Surface = "--b-surface",
108
+ SurfaceHover = "--b-surface-hover",
102
109
  SurfaceRaised = "--b-surface-raised",
103
110
  SurfaceRaisedHover = "--b-surface-raised-hover",
104
111
  SurfaceRaisedPressed = "--b-surface-raised-pressed",
@@ -4790,13 +4797,13 @@ type LabelSuffixStyle = {
4790
4797
  optional?: string;
4791
4798
  };
4792
4799
 
4793
- interface AvatarProps {
4800
+ type AvatarProps = {
4794
4801
  src: string | undefined;
4795
4802
  name?: string;
4796
4803
  size?: AvatarSize;
4797
4804
  showName?: boolean;
4798
4805
  preventTooltip?: boolean;
4799
- }
4806
+ };
4800
4807
  declare function Avatar({ src, name, size, showName, preventTooltip, ...others }: AvatarProps): JSX.Element;
4801
4808
  type AvatarSize = "sm" | "md" | "lg" | "xl";
4802
4809
 
@@ -4856,7 +4863,7 @@ interface TextFieldInternalProps {
4856
4863
  forceHover?: boolean;
4857
4864
  }
4858
4865
 
4859
- interface AvatarButtonProps extends AvatarProps, BeamButtonProps, BeamFocusableProps {
4866
+ type AvatarButtonProps = {
4860
4867
  menuTriggerProps?: AriaButtonProps;
4861
4868
  buttonRef?: RefObject<HTMLButtonElement>;
4862
4869
  /** Storybook-only visual state overrides for snapshotting pseudo-interactions. */
@@ -4865,7 +4872,7 @@ interface AvatarButtonProps extends AvatarProps, BeamButtonProps, BeamFocusableP
4865
4872
  focusVisible?: boolean;
4866
4873
  pressed?: boolean;
4867
4874
  };
4868
- }
4875
+ } & AvatarProps & BeamButtonProps & BeamFocusableProps;
4869
4876
  declare function AvatarButton(props: AvatarButtonProps): JSX.Element;
4870
4877
  declare const hoverStyles: Pick<Properties, never> & {
4871
4878
  boxShadow: csstype.Property.BoxShadow | undefined;
@@ -5943,7 +5950,7 @@ type CardTag = {
5943
5950
  text: string;
5944
5951
  type?: TagType;
5945
5952
  };
5946
- interface CardProps {
5953
+ type CardProps = {
5947
5954
  title: string;
5948
5955
  subtitle: string;
5949
5956
  detailContent?: ReactNode;
@@ -5959,7 +5966,7 @@ interface CardProps {
5959
5966
  disabled?: boolean;
5960
5967
  buttonMenuItems?: MenuItem[];
5961
5968
  tag?: CardTag;
5962
- }
5969
+ };
5963
5970
  declare function Card(props: CardProps): JSX.Element;
5964
5971
 
5965
5972
  type CardSlotBase<K extends string> = {
@@ -6250,7 +6257,7 @@ type GridStyle = {
6250
6257
  firstContentColumn?: Properties;
6251
6258
  });
6252
6259
  /** Allows for customization of the background color used to denote an "active" row */
6253
- activeBgColor?: Palette;
6260
+ activeBgColor?: BeamColor;
6254
6261
  /** Defines styles for the group row which holds the selected rows that have been filtered out */
6255
6262
  keptGroupRowCss?: Properties;
6256
6263
  /** Defines styles for the last row `keptGroup` to provide separation from the rest of the table */
@@ -7062,7 +7069,7 @@ interface ToggleChipsProps<T, X> {
7062
7069
  declare function ToggleChips<T, X extends Only<ToggleChipXss$1, X>>(props: ToggleChipsProps<T, X>): JSX.Element;
7063
7070
 
7064
7071
  type AccordionXss = Xss<Padding>;
7065
- interface AccordionProps<X = AccordionXss> {
7072
+ type AccordionProps<X = AccordionXss> = {
7066
7073
  title: ReactNode;
7067
7074
  children: ReactNode;
7068
7075
  disabled?: boolean;
@@ -7087,7 +7094,7 @@ interface AccordionProps<X = AccordionXss> {
7087
7094
  xss?: X;
7088
7095
  /** Modifies the typography, padding, icon size and background color of the accordion header */
7089
7096
  compact?: boolean;
7090
- }
7097
+ };
7091
7098
  declare function Accordion<X extends Only<AccordionXss, X>>(props: AccordionProps<X>): JSX.Element;
7092
7099
  type AccordionSize = "xs" | "sm" | "md" | "lg";
7093
7100
 
@@ -7128,10 +7135,10 @@ type AppNavSection = {
7128
7135
  };
7129
7136
  type AppNavItem = AppNavLink | AppNavGroup | AppNavSection;
7130
7137
 
7131
- interface AutoSaveIndicatorProps {
7138
+ type AutoSaveIndicatorProps = {
7132
7139
  hideOnIdle?: boolean;
7133
7140
  doNotReset?: boolean;
7134
- }
7141
+ };
7135
7142
  declare function AutoSaveIndicator({ hideOnIdle, doNotReset }: AutoSaveIndicatorProps): JSX.Element | null;
7136
7143
 
7137
7144
  interface AvatarGroupProps {
@@ -7315,12 +7322,12 @@ type ButtonDatePickerProps = {
7315
7322
  } & DatePickerProps & Pick<OverlayTriggerProps, "trigger" | "placement" | "disabled" | "tooltip">;
7316
7323
  declare function ButtonDatePicker(props: ButtonDatePickerProps): JSX.Element;
7317
7324
 
7318
- interface ButtonGroupProps {
7325
+ type ButtonGroupProps = {
7319
7326
  buttons: ButtonGroupButton[];
7320
7327
  /** Disables all buttons in ButtonGroup */
7321
7328
  disabled?: boolean;
7322
7329
  size?: ButtonGroupSize;
7323
- }
7330
+ };
7324
7331
  type ButtonGroupButton = {
7325
7332
  icon?: IconProps["icon"];
7326
7333
  iconColor?: IconProps["color"];
@@ -7909,7 +7916,7 @@ type RadioGroupFieldProps<K extends string> = {
7909
7916
  */
7910
7917
  declare function RadioGroupField<K extends string>(props: RadioGroupFieldProps<K>): JSX.Element;
7911
7918
 
7912
- interface RichTextFieldProps extends Pick<PresentationFieldProps, "fullWidth"> {
7919
+ type RichTextFieldProps = {
7913
7920
  /** The initial html value to show in the trix editor. */
7914
7921
  value: string | undefined;
7915
7922
  onChange: (html: string | undefined, text: string | undefined, mergeTags: string[]) => void;
@@ -7928,7 +7935,7 @@ interface RichTextFieldProps extends Pick<PresentationFieldProps, "fullWidth"> {
7928
7935
  onFocus?: () => void;
7929
7936
  /** For rendering formatted text */
7930
7937
  readOnly?: boolean;
7931
- }
7938
+ } & Pick<PresentationFieldProps, "fullWidth">;
7932
7939
  declare const RichTextField: (props: RichTextFieldProps) => JSX.Element;
7933
7940
  /**
7934
7941
  * Provides a simple rich text editor based on trix.
@@ -8021,7 +8028,7 @@ declare function SelectField<O extends HasIdIsh<V>, V extends Value>(props: Opti
8021
8028
  declare function SelectField<O extends HasNameIsh, V extends Value>(props: Optional<SelectFieldProps<O, V>, "getOptionLabel">): JSX.Element;
8022
8029
  declare function SelectField<O, V extends Value>(props: SelectFieldProps<O, V>): JSX.Element;
8023
8030
 
8024
- interface SwitchProps {
8031
+ type SwitchProps = {
8025
8032
  /** Whether the element should receive focus on render. */
8026
8033
  autoFocus?: boolean;
8027
8034
  /** Whether to render a compact version of Switch */
@@ -8047,7 +8054,7 @@ interface SwitchProps {
8047
8054
  hovered?: boolean;
8048
8055
  focusVisible?: boolean;
8049
8056
  };
8050
- }
8057
+ };
8051
8058
  declare function Switch(props: SwitchProps): JSX.Element;
8052
8059
  declare const switchHoverStyles: Pick<Properties, never> & {
8053
8060
  backgroundColor: csstype.Property.BackgroundColor | undefined;
@@ -8099,7 +8106,7 @@ type TextFieldApi = {
8099
8106
  focus: VoidFunction;
8100
8107
  };
8101
8108
 
8102
- interface ToggleButtonProps {
8109
+ type ToggleButtonProps = {
8103
8110
  /** Input label */
8104
8111
  label: string;
8105
8112
  selected?: boolean;
@@ -8115,7 +8122,7 @@ interface ToggleButtonProps {
8115
8122
  pressed?: boolean;
8116
8123
  focusVisible?: boolean;
8117
8124
  };
8118
- }
8125
+ };
8119
8126
  declare function ToggleButton(props: ToggleButtonProps): JSX.Element;
8120
8127
  /** Styles */
8121
8128
  declare const toggleHoverStyles: Pick<Properties, never> & {
@@ -8930,12 +8937,12 @@ type FormSectionProps = {
8930
8937
  /** A titled section of form content — title/description/actions row, then `fields`, then any recursively-rendered `childSections`. */
8931
8938
  declare function FormSection$1(props: FormSectionProps): JSX.Element;
8932
8939
 
8933
- interface StaticFieldProps {
8940
+ type StaticFieldProps = {
8934
8941
  label: ReactNode;
8935
8942
  value?: string;
8936
8943
  children?: ReactNode;
8937
8944
  labelStyle?: PresentationFieldProps["labelStyle"];
8938
- }
8945
+ };
8939
8946
  declare function StaticField(props: StaticFieldProps): JSX.Element;
8940
8947
 
8941
8948
  type SubmitButtonProps<T> = Omit<ButtonProps, "label"> & {
@@ -8994,13 +9001,13 @@ interface SelectToggleProps {
8994
9001
  /** Provides a checkbox to show/drive this row's selected state. */
8995
9002
  declare function SelectToggle({ id, disabled }: SelectToggleProps): JSX.Element;
8996
9003
 
8997
- interface SortHeaderProps {
9004
+ type SortHeaderProps = {
8998
9005
  content: string;
8999
9006
  xss?: Properties;
9000
9007
  iconOnLeft?: boolean;
9001
9008
  sortKey: string;
9002
9009
  tooltipEl?: ReactNode;
9003
- }
9010
+ };
9004
9011
  /**
9005
9012
  * Wraps column header names with up/down sorting icons.
9006
9013
  *
@@ -9502,7 +9509,7 @@ declare function useRightPaneContext(): RightPaneLayoutContextProps;
9502
9509
 
9503
9510
  declare function RightPaneLayout(props: {
9504
9511
  children: ReactElement;
9505
- paneBgColor?: Palette;
9512
+ paneBgColor?: BeamColor;
9506
9513
  paneWidth?: number;
9507
9514
  defaultPaneContent?: ReactElement;
9508
9515
  }): JSX.Element;
@@ -9759,11 +9766,11 @@ type OffsetAndLimit = {
9759
9766
  limit: number;
9760
9767
  };
9761
9768
  declare const defaultPage: OffsetAndLimit;
9762
- interface PaginationProps {
9769
+ type PaginationProps = {
9763
9770
  page: readonly [PageNumberAndSize, Dispatch<PageNumberAndSize>] | readonly [OffsetAndLimit, Dispatch<OffsetAndLimit>];
9764
9771
  totalCount: number;
9765
9772
  pageSizes?: number[];
9766
- }
9773
+ };
9767
9774
  declare function Pagination(props: PaginationProps): JSX.Element;
9768
9775
  declare function toLimitAndOffset(page: PageSettings): OffsetAndLimit;
9769
9776
  declare function toPageNumberSize(page: PageSettings): PageNumberAndSize;
@@ -9790,7 +9797,7 @@ type SideNavProps = {
9790
9797
  declare function SideNav(props: SideNavProps): JSX.Element;
9791
9798
 
9792
9799
  type SnackbarNoticeTypes = "error" | "warning" | "success" | "info" | "alert";
9793
- interface SnackbarNoticeProps {
9800
+ type SnackbarNoticeProps = {
9794
9801
  /** Adds action button to the right of the notice */
9795
9802
  action?: Pick<ButtonProps, "label" | "onClick" | "variant">;
9796
9803
  /** Does not allow the user to close the notice manually. Notice will fade away in 10s. Value will be ignored if 'persistent' is set to 'true'. */
@@ -9804,7 +9811,7 @@ interface SnackbarNoticeProps {
9804
9811
  id: string;
9805
9812
  /** Removes the snackbar notice from the stack */
9806
9813
  onClose: () => void;
9807
- }
9814
+ };
9808
9815
 
9809
9816
  type Offset = {
9810
9817
  bottom?: number;
@@ -9830,17 +9837,17 @@ interface TriggerNoticeProps extends Omit<SnackbarNoticeProps, "id" | "onClose">
9830
9837
  onClose?: () => void;
9831
9838
  }
9832
9839
 
9833
- interface Step {
9840
+ type Step = {
9834
9841
  label: string;
9835
9842
  state: "incomplete" | "complete" | "error";
9836
9843
  disabled?: boolean;
9837
9844
  value: string;
9838
- }
9839
- interface StepperProps {
9845
+ };
9846
+ type StepperProps = {
9840
9847
  steps: Step[];
9841
9848
  currentStep: Step["value"];
9842
9849
  onChange: (stepValue: string) => void;
9843
- }
9850
+ };
9844
9851
  declare function Stepper(props: StepperProps): JSX.Element;
9845
9852
 
9846
9853
  type StepperTabProps = {
@@ -9892,7 +9899,7 @@ interface ConfirmCloseModalProps {
9892
9899
  /** Modal content to appear when a close checks fails */
9893
9900
  declare function ConfirmCloseModal(props: ConfirmCloseModalProps): JSX.Element;
9894
9901
 
9895
- interface SuperDrawerContentProps {
9902
+ type SuperDrawerContentProps = {
9896
9903
  children: ReactNode;
9897
9904
  /**
9898
9905
  * Actions represents an array of button props with represents that different
@@ -9901,7 +9908,7 @@ interface SuperDrawerContentProps {
9901
9908
  * Ex: A `cancel` and `submit` button
9902
9909
  * */
9903
9910
  actions?: ButtonProps[];
9904
- }
9911
+ };
9905
9912
  /**
9906
9913
  * Helper component to place the given children and actions into the appropriate
9907
9914
  * DOM format to render inside the SuperDrawer.