@homebound/beam 3.0.5 → 3.1.0-alpha.1
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 +209 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +42 -24
- package/dist/index.d.ts +42 -24
- package/dist/index.js +366 -197
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
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 DayMatcher = (date: PlainDate) => boolean;
|
|
4265
4270
|
type HasIdIsh<V = string> = {
|
|
4266
4271
|
id: V;
|
|
4267
4272
|
} | {
|
|
@@ -5891,10 +5896,10 @@ type ButtonSize = "sm" | "md" | "lg";
|
|
|
5891
5896
|
type ButtonVariant = "primary" | "secondary" | "secondaryBlack" | "tertiary" | "tertiaryDanger" | "caution" | "danger" | "quaternary" | "text" | "textSecondary";
|
|
5892
5897
|
|
|
5893
5898
|
interface DatePickerProps {
|
|
5894
|
-
value?:
|
|
5895
|
-
onSelect: (value:
|
|
5896
|
-
disabledDays?:
|
|
5897
|
-
dottedDays?:
|
|
5899
|
+
value?: PlainDate;
|
|
5900
|
+
onSelect: (value: PlainDate) => void;
|
|
5901
|
+
disabledDays?: DayMatcher | DayMatcher[];
|
|
5902
|
+
dottedDays?: DayMatcher[];
|
|
5898
5903
|
useYearPicker?: boolean;
|
|
5899
5904
|
}
|
|
5900
5905
|
|
|
@@ -6222,6 +6227,20 @@ interface Filter<V> {
|
|
|
6222
6227
|
hideLabelInModal?: boolean;
|
|
6223
6228
|
/** The default value to use in `usePersistedFilter` for creating the initial filter. */
|
|
6224
6229
|
defaultValue: V | undefined;
|
|
6230
|
+
/**
|
|
6231
|
+
* Rehydrates persisted query/session values back into the filter's runtime shape.
|
|
6232
|
+
*
|
|
6233
|
+
* This exists because persisted filter state is JSON-based, so rich values like
|
|
6234
|
+
* `Temporal.PlainDate` round-trip as strings and need explicit reconstruction.
|
|
6235
|
+
*/
|
|
6236
|
+
hydrate?(value: unknown): V | undefined;
|
|
6237
|
+
/**
|
|
6238
|
+
* Converts the filter's runtime value into a JSON-safe value for query params/session storage.
|
|
6239
|
+
*
|
|
6240
|
+
* This keeps persistence stable for non-plain JS values and lets filters preserve
|
|
6241
|
+
* backwards-compatible serialized formats when needed.
|
|
6242
|
+
*/
|
|
6243
|
+
dehydrate?(value: V | undefined): unknown;
|
|
6225
6244
|
/** Renders the filter into either the page or the modal. */
|
|
6226
6245
|
render(value: V | undefined, setValue: (value: V | undefined) => void, tid: TestIds, inModal: boolean, vertical: boolean): JSX.Element;
|
|
6227
6246
|
}
|
|
@@ -6375,7 +6394,7 @@ type ListBoxSection<O> = {
|
|
|
6375
6394
|
};
|
|
6376
6395
|
declare function isListBoxSection<O>(obj: O | ListBoxSection<O>): obj is ListBoxSection<O>;
|
|
6377
6396
|
|
|
6378
|
-
type DateFieldModeTuple = readonly ["range", DateRange] | readonly ["single",
|
|
6397
|
+
type DateFieldModeTuple = readonly ["range", DateRange] | readonly ["single", PlainDate];
|
|
6379
6398
|
type DateFieldMode = "single" | "range";
|
|
6380
6399
|
declare const dateFormats: {
|
|
6381
6400
|
short: string;
|
|
@@ -6383,11 +6402,11 @@ declare const dateFormats: {
|
|
|
6383
6402
|
long: string;
|
|
6384
6403
|
};
|
|
6385
6404
|
declare function getDateFormat(format: keyof typeof dateFormats | undefined): string;
|
|
6386
|
-
declare function formatDate(date:
|
|
6405
|
+
declare function formatDate(date: PlainDate | undefined, format: string): string;
|
|
6387
6406
|
declare function formatDateRange(date: DateRange | undefined, format: string): string | undefined;
|
|
6388
|
-
declare function parseDate(str: string, format: string):
|
|
6407
|
+
declare function parseDate(str: string, format: string): PlainDate | undefined;
|
|
6389
6408
|
declare function parseDateRange(str: string, format: string): DateRange | undefined;
|
|
6390
|
-
declare function isValidDate(d:
|
|
6409
|
+
declare function isValidDate(d: PlainDate | undefined): boolean;
|
|
6391
6410
|
|
|
6392
6411
|
interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> {
|
|
6393
6412
|
label: string;
|
|
@@ -6408,13 +6427,12 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
|
|
|
6408
6427
|
hideCalendarIcon?: boolean;
|
|
6409
6428
|
/**
|
|
6410
6429
|
* 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
6430
|
*/
|
|
6413
|
-
disabledDays?:
|
|
6431
|
+
disabledDays?: DayMatcher | DayMatcher[];
|
|
6414
6432
|
onEnter?: VoidFunction;
|
|
6415
6433
|
/** for storybook */
|
|
6416
6434
|
defaultOpen?: boolean;
|
|
6417
|
-
onChange: ((value:
|
|
6435
|
+
onChange: ((value: PlainDate | undefined) => void) | ((value: DateRange | undefined) => void);
|
|
6418
6436
|
mode: DateFieldMode;
|
|
6419
6437
|
/** Range filters should only allow a full DateRange or nothing */
|
|
6420
6438
|
isRangeFilterField?: boolean;
|
|
@@ -6423,8 +6441,8 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
|
|
|
6423
6441
|
}
|
|
6424
6442
|
interface DateSingleFieldBaseProps extends DateFieldBaseProps {
|
|
6425
6443
|
mode: "single";
|
|
6426
|
-
value:
|
|
6427
|
-
onChange: (value:
|
|
6444
|
+
value: PlainDate | undefined;
|
|
6445
|
+
onChange: (value: PlainDate | undefined) => void;
|
|
6428
6446
|
}
|
|
6429
6447
|
interface DateRangeFieldBaseProps extends DateFieldBaseProps {
|
|
6430
6448
|
mode: "range";
|
|
@@ -6920,7 +6938,7 @@ type DateFilterProps<O, V extends Value, DV extends DateFilterValue<V>> = {
|
|
|
6920
6938
|
};
|
|
6921
6939
|
type DateFilterValue<V extends Value> = {
|
|
6922
6940
|
op: V;
|
|
6923
|
-
value:
|
|
6941
|
+
value: PlainDate;
|
|
6924
6942
|
};
|
|
6925
6943
|
declare function dateFilter<O, V extends Value>(props: DateFilterProps<O, V, DateFilterValue<V>>): (key: string) => Filter<DateFilterValue<V>>;
|
|
6926
6944
|
|
|
@@ -6928,7 +6946,7 @@ type DateRangeFilterProps<O extends string> = {
|
|
|
6928
6946
|
label: string;
|
|
6929
6947
|
defaultValue?: DateRangeFilterValue<O>;
|
|
6930
6948
|
placeholderText?: string;
|
|
6931
|
-
disabledDays?:
|
|
6949
|
+
disabledDays?: DayMatcher | DayMatcher[];
|
|
6932
6950
|
testFieldLabel?: string;
|
|
6933
6951
|
};
|
|
6934
6952
|
type DateRangeFilterValue<O extends string> = {
|
|
@@ -7289,9 +7307,9 @@ declare function BoundChipSelectField<O, V extends Value>(props: BoundChipSelect
|
|
|
7289
7307
|
declare function BoundChipSelectField<O extends HasIdAndName<V>, V extends Value>(props: Optional<BoundChipSelectFieldProps<O, V>, "getOptionValue" | "getOptionLabel">): JSX.Element;
|
|
7290
7308
|
|
|
7291
7309
|
type BoundDateFieldProps = Omit<DateFieldProps, "label" | "value" | "onChange"> & {
|
|
7292
|
-
field: FieldState<
|
|
7310
|
+
field: FieldState<PlainDate | null | undefined>;
|
|
7293
7311
|
label?: string;
|
|
7294
|
-
onChange?: (value:
|
|
7312
|
+
onChange?: (value: PlainDate | undefined) => void;
|
|
7295
7313
|
};
|
|
7296
7314
|
/** Wraps `TextField` and binds it to a form field. */
|
|
7297
7315
|
declare function BoundDateField(props: BoundDateFieldProps): JSX.Element;
|
|
@@ -7765,14 +7783,14 @@ declare function useHover(props: useHoverProps): {
|
|
|
7765
7783
|
isHovered: boolean;
|
|
7766
7784
|
};
|
|
7767
7785
|
|
|
7768
|
-
|
|
7786
|
+
type UsePersistedFilterProps<F> = {
|
|
7769
7787
|
filterDefs: FilterDefs<F>;
|
|
7770
7788
|
storageKey: string;
|
|
7771
|
-
}
|
|
7772
|
-
|
|
7789
|
+
};
|
|
7790
|
+
type PersistedFilterHook<F> = {
|
|
7773
7791
|
filter: F;
|
|
7774
7792
|
setFilter: (filter: F) => void;
|
|
7775
|
-
}
|
|
7793
|
+
};
|
|
7776
7794
|
/**
|
|
7777
7795
|
* Persists filter details in both browser storage and query parameters.
|
|
7778
7796
|
* If a valid filter is present in the query params, then that will be used.
|
|
@@ -8513,4 +8531,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
|
|
|
8513
8531
|
*/
|
|
8514
8532
|
declare function defaultTestId(label: string): string;
|
|
8515
8533
|
|
|
8516
|
-
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 };
|
|
8534
|
+
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, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type DayMatcher, 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, 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,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 DayMatcher = (date: PlainDate) => boolean;
|
|
4265
4270
|
type HasIdIsh<V = string> = {
|
|
4266
4271
|
id: V;
|
|
4267
4272
|
} | {
|
|
@@ -5891,10 +5896,10 @@ type ButtonSize = "sm" | "md" | "lg";
|
|
|
5891
5896
|
type ButtonVariant = "primary" | "secondary" | "secondaryBlack" | "tertiary" | "tertiaryDanger" | "caution" | "danger" | "quaternary" | "text" | "textSecondary";
|
|
5892
5897
|
|
|
5893
5898
|
interface DatePickerProps {
|
|
5894
|
-
value?:
|
|
5895
|
-
onSelect: (value:
|
|
5896
|
-
disabledDays?:
|
|
5897
|
-
dottedDays?:
|
|
5899
|
+
value?: PlainDate;
|
|
5900
|
+
onSelect: (value: PlainDate) => void;
|
|
5901
|
+
disabledDays?: DayMatcher | DayMatcher[];
|
|
5902
|
+
dottedDays?: DayMatcher[];
|
|
5898
5903
|
useYearPicker?: boolean;
|
|
5899
5904
|
}
|
|
5900
5905
|
|
|
@@ -6222,6 +6227,20 @@ interface Filter<V> {
|
|
|
6222
6227
|
hideLabelInModal?: boolean;
|
|
6223
6228
|
/** The default value to use in `usePersistedFilter` for creating the initial filter. */
|
|
6224
6229
|
defaultValue: V | undefined;
|
|
6230
|
+
/**
|
|
6231
|
+
* Rehydrates persisted query/session values back into the filter's runtime shape.
|
|
6232
|
+
*
|
|
6233
|
+
* This exists because persisted filter state is JSON-based, so rich values like
|
|
6234
|
+
* `Temporal.PlainDate` round-trip as strings and need explicit reconstruction.
|
|
6235
|
+
*/
|
|
6236
|
+
hydrate?(value: unknown): V | undefined;
|
|
6237
|
+
/**
|
|
6238
|
+
* Converts the filter's runtime value into a JSON-safe value for query params/session storage.
|
|
6239
|
+
*
|
|
6240
|
+
* This keeps persistence stable for non-plain JS values and lets filters preserve
|
|
6241
|
+
* backwards-compatible serialized formats when needed.
|
|
6242
|
+
*/
|
|
6243
|
+
dehydrate?(value: V | undefined): unknown;
|
|
6225
6244
|
/** Renders the filter into either the page or the modal. */
|
|
6226
6245
|
render(value: V | undefined, setValue: (value: V | undefined) => void, tid: TestIds, inModal: boolean, vertical: boolean): JSX.Element;
|
|
6227
6246
|
}
|
|
@@ -6375,7 +6394,7 @@ type ListBoxSection<O> = {
|
|
|
6375
6394
|
};
|
|
6376
6395
|
declare function isListBoxSection<O>(obj: O | ListBoxSection<O>): obj is ListBoxSection<O>;
|
|
6377
6396
|
|
|
6378
|
-
type DateFieldModeTuple = readonly ["range", DateRange] | readonly ["single",
|
|
6397
|
+
type DateFieldModeTuple = readonly ["range", DateRange] | readonly ["single", PlainDate];
|
|
6379
6398
|
type DateFieldMode = "single" | "range";
|
|
6380
6399
|
declare const dateFormats: {
|
|
6381
6400
|
short: string;
|
|
@@ -6383,11 +6402,11 @@ declare const dateFormats: {
|
|
|
6383
6402
|
long: string;
|
|
6384
6403
|
};
|
|
6385
6404
|
declare function getDateFormat(format: keyof typeof dateFormats | undefined): string;
|
|
6386
|
-
declare function formatDate(date:
|
|
6405
|
+
declare function formatDate(date: PlainDate | undefined, format: string): string;
|
|
6387
6406
|
declare function formatDateRange(date: DateRange | undefined, format: string): string | undefined;
|
|
6388
|
-
declare function parseDate(str: string, format: string):
|
|
6407
|
+
declare function parseDate(str: string, format: string): PlainDate | undefined;
|
|
6389
6408
|
declare function parseDateRange(str: string, format: string): DateRange | undefined;
|
|
6390
|
-
declare function isValidDate(d:
|
|
6409
|
+
declare function isValidDate(d: PlainDate | undefined): boolean;
|
|
6391
6410
|
|
|
6392
6411
|
interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> {
|
|
6393
6412
|
label: string;
|
|
@@ -6408,13 +6427,12 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
|
|
|
6408
6427
|
hideCalendarIcon?: boolean;
|
|
6409
6428
|
/**
|
|
6410
6429
|
* 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
6430
|
*/
|
|
6413
|
-
disabledDays?:
|
|
6431
|
+
disabledDays?: DayMatcher | DayMatcher[];
|
|
6414
6432
|
onEnter?: VoidFunction;
|
|
6415
6433
|
/** for storybook */
|
|
6416
6434
|
defaultOpen?: boolean;
|
|
6417
|
-
onChange: ((value:
|
|
6435
|
+
onChange: ((value: PlainDate | undefined) => void) | ((value: DateRange | undefined) => void);
|
|
6418
6436
|
mode: DateFieldMode;
|
|
6419
6437
|
/** Range filters should only allow a full DateRange or nothing */
|
|
6420
6438
|
isRangeFilterField?: boolean;
|
|
@@ -6423,8 +6441,8 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
|
|
|
6423
6441
|
}
|
|
6424
6442
|
interface DateSingleFieldBaseProps extends DateFieldBaseProps {
|
|
6425
6443
|
mode: "single";
|
|
6426
|
-
value:
|
|
6427
|
-
onChange: (value:
|
|
6444
|
+
value: PlainDate | undefined;
|
|
6445
|
+
onChange: (value: PlainDate | undefined) => void;
|
|
6428
6446
|
}
|
|
6429
6447
|
interface DateRangeFieldBaseProps extends DateFieldBaseProps {
|
|
6430
6448
|
mode: "range";
|
|
@@ -6920,7 +6938,7 @@ type DateFilterProps<O, V extends Value, DV extends DateFilterValue<V>> = {
|
|
|
6920
6938
|
};
|
|
6921
6939
|
type DateFilterValue<V extends Value> = {
|
|
6922
6940
|
op: V;
|
|
6923
|
-
value:
|
|
6941
|
+
value: PlainDate;
|
|
6924
6942
|
};
|
|
6925
6943
|
declare function dateFilter<O, V extends Value>(props: DateFilterProps<O, V, DateFilterValue<V>>): (key: string) => Filter<DateFilterValue<V>>;
|
|
6926
6944
|
|
|
@@ -6928,7 +6946,7 @@ type DateRangeFilterProps<O extends string> = {
|
|
|
6928
6946
|
label: string;
|
|
6929
6947
|
defaultValue?: DateRangeFilterValue<O>;
|
|
6930
6948
|
placeholderText?: string;
|
|
6931
|
-
disabledDays?:
|
|
6949
|
+
disabledDays?: DayMatcher | DayMatcher[];
|
|
6932
6950
|
testFieldLabel?: string;
|
|
6933
6951
|
};
|
|
6934
6952
|
type DateRangeFilterValue<O extends string> = {
|
|
@@ -7289,9 +7307,9 @@ declare function BoundChipSelectField<O, V extends Value>(props: BoundChipSelect
|
|
|
7289
7307
|
declare function BoundChipSelectField<O extends HasIdAndName<V>, V extends Value>(props: Optional<BoundChipSelectFieldProps<O, V>, "getOptionValue" | "getOptionLabel">): JSX.Element;
|
|
7290
7308
|
|
|
7291
7309
|
type BoundDateFieldProps = Omit<DateFieldProps, "label" | "value" | "onChange"> & {
|
|
7292
|
-
field: FieldState<
|
|
7310
|
+
field: FieldState<PlainDate | null | undefined>;
|
|
7293
7311
|
label?: string;
|
|
7294
|
-
onChange?: (value:
|
|
7312
|
+
onChange?: (value: PlainDate | undefined) => void;
|
|
7295
7313
|
};
|
|
7296
7314
|
/** Wraps `TextField` and binds it to a form field. */
|
|
7297
7315
|
declare function BoundDateField(props: BoundDateFieldProps): JSX.Element;
|
|
@@ -7765,14 +7783,14 @@ declare function useHover(props: useHoverProps): {
|
|
|
7765
7783
|
isHovered: boolean;
|
|
7766
7784
|
};
|
|
7767
7785
|
|
|
7768
|
-
|
|
7786
|
+
type UsePersistedFilterProps<F> = {
|
|
7769
7787
|
filterDefs: FilterDefs<F>;
|
|
7770
7788
|
storageKey: string;
|
|
7771
|
-
}
|
|
7772
|
-
|
|
7789
|
+
};
|
|
7790
|
+
type PersistedFilterHook<F> = {
|
|
7773
7791
|
filter: F;
|
|
7774
7792
|
setFilter: (filter: F) => void;
|
|
7775
|
-
}
|
|
7793
|
+
};
|
|
7776
7794
|
/**
|
|
7777
7795
|
* Persists filter details in both browser storage and query parameters.
|
|
7778
7796
|
* If a valid filter is present in the query params, then that will be used.
|
|
@@ -8513,4 +8531,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
|
|
|
8513
8531
|
*/
|
|
8514
8532
|
declare function defaultTestId(label: string): string;
|
|
8515
8533
|
|
|
8516
|
-
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 };
|
|
8534
|
+
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, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type DayMatcher, 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, 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 };
|