@homebound/beam 3.1.0-alpha.1 → 3.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +221 -149
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -24
- package/dist/index.d.ts +27 -24
- package/dist/index.js +205 -134
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4266,7 +4266,7 @@ type DateRange = {
|
|
|
4266
4266
|
from: PlainDate | undefined;
|
|
4267
4267
|
to?: PlainDate | undefined;
|
|
4268
4268
|
};
|
|
4269
|
-
type
|
|
4269
|
+
type DateMatcher = PlainDate | PlainDate[] | DateRange | ((date: PlainDate) => boolean);
|
|
4270
4270
|
type HasIdIsh<V = string> = {
|
|
4271
4271
|
id: V;
|
|
4272
4272
|
} | {
|
|
@@ -5895,13 +5895,13 @@ declare function Button(props: ButtonProps): JSX.Element;
|
|
|
5895
5895
|
type ButtonSize = "sm" | "md" | "lg";
|
|
5896
5896
|
type ButtonVariant = "primary" | "secondary" | "secondaryBlack" | "tertiary" | "tertiaryDanger" | "caution" | "danger" | "quaternary" | "text" | "textSecondary";
|
|
5897
5897
|
|
|
5898
|
-
|
|
5898
|
+
type DatePickerProps = {
|
|
5899
5899
|
value?: PlainDate;
|
|
5900
5900
|
onSelect: (value: PlainDate) => void;
|
|
5901
|
-
disabledDays?:
|
|
5902
|
-
dottedDays?:
|
|
5901
|
+
disabledDays?: DateMatcher | DateMatcher[];
|
|
5902
|
+
dottedDays?: DateMatcher | DateMatcher[];
|
|
5903
5903
|
useYearPicker?: boolean;
|
|
5904
|
-
}
|
|
5904
|
+
};
|
|
5905
5905
|
|
|
5906
5906
|
interface IconButtonProps extends BeamButtonProps, BeamFocusableProps {
|
|
5907
5907
|
/** The icon to use within the button. */
|
|
@@ -6394,21 +6394,24 @@ type ListBoxSection<O> = {
|
|
|
6394
6394
|
};
|
|
6395
6395
|
declare function isListBoxSection<O>(obj: O | ListBoxSection<O>): obj is ListBoxSection<O>;
|
|
6396
6396
|
|
|
6397
|
-
type
|
|
6397
|
+
type SupportedDateFormat = "shortDate" | "date" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear" | "monthYear" | "shortMonth" | "year" | "weekdayInitial" | "weekday";
|
|
6398
|
+
declare function formatPlainDate(date: PlainDate, format: SupportedDateFormat): string;
|
|
6399
|
+
|
|
6398
6400
|
type DateFieldMode = "single" | "range";
|
|
6399
6401
|
declare const dateFormats: {
|
|
6400
|
-
short:
|
|
6401
|
-
medium:
|
|
6402
|
-
long:
|
|
6403
|
-
};
|
|
6404
|
-
|
|
6405
|
-
declare function
|
|
6406
|
-
declare function
|
|
6407
|
-
declare function
|
|
6408
|
-
declare function
|
|
6402
|
+
readonly short: "shortDate";
|
|
6403
|
+
readonly medium: "shortWeekdayMonthDay";
|
|
6404
|
+
readonly long: "longWeekdayMonthDayYear";
|
|
6405
|
+
};
|
|
6406
|
+
type DateFieldFormat = (typeof dateFormats)[keyof typeof dateFormats];
|
|
6407
|
+
declare function getDateFormat(format: keyof typeof dateFormats | undefined): "shortDate" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear";
|
|
6408
|
+
declare function formatDate(date: PlainDate | undefined, format: SupportedDateFormat): string;
|
|
6409
|
+
declare function formatDateRange(date: DateRange | undefined, format: SupportedDateFormat): string | undefined;
|
|
6410
|
+
declare function parseDate(str: string, format: DateFieldFormat | "date"): PlainDate | undefined;
|
|
6411
|
+
declare function parseDateRange(str: string, format: DateFieldFormat | "date"): DateRange | undefined;
|
|
6409
6412
|
declare function isValidDate(d: PlainDate | undefined): boolean;
|
|
6410
6413
|
|
|
6411
|
-
|
|
6414
|
+
type DateFieldBaseProps = Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> & {
|
|
6412
6415
|
label: string;
|
|
6413
6416
|
/** Called when the component loses focus */
|
|
6414
6417
|
onBlur?: () => void;
|
|
@@ -6428,7 +6431,7 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
|
|
|
6428
6431
|
/**
|
|
6429
6432
|
* Set custom logic for individual dates or date ranges to be disabled in the picker
|
|
6430
6433
|
*/
|
|
6431
|
-
disabledDays?:
|
|
6434
|
+
disabledDays?: DateMatcher | DateMatcher[];
|
|
6432
6435
|
onEnter?: VoidFunction;
|
|
6433
6436
|
/** for storybook */
|
|
6434
6437
|
defaultOpen?: boolean;
|
|
@@ -6438,17 +6441,17 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
|
|
|
6438
6441
|
isRangeFilterField?: boolean;
|
|
6439
6442
|
/** Render header that skips years in addition to months */
|
|
6440
6443
|
useYearPicker?: boolean;
|
|
6441
|
-
}
|
|
6442
|
-
|
|
6444
|
+
};
|
|
6445
|
+
type DateSingleFieldBaseProps = DateFieldBaseProps & {
|
|
6443
6446
|
mode: "single";
|
|
6444
6447
|
value: PlainDate | undefined;
|
|
6445
6448
|
onChange: (value: PlainDate | undefined) => void;
|
|
6446
|
-
}
|
|
6447
|
-
|
|
6449
|
+
};
|
|
6450
|
+
type DateRangeFieldBaseProps = DateFieldBaseProps & {
|
|
6448
6451
|
mode: "range";
|
|
6449
6452
|
value: DateRange | undefined;
|
|
6450
6453
|
onChange: (value: DateRange | undefined) => void;
|
|
6451
|
-
}
|
|
6454
|
+
};
|
|
6452
6455
|
|
|
6453
6456
|
interface DateFieldProps extends Omit<DateSingleFieldBaseProps, "mode"> {
|
|
6454
6457
|
}
|
|
@@ -6946,7 +6949,7 @@ type DateRangeFilterProps<O extends string> = {
|
|
|
6946
6949
|
label: string;
|
|
6947
6950
|
defaultValue?: DateRangeFilterValue<O>;
|
|
6948
6951
|
placeholderText?: string;
|
|
6949
|
-
disabledDays?:
|
|
6952
|
+
disabledDays?: DateMatcher | DateMatcher[];
|
|
6950
6953
|
testFieldLabel?: string;
|
|
6951
6954
|
};
|
|
6952
6955
|
type DateRangeFilterValue<O extends string> = {
|
|
@@ -8531,4 +8534,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
|
|
|
8531
8534
|
*/
|
|
8532
8535
|
declare function defaultTestId(label: string): string;
|
|
8533
8536
|
|
|
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
|
|
8537
|
+
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BeamButtonProps, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundIconCardField, type BoundIconCardFieldProps, BoundIconCardGroupField, type BoundIconCardGroupFieldProps, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardTag, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, ConfirmCloseModal, type ContentStack, Copy, CountBadge, type CountBadgeProps, Css, CssReset, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, type DragData, EXPANDABLE_HEADER, EditColumnsButton, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, HelperText, Icon, IconButton, type IconButtonProps, IconCard, type IconCardProps, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type InfiniteScroll, type InlineStyle, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, type PageNumberAndSize, type PageSettings, Pagination, type PaginationConfig, Palette, type Pin, type Placement, type PlainDate, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, ScrollShadows, ScrollableContent, ScrollableParent, SelectField, type SelectFieldProps, SelectToggle, type SelectedState, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableState, TableStateContext, Tabs, TabsWithContent, Tag, type TagType, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, type Xss, actionColumn, applyRowFn, assignDefaultColumnIds, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundIconCardField, boundIconCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnSizes, cardStyle, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getJustification, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, iconButtonCircleStylesHover, iconButtonContrastStylesHover, iconButtonStylesHover, iconCardStylesHover, increment, insertAtIndex, isCursorBelowMidpoint, isGridCellContent, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, selectedStyles, setDefaultStyle, setGridTableDefaults, setRunningInJest, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBreakpoint, useComputed, useDnDGridItem, type useDnDGridItemProps, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, zIndices };
|
package/dist/index.d.ts
CHANGED
|
@@ -4266,7 +4266,7 @@ type DateRange = {
|
|
|
4266
4266
|
from: PlainDate | undefined;
|
|
4267
4267
|
to?: PlainDate | undefined;
|
|
4268
4268
|
};
|
|
4269
|
-
type
|
|
4269
|
+
type DateMatcher = PlainDate | PlainDate[] | DateRange | ((date: PlainDate) => boolean);
|
|
4270
4270
|
type HasIdIsh<V = string> = {
|
|
4271
4271
|
id: V;
|
|
4272
4272
|
} | {
|
|
@@ -5895,13 +5895,13 @@ declare function Button(props: ButtonProps): JSX.Element;
|
|
|
5895
5895
|
type ButtonSize = "sm" | "md" | "lg";
|
|
5896
5896
|
type ButtonVariant = "primary" | "secondary" | "secondaryBlack" | "tertiary" | "tertiaryDanger" | "caution" | "danger" | "quaternary" | "text" | "textSecondary";
|
|
5897
5897
|
|
|
5898
|
-
|
|
5898
|
+
type DatePickerProps = {
|
|
5899
5899
|
value?: PlainDate;
|
|
5900
5900
|
onSelect: (value: PlainDate) => void;
|
|
5901
|
-
disabledDays?:
|
|
5902
|
-
dottedDays?:
|
|
5901
|
+
disabledDays?: DateMatcher | DateMatcher[];
|
|
5902
|
+
dottedDays?: DateMatcher | DateMatcher[];
|
|
5903
5903
|
useYearPicker?: boolean;
|
|
5904
|
-
}
|
|
5904
|
+
};
|
|
5905
5905
|
|
|
5906
5906
|
interface IconButtonProps extends BeamButtonProps, BeamFocusableProps {
|
|
5907
5907
|
/** The icon to use within the button. */
|
|
@@ -6394,21 +6394,24 @@ type ListBoxSection<O> = {
|
|
|
6394
6394
|
};
|
|
6395
6395
|
declare function isListBoxSection<O>(obj: O | ListBoxSection<O>): obj is ListBoxSection<O>;
|
|
6396
6396
|
|
|
6397
|
-
type
|
|
6397
|
+
type SupportedDateFormat = "shortDate" | "date" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear" | "monthYear" | "shortMonth" | "year" | "weekdayInitial" | "weekday";
|
|
6398
|
+
declare function formatPlainDate(date: PlainDate, format: SupportedDateFormat): string;
|
|
6399
|
+
|
|
6398
6400
|
type DateFieldMode = "single" | "range";
|
|
6399
6401
|
declare const dateFormats: {
|
|
6400
|
-
short:
|
|
6401
|
-
medium:
|
|
6402
|
-
long:
|
|
6403
|
-
};
|
|
6404
|
-
|
|
6405
|
-
declare function
|
|
6406
|
-
declare function
|
|
6407
|
-
declare function
|
|
6408
|
-
declare function
|
|
6402
|
+
readonly short: "shortDate";
|
|
6403
|
+
readonly medium: "shortWeekdayMonthDay";
|
|
6404
|
+
readonly long: "longWeekdayMonthDayYear";
|
|
6405
|
+
};
|
|
6406
|
+
type DateFieldFormat = (typeof dateFormats)[keyof typeof dateFormats];
|
|
6407
|
+
declare function getDateFormat(format: keyof typeof dateFormats | undefined): "shortDate" | "shortWeekdayMonthDay" | "longWeekdayMonthDayYear";
|
|
6408
|
+
declare function formatDate(date: PlainDate | undefined, format: SupportedDateFormat): string;
|
|
6409
|
+
declare function formatDateRange(date: DateRange | undefined, format: SupportedDateFormat): string | undefined;
|
|
6410
|
+
declare function parseDate(str: string, format: DateFieldFormat | "date"): PlainDate | undefined;
|
|
6411
|
+
declare function parseDateRange(str: string, format: DateFieldFormat | "date"): DateRange | undefined;
|
|
6409
6412
|
declare function isValidDate(d: PlainDate | undefined): boolean;
|
|
6410
6413
|
|
|
6411
|
-
|
|
6414
|
+
type DateFieldBaseProps = Pick<TextFieldBaseProps<Properties>, "borderless" | "visuallyDisabled" | "labelStyle" | "compact" | "fullWidth"> & {
|
|
6412
6415
|
label: string;
|
|
6413
6416
|
/** Called when the component loses focus */
|
|
6414
6417
|
onBlur?: () => void;
|
|
@@ -6428,7 +6431,7 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
|
|
|
6428
6431
|
/**
|
|
6429
6432
|
* Set custom logic for individual dates or date ranges to be disabled in the picker
|
|
6430
6433
|
*/
|
|
6431
|
-
disabledDays?:
|
|
6434
|
+
disabledDays?: DateMatcher | DateMatcher[];
|
|
6432
6435
|
onEnter?: VoidFunction;
|
|
6433
6436
|
/** for storybook */
|
|
6434
6437
|
defaultOpen?: boolean;
|
|
@@ -6438,17 +6441,17 @@ interface DateFieldBaseProps extends Pick<TextFieldBaseProps<Properties>, "borde
|
|
|
6438
6441
|
isRangeFilterField?: boolean;
|
|
6439
6442
|
/** Render header that skips years in addition to months */
|
|
6440
6443
|
useYearPicker?: boolean;
|
|
6441
|
-
}
|
|
6442
|
-
|
|
6444
|
+
};
|
|
6445
|
+
type DateSingleFieldBaseProps = DateFieldBaseProps & {
|
|
6443
6446
|
mode: "single";
|
|
6444
6447
|
value: PlainDate | undefined;
|
|
6445
6448
|
onChange: (value: PlainDate | undefined) => void;
|
|
6446
|
-
}
|
|
6447
|
-
|
|
6449
|
+
};
|
|
6450
|
+
type DateRangeFieldBaseProps = DateFieldBaseProps & {
|
|
6448
6451
|
mode: "range";
|
|
6449
6452
|
value: DateRange | undefined;
|
|
6450
6453
|
onChange: (value: DateRange | undefined) => void;
|
|
6451
|
-
}
|
|
6454
|
+
};
|
|
6452
6455
|
|
|
6453
6456
|
interface DateFieldProps extends Omit<DateSingleFieldBaseProps, "mode"> {
|
|
6454
6457
|
}
|
|
@@ -6946,7 +6949,7 @@ type DateRangeFilterProps<O extends string> = {
|
|
|
6946
6949
|
label: string;
|
|
6947
6950
|
defaultValue?: DateRangeFilterValue<O>;
|
|
6948
6951
|
placeholderText?: string;
|
|
6949
|
-
disabledDays?:
|
|
6952
|
+
disabledDays?: DateMatcher | DateMatcher[];
|
|
6950
6953
|
testFieldLabel?: string;
|
|
6951
6954
|
};
|
|
6952
6955
|
type DateRangeFilterValue<O extends string> = {
|
|
@@ -8531,4 +8534,4 @@ declare function resolveTooltip(disabled?: boolean | ReactNode, tooltip?: ReactN
|
|
|
8531
8534
|
*/
|
|
8532
8535
|
declare function defaultTestId(label: string): string;
|
|
8533
8536
|
|
|
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
|
|
8537
|
+
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BeamButtonProps, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundIconCardField, type BoundIconCardFieldProps, BoundIconCardGroupField, type BoundIconCardGroupFieldProps, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardTag, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, ConfirmCloseModal, type ContentStack, Copy, CountBadge, type CountBadgeProps, Css, CssReset, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, type DragData, EXPANDABLE_HEADER, EditColumnsButton, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, HelperText, Icon, IconButton, type IconButtonProps, IconCard, type IconCardProps, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type InfiniteScroll, type InlineStyle, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, type PageNumberAndSize, type PageSettings, Pagination, type PaginationConfig, Palette, type Pin, type Placement, type PlainDate, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, ScrollShadows, ScrollableContent, ScrollableParent, SelectField, type SelectFieldProps, SelectToggle, type SelectedState, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableState, TableStateContext, Tabs, TabsWithContent, Tag, type TagType, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, type Xss, actionColumn, applyRowFn, assignDefaultColumnIds, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundIconCardField, boundIconCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnSizes, cardStyle, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getJustification, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, iconButtonCircleStylesHover, iconButtonContrastStylesHover, iconButtonStylesHover, iconCardStylesHover, increment, insertAtIndex, isCursorBelowMidpoint, isGridCellContent, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, selectedStyles, setDefaultStyle, setGridTableDefaults, setRunningInJest, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBreakpoint, useComputed, useDnDGridItem, type useDnDGridItemProps, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, zIndices };
|