@homebound/beam 4.30.0 → 4.32.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 +106 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -7
- package/dist/index.d.ts +26 -7
- package/dist/index.js +105 -17
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as csstype from 'csstype';
|
|
2
2
|
import { Properties as Properties$1 } from 'csstype';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { ReactNode, AriaAttributes, ReactElement, MutableRefObject, PropsWithChildren, RefObject, ButtonHTMLAttributes, Dispatch, SetStateAction, AriaRole, JSX, LabelHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, ReactPortal, KeyboardEvent, Key as Key$1, HTMLAttributes } from 'react';
|
|
4
|
+
import React__default, { ReactNode, AriaAttributes, ReactElement, MutableRefObject, PropsWithChildren, RefObject, ButtonHTMLAttributes, Dispatch, SetStateAction, AriaRole, JSX, LabelHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, ComponentPropsWithRef, ReactPortal, KeyboardEvent, Key as Key$1, HTMLAttributes } from 'react';
|
|
5
5
|
import { Temporal } from 'temporal-polyfill';
|
|
6
6
|
import { DOMProps, PressEvent, Key } from '@react-types/shared';
|
|
7
7
|
import { AriaButtonProps } from '@react-types/button';
|
|
@@ -8179,6 +8179,8 @@ type EntityLockupProps = {
|
|
|
8179
8179
|
/** Thumbnail image URL. */
|
|
8180
8180
|
imgSrc: string;
|
|
8181
8181
|
title: string;
|
|
8182
|
+
/** Short line above the title, e.g. a brand. */
|
|
8183
|
+
eyebrow?: ReactNode;
|
|
8182
8184
|
/** Secondary content under the title; can include extra rows like a status. */
|
|
8183
8185
|
description?: ReactNode;
|
|
8184
8186
|
/** Trailing content aligned to the right, e.g. a Tag and price. */
|
|
@@ -8923,6 +8925,16 @@ type BoundNumberFieldProps = Omit<NumberFieldProps, "value" | "onChange" | "labe
|
|
|
8923
8925
|
/** Wraps `NumberField` and binds it to a form field. */
|
|
8924
8926
|
declare function BoundNumberField(props: BoundNumberFieldProps): React$1.JSX.Element;
|
|
8925
8927
|
|
|
8928
|
+
type StyledRadioProps = {
|
|
8929
|
+
label?: string;
|
|
8930
|
+
isDisabled?: boolean;
|
|
8931
|
+
isSelected?: boolean;
|
|
8932
|
+
isFocusVisible?: boolean;
|
|
8933
|
+
inputProps: ComponentPropsWithRef<"input">;
|
|
8934
|
+
};
|
|
8935
|
+
/** A styled radio circle, for placing a radio inside custom markup like a select card or a `renderOption` row. */
|
|
8936
|
+
declare function StyledRadio(props: StyledRadioProps): React$1.JSX.Element;
|
|
8937
|
+
|
|
8926
8938
|
type RadioFieldOption<K extends string> = {
|
|
8927
8939
|
/** The label for a specific option, i.e. "Cheddar". */
|
|
8928
8940
|
label: string;
|
|
@@ -8936,7 +8948,7 @@ type RadioFieldOption<K extends string> = {
|
|
|
8936
8948
|
imgSrc?: string;
|
|
8937
8949
|
};
|
|
8938
8950
|
type RadioGroupFieldLayout = "vertical" | "horizontal" | "thumbnail";
|
|
8939
|
-
type RadioGroupFieldProps<K extends string> = {
|
|
8951
|
+
type RadioGroupFieldProps<K extends string, O extends RadioFieldOption<K> = RadioFieldOption<K>> = {
|
|
8940
8952
|
/** The label for the choice itself, i.e. "Favorite Cheese". */
|
|
8941
8953
|
label: string;
|
|
8942
8954
|
/** Adds tooltip for the field, shown via an info icon beside the label. */
|
|
@@ -8946,7 +8958,7 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8946
8958
|
/** Called when an option is selected. We don't support unselecting. */
|
|
8947
8959
|
onChange: (value: K) => void;
|
|
8948
8960
|
/** The list of options. */
|
|
8949
|
-
options: RadioFieldOption<K>[];
|
|
8961
|
+
options: (RadioFieldOption<K> & O)[];
|
|
8950
8962
|
disabled?: boolean;
|
|
8951
8963
|
/** Whether the field is required. When true, renders the required suffix (i.e. "*") next to the label. */
|
|
8952
8964
|
required?: boolean;
|
|
@@ -8956,6 +8968,13 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8956
8968
|
onFocus?: () => void;
|
|
8957
8969
|
/** The options' arrangement. Defaults to "vertical". */
|
|
8958
8970
|
layout?: RadioGroupFieldLayout;
|
|
8971
|
+
/**
|
|
8972
|
+
* Renders each option's whole row, like a title, price and images. Not used by `layout="thumbnail"`.
|
|
8973
|
+
*
|
|
8974
|
+
* Wrap the row in a `<label>` and place `<StyledRadio {...radioProps} />` inside it, so a click anywhere in the row
|
|
8975
|
+
* selects the option.
|
|
8976
|
+
*/
|
|
8977
|
+
renderOption?: (option: RadioFieldOption<K> & O, radioProps: StyledRadioProps) => ReactNode;
|
|
8959
8978
|
} & Pick<PresentationFieldProps, "labelStyle">;
|
|
8960
8979
|
/**
|
|
8961
8980
|
* Provides a radio group with label.
|
|
@@ -8964,16 +8983,16 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8964
8983
|
*
|
|
8965
8984
|
* TODO: Add hover (non selected and selected) styles
|
|
8966
8985
|
*/
|
|
8967
|
-
declare function RadioGroupField<K extends string>(props: RadioGroupFieldProps<K>): React$1.JSX.Element;
|
|
8986
|
+
declare function RadioGroupField<K extends string, O extends RadioFieldOption<K> = RadioFieldOption<K>>(props: RadioGroupFieldProps<K, O>): React$1.JSX.Element;
|
|
8968
8987
|
|
|
8969
|
-
type BoundRadioGroupFieldProps<K extends string> = Omit<RadioGroupFieldProps<K>, "value" | "onChange" | "label"> & {
|
|
8988
|
+
type BoundRadioGroupFieldProps<K extends string, O extends RadioFieldOption<K> = RadioFieldOption<K>> = Omit<RadioGroupFieldProps<K, O>, "value" | "onChange" | "label"> & {
|
|
8970
8989
|
field: FieldState<K | null | undefined>;
|
|
8971
8990
|
/** Make optional so that callers can override if they want to. */
|
|
8972
8991
|
onChange?: (value: K) => void;
|
|
8973
8992
|
label?: string;
|
|
8974
8993
|
};
|
|
8975
8994
|
/** Wraps `TextField` and binds it to a form field. */
|
|
8976
|
-
declare function BoundRadioGroupField<K extends string>(props: BoundRadioGroupFieldProps<K>): React$1.JSX.Element;
|
|
8995
|
+
declare function BoundRadioGroupField<K extends string, O extends RadioFieldOption<K> = RadioFieldOption<K>>(props: BoundRadioGroupFieldProps<K, O>): React$1.JSX.Element;
|
|
8977
8996
|
|
|
8978
8997
|
type RichTextFieldProps = {
|
|
8979
8998
|
/** The initial html value to show in the trix editor. */
|
|
@@ -11754,4 +11773,4 @@ declare const zIndices: {
|
|
|
11754
11773
|
};
|
|
11755
11774
|
type ZIndex = (typeof zIndices)[keyof typeof zIndices];
|
|
11756
11775
|
|
|
11757
|
-
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, AiBanner, type AiBannerProps, AiCard, type AiCardProps, type AiCardSize, AiLinkCardGroup, type AiLinkCardGroupProps, AiLoader, type AiLoaderProps, AiLoadingPanel, type AiLoadingPanelProps, AiPanel, type AiPanelPadding, type AiPanelProps, AiSlimBanner, type AiSlimBannerProps, type AllowNavigationArgs, type AppEnvironment, type AppNavGroup, type AppNavItem, type AppNavLink, type AppNavSection, type AppNavSectionItem, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerItemProps, type BannerProps, type BannerType, type BannerTypes, BaseCard, type BaseCardProps, BaseFilter, type BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamLogo, BeamProvider, type BeamTextFieldProps, BlueprintAiLogo, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectCardGroupField, type BoundMultiSelectCardGroupFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breadcrumb, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, type ButtonColorScheme, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, CardBody, type CardBodyProps, type CardCarouselFooter, type CardCarouselThumbnail, type CardData, type CardDataBlockSlot, type CardEyebrowSlot, type CardInteractiveFooter, type CardInteractiveFooterSlot, type CardLeftEyebrowSlot, type CardProgressSlot, type CardProps, type CardRightEyebrowSlot, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, Carousel, type CarouselProps, CenteredLayout, type CenteredLayoutProps, type CenteredLayoutSize, 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, type ColumnLayoutResult, type CompanionConfig, type CompanionContent, type CompanionPosition, CompoundField, type CompoundFieldProps, ConfirmCloseModal, ContentHeader, type ContentHeaderLevel, type ContentHeaderProps, type ContentStack, ContextTag, ContrastScope, Copy, CountBadge, type CountBadgeProps, Css, CssReset, type CssSetVarKeys, type CssSetVarScalar, type CssSetVarValue, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type DefinedFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, DocumentScrollOverlayRightPaneLayout, type DocumentScrollOverlayRightPaneLayoutProps, type DocumentTitleConfig, DocumentTitleProvider, DocumentUploadIllustration, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EntityLockup, type EntityLockupProps, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, type FilterImpls, FilterModal, FilterPill, _Filters as Filters, type FixedSort, FocusedFormLayout, type FocusedFormLayoutProps, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, FormSection, type FormSectionAction, FormSectionChild, type FormSectionConfig, FormSectionLayout, type FormSectionLayoutProps, type FormSectionLayoutSection, type FormSectionProps, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowCompanion, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableEmptyState, type GridTableEmptyStateProps, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTablePropsWithRows, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, type HeaderAction, HelperText, HomeboundLogo, Icon, IconButton, type IconButtonProps, type IconButtonVariant, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type ImpersonatedUser, type InfiniteScroll, InlineFeedbackBanner, type InlineFeedbackBannerAction, type InlineFeedbackBannerProps, type InlineFeedbackBannerType, type InlineStyle, type InputStylePalette, JumpLink, type JumpLinkProps, KEPT_GROUP, Keyframes, type Kinded, LinkCard, type LinkCardProps, Loader, LoadingSkeleton, type LoadingSkeletonProps, type LogoSizeProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBanner, ModalBody, ModalFilterItem, ModalFooter, ModalFullBleed, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectCardGroup, type MultiSelectCardGroupProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NavLinkProps, type NavLinkVariant, Navbar, NavbarLayout, type NavbarLayoutProps, type NavbarProps, type NavbarUser, 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, PageBanner, type PageBannerProps, PageHeaderLayout, type PageHeaderLayoutProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PlainFormSectionChild, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, ProposedValue$1 as ProposedValue, type ProposedValueProps, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, type ReorderableFormSectionChild, type ResolvedWithRightPane, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneLayout, type RightPaneOpenActions, type RightPaneOpenState, RightPanePanel, type RightPanePanelProps, type RightPaneTrigger, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, type SelectCardGridGroupItemOption, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardLayout, type SelectCardListGroupItemOption, type SelectCardView, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, SelectedOptionPill, SelectedOptionPillList, type SelectedOptionPillListProps, type SelectedOptionPillProps, type SelectedState, SelectionSummaryPill, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StackBarGraph, type StackBarGraphProps, type StackBarGraphSegment, StaticField, StatusBanner, type StatusBannerProps, type Step, Stepper, StepperLayout, type StepperLayoutProps, type StepperLayoutStep, type StepperProps, StepperTab, type StepperTabProps, StepperTabs, type StepperTabsProps, type StepperTabsStep, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, TableSummary, type TableSummaryAction, type TableSummaryMetric, type TableSummaryProps, type TableView, Tabs, TabsWithContent, Tag, TagGroup, type TagGroupItem, type TagGroupProps, type TagProps, type TagType, type TagVariant, type TagXss, 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, Tokens, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps$1 as UsePersistedFilterProps, type UseQueryState, type UseRightPaneActionsHook, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, VirtualizedScrollParentProvider, type WithRightPane, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, beamEnvironmentBannerLayoutHeightVar, beamFloatingRightOffsetVar, beamLayoutContentPaddingXVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageBannerHeightVar, beamPageHeaderLayoutHeightVar, beamRightPaneContentMinVar, beamRightPaneWidthVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, beamWorkflowLayoutFooterHeightVar, belowNavbarOffset, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardCarouselSlot, cardDataBlockSlot, cardEyebrowSlot, cardInteractiveFooterSlot, cardLeftEyebrowSlot, cardProgressSlot, cardRightEyebrowSlot, cardStatusSlot, cardStyle, cardTitleSlot, centeredShellMaxPx, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultDocumentScrollRightPaneWidth, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollBodyMinHeight, documentScrollChromeLeft, documentScrollChromeWidth, documentScrollContentLeft, documentScrollContentWidth, documentScrollRightPaneContentMinCss, documentScrollRightPaneHeight, documentScrollRightPaneWidthCss, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, fieldCell, fieldColumn, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getFloatingBottomOffset, getFloatingRightOffset, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerContentPaddingX, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, minDocumentScrollContentWidthPx, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, pageBannerOffset, pageContentGutterPx, pageContentPaddingX, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resetRightPaneStore, resolveTableContentWidth, resolveTooltip, resolveWithRightPaneOptions, rightPaneContentStore, rightPaneOpenActions, rightPaneOpenStore, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, stickyNavAndHeaderOffsetPx, stickyTableHeaderOffset, sumColumnSizesPx, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBodyBackgroundColor, useBreakpoint, useComputed, useContentOverflow, useContrastScope, useDnDGridItem, type useDnDGridItemProps, useDocumentTitle, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHasSideNavLayoutProvider, useHover, useModal, usePageBanner, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneActions, useRightPaneContent, useRightPaneOpenActions, useRightPaneOpenState, useRuntimeStyle, useScrollViewportWidth, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };
|
|
11776
|
+
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, AiBanner, type AiBannerProps, AiCard, type AiCardProps, type AiCardSize, AiLinkCardGroup, type AiLinkCardGroupProps, AiLoader, type AiLoaderProps, AiLoadingPanel, type AiLoadingPanelProps, AiPanel, type AiPanelPadding, type AiPanelProps, AiSlimBanner, type AiSlimBannerProps, type AllowNavigationArgs, type AppEnvironment, type AppNavGroup, type AppNavItem, type AppNavLink, type AppNavSection, type AppNavSectionItem, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerItemProps, type BannerProps, type BannerType, type BannerTypes, BaseCard, type BaseCardProps, BaseFilter, type BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamLogo, BeamProvider, type BeamTextFieldProps, BlueprintAiLogo, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectCardGroupField, type BoundMultiSelectCardGroupFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breadcrumb, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, type ButtonColorScheme, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, CardBody, type CardBodyProps, type CardCarouselFooter, type CardCarouselThumbnail, type CardData, type CardDataBlockSlot, type CardEyebrowSlot, type CardInteractiveFooter, type CardInteractiveFooterSlot, type CardLeftEyebrowSlot, type CardProgressSlot, type CardProps, type CardRightEyebrowSlot, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, Carousel, type CarouselProps, CenteredLayout, type CenteredLayoutProps, type CenteredLayoutSize, 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, type ColumnLayoutResult, type CompanionConfig, type CompanionContent, type CompanionPosition, CompoundField, type CompoundFieldProps, ConfirmCloseModal, ContentHeader, type ContentHeaderLevel, type ContentHeaderProps, type ContentStack, ContextTag, ContrastScope, Copy, CountBadge, type CountBadgeProps, Css, CssReset, type CssSetVarKeys, type CssSetVarScalar, type CssSetVarValue, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type DefinedFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, DocumentScrollOverlayRightPaneLayout, type DocumentScrollOverlayRightPaneLayoutProps, type DocumentTitleConfig, DocumentTitleProvider, DocumentUploadIllustration, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EntityLockup, type EntityLockupProps, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, type FilterImpls, FilterModal, FilterPill, _Filters as Filters, type FixedSort, FocusedFormLayout, type FocusedFormLayoutProps, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, FormSection, type FormSectionAction, FormSectionChild, type FormSectionConfig, FormSectionLayout, type FormSectionLayoutProps, type FormSectionLayoutSection, type FormSectionProps, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowCompanion, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableEmptyState, type GridTableEmptyStateProps, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTablePropsWithRows, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, type HeaderAction, HelperText, HomeboundLogo, Icon, IconButton, type IconButtonProps, type IconButtonVariant, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type ImpersonatedUser, type InfiniteScroll, InlineFeedbackBanner, type InlineFeedbackBannerAction, type InlineFeedbackBannerProps, type InlineFeedbackBannerType, type InlineStyle, type InputStylePalette, JumpLink, type JumpLinkProps, KEPT_GROUP, Keyframes, type Kinded, LinkCard, type LinkCardProps, Loader, LoadingSkeleton, type LoadingSkeletonProps, type LogoSizeProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBanner, ModalBody, ModalFilterItem, ModalFooter, ModalFullBleed, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectCardGroup, type MultiSelectCardGroupProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NavLinkProps, type NavLinkVariant, Navbar, NavbarLayout, type NavbarLayoutProps, type NavbarProps, type NavbarUser, 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, PageBanner, type PageBannerProps, PageHeaderLayout, type PageHeaderLayoutProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PlainFormSectionChild, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, ProposedValue$1 as ProposedValue, type ProposedValueProps, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, type ReorderableFormSectionChild, type ResolvedWithRightPane, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneLayout, type RightPaneOpenActions, type RightPaneOpenState, RightPanePanel, type RightPanePanelProps, type RightPaneTrigger, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, type SelectCardGridGroupItemOption, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardLayout, type SelectCardListGroupItemOption, type SelectCardView, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, SelectedOptionPill, SelectedOptionPillList, type SelectedOptionPillListProps, type SelectedOptionPillProps, type SelectedState, SelectionSummaryPill, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StackBarGraph, type StackBarGraphProps, type StackBarGraphSegment, StaticField, StatusBanner, type StatusBannerProps, type Step, Stepper, StepperLayout, type StepperLayoutProps, type StepperLayoutStep, type StepperProps, StepperTab, type StepperTabProps, StepperTabs, type StepperTabsProps, type StepperTabsStep, type StyleKind, StyledRadio, type StyledRadioProps, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, TableSummary, type TableSummaryAction, type TableSummaryMetric, type TableSummaryProps, type TableView, Tabs, TabsWithContent, Tag, TagGroup, type TagGroupItem, type TagGroupProps, type TagProps, type TagType, type TagVariant, type TagXss, 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, Tokens, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps$1 as UsePersistedFilterProps, type UseQueryState, type UseRightPaneActionsHook, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, VirtualizedScrollParentProvider, type WithRightPane, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, beamEnvironmentBannerLayoutHeightVar, beamFloatingRightOffsetVar, beamLayoutContentPaddingXVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageBannerHeightVar, beamPageHeaderLayoutHeightVar, beamRightPaneContentMinVar, beamRightPaneWidthVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, beamWorkflowLayoutFooterHeightVar, belowNavbarOffset, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardCarouselSlot, cardDataBlockSlot, cardEyebrowSlot, cardInteractiveFooterSlot, cardLeftEyebrowSlot, cardProgressSlot, cardRightEyebrowSlot, cardStatusSlot, cardStyle, cardTitleSlot, centeredShellMaxPx, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultDocumentScrollRightPaneWidth, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollBodyMinHeight, documentScrollChromeLeft, documentScrollChromeWidth, documentScrollContentLeft, documentScrollContentWidth, documentScrollRightPaneContentMinCss, documentScrollRightPaneHeight, documentScrollRightPaneWidthCss, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, fieldCell, fieldColumn, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getFloatingBottomOffset, getFloatingRightOffset, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerContentPaddingX, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, minDocumentScrollContentWidthPx, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, pageBannerOffset, pageContentGutterPx, pageContentPaddingX, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resetRightPaneStore, resolveTableContentWidth, resolveTooltip, resolveWithRightPaneOptions, rightPaneContentStore, rightPaneOpenActions, rightPaneOpenStore, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, stickyNavAndHeaderOffsetPx, stickyTableHeaderOffset, sumColumnSizesPx, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBodyBackgroundColor, useBreakpoint, useComputed, useContentOverflow, useContrastScope, useDnDGridItem, type useDnDGridItemProps, useDocumentTitle, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHasSideNavLayoutProvider, useHover, useModal, usePageBanner, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneActions, useRightPaneContent, useRightPaneOpenActions, useRightPaneOpenState, useRuntimeStyle, useScrollViewportWidth, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as csstype from 'csstype';
|
|
2
2
|
import { Properties as Properties$1 } from 'csstype';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { ReactNode, AriaAttributes, ReactElement, MutableRefObject, PropsWithChildren, RefObject, ButtonHTMLAttributes, Dispatch, SetStateAction, AriaRole, JSX, LabelHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, ReactPortal, KeyboardEvent, Key as Key$1, HTMLAttributes } from 'react';
|
|
4
|
+
import React__default, { ReactNode, AriaAttributes, ReactElement, MutableRefObject, PropsWithChildren, RefObject, ButtonHTMLAttributes, Dispatch, SetStateAction, AriaRole, JSX, LabelHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, ComponentPropsWithRef, ReactPortal, KeyboardEvent, Key as Key$1, HTMLAttributes } from 'react';
|
|
5
5
|
import { Temporal } from 'temporal-polyfill';
|
|
6
6
|
import { DOMProps, PressEvent, Key } from '@react-types/shared';
|
|
7
7
|
import { AriaButtonProps } from '@react-types/button';
|
|
@@ -8179,6 +8179,8 @@ type EntityLockupProps = {
|
|
|
8179
8179
|
/** Thumbnail image URL. */
|
|
8180
8180
|
imgSrc: string;
|
|
8181
8181
|
title: string;
|
|
8182
|
+
/** Short line above the title, e.g. a brand. */
|
|
8183
|
+
eyebrow?: ReactNode;
|
|
8182
8184
|
/** Secondary content under the title; can include extra rows like a status. */
|
|
8183
8185
|
description?: ReactNode;
|
|
8184
8186
|
/** Trailing content aligned to the right, e.g. a Tag and price. */
|
|
@@ -8923,6 +8925,16 @@ type BoundNumberFieldProps = Omit<NumberFieldProps, "value" | "onChange" | "labe
|
|
|
8923
8925
|
/** Wraps `NumberField` and binds it to a form field. */
|
|
8924
8926
|
declare function BoundNumberField(props: BoundNumberFieldProps): React$1.JSX.Element;
|
|
8925
8927
|
|
|
8928
|
+
type StyledRadioProps = {
|
|
8929
|
+
label?: string;
|
|
8930
|
+
isDisabled?: boolean;
|
|
8931
|
+
isSelected?: boolean;
|
|
8932
|
+
isFocusVisible?: boolean;
|
|
8933
|
+
inputProps: ComponentPropsWithRef<"input">;
|
|
8934
|
+
};
|
|
8935
|
+
/** A styled radio circle, for placing a radio inside custom markup like a select card or a `renderOption` row. */
|
|
8936
|
+
declare function StyledRadio(props: StyledRadioProps): React$1.JSX.Element;
|
|
8937
|
+
|
|
8926
8938
|
type RadioFieldOption<K extends string> = {
|
|
8927
8939
|
/** The label for a specific option, i.e. "Cheddar". */
|
|
8928
8940
|
label: string;
|
|
@@ -8936,7 +8948,7 @@ type RadioFieldOption<K extends string> = {
|
|
|
8936
8948
|
imgSrc?: string;
|
|
8937
8949
|
};
|
|
8938
8950
|
type RadioGroupFieldLayout = "vertical" | "horizontal" | "thumbnail";
|
|
8939
|
-
type RadioGroupFieldProps<K extends string> = {
|
|
8951
|
+
type RadioGroupFieldProps<K extends string, O extends RadioFieldOption<K> = RadioFieldOption<K>> = {
|
|
8940
8952
|
/** The label for the choice itself, i.e. "Favorite Cheese". */
|
|
8941
8953
|
label: string;
|
|
8942
8954
|
/** Adds tooltip for the field, shown via an info icon beside the label. */
|
|
@@ -8946,7 +8958,7 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8946
8958
|
/** Called when an option is selected. We don't support unselecting. */
|
|
8947
8959
|
onChange: (value: K) => void;
|
|
8948
8960
|
/** The list of options. */
|
|
8949
|
-
options: RadioFieldOption<K>[];
|
|
8961
|
+
options: (RadioFieldOption<K> & O)[];
|
|
8950
8962
|
disabled?: boolean;
|
|
8951
8963
|
/** Whether the field is required. When true, renders the required suffix (i.e. "*") next to the label. */
|
|
8952
8964
|
required?: boolean;
|
|
@@ -8956,6 +8968,13 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8956
8968
|
onFocus?: () => void;
|
|
8957
8969
|
/** The options' arrangement. Defaults to "vertical". */
|
|
8958
8970
|
layout?: RadioGroupFieldLayout;
|
|
8971
|
+
/**
|
|
8972
|
+
* Renders each option's whole row, like a title, price and images. Not used by `layout="thumbnail"`.
|
|
8973
|
+
*
|
|
8974
|
+
* Wrap the row in a `<label>` and place `<StyledRadio {...radioProps} />` inside it, so a click anywhere in the row
|
|
8975
|
+
* selects the option.
|
|
8976
|
+
*/
|
|
8977
|
+
renderOption?: (option: RadioFieldOption<K> & O, radioProps: StyledRadioProps) => ReactNode;
|
|
8959
8978
|
} & Pick<PresentationFieldProps, "labelStyle">;
|
|
8960
8979
|
/**
|
|
8961
8980
|
* Provides a radio group with label.
|
|
@@ -8964,16 +8983,16 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8964
8983
|
*
|
|
8965
8984
|
* TODO: Add hover (non selected and selected) styles
|
|
8966
8985
|
*/
|
|
8967
|
-
declare function RadioGroupField<K extends string>(props: RadioGroupFieldProps<K>): React$1.JSX.Element;
|
|
8986
|
+
declare function RadioGroupField<K extends string, O extends RadioFieldOption<K> = RadioFieldOption<K>>(props: RadioGroupFieldProps<K, O>): React$1.JSX.Element;
|
|
8968
8987
|
|
|
8969
|
-
type BoundRadioGroupFieldProps<K extends string> = Omit<RadioGroupFieldProps<K>, "value" | "onChange" | "label"> & {
|
|
8988
|
+
type BoundRadioGroupFieldProps<K extends string, O extends RadioFieldOption<K> = RadioFieldOption<K>> = Omit<RadioGroupFieldProps<K, O>, "value" | "onChange" | "label"> & {
|
|
8970
8989
|
field: FieldState<K | null | undefined>;
|
|
8971
8990
|
/** Make optional so that callers can override if they want to. */
|
|
8972
8991
|
onChange?: (value: K) => void;
|
|
8973
8992
|
label?: string;
|
|
8974
8993
|
};
|
|
8975
8994
|
/** Wraps `TextField` and binds it to a form field. */
|
|
8976
|
-
declare function BoundRadioGroupField<K extends string>(props: BoundRadioGroupFieldProps<K>): React$1.JSX.Element;
|
|
8995
|
+
declare function BoundRadioGroupField<K extends string, O extends RadioFieldOption<K> = RadioFieldOption<K>>(props: BoundRadioGroupFieldProps<K, O>): React$1.JSX.Element;
|
|
8977
8996
|
|
|
8978
8997
|
type RichTextFieldProps = {
|
|
8979
8998
|
/** The initial html value to show in the trix editor. */
|
|
@@ -11754,4 +11773,4 @@ declare const zIndices: {
|
|
|
11754
11773
|
};
|
|
11755
11774
|
type ZIndex = (typeof zIndices)[keyof typeof zIndices];
|
|
11756
11775
|
|
|
11757
|
-
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, AiBanner, type AiBannerProps, AiCard, type AiCardProps, type AiCardSize, AiLinkCardGroup, type AiLinkCardGroupProps, AiLoader, type AiLoaderProps, AiLoadingPanel, type AiLoadingPanelProps, AiPanel, type AiPanelPadding, type AiPanelProps, AiSlimBanner, type AiSlimBannerProps, type AllowNavigationArgs, type AppEnvironment, type AppNavGroup, type AppNavItem, type AppNavLink, type AppNavSection, type AppNavSectionItem, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerItemProps, type BannerProps, type BannerType, type BannerTypes, BaseCard, type BaseCardProps, BaseFilter, type BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamLogo, BeamProvider, type BeamTextFieldProps, BlueprintAiLogo, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectCardGroupField, type BoundMultiSelectCardGroupFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breadcrumb, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, type ButtonColorScheme, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, CardBody, type CardBodyProps, type CardCarouselFooter, type CardCarouselThumbnail, type CardData, type CardDataBlockSlot, type CardEyebrowSlot, type CardInteractiveFooter, type CardInteractiveFooterSlot, type CardLeftEyebrowSlot, type CardProgressSlot, type CardProps, type CardRightEyebrowSlot, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, Carousel, type CarouselProps, CenteredLayout, type CenteredLayoutProps, type CenteredLayoutSize, 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, type ColumnLayoutResult, type CompanionConfig, type CompanionContent, type CompanionPosition, CompoundField, type CompoundFieldProps, ConfirmCloseModal, ContentHeader, type ContentHeaderLevel, type ContentHeaderProps, type ContentStack, ContextTag, ContrastScope, Copy, CountBadge, type CountBadgeProps, Css, CssReset, type CssSetVarKeys, type CssSetVarScalar, type CssSetVarValue, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type DefinedFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, DocumentScrollOverlayRightPaneLayout, type DocumentScrollOverlayRightPaneLayoutProps, type DocumentTitleConfig, DocumentTitleProvider, DocumentUploadIllustration, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EntityLockup, type EntityLockupProps, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, type FilterImpls, FilterModal, FilterPill, _Filters as Filters, type FixedSort, FocusedFormLayout, type FocusedFormLayoutProps, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, FormSection, type FormSectionAction, FormSectionChild, type FormSectionConfig, FormSectionLayout, type FormSectionLayoutProps, type FormSectionLayoutSection, type FormSectionProps, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowCompanion, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableEmptyState, type GridTableEmptyStateProps, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTablePropsWithRows, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, type HeaderAction, HelperText, HomeboundLogo, Icon, IconButton, type IconButtonProps, type IconButtonVariant, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type ImpersonatedUser, type InfiniteScroll, InlineFeedbackBanner, type InlineFeedbackBannerAction, type InlineFeedbackBannerProps, type InlineFeedbackBannerType, type InlineStyle, type InputStylePalette, JumpLink, type JumpLinkProps, KEPT_GROUP, Keyframes, type Kinded, LinkCard, type LinkCardProps, Loader, LoadingSkeleton, type LoadingSkeletonProps, type LogoSizeProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBanner, ModalBody, ModalFilterItem, ModalFooter, ModalFullBleed, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectCardGroup, type MultiSelectCardGroupProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NavLinkProps, type NavLinkVariant, Navbar, NavbarLayout, type NavbarLayoutProps, type NavbarProps, type NavbarUser, 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, PageBanner, type PageBannerProps, PageHeaderLayout, type PageHeaderLayoutProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PlainFormSectionChild, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, ProposedValue$1 as ProposedValue, type ProposedValueProps, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, type ReorderableFormSectionChild, type ResolvedWithRightPane, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneLayout, type RightPaneOpenActions, type RightPaneOpenState, RightPanePanel, type RightPanePanelProps, type RightPaneTrigger, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, type SelectCardGridGroupItemOption, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardLayout, type SelectCardListGroupItemOption, type SelectCardView, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, SelectedOptionPill, SelectedOptionPillList, type SelectedOptionPillListProps, type SelectedOptionPillProps, type SelectedState, SelectionSummaryPill, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StackBarGraph, type StackBarGraphProps, type StackBarGraphSegment, StaticField, StatusBanner, type StatusBannerProps, type Step, Stepper, StepperLayout, type StepperLayoutProps, type StepperLayoutStep, type StepperProps, StepperTab, type StepperTabProps, StepperTabs, type StepperTabsProps, type StepperTabsStep, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, TableSummary, type TableSummaryAction, type TableSummaryMetric, type TableSummaryProps, type TableView, Tabs, TabsWithContent, Tag, TagGroup, type TagGroupItem, type TagGroupProps, type TagProps, type TagType, type TagVariant, type TagXss, 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, Tokens, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps$1 as UsePersistedFilterProps, type UseQueryState, type UseRightPaneActionsHook, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, VirtualizedScrollParentProvider, type WithRightPane, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, beamEnvironmentBannerLayoutHeightVar, beamFloatingRightOffsetVar, beamLayoutContentPaddingXVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageBannerHeightVar, beamPageHeaderLayoutHeightVar, beamRightPaneContentMinVar, beamRightPaneWidthVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, beamWorkflowLayoutFooterHeightVar, belowNavbarOffset, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardCarouselSlot, cardDataBlockSlot, cardEyebrowSlot, cardInteractiveFooterSlot, cardLeftEyebrowSlot, cardProgressSlot, cardRightEyebrowSlot, cardStatusSlot, cardStyle, cardTitleSlot, centeredShellMaxPx, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultDocumentScrollRightPaneWidth, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollBodyMinHeight, documentScrollChromeLeft, documentScrollChromeWidth, documentScrollContentLeft, documentScrollContentWidth, documentScrollRightPaneContentMinCss, documentScrollRightPaneHeight, documentScrollRightPaneWidthCss, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, fieldCell, fieldColumn, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getFloatingBottomOffset, getFloatingRightOffset, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerContentPaddingX, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, minDocumentScrollContentWidthPx, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, pageBannerOffset, pageContentGutterPx, pageContentPaddingX, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resetRightPaneStore, resolveTableContentWidth, resolveTooltip, resolveWithRightPaneOptions, rightPaneContentStore, rightPaneOpenActions, rightPaneOpenStore, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, stickyNavAndHeaderOffsetPx, stickyTableHeaderOffset, sumColumnSizesPx, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBodyBackgroundColor, useBreakpoint, useComputed, useContentOverflow, useContrastScope, useDnDGridItem, type useDnDGridItemProps, useDocumentTitle, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHasSideNavLayoutProvider, useHover, useModal, usePageBanner, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneActions, useRightPaneContent, useRightPaneOpenActions, useRightPaneOpenState, useRuntimeStyle, useScrollViewportWidth, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };
|
|
11776
|
+
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, AiBanner, type AiBannerProps, AiCard, type AiCardProps, type AiCardSize, AiLinkCardGroup, type AiLinkCardGroupProps, AiLoader, type AiLoaderProps, AiLoadingPanel, type AiLoadingPanelProps, AiPanel, type AiPanelPadding, type AiPanelProps, AiSlimBanner, type AiSlimBannerProps, type AllowNavigationArgs, type AppEnvironment, type AppNavGroup, type AppNavItem, type AppNavLink, type AppNavSection, type AppNavSectionItem, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerItemProps, type BannerProps, type BannerType, type BannerTypes, BaseCard, type BaseCardProps, BaseFilter, type BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamLogo, BeamProvider, type BeamTextFieldProps, BlueprintAiLogo, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectCardGroupField, type BoundMultiSelectCardGroupFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breadcrumb, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, type ButtonColorScheme, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, CardBody, type CardBodyProps, type CardCarouselFooter, type CardCarouselThumbnail, type CardData, type CardDataBlockSlot, type CardEyebrowSlot, type CardInteractiveFooter, type CardInteractiveFooterSlot, type CardLeftEyebrowSlot, type CardProgressSlot, type CardProps, type CardRightEyebrowSlot, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, Carousel, type CarouselProps, CenteredLayout, type CenteredLayoutProps, type CenteredLayoutSize, 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, type ColumnLayoutResult, type CompanionConfig, type CompanionContent, type CompanionPosition, CompoundField, type CompoundFieldProps, ConfirmCloseModal, ContentHeader, type ContentHeaderLevel, type ContentHeaderProps, type ContentStack, ContextTag, ContrastScope, Copy, CountBadge, type CountBadgeProps, Css, CssReset, type CssSetVarKeys, type CssSetVarScalar, type CssSetVarValue, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type DefinedFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, DocumentScrollOverlayRightPaneLayout, type DocumentScrollOverlayRightPaneLayoutProps, type DocumentTitleConfig, DocumentTitleProvider, DocumentUploadIllustration, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EntityLockup, type EntityLockupProps, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, type FilterImpls, FilterModal, FilterPill, _Filters as Filters, type FixedSort, FocusedFormLayout, type FocusedFormLayoutProps, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, FormSection, type FormSectionAction, FormSectionChild, type FormSectionConfig, FormSectionLayout, type FormSectionLayoutProps, type FormSectionLayoutSection, type FormSectionProps, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowCompanion, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableEmptyState, type GridTableEmptyStateProps, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTablePropsWithRows, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, type HeaderAction, HelperText, HomeboundLogo, Icon, IconButton, type IconButtonProps, type IconButtonVariant, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type ImpersonatedUser, type InfiniteScroll, InlineFeedbackBanner, type InlineFeedbackBannerAction, type InlineFeedbackBannerProps, type InlineFeedbackBannerType, type InlineStyle, type InputStylePalette, JumpLink, type JumpLinkProps, KEPT_GROUP, Keyframes, type Kinded, LinkCard, type LinkCardProps, Loader, LoadingSkeleton, type LoadingSkeletonProps, type LogoSizeProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBanner, ModalBody, ModalFilterItem, ModalFooter, ModalFullBleed, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectCardGroup, type MultiSelectCardGroupProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NavLinkProps, type NavLinkVariant, Navbar, NavbarLayout, type NavbarLayoutProps, type NavbarProps, type NavbarUser, 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, PageBanner, type PageBannerProps, PageHeaderLayout, type PageHeaderLayoutProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PlainFormSectionChild, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, ProposedValue$1 as ProposedValue, type ProposedValueProps, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, type ReorderableFormSectionChild, type ResolvedWithRightPane, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneLayout, type RightPaneOpenActions, type RightPaneOpenState, RightPanePanel, type RightPanePanelProps, type RightPaneTrigger, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, type SelectCardGridGroupItemOption, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardLayout, type SelectCardListGroupItemOption, type SelectCardView, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, SelectedOptionPill, SelectedOptionPillList, type SelectedOptionPillListProps, type SelectedOptionPillProps, type SelectedState, SelectionSummaryPill, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StackBarGraph, type StackBarGraphProps, type StackBarGraphSegment, StaticField, StatusBanner, type StatusBannerProps, type Step, Stepper, StepperLayout, type StepperLayoutProps, type StepperLayoutStep, type StepperProps, StepperTab, type StepperTabProps, StepperTabs, type StepperTabsProps, type StepperTabsStep, type StyleKind, StyledRadio, type StyledRadioProps, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, TableSummary, type TableSummaryAction, type TableSummaryMetric, type TableSummaryProps, type TableView, Tabs, TabsWithContent, Tag, TagGroup, type TagGroupItem, type TagGroupProps, type TagProps, type TagType, type TagVariant, type TagXss, 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, Tokens, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps$1 as UsePersistedFilterProps, type UseQueryState, type UseRightPaneActionsHook, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, VirtualizedScrollParentProvider, type WithRightPane, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, beamEnvironmentBannerLayoutHeightVar, beamFloatingRightOffsetVar, beamLayoutContentPaddingXVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageBannerHeightVar, beamPageHeaderLayoutHeightVar, beamRightPaneContentMinVar, beamRightPaneWidthVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, beamWorkflowLayoutFooterHeightVar, belowNavbarOffset, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardCarouselSlot, cardDataBlockSlot, cardEyebrowSlot, cardInteractiveFooterSlot, cardLeftEyebrowSlot, cardProgressSlot, cardRightEyebrowSlot, cardStatusSlot, cardStyle, cardTitleSlot, centeredShellMaxPx, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultDocumentScrollRightPaneWidth, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollBodyMinHeight, documentScrollChromeLeft, documentScrollChromeWidth, documentScrollContentLeft, documentScrollContentWidth, documentScrollRightPaneContentMinCss, documentScrollRightPaneHeight, documentScrollRightPaneWidthCss, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, fieldCell, fieldColumn, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getFloatingBottomOffset, getFloatingRightOffset, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerContentPaddingX, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, minDocumentScrollContentWidthPx, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, pageBannerOffset, pageContentGutterPx, pageContentPaddingX, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resetRightPaneStore, resolveTableContentWidth, resolveTooltip, resolveWithRightPaneOptions, rightPaneContentStore, rightPaneOpenActions, rightPaneOpenStore, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, stickyNavAndHeaderOffsetPx, stickyTableHeaderOffset, sumColumnSizesPx, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBodyBackgroundColor, useBreakpoint, useComputed, useContentOverflow, useContrastScope, useDnDGridItem, type useDnDGridItemProps, useDocumentTitle, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHasSideNavLayoutProvider, useHover, useModal, usePageBanner, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneActions, useRightPaneContent, useRightPaneOpenActions, useRightPaneOpenState, useRuntimeStyle, useScrollViewportWidth, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };
|
package/dist/index.js
CHANGED
|
@@ -16819,6 +16819,7 @@ function EntityLockup(props) {
|
|
|
16819
16819
|
const {
|
|
16820
16820
|
imgSrc,
|
|
16821
16821
|
title,
|
|
16822
|
+
eyebrow,
|
|
16822
16823
|
description,
|
|
16823
16824
|
right,
|
|
16824
16825
|
compact = false
|
|
@@ -16826,10 +16827,13 @@ function EntityLockup(props) {
|
|
|
16826
16827
|
const tid = useTestIds(props, "entityLockup");
|
|
16827
16828
|
const styles = compact ? compactStyles : defaultStyles;
|
|
16828
16829
|
return /* @__PURE__ */ jsxs57("div", { ...trussProps59(styles.container), ...tid, children: [
|
|
16829
|
-
/* @__PURE__ */ jsx92("div", { ...trussProps59(styles.image), children: /* @__PURE__ */ jsx92("img", { src: imgSrc, alt:
|
|
16830
|
+
/* @__PURE__ */ jsx92("div", { ...trussProps59(styles.image), children: /* @__PURE__ */ jsx92("img", { src: imgSrc, alt: title, loading: "lazy", className: "w100 h100 obf_cover db", ...tid.image }) }),
|
|
16830
16831
|
/* @__PURE__ */ jsxs57("div", { ...trussProps59(styles.body), children: [
|
|
16831
16832
|
/* @__PURE__ */ jsxs57("div", { ...trussProps59(styles.text), children: [
|
|
16832
|
-
/* @__PURE__ */
|
|
16833
|
+
/* @__PURE__ */ jsxs57("div", { ...trussProps59(styles.heading), children: [
|
|
16834
|
+
isDefined(eyebrow) && /* @__PURE__ */ jsx92("div", { ...trussProps59(styles.eyebrow), ...tid.eyebrow, children: eyebrow }),
|
|
16835
|
+
/* @__PURE__ */ jsx92("div", { ...trussProps59(styles.title), ...tid.title, children: title })
|
|
16836
|
+
] }),
|
|
16833
16837
|
isDefined(description) && /* @__PURE__ */ jsx92("div", { ...trussProps59(styles.description), ...tid.description, children: description })
|
|
16834
16838
|
] }),
|
|
16835
16839
|
isDefined(right) && /* @__PURE__ */ jsx92("div", { ...trussProps59(styles.right), ...tid.right, children: right })
|
|
@@ -16872,6 +16876,19 @@ var defaultStyles = {
|
|
|
16872
16876
|
flexGrow: "fg1",
|
|
16873
16877
|
gap: "g_1"
|
|
16874
16878
|
},
|
|
16879
|
+
heading: {
|
|
16880
|
+
display: "df",
|
|
16881
|
+
flexDirection: "fdc",
|
|
16882
|
+
gap: "g_2px"
|
|
16883
|
+
},
|
|
16884
|
+
eyebrow: {
|
|
16885
|
+
fontWeight: "fw4",
|
|
16886
|
+
fontSize: "fz_14px",
|
|
16887
|
+
lineHeight: "lh_20px",
|
|
16888
|
+
color: ["color_var", {
|
|
16889
|
+
"--color": "var(--b-on-surface)"
|
|
16890
|
+
}]
|
|
16891
|
+
},
|
|
16875
16892
|
title: {
|
|
16876
16893
|
fontWeight: "fw6",
|
|
16877
16894
|
fontSize: "fz_14px",
|
|
@@ -16939,6 +16956,18 @@ var compactStyles = {
|
|
|
16939
16956
|
gap: "g_2px",
|
|
16940
16957
|
paddingTop: "pt_4px"
|
|
16941
16958
|
},
|
|
16959
|
+
heading: {
|
|
16960
|
+
display: "df",
|
|
16961
|
+
flexDirection: "fdc"
|
|
16962
|
+
},
|
|
16963
|
+
eyebrow: {
|
|
16964
|
+
fontWeight: "fw4",
|
|
16965
|
+
fontSize: "fz_12px",
|
|
16966
|
+
lineHeight: "lh_16px",
|
|
16967
|
+
color: ["color_var", {
|
|
16968
|
+
"--color": "var(--b-on-surface)"
|
|
16969
|
+
}]
|
|
16970
|
+
},
|
|
16942
16971
|
title: {
|
|
16943
16972
|
fontWeight: "fw6",
|
|
16944
16973
|
fontSize: "fz_12px",
|
|
@@ -21778,7 +21807,7 @@ function GridSelectCard(props) {
|
|
|
21778
21807
|
// src/inputs/SelectCard/ListSelectCard.tsx
|
|
21779
21808
|
import { VisuallyHidden as VisuallyHidden6 } from "react-aria";
|
|
21780
21809
|
|
|
21781
|
-
// src/inputs/
|
|
21810
|
+
// src/inputs/StyledRadio.tsx
|
|
21782
21811
|
import { useHover as useHover15 } from "react-aria";
|
|
21783
21812
|
import { trussProps as trussProps90 } from "@homebound/truss/runtime";
|
|
21784
21813
|
|
|
@@ -21892,12 +21921,13 @@ function getRadioStateStyles({
|
|
|
21892
21921
|
return radioUnchecked;
|
|
21893
21922
|
}
|
|
21894
21923
|
|
|
21895
|
-
// src/inputs/
|
|
21924
|
+
// src/inputs/StyledRadio.tsx
|
|
21896
21925
|
import { jsx as jsx142 } from "react/jsx-runtime";
|
|
21897
21926
|
function StyledRadio(props) {
|
|
21898
21927
|
const {
|
|
21899
21928
|
isDisabled = false,
|
|
21900
21929
|
isSelected = false,
|
|
21930
|
+
isFocusVisible = false,
|
|
21901
21931
|
label,
|
|
21902
21932
|
inputProps
|
|
21903
21933
|
} = props;
|
|
@@ -21908,18 +21938,29 @@ function StyledRadio(props) {
|
|
|
21908
21938
|
isDisabled
|
|
21909
21939
|
});
|
|
21910
21940
|
const tid = useTestIds(props, label ? defaultTestId(label) : void 0);
|
|
21911
|
-
return /* @__PURE__ */ jsx142(
|
|
21912
|
-
|
|
21913
|
-
|
|
21914
|
-
|
|
21915
|
-
|
|
21916
|
-
|
|
21917
|
-
|
|
21918
|
-
|
|
21919
|
-
|
|
21920
|
-
|
|
21941
|
+
return /* @__PURE__ */ jsx142(
|
|
21942
|
+
"input",
|
|
21943
|
+
{
|
|
21944
|
+
type: "radio",
|
|
21945
|
+
...trussProps90({
|
|
21946
|
+
...radioReset,
|
|
21947
|
+
...radioDefault,
|
|
21948
|
+
...getRadioStateStyles({
|
|
21949
|
+
isDisabled,
|
|
21950
|
+
isSelected
|
|
21951
|
+
}),
|
|
21952
|
+
...isHovered && !isDisabled ? radioHover : {},
|
|
21953
|
+
...isFocusVisible ? radioFocus : {},
|
|
21954
|
+
...{
|
|
21955
|
+
flexShrink: "fs0"
|
|
21956
|
+
}
|
|
21957
|
+
}),
|
|
21958
|
+
disabled: isDisabled,
|
|
21959
|
+
...hoverProps,
|
|
21960
|
+
...tid.value,
|
|
21961
|
+
...inputProps
|
|
21921
21962
|
}
|
|
21922
|
-
|
|
21963
|
+
);
|
|
21923
21964
|
}
|
|
21924
21965
|
|
|
21925
21966
|
// src/inputs/SelectCard/ListSelectCard.tsx
|
|
@@ -22563,6 +22604,7 @@ function RadioGroupField(props) {
|
|
|
22563
22604
|
helperText,
|
|
22564
22605
|
layout = "vertical",
|
|
22565
22606
|
tooltip,
|
|
22607
|
+
renderOption,
|
|
22566
22608
|
...otherProps
|
|
22567
22609
|
} = props;
|
|
22568
22610
|
const name = useMemo36(() => `radio-group-${++nextNameId}`, []);
|
|
@@ -22584,6 +22626,7 @@ function RadioGroupField(props) {
|
|
|
22584
22626
|
isRequired: required
|
|
22585
22627
|
}, state);
|
|
22586
22628
|
const isThumbnail = layout === "thumbnail";
|
|
22629
|
+
const stretchOptions = !!renderOption && !isThumbnail;
|
|
22587
22630
|
return (
|
|
22588
22631
|
// default styling to position `<Label />` above.
|
|
22589
22632
|
/* @__PURE__ */ jsxs85("div", { ...trussProps94({
|
|
@@ -22598,7 +22641,14 @@ function RadioGroupField(props) {
|
|
|
22598
22641
|
} : {}
|
|
22599
22642
|
}), ...tid, children: [
|
|
22600
22643
|
/* @__PURE__ */ jsx153(Label, { label, ...labelProps, ...tid.label, suffix: labelSuffix, tooltip, hidden: labelStyle === "hidden" }),
|
|
22601
|
-
/* @__PURE__ */ jsxs85("div", { ...radioGroupProps,
|
|
22644
|
+
/* @__PURE__ */ jsxs85("div", { ...radioGroupProps, ...trussProps94({
|
|
22645
|
+
...stretchOptions && labelStyle === "left" ? {
|
|
22646
|
+
flexGrow: "fg1"
|
|
22647
|
+
} : {},
|
|
22648
|
+
...stretchOptions && labelStyle !== "left" ? {
|
|
22649
|
+
width: "w100"
|
|
22650
|
+
} : {}
|
|
22651
|
+
}), children: [
|
|
22602
22652
|
/* @__PURE__ */ jsx153("div", { ...trussProps94({
|
|
22603
22653
|
display: "df",
|
|
22604
22654
|
flexDirection: "fdc",
|
|
@@ -22618,7 +22668,7 @@ function RadioGroupField(props) {
|
|
|
22618
22668
|
...otherProps,
|
|
22619
22669
|
...tid[option.value]
|
|
22620
22670
|
};
|
|
22621
|
-
return /* @__PURE__ */ jsx153(Fragment32, { children: isThumbnail ? /* @__PURE__ */ jsx153(ThumbnailRadio, { ...radioProps }) : /* @__PURE__ */ jsx153(Radio, { parentId: name, ...radioProps }) }, option.value);
|
|
22671
|
+
return /* @__PURE__ */ jsx153(Fragment32, { children: isThumbnail ? /* @__PURE__ */ jsx153(ThumbnailRadio, { ...radioProps }) : renderOption ? /* @__PURE__ */ jsx153(CustomRadio, { ...radioProps, renderOption }) : /* @__PURE__ */ jsx153(Radio, { parentId: name, ...radioProps }) }, option.value);
|
|
22622
22672
|
}) }),
|
|
22623
22673
|
errorMsg && /* @__PURE__ */ jsx153(ErrorMessage, { errorMsg, ...tid.errorMsg }),
|
|
22624
22674
|
helperText && /* @__PURE__ */ jsx153(HelperText, { helperText })
|
|
@@ -22732,6 +22782,43 @@ function Radio(props) {
|
|
|
22732
22782
|
] })
|
|
22733
22783
|
});
|
|
22734
22784
|
}
|
|
22785
|
+
function CustomRadio(props) {
|
|
22786
|
+
const {
|
|
22787
|
+
option,
|
|
22788
|
+
state,
|
|
22789
|
+
isOptionDisabled,
|
|
22790
|
+
renderOption,
|
|
22791
|
+
...others
|
|
22792
|
+
} = props;
|
|
22793
|
+
const ref = useRef45(null);
|
|
22794
|
+
const {
|
|
22795
|
+
inputProps,
|
|
22796
|
+
isDisabled
|
|
22797
|
+
} = useRadio({
|
|
22798
|
+
value: option.value,
|
|
22799
|
+
"aria-label": option.label,
|
|
22800
|
+
isDisabled: isOptionDisabled
|
|
22801
|
+
}, state, ref);
|
|
22802
|
+
const isSelected = !isDisabled && state.selectedValue === option.value;
|
|
22803
|
+
const {
|
|
22804
|
+
focusProps,
|
|
22805
|
+
isFocusVisible
|
|
22806
|
+
} = useFocusRing12();
|
|
22807
|
+
return maybeTooltip({
|
|
22808
|
+
title: resolveTooltip(option.disabled),
|
|
22809
|
+
placement: "bottom",
|
|
22810
|
+
children: renderOption(option, {
|
|
22811
|
+
// Merge others last b/c it could have data-testid in it or onX events.
|
|
22812
|
+
inputProps: {
|
|
22813
|
+
...mergeProps23(inputProps, focusProps, others),
|
|
22814
|
+
ref
|
|
22815
|
+
},
|
|
22816
|
+
isSelected,
|
|
22817
|
+
isDisabled,
|
|
22818
|
+
isFocusVisible
|
|
22819
|
+
})
|
|
22820
|
+
});
|
|
22821
|
+
}
|
|
22735
22822
|
function ThumbnailRadio(props) {
|
|
22736
22823
|
const {
|
|
22737
22824
|
option: {
|
|
@@ -32078,6 +32165,7 @@ export {
|
|
|
32078
32165
|
StepperLayout,
|
|
32079
32166
|
StepperTab,
|
|
32080
32167
|
StepperTabs,
|
|
32168
|
+
StyledRadio,
|
|
32081
32169
|
SubmitButton,
|
|
32082
32170
|
SuperDrawerContent,
|
|
32083
32171
|
SuperDrawerHeader,
|