@homebound/beam 3.1.0 → 3.2.0-alpha.2

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
@@ -2,11 +2,10 @@ import * as csstype from 'csstype';
2
2
  import { Properties as Properties$1 } from 'csstype';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { PropsWithChildren, AriaAttributes, ReactNode, ReactElement, MutableRefObject, Dispatch, SetStateAction, RefObject, ButtonHTMLAttributes, KeyboardEvent, LabelHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, Key, HTMLAttributes, ReactPortal } from 'react';
5
+ import { Temporal } from 'temporal-polyfill';
5
6
  import { DOMProps, PressEvent, Key as Key$1 } from '@react-types/shared';
6
7
  import { VirtuosoHandle, ListRange } from 'react-virtuoso';
7
8
  import { AriaButtonProps } from '@react-types/button';
8
- import { Matcher, DateRange } from 'react-day-picker';
9
- export { DateRange } from 'react-day-picker';
10
9
  import { MenuTriggerState } from 'react-stately';
11
10
  import { FieldState, ListFieldState, ObjectState } from '@homebound/form-state';
12
11
  import { NumberFieldAria } from '@react-aria/numberfield';
@@ -4262,6 +4261,12 @@ declare enum Breakpoints {
4262
4261
  mdOrLg = "@media screen and (min-width: 600px)"
4263
4262
  }
4264
4263
 
4264
+ type PlainDate = Temporal.PlainDate;
4265
+ type DateRange = {
4266
+ from: PlainDate | undefined;
4267
+ to?: PlainDate | undefined;
4268
+ };
4269
+ type DateMatcher = PlainDate | PlainDate[] | DateRange | ((date: PlainDate) => boolean);
4265
4270
  type HasIdIsh<V = string> = {
4266
4271
  id: V;
4267
4272
  } | {
@@ -5890,13 +5895,13 @@ declare function Button(props: ButtonProps): JSX.Element;
5890
5895
  type ButtonSize = "sm" | "md" | "lg";
5891
5896
  type ButtonVariant = "primary" | "secondary" | "secondaryBlack" | "tertiary" | "tertiaryDanger" | "caution" | "danger" | "quaternary" | "text" | "textSecondary";
5892
5897
 
5893
- interface DatePickerProps {
5894
- value?: Date;
5895
- onSelect: (value: Date) => void;
5896
- disabledDays?: Matcher | Matcher[];
5897
- dottedDays?: Matcher[];
5898
+ type DatePickerProps = {
5899
+ value?: PlainDate;
5900
+ onSelect: (value: PlainDate) => void;
5901
+ disabledDays?: DateMatcher | DateMatcher[];
5902
+ dottedDays?: DateMatcher | DateMatcher[];
5898
5903
  useYearPicker?: boolean;
5899
- }
5904
+ };
5900
5905
 
5901
5906
  interface IconButtonProps extends BeamButtonProps, BeamFocusableProps {
5902
5907
  /** The icon to use within the button. */
@@ -6222,6 +6227,20 @@ interface Filter<V> {
6222
6227
  hideLabelInModal?: boolean;
6223
6228
  /** The default value to use in `usePersistedFilter` for creating the initial filter. */
6224
6229
  defaultValue: V | undefined;
6230
+ /**
6231
+ * Rehydrates persisted query/session values back into the filter's runtime shape.
6232
+ *
6233
+ * This exists because persisted filter state is JSON-based, so rich values like
6234
+ * `Temporal.PlainDate` round-trip as strings and need explicit reconstruction.
6235
+ */
6236
+ hydrate?(value: unknown): V | undefined;
6237
+ /**
6238
+ * Converts the filter's runtime value into a JSON-safe value for query params/session storage.
6239
+ *
6240
+ * This keeps persistence stable for non-plain JS values and lets filters preserve
6241
+ * backwards-compatible serialized formats when needed.
6242
+ */
6243
+ dehydrate?(value: V | undefined): unknown;
6225
6244
  /** Renders the filter into either the page or the modal. */
6226
6245
  render(value: V | undefined, setValue: (value: V | undefined) => void, tid: TestIds, inModal: boolean, vertical: boolean): JSX.Element;
6227
6246
  }
@@ -6375,21 +6394,24 @@ type ListBoxSection<O> = {
6375
6394
  };
6376
6395
  declare function isListBoxSection<O>(obj: O | ListBoxSection<O>): obj is ListBoxSection<O>;
6377
6396
 
6378
- type DateFieldModeTuple = readonly ["range", DateRange] | readonly ["single", Date];
6397
+ type SupportedDateFormat = "shortDate" | "date" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear" | "monthYear" | "shortMonth" | "year" | "weekdayInitial" | "weekday";
6398
+ declare function formatPlainDate(date: PlainDate, format: SupportedDateFormat): string;
6399
+
6379
6400
  type DateFieldMode = "single" | "range";
6380
6401
  declare const dateFormats: {
6381
- short: string;
6382
- medium: string;
6383
- long: string;
6384
- };
6385
- declare function getDateFormat(format: keyof typeof dateFormats | undefined): string;
6386
- declare function formatDate(date: Date | undefined, format: string): string;
6387
- declare function formatDateRange(date: DateRange | undefined, format: string): string | undefined;
6388
- declare function parseDate(str: string, format: string): Date | undefined;
6389
- declare function parseDateRange(str: string, format: string): DateRange | undefined;
6390
- declare function isValidDate(d: Date | undefined): boolean;
6391
-
6392
- interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> {
6402
+ readonly short: "shortDate";
6403
+ readonly medium: "shortWeekdayMonthDay";
6404
+ readonly long: "longWeekdayMonthDayYear";
6405
+ };
6406
+ type DateFieldFormat = (typeof dateFormats)[keyof typeof dateFormats];
6407
+ declare function getDateFormat(format: keyof typeof dateFormats | undefined): "shortDate" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear";
6408
+ declare function formatDate(date: PlainDate | undefined, format: SupportedDateFormat): string;
6409
+ declare function formatDateRange(date: DateRange | undefined, format: SupportedDateFormat): string | undefined;
6410
+ declare function parseDate(str: string, format: DateFieldFormat | "date"): PlainDate | undefined;
6411
+ declare function parseDateRange(str: string, format: DateFieldFormat | "date"): DateRange | undefined;
6412
+ declare function isValidDate(d: PlainDate | undefined): boolean;
6413
+
6414
+ type DateFieldCommonProps = Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> & {
6393
6415
  label: string;
6394
6416
  /** Called when the component loses focus */
6395
6417
  onBlur?: () => void;
@@ -6408,36 +6430,27 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
6408
6430
  hideCalendarIcon?: boolean;
6409
6431
  /**
6410
6432
  * Set custom logic for individual dates or date ranges to be disabled in the picker
6411
- * exposed from `react-day-picker`: https://react-day-picker.js.org/api/DayPicker#modifiers
6412
6433
  */
6413
- disabledDays?: Matcher | Matcher[];
6434
+ disabledDays?: DateMatcher | DateMatcher[];
6414
6435
  onEnter?: VoidFunction;
6415
6436
  /** for storybook */
6416
6437
  defaultOpen?: boolean;
6417
- onChange: ((value: Date | undefined) => void) | ((value: DateRange | undefined) => void);
6418
- mode: DateFieldMode;
6419
6438
  /** Range filters should only allow a full DateRange or nothing */
6420
6439
  isRangeFilterField?: boolean;
6421
6440
  /** Render header that skips years in addition to months */
6422
6441
  useYearPicker?: boolean;
6423
- }
6424
- interface DateSingleFieldBaseProps extends DateFieldBaseProps {
6425
- mode: "single";
6426
- value: Date | undefined;
6427
- onChange: (value: Date | undefined) => void;
6428
- }
6429
- interface DateRangeFieldBaseProps extends DateFieldBaseProps {
6430
- mode: "range";
6442
+ };
6443
+ type DateFieldProps = DateFieldCommonProps & {
6444
+ value: PlainDate | undefined;
6445
+ onChange: (value: PlainDate | undefined) => void;
6446
+ };
6447
+ type DateRangeFieldProps = DateFieldCommonProps & {
6431
6448
  value: DateRange | undefined;
6432
6449
  onChange: (value: DateRange | undefined) => void;
6433
- }
6450
+ };
6434
6451
 
6435
- interface DateFieldProps extends Omit<DateSingleFieldBaseProps, "mode"> {
6436
- }
6437
6452
  declare const DateField: (props: DateFieldProps) => JSX.Element;
6438
6453
 
6439
- interface DateRangeFieldProps extends Omit<DateRangeFieldBaseProps, "mode"> {
6440
- }
6441
6454
  declare function DateRangeField(props: DateRangeFieldProps): JSX.Element;
6442
6455
 
6443
6456
  interface ErrorMessageProps {
@@ -6922,7 +6935,7 @@ type DateFilterProps<O, V extends Value, DV extends DateFilterValue<V>> = {
6922
6935
  };
6923
6936
  type DateFilterValue<V extends Value> = {
6924
6937
  op: V;
6925
- value: Date;
6938
+ value: PlainDate;
6926
6939
  };
6927
6940
  declare function dateFilter<O, V extends Value>(props: DateFilterProps<O, V, DateFilterValue<V>>): (key: string) => Filter<DateFilterValue<V>>;
6928
6941
 
@@ -6930,7 +6943,7 @@ type DateRangeFilterProps<O extends string> = {
6930
6943
  label: string;
6931
6944
  defaultValue?: DateRangeFilterValue<O>;
6932
6945
  placeholderText?: string;
6933
- disabledDays?: Matcher | Matcher[];
6946
+ disabledDays?: DateMatcher | DateMatcher[];
6934
6947
  testFieldLabel?: string;
6935
6948
  };
6936
6949
  type DateRangeFilterValue<O extends string> = {
@@ -7291,9 +7304,9 @@ declare function BoundChipSelectField<O, V extends Value>(props: BoundChipSelect
7291
7304
  declare function BoundChipSelectField<O extends HasIdAndName<V>, V extends Value>(props: Optional<BoundChipSelectFieldProps<O, V>, "getOptionValue" | "getOptionLabel">): JSX.Element;
7292
7305
 
7293
7306
  type BoundDateFieldProps = Omit<DateFieldProps, "label" | "value" | "onChange"> & {
7294
- field: FieldState<Date | null | undefined>;
7307
+ field: FieldState<PlainDate | null | undefined>;
7295
7308
  label?: string;
7296
- onChange?: (value: Date | undefined) => void;
7309
+ onChange?: (value: PlainDate | undefined) => void;
7297
7310
  };
7298
7311
  /** Wraps `TextField` and binds it to a form field. */
7299
7312
  declare function BoundDateField(props: BoundDateFieldProps): JSX.Element;
@@ -7767,14 +7780,14 @@ declare function useHover(props: useHoverProps): {
7767
7780
  isHovered: boolean;
7768
7781
  };
7769
7782
 
7770
- interface UsePersistedFilterProps<F> {
7783
+ type UsePersistedFilterProps<F> = {
7771
7784
  filterDefs: FilterDefs<F>;
7772
7785
  storageKey: string;
7773
- }
7774
- interface PersistedFilterHook<F> {
7786
+ };
7787
+ type PersistedFilterHook<F> = {
7775
7788
  filter: F;
7776
7789
  setFilter: (filter: F) => void;
7777
- }
7790
+ };
7778
7791
  /**
7779
7792
  * Persists filter details in both browser storage and query parameters.
7780
7793
  * If a valid filter is present in the query params, then that will be used.
@@ -8515,4 +8528,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
8515
8528
  */
8516
8529
  declare function defaultTestId(label: string): string;
8517
8530
 
8518
- export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BeamButtonProps, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundIconCardField, type BoundIconCardFieldProps, BoundIconCardGroupField, type BoundIconCardGroupFieldProps, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardTag, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, ConfirmCloseModal, type ContentStack, Copy, CountBadge, type CountBadgeProps, Css, CssReset, DESC, DateField, type DateFieldMode, type DateFieldModeTuple, type DateFieldProps, type DateFilterValue, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, type DragData, EXPANDABLE_HEADER, EditColumnsButton, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, HelperText, Icon, IconButton, type IconButtonProps, IconCard, type IconCardProps, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type InfiniteScroll, type InlineStyle, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, type PageNumberAndSize, type PageSettings, Pagination, type PaginationConfig, Palette, type Pin, type Placement, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, ScrollShadows, ScrollableContent, ScrollableParent, SelectField, type SelectFieldProps, SelectToggle, type SelectedState, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableState, TableStateContext, Tabs, TabsWithContent, Tag, type TagType, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, type Xss, actionColumn, applyRowFn, assignDefaultColumnIds, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundIconCardField, boundIconCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnSizes, cardStyle, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, filterTestIdPrefix, formatDate, formatDateRange, formatValue, generateColumnId, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getJustification, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, iconButtonCircleStylesHover, iconButtonContrastStylesHover, iconButtonStylesHover, iconCardStylesHover, increment, insertAtIndex, isCursorBelowMidpoint, isGridCellContent, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, selectedStyles, setDefaultStyle, setGridTableDefaults, setRunningInJest, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBreakpoint, useComputed, useDnDGridItem, type useDnDGridItemProps, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, zIndices };
8531
+ export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BeamButtonProps, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundIconCardField, type BoundIconCardFieldProps, BoundIconCardGroupField, type BoundIconCardGroupFieldProps, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardTag, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, ConfirmCloseModal, type ContentStack, Copy, CountBadge, type CountBadgeProps, Css, CssReset, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, type DragData, EXPANDABLE_HEADER, EditColumnsButton, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, HelperText, Icon, IconButton, type IconButtonProps, IconCard, type IconCardProps, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type InfiniteScroll, type InlineStyle, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, type PageNumberAndSize, type PageSettings, Pagination, type PaginationConfig, Palette, type Pin, type Placement, type PlainDate, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, ScrollShadows, ScrollableContent, ScrollableParent, SelectField, type SelectFieldProps, SelectToggle, type SelectedState, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableState, TableStateContext, Tabs, TabsWithContent, Tag, type TagType, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, type Xss, actionColumn, applyRowFn, assignDefaultColumnIds, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundIconCardField, boundIconCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnSizes, cardStyle, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getJustification, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, iconButtonCircleStylesHover, iconButtonContrastStylesHover, iconButtonStylesHover, iconCardStylesHover, increment, insertAtIndex, isCursorBelowMidpoint, isGridCellContent, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, selectedStyles, setDefaultStyle, setGridTableDefaults, setRunningInJest, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBreakpoint, useComputed, useDnDGridItem, type useDnDGridItemProps, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, zIndices };
package/dist/index.d.ts CHANGED
@@ -2,11 +2,10 @@ import * as csstype from 'csstype';
2
2
  import { Properties as Properties$1 } from 'csstype';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { PropsWithChildren, AriaAttributes, ReactNode, ReactElement, MutableRefObject, Dispatch, SetStateAction, RefObject, ButtonHTMLAttributes, KeyboardEvent, LabelHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, Key, HTMLAttributes, ReactPortal } from 'react';
5
+ import { Temporal } from 'temporal-polyfill';
5
6
  import { DOMProps, PressEvent, Key as Key$1 } from '@react-types/shared';
6
7
  import { VirtuosoHandle, ListRange } from 'react-virtuoso';
7
8
  import { AriaButtonProps } from '@react-types/button';
8
- import { Matcher, DateRange } from 'react-day-picker';
9
- export { DateRange } from 'react-day-picker';
10
9
  import { MenuTriggerState } from 'react-stately';
11
10
  import { FieldState, ListFieldState, ObjectState } from '@homebound/form-state';
12
11
  import { NumberFieldAria } from '@react-aria/numberfield';
@@ -4262,6 +4261,12 @@ declare enum Breakpoints {
4262
4261
  mdOrLg = "@media screen and (min-width: 600px)"
4263
4262
  }
4264
4263
 
4264
+ type PlainDate = Temporal.PlainDate;
4265
+ type DateRange = {
4266
+ from: PlainDate | undefined;
4267
+ to?: PlainDate | undefined;
4268
+ };
4269
+ type DateMatcher = PlainDate | PlainDate[] | DateRange | ((date: PlainDate) => boolean);
4265
4270
  type HasIdIsh<V = string> = {
4266
4271
  id: V;
4267
4272
  } | {
@@ -5890,13 +5895,13 @@ declare function Button(props: ButtonProps): JSX.Element;
5890
5895
  type ButtonSize = "sm" | "md" | "lg";
5891
5896
  type ButtonVariant = "primary" | "secondary" | "secondaryBlack" | "tertiary" | "tertiaryDanger" | "caution" | "danger" | "quaternary" | "text" | "textSecondary";
5892
5897
 
5893
- interface DatePickerProps {
5894
- value?: Date;
5895
- onSelect: (value: Date) => void;
5896
- disabledDays?: Matcher | Matcher[];
5897
- dottedDays?: Matcher[];
5898
+ type DatePickerProps = {
5899
+ value?: PlainDate;
5900
+ onSelect: (value: PlainDate) => void;
5901
+ disabledDays?: DateMatcher | DateMatcher[];
5902
+ dottedDays?: DateMatcher | DateMatcher[];
5898
5903
  useYearPicker?: boolean;
5899
- }
5904
+ };
5900
5905
 
5901
5906
  interface IconButtonProps extends BeamButtonProps, BeamFocusableProps {
5902
5907
  /** The icon to use within the button. */
@@ -6222,6 +6227,20 @@ interface Filter<V> {
6222
6227
  hideLabelInModal?: boolean;
6223
6228
  /** The default value to use in `usePersistedFilter` for creating the initial filter. */
6224
6229
  defaultValue: V | undefined;
6230
+ /**
6231
+ * Rehydrates persisted query/session values back into the filter's runtime shape.
6232
+ *
6233
+ * This exists because persisted filter state is JSON-based, so rich values like
6234
+ * `Temporal.PlainDate` round-trip as strings and need explicit reconstruction.
6235
+ */
6236
+ hydrate?(value: unknown): V | undefined;
6237
+ /**
6238
+ * Converts the filter's runtime value into a JSON-safe value for query params/session storage.
6239
+ *
6240
+ * This keeps persistence stable for non-plain JS values and lets filters preserve
6241
+ * backwards-compatible serialized formats when needed.
6242
+ */
6243
+ dehydrate?(value: V | undefined): unknown;
6225
6244
  /** Renders the filter into either the page or the modal. */
6226
6245
  render(value: V | undefined, setValue: (value: V | undefined) => void, tid: TestIds, inModal: boolean, vertical: boolean): JSX.Element;
6227
6246
  }
@@ -6375,21 +6394,24 @@ type ListBoxSection<O> = {
6375
6394
  };
6376
6395
  declare function isListBoxSection<O>(obj: O | ListBoxSection<O>): obj is ListBoxSection<O>;
6377
6396
 
6378
- type DateFieldModeTuple = readonly ["range", DateRange] | readonly ["single", Date];
6397
+ type SupportedDateFormat = "shortDate" | "date" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear" | "monthYear" | "shortMonth" | "year" | "weekdayInitial" | "weekday";
6398
+ declare function formatPlainDate(date: PlainDate, format: SupportedDateFormat): string;
6399
+
6379
6400
  type DateFieldMode = "single" | "range";
6380
6401
  declare const dateFormats: {
6381
- short: string;
6382
- medium: string;
6383
- long: string;
6384
- };
6385
- declare function getDateFormat(format: keyof typeof dateFormats | undefined): string;
6386
- declare function formatDate(date: Date | undefined, format: string): string;
6387
- declare function formatDateRange(date: DateRange | undefined, format: string): string | undefined;
6388
- declare function parseDate(str: string, format: string): Date | undefined;
6389
- declare function parseDateRange(str: string, format: string): DateRange | undefined;
6390
- declare function isValidDate(d: Date | undefined): boolean;
6391
-
6392
- interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> {
6402
+ readonly short: "shortDate";
6403
+ readonly medium: "shortWeekdayMonthDay";
6404
+ readonly long: "longWeekdayMonthDayYear";
6405
+ };
6406
+ type DateFieldFormat = (typeof dateFormats)[keyof typeof dateFormats];
6407
+ declare function getDateFormat(format: keyof typeof dateFormats | undefined): "shortDate" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear";
6408
+ declare function formatDate(date: PlainDate | undefined, format: SupportedDateFormat): string;
6409
+ declare function formatDateRange(date: DateRange | undefined, format: SupportedDateFormat): string | undefined;
6410
+ declare function parseDate(str: string, format: DateFieldFormat | "date"): PlainDate | undefined;
6411
+ declare function parseDateRange(str: string, format: DateFieldFormat | "date"): DateRange | undefined;
6412
+ declare function isValidDate(d: PlainDate | undefined): boolean;
6413
+
6414
+ type DateFieldCommonProps = Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> & {
6393
6415
  label: string;
6394
6416
  /** Called when the component loses focus */
6395
6417
  onBlur?: () => void;
@@ -6408,36 +6430,27 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
6408
6430
  hideCalendarIcon?: boolean;
6409
6431
  /**
6410
6432
  * Set custom logic for individual dates or date ranges to be disabled in the picker
6411
- * exposed from `react-day-picker`: https://react-day-picker.js.org/api/DayPicker#modifiers
6412
6433
  */
6413
- disabledDays?: Matcher | Matcher[];
6434
+ disabledDays?: DateMatcher | DateMatcher[];
6414
6435
  onEnter?: VoidFunction;
6415
6436
  /** for storybook */
6416
6437
  defaultOpen?: boolean;
6417
- onChange: ((value: Date | undefined) => void) | ((value: DateRange | undefined) => void);
6418
- mode: DateFieldMode;
6419
6438
  /** Range filters should only allow a full DateRange or nothing */
6420
6439
  isRangeFilterField?: boolean;
6421
6440
  /** Render header that skips years in addition to months */
6422
6441
  useYearPicker?: boolean;
6423
- }
6424
- interface DateSingleFieldBaseProps extends DateFieldBaseProps {
6425
- mode: "single";
6426
- value: Date | undefined;
6427
- onChange: (value: Date | undefined) => void;
6428
- }
6429
- interface DateRangeFieldBaseProps extends DateFieldBaseProps {
6430
- mode: "range";
6442
+ };
6443
+ type DateFieldProps = DateFieldCommonProps & {
6444
+ value: PlainDate | undefined;
6445
+ onChange: (value: PlainDate | undefined) => void;
6446
+ };
6447
+ type DateRangeFieldProps = DateFieldCommonProps & {
6431
6448
  value: DateRange | undefined;
6432
6449
  onChange: (value: DateRange | undefined) => void;
6433
- }
6450
+ };
6434
6451
 
6435
- interface DateFieldProps extends Omit<DateSingleFieldBaseProps, "mode"> {
6436
- }
6437
6452
  declare const DateField: (props: DateFieldProps) => JSX.Element;
6438
6453
 
6439
- interface DateRangeFieldProps extends Omit<DateRangeFieldBaseProps, "mode"> {
6440
- }
6441
6454
  declare function DateRangeField(props: DateRangeFieldProps): JSX.Element;
6442
6455
 
6443
6456
  interface ErrorMessageProps {
@@ -6922,7 +6935,7 @@ type DateFilterProps<O, V extends Value, DV extends DateFilterValue<V>> = {
6922
6935
  };
6923
6936
  type DateFilterValue<V extends Value> = {
6924
6937
  op: V;
6925
- value: Date;
6938
+ value: PlainDate;
6926
6939
  };
6927
6940
  declare function dateFilter<O, V extends Value>(props: DateFilterProps<O, V, DateFilterValue<V>>): (key: string) => Filter<DateFilterValue<V>>;
6928
6941
 
@@ -6930,7 +6943,7 @@ type DateRangeFilterProps<O extends string> = {
6930
6943
  label: string;
6931
6944
  defaultValue?: DateRangeFilterValue<O>;
6932
6945
  placeholderText?: string;
6933
- disabledDays?: Matcher | Matcher[];
6946
+ disabledDays?: DateMatcher | DateMatcher[];
6934
6947
  testFieldLabel?: string;
6935
6948
  };
6936
6949
  type DateRangeFilterValue<O extends string> = {
@@ -7291,9 +7304,9 @@ declare function BoundChipSelectField<O, V extends Value>(props: BoundChipSelect
7291
7304
  declare function BoundChipSelectField<O extends HasIdAndName<V>, V extends Value>(props: Optional<BoundChipSelectFieldProps<O, V>, "getOptionValue" | "getOptionLabel">): JSX.Element;
7292
7305
 
7293
7306
  type BoundDateFieldProps = Omit<DateFieldProps, "label" | "value" | "onChange"> & {
7294
- field: FieldState<Date | null | undefined>;
7307
+ field: FieldState<PlainDate | null | undefined>;
7295
7308
  label?: string;
7296
- onChange?: (value: Date | undefined) => void;
7309
+ onChange?: (value: PlainDate | undefined) => void;
7297
7310
  };
7298
7311
  /** Wraps `TextField` and binds it to a form field. */
7299
7312
  declare function BoundDateField(props: BoundDateFieldProps): JSX.Element;
@@ -7767,14 +7780,14 @@ declare function useHover(props: useHoverProps): {
7767
7780
  isHovered: boolean;
7768
7781
  };
7769
7782
 
7770
- interface UsePersistedFilterProps<F> {
7783
+ type UsePersistedFilterProps<F> = {
7771
7784
  filterDefs: FilterDefs<F>;
7772
7785
  storageKey: string;
7773
- }
7774
- interface PersistedFilterHook<F> {
7786
+ };
7787
+ type PersistedFilterHook<F> = {
7775
7788
  filter: F;
7776
7789
  setFilter: (filter: F) => void;
7777
- }
7790
+ };
7778
7791
  /**
7779
7792
  * Persists filter details in both browser storage and query parameters.
7780
7793
  * If a valid filter is present in the query params, then that will be used.
@@ -8515,4 +8528,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
8515
8528
  */
8516
8529
  declare function defaultTestId(label: string): string;
8517
8530
 
8518
- export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BeamButtonProps, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundIconCardField, type BoundIconCardFieldProps, BoundIconCardGroupField, type BoundIconCardGroupFieldProps, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardTag, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, ConfirmCloseModal, type ContentStack, Copy, CountBadge, type CountBadgeProps, Css, CssReset, DESC, DateField, type DateFieldMode, type DateFieldModeTuple, type DateFieldProps, type DateFilterValue, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, type DragData, EXPANDABLE_HEADER, EditColumnsButton, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, HelperText, Icon, IconButton, type IconButtonProps, IconCard, type IconCardProps, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type InfiniteScroll, type InlineStyle, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, type PageNumberAndSize, type PageSettings, Pagination, type PaginationConfig, Palette, type Pin, type Placement, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, ScrollShadows, ScrollableContent, ScrollableParent, SelectField, type SelectFieldProps, SelectToggle, type SelectedState, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableState, TableStateContext, Tabs, TabsWithContent, Tag, type TagType, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, type Xss, actionColumn, applyRowFn, assignDefaultColumnIds, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundIconCardField, boundIconCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnSizes, cardStyle, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, filterTestIdPrefix, formatDate, formatDateRange, formatValue, generateColumnId, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getJustification, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, iconButtonCircleStylesHover, iconButtonContrastStylesHover, iconButtonStylesHover, iconCardStylesHover, increment, insertAtIndex, isCursorBelowMidpoint, isGridCellContent, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, selectedStyles, setDefaultStyle, setGridTableDefaults, setRunningInJest, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBreakpoint, useComputed, useDnDGridItem, type useDnDGridItemProps, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, zIndices };
8531
+ export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BeamButtonProps, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundIconCardField, type BoundIconCardFieldProps, BoundIconCardGroupField, type BoundIconCardGroupFieldProps, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardTag, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, ConfirmCloseModal, type ContentStack, Copy, CountBadge, type CountBadgeProps, Css, CssReset, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, type DragData, EXPANDABLE_HEADER, EditColumnsButton, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, HelperText, Icon, IconButton, type IconButtonProps, IconCard, type IconCardProps, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type InfiniteScroll, type InlineStyle, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, type PageNumberAndSize, type PageSettings, Pagination, type PaginationConfig, Palette, type Pin, type Placement, type PlainDate, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, ScrollShadows, ScrollableContent, ScrollableParent, SelectField, type SelectFieldProps, SelectToggle, type SelectedState, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableState, TableStateContext, Tabs, TabsWithContent, Tag, type TagType, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, type Xss, actionColumn, applyRowFn, assignDefaultColumnIds, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundIconCardField, boundIconCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnSizes, cardStyle, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getJustification, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, iconButtonCircleStylesHover, iconButtonContrastStylesHover, iconButtonStylesHover, iconCardStylesHover, increment, insertAtIndex, isCursorBelowMidpoint, isGridCellContent, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, selectedStyles, setDefaultStyle, setGridTableDefaults, setRunningInJest, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBreakpoint, useComputed, useDnDGridItem, type useDnDGridItemProps, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, zIndices };