@homebound/beam 3.2.0-alpha.3 → 3.2.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.cjs +155 -393
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -63
- package/dist/index.d.ts +49 -63
- package/dist/index.js +295 -532
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
package/dist/index.d.cts
CHANGED
|
@@ -2,10 +2,11 @@ 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';
|
|
6
5
|
import { DOMProps, PressEvent, Key as Key$1 } from '@react-types/shared';
|
|
7
6
|
import { VirtuosoHandle, ListRange } from 'react-virtuoso';
|
|
8
7
|
import { AriaButtonProps } from '@react-types/button';
|
|
8
|
+
import { Matcher, DateRange } from 'react-day-picker';
|
|
9
|
+
export { DateRange } from 'react-day-picker';
|
|
9
10
|
import { MenuTriggerState } from 'react-stately';
|
|
10
11
|
import { FieldState, ListFieldState, ObjectState } from '@homebound/form-state';
|
|
11
12
|
import { NumberFieldAria } from '@react-aria/numberfield';
|
|
@@ -4261,12 +4262,6 @@ declare enum Breakpoints {
|
|
|
4261
4262
|
mdOrLg = "@media screen and (min-width: 600px)"
|
|
4262
4263
|
}
|
|
4263
4264
|
|
|
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);
|
|
4270
4265
|
type HasIdIsh<V = string> = {
|
|
4271
4266
|
id: V;
|
|
4272
4267
|
} | {
|
|
@@ -4735,7 +4730,6 @@ type InfiniteScroll = {
|
|
|
4735
4730
|
endOffsetPx?: number;
|
|
4736
4731
|
};
|
|
4737
4732
|
|
|
4738
|
-
type GridCellValue = number | string | Date | boolean | Temporal.PlainDate | Temporal.ZonedDateTime | null | undefined;
|
|
4739
4733
|
/**
|
|
4740
4734
|
* Allows a cell to be more than just a RectNode, i.e. declare its alignment or
|
|
4741
4735
|
* primitive value for filtering and sorting.
|
|
@@ -4749,9 +4743,9 @@ type GridCellContent = {
|
|
|
4749
4743
|
content: MaybeFn<ReactNode>;
|
|
4750
4744
|
alignment?: GridCellAlignment;
|
|
4751
4745
|
/** Allow value to be a function in case it's a dynamic value i.e. reading from an inline-edited proxy. */
|
|
4752
|
-
value?: MaybeFn<
|
|
4746
|
+
value?: MaybeFn<number | string | Date | boolean | null | undefined>;
|
|
4753
4747
|
/** The value to use specifically for sorting (i.e. if `value` is used for filtering); defaults to `value`. */
|
|
4754
|
-
sortValue?: MaybeFn<
|
|
4748
|
+
sortValue?: MaybeFn<number | string | Date | boolean | null | undefined>;
|
|
4755
4749
|
colspan?: number;
|
|
4756
4750
|
typeScale?: Typography;
|
|
4757
4751
|
/** Allows the cell to stay in place when the user scrolls horizontally, i.e. frozen columns. */
|
|
@@ -5896,13 +5890,13 @@ declare function Button(props: ButtonProps): JSX.Element;
|
|
|
5896
5890
|
type ButtonSize = "sm" | "md" | "lg";
|
|
5897
5891
|
type ButtonVariant = "primary" | "secondary" | "secondaryBlack" | "tertiary" | "tertiaryDanger" | "caution" | "danger" | "quaternary" | "text" | "textSecondary";
|
|
5898
5892
|
|
|
5899
|
-
|
|
5900
|
-
value?:
|
|
5901
|
-
onSelect: (value:
|
|
5902
|
-
disabledDays?:
|
|
5903
|
-
dottedDays?:
|
|
5893
|
+
interface DatePickerProps {
|
|
5894
|
+
value?: Date;
|
|
5895
|
+
onSelect: (value: Date) => void;
|
|
5896
|
+
disabledDays?: Matcher | Matcher[];
|
|
5897
|
+
dottedDays?: Matcher[];
|
|
5904
5898
|
useYearPicker?: boolean;
|
|
5905
|
-
}
|
|
5899
|
+
}
|
|
5906
5900
|
|
|
5907
5901
|
interface IconButtonProps extends BeamButtonProps, BeamFocusableProps {
|
|
5908
5902
|
/** The icon to use within the button. */
|
|
@@ -6228,20 +6222,6 @@ interface Filter<V> {
|
|
|
6228
6222
|
hideLabelInModal?: boolean;
|
|
6229
6223
|
/** The default value to use in `usePersistedFilter` for creating the initial filter. */
|
|
6230
6224
|
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;
|
|
6245
6225
|
/** Renders the filter into either the page or the modal. */
|
|
6246
6226
|
render(value: V | undefined, setValue: (value: V | undefined) => void, tid: TestIds, inModal: boolean, vertical: boolean): JSX.Element;
|
|
6247
6227
|
}
|
|
@@ -6395,24 +6375,21 @@ type ListBoxSection<O> = {
|
|
|
6395
6375
|
};
|
|
6396
6376
|
declare function isListBoxSection<O>(obj: O | ListBoxSection<O>): obj is ListBoxSection<O>;
|
|
6397
6377
|
|
|
6398
|
-
type
|
|
6399
|
-
declare function formatPlainDate(date: PlainDate, format: SupportedDateFormat): string;
|
|
6400
|
-
|
|
6378
|
+
type DateFieldModeTuple = readonly ["range", DateRange] | readonly ["single", Date];
|
|
6401
6379
|
type DateFieldMode = "single" | "range";
|
|
6402
6380
|
declare const dateFormats: {
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
};
|
|
6407
|
-
|
|
6408
|
-
declare function
|
|
6409
|
-
declare function
|
|
6410
|
-
declare function
|
|
6411
|
-
declare function
|
|
6412
|
-
declare function
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
type DateFieldCommonProps = Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> & {
|
|
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"> {
|
|
6416
6393
|
label: string;
|
|
6417
6394
|
/** Called when the component loses focus */
|
|
6418
6395
|
onBlur?: () => void;
|
|
@@ -6431,27 +6408,36 @@ type DateFieldCommonProps = Pick<TextFieldBaseProps<Properties>, "borderless" |
|
|
|
6431
6408
|
hideCalendarIcon?: boolean;
|
|
6432
6409
|
/**
|
|
6433
6410
|
* 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
|
|
6434
6412
|
*/
|
|
6435
|
-
disabledDays?:
|
|
6413
|
+
disabledDays?: Matcher | Matcher[];
|
|
6436
6414
|
onEnter?: VoidFunction;
|
|
6437
6415
|
/** for storybook */
|
|
6438
6416
|
defaultOpen?: boolean;
|
|
6417
|
+
onChange: ((value: Date | undefined) => void) | ((value: DateRange | undefined) => void);
|
|
6418
|
+
mode: DateFieldMode;
|
|
6439
6419
|
/** Range filters should only allow a full DateRange or nothing */
|
|
6440
6420
|
isRangeFilterField?: boolean;
|
|
6441
6421
|
/** Render header that skips years in addition to months */
|
|
6442
6422
|
useYearPicker?: boolean;
|
|
6443
|
-
}
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
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";
|
|
6449
6431
|
value: DateRange | undefined;
|
|
6450
6432
|
onChange: (value: DateRange | undefined) => void;
|
|
6451
|
-
}
|
|
6433
|
+
}
|
|
6452
6434
|
|
|
6435
|
+
interface DateFieldProps extends Omit<DateSingleFieldBaseProps, "mode"> {
|
|
6436
|
+
}
|
|
6453
6437
|
declare const DateField: (props: DateFieldProps) => JSX.Element;
|
|
6454
6438
|
|
|
6439
|
+
interface DateRangeFieldProps extends Omit<DateRangeFieldBaseProps, "mode"> {
|
|
6440
|
+
}
|
|
6455
6441
|
declare function DateRangeField(props: DateRangeFieldProps): JSX.Element;
|
|
6456
6442
|
|
|
6457
6443
|
interface ErrorMessageProps {
|
|
@@ -6936,7 +6922,7 @@ type DateFilterProps<O, V extends Value, DV extends DateFilterValue<V>> = {
|
|
|
6936
6922
|
};
|
|
6937
6923
|
type DateFilterValue<V extends Value> = {
|
|
6938
6924
|
op: V;
|
|
6939
|
-
value:
|
|
6925
|
+
value: Date;
|
|
6940
6926
|
};
|
|
6941
6927
|
declare function dateFilter<O, V extends Value>(props: DateFilterProps<O, V, DateFilterValue<V>>): (key: string) => Filter<DateFilterValue<V>>;
|
|
6942
6928
|
|
|
@@ -6944,7 +6930,7 @@ type DateRangeFilterProps<O extends string> = {
|
|
|
6944
6930
|
label: string;
|
|
6945
6931
|
defaultValue?: DateRangeFilterValue<O>;
|
|
6946
6932
|
placeholderText?: string;
|
|
6947
|
-
disabledDays?:
|
|
6933
|
+
disabledDays?: Matcher | Matcher[];
|
|
6948
6934
|
testFieldLabel?: string;
|
|
6949
6935
|
};
|
|
6950
6936
|
type DateRangeFilterValue<O extends string> = {
|
|
@@ -7305,9 +7291,9 @@ declare function BoundChipSelectField<O, V extends Value>(props: BoundChipSelect
|
|
|
7305
7291
|
declare function BoundChipSelectField<O extends HasIdAndName<V>, V extends Value>(props: Optional<BoundChipSelectFieldProps<O, V>, "getOptionValue" | "getOptionLabel">): JSX.Element;
|
|
7306
7292
|
|
|
7307
7293
|
type BoundDateFieldProps = Omit<DateFieldProps, "label" | "value" | "onChange"> & {
|
|
7308
|
-
field: FieldState<
|
|
7294
|
+
field: FieldState<Date | null | undefined>;
|
|
7309
7295
|
label?: string;
|
|
7310
|
-
onChange?: (value:
|
|
7296
|
+
onChange?: (value: Date | undefined) => void;
|
|
7311
7297
|
};
|
|
7312
7298
|
/** Wraps `TextField` and binds it to a form field. */
|
|
7313
7299
|
declare function BoundDateField(props: BoundDateFieldProps): JSX.Element;
|
|
@@ -7781,14 +7767,14 @@ declare function useHover(props: useHoverProps): {
|
|
|
7781
7767
|
isHovered: boolean;
|
|
7782
7768
|
};
|
|
7783
7769
|
|
|
7784
|
-
|
|
7770
|
+
interface UsePersistedFilterProps<F> {
|
|
7785
7771
|
filterDefs: FilterDefs<F>;
|
|
7786
7772
|
storageKey: string;
|
|
7787
|
-
}
|
|
7788
|
-
|
|
7773
|
+
}
|
|
7774
|
+
interface PersistedFilterHook<F> {
|
|
7789
7775
|
filter: F;
|
|
7790
7776
|
setFilter: (filter: F) => void;
|
|
7791
|
-
}
|
|
7777
|
+
}
|
|
7792
7778
|
/**
|
|
7793
7779
|
* Persists filter details in both browser storage and query parameters.
|
|
7794
7780
|
* If a valid filter is present in the query params, then that will be used.
|
|
@@ -8529,4 +8515,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
|
|
|
8529
8515
|
*/
|
|
8530
8516
|
declare function defaultTestId(label: string): string;
|
|
8531
8517
|
|
|
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
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,11 @@ 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';
|
|
6
5
|
import { DOMProps, PressEvent, Key as Key$1 } from '@react-types/shared';
|
|
7
6
|
import { VirtuosoHandle, ListRange } from 'react-virtuoso';
|
|
8
7
|
import { AriaButtonProps } from '@react-types/button';
|
|
8
|
+
import { Matcher, DateRange } from 'react-day-picker';
|
|
9
|
+
export { DateRange } from 'react-day-picker';
|
|
9
10
|
import { MenuTriggerState } from 'react-stately';
|
|
10
11
|
import { FieldState, ListFieldState, ObjectState } from '@homebound/form-state';
|
|
11
12
|
import { NumberFieldAria } from '@react-aria/numberfield';
|
|
@@ -4261,12 +4262,6 @@ declare enum Breakpoints {
|
|
|
4261
4262
|
mdOrLg = "@media screen and (min-width: 600px)"
|
|
4262
4263
|
}
|
|
4263
4264
|
|
|
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);
|
|
4270
4265
|
type HasIdIsh<V = string> = {
|
|
4271
4266
|
id: V;
|
|
4272
4267
|
} | {
|
|
@@ -4735,7 +4730,6 @@ type InfiniteScroll = {
|
|
|
4735
4730
|
endOffsetPx?: number;
|
|
4736
4731
|
};
|
|
4737
4732
|
|
|
4738
|
-
type GridCellValue = number | string | Date | boolean | Temporal.PlainDate | Temporal.ZonedDateTime | null | undefined;
|
|
4739
4733
|
/**
|
|
4740
4734
|
* Allows a cell to be more than just a RectNode, i.e. declare its alignment or
|
|
4741
4735
|
* primitive value for filtering and sorting.
|
|
@@ -4749,9 +4743,9 @@ type GridCellContent = {
|
|
|
4749
4743
|
content: MaybeFn<ReactNode>;
|
|
4750
4744
|
alignment?: GridCellAlignment;
|
|
4751
4745
|
/** Allow value to be a function in case it's a dynamic value i.e. reading from an inline-edited proxy. */
|
|
4752
|
-
value?: MaybeFn<
|
|
4746
|
+
value?: MaybeFn<number | string | Date | boolean | null | undefined>;
|
|
4753
4747
|
/** The value to use specifically for sorting (i.e. if `value` is used for filtering); defaults to `value`. */
|
|
4754
|
-
sortValue?: MaybeFn<
|
|
4748
|
+
sortValue?: MaybeFn<number | string | Date | boolean | null | undefined>;
|
|
4755
4749
|
colspan?: number;
|
|
4756
4750
|
typeScale?: Typography;
|
|
4757
4751
|
/** Allows the cell to stay in place when the user scrolls horizontally, i.e. frozen columns. */
|
|
@@ -5896,13 +5890,13 @@ declare function Button(props: ButtonProps): JSX.Element;
|
|
|
5896
5890
|
type ButtonSize = "sm" | "md" | "lg";
|
|
5897
5891
|
type ButtonVariant = "primary" | "secondary" | "secondaryBlack" | "tertiary" | "tertiaryDanger" | "caution" | "danger" | "quaternary" | "text" | "textSecondary";
|
|
5898
5892
|
|
|
5899
|
-
|
|
5900
|
-
value?:
|
|
5901
|
-
onSelect: (value:
|
|
5902
|
-
disabledDays?:
|
|
5903
|
-
dottedDays?:
|
|
5893
|
+
interface DatePickerProps {
|
|
5894
|
+
value?: Date;
|
|
5895
|
+
onSelect: (value: Date) => void;
|
|
5896
|
+
disabledDays?: Matcher | Matcher[];
|
|
5897
|
+
dottedDays?: Matcher[];
|
|
5904
5898
|
useYearPicker?: boolean;
|
|
5905
|
-
}
|
|
5899
|
+
}
|
|
5906
5900
|
|
|
5907
5901
|
interface IconButtonProps extends BeamButtonProps, BeamFocusableProps {
|
|
5908
5902
|
/** The icon to use within the button. */
|
|
@@ -6228,20 +6222,6 @@ interface Filter<V> {
|
|
|
6228
6222
|
hideLabelInModal?: boolean;
|
|
6229
6223
|
/** The default value to use in `usePersistedFilter` for creating the initial filter. */
|
|
6230
6224
|
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;
|
|
6245
6225
|
/** Renders the filter into either the page or the modal. */
|
|
6246
6226
|
render(value: V | undefined, setValue: (value: V | undefined) => void, tid: TestIds, inModal: boolean, vertical: boolean): JSX.Element;
|
|
6247
6227
|
}
|
|
@@ -6395,24 +6375,21 @@ type ListBoxSection<O> = {
|
|
|
6395
6375
|
};
|
|
6396
6376
|
declare function isListBoxSection<O>(obj: O | ListBoxSection<O>): obj is ListBoxSection<O>;
|
|
6397
6377
|
|
|
6398
|
-
type
|
|
6399
|
-
declare function formatPlainDate(date: PlainDate, format: SupportedDateFormat): string;
|
|
6400
|
-
|
|
6378
|
+
type DateFieldModeTuple = readonly ["range", DateRange] | readonly ["single", Date];
|
|
6401
6379
|
type DateFieldMode = "single" | "range";
|
|
6402
6380
|
declare const dateFormats: {
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
};
|
|
6407
|
-
|
|
6408
|
-
declare function
|
|
6409
|
-
declare function
|
|
6410
|
-
declare function
|
|
6411
|
-
declare function
|
|
6412
|
-
declare function
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
type DateFieldCommonProps = Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> & {
|
|
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"> {
|
|
6416
6393
|
label: string;
|
|
6417
6394
|
/** Called when the component loses focus */
|
|
6418
6395
|
onBlur?: () => void;
|
|
@@ -6431,27 +6408,36 @@ type DateFieldCommonProps = Pick<TextFieldBaseProps<Properties>, "borderless" |
|
|
|
6431
6408
|
hideCalendarIcon?: boolean;
|
|
6432
6409
|
/**
|
|
6433
6410
|
* 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
|
|
6434
6412
|
*/
|
|
6435
|
-
disabledDays?:
|
|
6413
|
+
disabledDays?: Matcher | Matcher[];
|
|
6436
6414
|
onEnter?: VoidFunction;
|
|
6437
6415
|
/** for storybook */
|
|
6438
6416
|
defaultOpen?: boolean;
|
|
6417
|
+
onChange: ((value: Date | undefined) => void) | ((value: DateRange | undefined) => void);
|
|
6418
|
+
mode: DateFieldMode;
|
|
6439
6419
|
/** Range filters should only allow a full DateRange or nothing */
|
|
6440
6420
|
isRangeFilterField?: boolean;
|
|
6441
6421
|
/** Render header that skips years in addition to months */
|
|
6442
6422
|
useYearPicker?: boolean;
|
|
6443
|
-
}
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
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";
|
|
6449
6431
|
value: DateRange | undefined;
|
|
6450
6432
|
onChange: (value: DateRange | undefined) => void;
|
|
6451
|
-
}
|
|
6433
|
+
}
|
|
6452
6434
|
|
|
6435
|
+
interface DateFieldProps extends Omit<DateSingleFieldBaseProps, "mode"> {
|
|
6436
|
+
}
|
|
6453
6437
|
declare const DateField: (props: DateFieldProps) => JSX.Element;
|
|
6454
6438
|
|
|
6439
|
+
interface DateRangeFieldProps extends Omit<DateRangeFieldBaseProps, "mode"> {
|
|
6440
|
+
}
|
|
6455
6441
|
declare function DateRangeField(props: DateRangeFieldProps): JSX.Element;
|
|
6456
6442
|
|
|
6457
6443
|
interface ErrorMessageProps {
|
|
@@ -6936,7 +6922,7 @@ type DateFilterProps<O, V extends Value, DV extends DateFilterValue<V>> = {
|
|
|
6936
6922
|
};
|
|
6937
6923
|
type DateFilterValue<V extends Value> = {
|
|
6938
6924
|
op: V;
|
|
6939
|
-
value:
|
|
6925
|
+
value: Date;
|
|
6940
6926
|
};
|
|
6941
6927
|
declare function dateFilter<O, V extends Value>(props: DateFilterProps<O, V, DateFilterValue<V>>): (key: string) => Filter<DateFilterValue<V>>;
|
|
6942
6928
|
|
|
@@ -6944,7 +6930,7 @@ type DateRangeFilterProps<O extends string> = {
|
|
|
6944
6930
|
label: string;
|
|
6945
6931
|
defaultValue?: DateRangeFilterValue<O>;
|
|
6946
6932
|
placeholderText?: string;
|
|
6947
|
-
disabledDays?:
|
|
6933
|
+
disabledDays?: Matcher | Matcher[];
|
|
6948
6934
|
testFieldLabel?: string;
|
|
6949
6935
|
};
|
|
6950
6936
|
type DateRangeFilterValue<O extends string> = {
|
|
@@ -7305,9 +7291,9 @@ declare function BoundChipSelectField<O, V extends Value>(props: BoundChipSelect
|
|
|
7305
7291
|
declare function BoundChipSelectField<O extends HasIdAndName<V>, V extends Value>(props: Optional<BoundChipSelectFieldProps<O, V>, "getOptionValue" | "getOptionLabel">): JSX.Element;
|
|
7306
7292
|
|
|
7307
7293
|
type BoundDateFieldProps = Omit<DateFieldProps, "label" | "value" | "onChange"> & {
|
|
7308
|
-
field: FieldState<
|
|
7294
|
+
field: FieldState<Date | null | undefined>;
|
|
7309
7295
|
label?: string;
|
|
7310
|
-
onChange?: (value:
|
|
7296
|
+
onChange?: (value: Date | undefined) => void;
|
|
7311
7297
|
};
|
|
7312
7298
|
/** Wraps `TextField` and binds it to a form field. */
|
|
7313
7299
|
declare function BoundDateField(props: BoundDateFieldProps): JSX.Element;
|
|
@@ -7781,14 +7767,14 @@ declare function useHover(props: useHoverProps): {
|
|
|
7781
7767
|
isHovered: boolean;
|
|
7782
7768
|
};
|
|
7783
7769
|
|
|
7784
|
-
|
|
7770
|
+
interface UsePersistedFilterProps<F> {
|
|
7785
7771
|
filterDefs: FilterDefs<F>;
|
|
7786
7772
|
storageKey: string;
|
|
7787
|
-
}
|
|
7788
|
-
|
|
7773
|
+
}
|
|
7774
|
+
interface PersistedFilterHook<F> {
|
|
7789
7775
|
filter: F;
|
|
7790
7776
|
setFilter: (filter: F) => void;
|
|
7791
|
-
}
|
|
7777
|
+
}
|
|
7792
7778
|
/**
|
|
7793
7779
|
* Persists filter details in both browser storage and query parameters.
|
|
7794
7780
|
* If a valid filter is present in the query params, then that will be used.
|
|
@@ -8529,4 +8515,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
|
|
|
8529
8515
|
*/
|
|
8530
8516
|
declare function defaultTestId(label: string): string;
|
|
8531
8517
|
|
|
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
|
|
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 };
|