@homebound/beam 3.2.0 → 3.4.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
@@ -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
  } | {
@@ -4730,6 +4735,7 @@ type InfiniteScroll = {
4730
4735
  endOffsetPx?: number;
4731
4736
  };
4732
4737
 
4738
+ type GridCellValue = number | string | Date | boolean | Temporal.PlainDate | Temporal.ZonedDateTime | null | undefined;
4733
4739
  /**
4734
4740
  * Allows a cell to be more than just a RectNode, i.e. declare its alignment or
4735
4741
  * primitive value for filtering and sorting.
@@ -4743,9 +4749,9 @@ type GridCellContent = {
4743
4749
  content: MaybeFn<ReactNode>;
4744
4750
  alignment?: GridCellAlignment;
4745
4751
  /** Allow value to be a function in case it's a dynamic value i.e. reading from an inline-edited proxy. */
4746
- value?: MaybeFn<number | string | Date | boolean | null | undefined>;
4752
+ value?: MaybeFn<GridCellValue>;
4747
4753
  /** The value to use specifically for sorting (i.e. if `value` is used for filtering); defaults to `value`. */
4748
- sortValue?: MaybeFn<number | string | Date | boolean | null | undefined>;
4754
+ sortValue?: MaybeFn<GridCellValue>;
4749
4755
  colspan?: number;
4750
4756
  typeScale?: Typography;
4751
4757
  /** Allows the cell to stay in place when the user scrolls horizontally, i.e. frozen columns. */
@@ -5890,13 +5896,13 @@ declare function Button(props: ButtonProps): JSX.Element;
5890
5896
  type ButtonSize = "sm" | "md" | "lg";
5891
5897
  type ButtonVariant = "primary" | "secondary" | "secondaryBlack" | "tertiary" | "tertiaryDanger" | "caution" | "danger" | "quaternary" | "text" | "textSecondary";
5892
5898
 
5893
- interface DatePickerProps {
5894
- value?: Date;
5895
- onSelect: (value: Date) => void;
5896
- disabledDays?: Matcher | Matcher[];
5897
- dottedDays?: Matcher[];
5899
+ type DatePickerProps = {
5900
+ value?: PlainDate;
5901
+ onSelect: (value: PlainDate) => void;
5902
+ disabledDays?: DateMatcher | DateMatcher[];
5903
+ dottedDays?: DateMatcher | DateMatcher[];
5898
5904
  useYearPicker?: boolean;
5899
- }
5905
+ };
5900
5906
 
5901
5907
  interface IconButtonProps extends BeamButtonProps, BeamFocusableProps {
5902
5908
  /** The icon to use within the button. */
@@ -6222,6 +6228,20 @@ interface Filter<V> {
6222
6228
  hideLabelInModal?: boolean;
6223
6229
  /** The default value to use in `usePersistedFilter` for creating the initial filter. */
6224
6230
  defaultValue: V | undefined;
6231
+ /**
6232
+ * Rehydrates persisted query/session values back into the filter's runtime shape.
6233
+ *
6234
+ * This exists because persisted filter state is JSON-based, so rich values like
6235
+ * `Temporal.PlainDate` round-trip as strings and need explicit reconstruction.
6236
+ */
6237
+ hydrate?(value: unknown): V | undefined;
6238
+ /**
6239
+ * Converts the filter's runtime value into a JSON-safe value for query params/session storage.
6240
+ *
6241
+ * This keeps persistence stable for non-plain JS values and lets filters preserve
6242
+ * backwards-compatible serialized formats when needed.
6243
+ */
6244
+ dehydrate?(value: V | undefined): unknown;
6225
6245
  /** Renders the filter into either the page or the modal. */
6226
6246
  render(value: V | undefined, setValue: (value: V | undefined) => void, tid: TestIds, inModal: boolean, vertical: boolean): JSX.Element;
6227
6247
  }
@@ -6375,21 +6395,24 @@ type ListBoxSection<O> = {
6375
6395
  };
6376
6396
  declare function isListBoxSection<O>(obj: O | ListBoxSection<O>): obj is ListBoxSection<O>;
6377
6397
 
6378
- type DateFieldModeTuple = readonly ["range", DateRange] | readonly ["single", Date];
6398
+ type SupportedDateFormat = "shortDate" | "date" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear" | "monthYear" | "shortMonth" | "year" | "weekdayInitial" | "weekday";
6399
+ declare function formatPlainDate(date: PlainDate, format: SupportedDateFormat): string;
6400
+
6379
6401
  type DateFieldMode = "single" | "range";
6380
6402
  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"> {
6403
+ readonly short: "shortDate";
6404
+ readonly medium: "shortWeekdayMonthDay";
6405
+ readonly long: "longWeekdayMonthDayYear";
6406
+ };
6407
+ type DateFieldFormat = (typeof dateFormats)[keyof typeof dateFormats];
6408
+ declare function getDateFormat(format: keyof typeof dateFormats | undefined): "shortDate" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear";
6409
+ declare function formatDate(date: PlainDate | undefined, format: SupportedDateFormat): string;
6410
+ declare function formatDateRange(date: DateRange | undefined, format: SupportedDateFormat): string | undefined;
6411
+ declare function parseDate(str: string, format: DateFieldFormat | "date"): PlainDate | undefined;
6412
+ declare function parseDateRange(str: string, format: DateFieldFormat | "date"): DateRange | undefined;
6413
+ declare function isValidDate(d: PlainDate | undefined): boolean;
6414
+
6415
+ type DateFieldCommonProps = Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> & {
6393
6416
  label: string;
6394
6417
  /** Called when the component loses focus */
6395
6418
  onBlur?: () => void;
@@ -6408,36 +6431,27 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
6408
6431
  hideCalendarIcon?: boolean;
6409
6432
  /**
6410
6433
  * 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
6434
  */
6413
- disabledDays?: Matcher | Matcher[];
6435
+ disabledDays?: DateMatcher | DateMatcher[];
6414
6436
  onEnter?: VoidFunction;
6415
6437
  /** for storybook */
6416
6438
  defaultOpen?: boolean;
6417
- onChange: ((value: Date | undefined) => void) | ((value: DateRange | undefined) => void);
6418
- mode: DateFieldMode;
6419
6439
  /** Range filters should only allow a full DateRange or nothing */
6420
6440
  isRangeFilterField?: boolean;
6421
6441
  /** Render header that skips years in addition to months */
6422
6442
  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";
6443
+ };
6444
+ type DateFieldProps = DateFieldCommonProps & {
6445
+ value: PlainDate | undefined;
6446
+ onChange: (value: PlainDate | undefined) => void;
6447
+ };
6448
+ type DateRangeFieldProps = DateFieldCommonProps & {
6431
6449
  value: DateRange | undefined;
6432
6450
  onChange: (value: DateRange | undefined) => void;
6433
- }
6451
+ };
6434
6452
 
6435
- interface DateFieldProps extends Omit<DateSingleFieldBaseProps, "mode"> {
6436
- }
6437
6453
  declare const DateField: (props: DateFieldProps) => JSX.Element;
6438
6454
 
6439
- interface DateRangeFieldProps extends Omit<DateRangeFieldBaseProps, "mode"> {
6440
- }
6441
6455
  declare function DateRangeField(props: DateRangeFieldProps): JSX.Element;
6442
6456
 
6443
6457
  interface ErrorMessageProps {
@@ -6922,7 +6936,7 @@ type DateFilterProps<O, V extends Value, DV extends DateFilterValue<V>> = {
6922
6936
  };
6923
6937
  type DateFilterValue<V extends Value> = {
6924
6938
  op: V;
6925
- value: Date;
6939
+ value: PlainDate;
6926
6940
  };
6927
6941
  declare function dateFilter<O, V extends Value>(props: DateFilterProps<O, V, DateFilterValue<V>>): (key: string) => Filter<DateFilterValue<V>>;
6928
6942
 
@@ -6930,7 +6944,7 @@ type DateRangeFilterProps<O extends string> = {
6930
6944
  label: string;
6931
6945
  defaultValue?: DateRangeFilterValue<O>;
6932
6946
  placeholderText?: string;
6933
- disabledDays?: Matcher | Matcher[];
6947
+ disabledDays?: DateMatcher | DateMatcher[];
6934
6948
  testFieldLabel?: string;
6935
6949
  };
6936
6950
  type DateRangeFilterValue<O extends string> = {
@@ -7291,9 +7305,9 @@ declare function BoundChipSelectField<O, V extends Value>(props: BoundChipSelect
7291
7305
  declare function BoundChipSelectField<O extends HasIdAndName<V>, V extends Value>(props: Optional<BoundChipSelectFieldProps<O, V>, "getOptionValue" | "getOptionLabel">): JSX.Element;
7292
7306
 
7293
7307
  type BoundDateFieldProps = Omit<DateFieldProps, "label" | "value" | "onChange"> & {
7294
- field: FieldState<Date | null | undefined>;
7308
+ field: FieldState<PlainDate | null | undefined>;
7295
7309
  label?: string;
7296
- onChange?: (value: Date | undefined) => void;
7310
+ onChange?: (value: PlainDate | undefined) => void;
7297
7311
  };
7298
7312
  /** Wraps `TextField` and binds it to a form field. */
7299
7313
  declare function BoundDateField(props: BoundDateFieldProps): JSX.Element;
@@ -7767,14 +7781,14 @@ declare function useHover(props: useHoverProps): {
7767
7781
  isHovered: boolean;
7768
7782
  };
7769
7783
 
7770
- interface UsePersistedFilterProps<F> {
7784
+ type UsePersistedFilterProps<F> = {
7771
7785
  filterDefs: FilterDefs<F>;
7772
7786
  storageKey: string;
7773
- }
7774
- interface PersistedFilterHook<F> {
7787
+ };
7788
+ type PersistedFilterHook<F> = {
7775
7789
  filter: F;
7776
7790
  setFilter: (filter: F) => void;
7777
- }
7791
+ };
7778
7792
  /**
7779
7793
  * Persists filter details in both browser storage and query parameters.
7780
7794
  * If a valid filter is present in the query params, then that will be used.
@@ -8515,4 +8529,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
8515
8529
  */
8516
8530
  declare function defaultTestId(label: string): string;
8517
8531
 
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 };
8532
+ 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
  } | {
@@ -4730,6 +4735,7 @@ type InfiniteScroll = {
4730
4735
  endOffsetPx?: number;
4731
4736
  };
4732
4737
 
4738
+ type GridCellValue = number | string | Date | boolean | Temporal.PlainDate | Temporal.ZonedDateTime | null | undefined;
4733
4739
  /**
4734
4740
  * Allows a cell to be more than just a RectNode, i.e. declare its alignment or
4735
4741
  * primitive value for filtering and sorting.
@@ -4743,9 +4749,9 @@ type GridCellContent = {
4743
4749
  content: MaybeFn<ReactNode>;
4744
4750
  alignment?: GridCellAlignment;
4745
4751
  /** Allow value to be a function in case it's a dynamic value i.e. reading from an inline-edited proxy. */
4746
- value?: MaybeFn<number | string | Date | boolean | null | undefined>;
4752
+ value?: MaybeFn<GridCellValue>;
4747
4753
  /** The value to use specifically for sorting (i.e. if `value` is used for filtering); defaults to `value`. */
4748
- sortValue?: MaybeFn<number | string | Date | boolean | null | undefined>;
4754
+ sortValue?: MaybeFn<GridCellValue>;
4749
4755
  colspan?: number;
4750
4756
  typeScale?: Typography;
4751
4757
  /** Allows the cell to stay in place when the user scrolls horizontally, i.e. frozen columns. */
@@ -5890,13 +5896,13 @@ declare function Button(props: ButtonProps): JSX.Element;
5890
5896
  type ButtonSize = "sm" | "md" | "lg";
5891
5897
  type ButtonVariant = "primary" | "secondary" | "secondaryBlack" | "tertiary" | "tertiaryDanger" | "caution" | "danger" | "quaternary" | "text" | "textSecondary";
5892
5898
 
5893
- interface DatePickerProps {
5894
- value?: Date;
5895
- onSelect: (value: Date) => void;
5896
- disabledDays?: Matcher | Matcher[];
5897
- dottedDays?: Matcher[];
5899
+ type DatePickerProps = {
5900
+ value?: PlainDate;
5901
+ onSelect: (value: PlainDate) => void;
5902
+ disabledDays?: DateMatcher | DateMatcher[];
5903
+ dottedDays?: DateMatcher | DateMatcher[];
5898
5904
  useYearPicker?: boolean;
5899
- }
5905
+ };
5900
5906
 
5901
5907
  interface IconButtonProps extends BeamButtonProps, BeamFocusableProps {
5902
5908
  /** The icon to use within the button. */
@@ -6222,6 +6228,20 @@ interface Filter<V> {
6222
6228
  hideLabelInModal?: boolean;
6223
6229
  /** The default value to use in `usePersistedFilter` for creating the initial filter. */
6224
6230
  defaultValue: V | undefined;
6231
+ /**
6232
+ * Rehydrates persisted query/session values back into the filter's runtime shape.
6233
+ *
6234
+ * This exists because persisted filter state is JSON-based, so rich values like
6235
+ * `Temporal.PlainDate` round-trip as strings and need explicit reconstruction.
6236
+ */
6237
+ hydrate?(value: unknown): V | undefined;
6238
+ /**
6239
+ * Converts the filter's runtime value into a JSON-safe value for query params/session storage.
6240
+ *
6241
+ * This keeps persistence stable for non-plain JS values and lets filters preserve
6242
+ * backwards-compatible serialized formats when needed.
6243
+ */
6244
+ dehydrate?(value: V | undefined): unknown;
6225
6245
  /** Renders the filter into either the page or the modal. */
6226
6246
  render(value: V | undefined, setValue: (value: V | undefined) => void, tid: TestIds, inModal: boolean, vertical: boolean): JSX.Element;
6227
6247
  }
@@ -6375,21 +6395,24 @@ type ListBoxSection<O> = {
6375
6395
  };
6376
6396
  declare function isListBoxSection<O>(obj: O | ListBoxSection<O>): obj is ListBoxSection<O>;
6377
6397
 
6378
- type DateFieldModeTuple = readonly ["range", DateRange] | readonly ["single", Date];
6398
+ type SupportedDateFormat = "shortDate" | "date" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear" | "monthYear" | "shortMonth" | "year" | "weekdayInitial" | "weekday";
6399
+ declare function formatPlainDate(date: PlainDate, format: SupportedDateFormat): string;
6400
+
6379
6401
  type DateFieldMode = "single" | "range";
6380
6402
  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"> {
6403
+ readonly short: "shortDate";
6404
+ readonly medium: "shortWeekdayMonthDay";
6405
+ readonly long: "longWeekdayMonthDayYear";
6406
+ };
6407
+ type DateFieldFormat = (typeof dateFormats)[keyof typeof dateFormats];
6408
+ declare function getDateFormat(format: keyof typeof dateFormats | undefined): "shortDate" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear";
6409
+ declare function formatDate(date: PlainDate | undefined, format: SupportedDateFormat): string;
6410
+ declare function formatDateRange(date: DateRange | undefined, format: SupportedDateFormat): string | undefined;
6411
+ declare function parseDate(str: string, format: DateFieldFormat | "date"): PlainDate | undefined;
6412
+ declare function parseDateRange(str: string, format: DateFieldFormat | "date"): DateRange | undefined;
6413
+ declare function isValidDate(d: PlainDate | undefined): boolean;
6414
+
6415
+ type DateFieldCommonProps = Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> & {
6393
6416
  label: string;
6394
6417
  /** Called when the component loses focus */
6395
6418
  onBlur?: () => void;
@@ -6408,36 +6431,27 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
6408
6431
  hideCalendarIcon?: boolean;
6409
6432
  /**
6410
6433
  * 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
6434
  */
6413
- disabledDays?: Matcher | Matcher[];
6435
+ disabledDays?: DateMatcher | DateMatcher[];
6414
6436
  onEnter?: VoidFunction;
6415
6437
  /** for storybook */
6416
6438
  defaultOpen?: boolean;
6417
- onChange: ((value: Date | undefined) => void) | ((value: DateRange | undefined) => void);
6418
- mode: DateFieldMode;
6419
6439
  /** Range filters should only allow a full DateRange or nothing */
6420
6440
  isRangeFilterField?: boolean;
6421
6441
  /** Render header that skips years in addition to months */
6422
6442
  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";
6443
+ };
6444
+ type DateFieldProps = DateFieldCommonProps & {
6445
+ value: PlainDate | undefined;
6446
+ onChange: (value: PlainDate | undefined) => void;
6447
+ };
6448
+ type DateRangeFieldProps = DateFieldCommonProps & {
6431
6449
  value: DateRange | undefined;
6432
6450
  onChange: (value: DateRange | undefined) => void;
6433
- }
6451
+ };
6434
6452
 
6435
- interface DateFieldProps extends Omit<DateSingleFieldBaseProps, "mode"> {
6436
- }
6437
6453
  declare const DateField: (props: DateFieldProps) => JSX.Element;
6438
6454
 
6439
- interface DateRangeFieldProps extends Omit<DateRangeFieldBaseProps, "mode"> {
6440
- }
6441
6455
  declare function DateRangeField(props: DateRangeFieldProps): JSX.Element;
6442
6456
 
6443
6457
  interface ErrorMessageProps {
@@ -6922,7 +6936,7 @@ type DateFilterProps<O, V extends Value, DV extends DateFilterValue<V>> = {
6922
6936
  };
6923
6937
  type DateFilterValue<V extends Value> = {
6924
6938
  op: V;
6925
- value: Date;
6939
+ value: PlainDate;
6926
6940
  };
6927
6941
  declare function dateFilter<O, V extends Value>(props: DateFilterProps<O, V, DateFilterValue<V>>): (key: string) => Filter<DateFilterValue<V>>;
6928
6942
 
@@ -6930,7 +6944,7 @@ type DateRangeFilterProps<O extends string> = {
6930
6944
  label: string;
6931
6945
  defaultValue?: DateRangeFilterValue<O>;
6932
6946
  placeholderText?: string;
6933
- disabledDays?: Matcher | Matcher[];
6947
+ disabledDays?: DateMatcher | DateMatcher[];
6934
6948
  testFieldLabel?: string;
6935
6949
  };
6936
6950
  type DateRangeFilterValue<O extends string> = {
@@ -7291,9 +7305,9 @@ declare function BoundChipSelectField<O, V extends Value>(props: BoundChipSelect
7291
7305
  declare function BoundChipSelectField<O extends HasIdAndName<V>, V extends Value>(props: Optional<BoundChipSelectFieldProps<O, V>, "getOptionValue" | "getOptionLabel">): JSX.Element;
7292
7306
 
7293
7307
  type BoundDateFieldProps = Omit<DateFieldProps, "label" | "value" | "onChange"> & {
7294
- field: FieldState<Date | null | undefined>;
7308
+ field: FieldState<PlainDate | null | undefined>;
7295
7309
  label?: string;
7296
- onChange?: (value: Date | undefined) => void;
7310
+ onChange?: (value: PlainDate | undefined) => void;
7297
7311
  };
7298
7312
  /** Wraps `TextField` and binds it to a form field. */
7299
7313
  declare function BoundDateField(props: BoundDateFieldProps): JSX.Element;
@@ -7767,14 +7781,14 @@ declare function useHover(props: useHoverProps): {
7767
7781
  isHovered: boolean;
7768
7782
  };
7769
7783
 
7770
- interface UsePersistedFilterProps<F> {
7784
+ type UsePersistedFilterProps<F> = {
7771
7785
  filterDefs: FilterDefs<F>;
7772
7786
  storageKey: string;
7773
- }
7774
- interface PersistedFilterHook<F> {
7787
+ };
7788
+ type PersistedFilterHook<F> = {
7775
7789
  filter: F;
7776
7790
  setFilter: (filter: F) => void;
7777
- }
7791
+ };
7778
7792
  /**
7779
7793
  * Persists filter details in both browser storage and query parameters.
7780
7794
  * If a valid filter is present in the query params, then that will be used.
@@ -8515,4 +8529,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
8515
8529
  */
8516
8530
  declare function defaultTestId(label: string): string;
8517
8531
 
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 };
8532
+ 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 };