@homebound/beam 4.31.0 → 4.33.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 +117 -55
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -8
- package/dist/index.d.ts +25 -8
- package/dist/index.js +116 -55
- package/dist/index.js.map +1 -1
- package/dist/truss.css +32 -14
- 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';
|
|
@@ -8185,7 +8185,7 @@ type EntityLockupProps = {
|
|
|
8185
8185
|
description?: ReactNode;
|
|
8186
8186
|
/** Trailing content aligned to the right, e.g. a Tag and price. */
|
|
8187
8187
|
right?: ReactNode;
|
|
8188
|
-
/**
|
|
8188
|
+
/** Forces the compact layout at any width, e.g. in sidebars. It applies anyway when the lockup is 400px wide or less. */
|
|
8189
8189
|
compact?: boolean;
|
|
8190
8190
|
};
|
|
8191
8191
|
/** Image thumbnail beside a title and description, identifying an entity such as a product or option. */
|
|
@@ -8925,6 +8925,16 @@ type BoundNumberFieldProps = Omit<NumberFieldProps, "value" | "onChange" | "labe
|
|
|
8925
8925
|
/** Wraps `NumberField` and binds it to a form field. */
|
|
8926
8926
|
declare function BoundNumberField(props: BoundNumberFieldProps): React$1.JSX.Element;
|
|
8927
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
|
+
|
|
8928
8938
|
type RadioFieldOption<K extends string> = {
|
|
8929
8939
|
/** The label for a specific option, i.e. "Cheddar". */
|
|
8930
8940
|
label: string;
|
|
@@ -8938,7 +8948,7 @@ type RadioFieldOption<K extends string> = {
|
|
|
8938
8948
|
imgSrc?: string;
|
|
8939
8949
|
};
|
|
8940
8950
|
type RadioGroupFieldLayout = "vertical" | "horizontal" | "thumbnail";
|
|
8941
|
-
type RadioGroupFieldProps<K extends string> = {
|
|
8951
|
+
type RadioGroupFieldProps<K extends string, O extends RadioFieldOption<K> = RadioFieldOption<K>> = {
|
|
8942
8952
|
/** The label for the choice itself, i.e. "Favorite Cheese". */
|
|
8943
8953
|
label: string;
|
|
8944
8954
|
/** Adds tooltip for the field, shown via an info icon beside the label. */
|
|
@@ -8948,7 +8958,7 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8948
8958
|
/** Called when an option is selected. We don't support unselecting. */
|
|
8949
8959
|
onChange: (value: K) => void;
|
|
8950
8960
|
/** The list of options. */
|
|
8951
|
-
options: RadioFieldOption<K>[];
|
|
8961
|
+
options: (RadioFieldOption<K> & O)[];
|
|
8952
8962
|
disabled?: boolean;
|
|
8953
8963
|
/** Whether the field is required. When true, renders the required suffix (i.e. "*") next to the label. */
|
|
8954
8964
|
required?: boolean;
|
|
@@ -8958,6 +8968,13 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8958
8968
|
onFocus?: () => void;
|
|
8959
8969
|
/** The options' arrangement. Defaults to "vertical". */
|
|
8960
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;
|
|
8961
8978
|
} & Pick<PresentationFieldProps, "labelStyle">;
|
|
8962
8979
|
/**
|
|
8963
8980
|
* Provides a radio group with label.
|
|
@@ -8966,16 +8983,16 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8966
8983
|
*
|
|
8967
8984
|
* TODO: Add hover (non selected and selected) styles
|
|
8968
8985
|
*/
|
|
8969
|
-
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;
|
|
8970
8987
|
|
|
8971
|
-
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"> & {
|
|
8972
8989
|
field: FieldState<K | null | undefined>;
|
|
8973
8990
|
/** Make optional so that callers can override if they want to. */
|
|
8974
8991
|
onChange?: (value: K) => void;
|
|
8975
8992
|
label?: string;
|
|
8976
8993
|
};
|
|
8977
8994
|
/** Wraps `TextField` and binds it to a form field. */
|
|
8978
|
-
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;
|
|
8979
8996
|
|
|
8980
8997
|
type RichTextFieldProps = {
|
|
8981
8998
|
/** The initial html value to show in the trix editor. */
|
|
@@ -11756,4 +11773,4 @@ declare const zIndices: {
|
|
|
11756
11773
|
};
|
|
11757
11774
|
type ZIndex = (typeof zIndices)[keyof typeof zIndices];
|
|
11758
11775
|
|
|
11759
|
-
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';
|
|
@@ -8185,7 +8185,7 @@ type EntityLockupProps = {
|
|
|
8185
8185
|
description?: ReactNode;
|
|
8186
8186
|
/** Trailing content aligned to the right, e.g. a Tag and price. */
|
|
8187
8187
|
right?: ReactNode;
|
|
8188
|
-
/**
|
|
8188
|
+
/** Forces the compact layout at any width, e.g. in sidebars. It applies anyway when the lockup is 400px wide or less. */
|
|
8189
8189
|
compact?: boolean;
|
|
8190
8190
|
};
|
|
8191
8191
|
/** Image thumbnail beside a title and description, identifying an entity such as a product or option. */
|
|
@@ -8925,6 +8925,16 @@ type BoundNumberFieldProps = Omit<NumberFieldProps, "value" | "onChange" | "labe
|
|
|
8925
8925
|
/** Wraps `NumberField` and binds it to a form field. */
|
|
8926
8926
|
declare function BoundNumberField(props: BoundNumberFieldProps): React$1.JSX.Element;
|
|
8927
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
|
+
|
|
8928
8938
|
type RadioFieldOption<K extends string> = {
|
|
8929
8939
|
/** The label for a specific option, i.e. "Cheddar". */
|
|
8930
8940
|
label: string;
|
|
@@ -8938,7 +8948,7 @@ type RadioFieldOption<K extends string> = {
|
|
|
8938
8948
|
imgSrc?: string;
|
|
8939
8949
|
};
|
|
8940
8950
|
type RadioGroupFieldLayout = "vertical" | "horizontal" | "thumbnail";
|
|
8941
|
-
type RadioGroupFieldProps<K extends string> = {
|
|
8951
|
+
type RadioGroupFieldProps<K extends string, O extends RadioFieldOption<K> = RadioFieldOption<K>> = {
|
|
8942
8952
|
/** The label for the choice itself, i.e. "Favorite Cheese". */
|
|
8943
8953
|
label: string;
|
|
8944
8954
|
/** Adds tooltip for the field, shown via an info icon beside the label. */
|
|
@@ -8948,7 +8958,7 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8948
8958
|
/** Called when an option is selected. We don't support unselecting. */
|
|
8949
8959
|
onChange: (value: K) => void;
|
|
8950
8960
|
/** The list of options. */
|
|
8951
|
-
options: RadioFieldOption<K>[];
|
|
8961
|
+
options: (RadioFieldOption<K> & O)[];
|
|
8952
8962
|
disabled?: boolean;
|
|
8953
8963
|
/** Whether the field is required. When true, renders the required suffix (i.e. "*") next to the label. */
|
|
8954
8964
|
required?: boolean;
|
|
@@ -8958,6 +8968,13 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8958
8968
|
onFocus?: () => void;
|
|
8959
8969
|
/** The options' arrangement. Defaults to "vertical". */
|
|
8960
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;
|
|
8961
8978
|
} & Pick<PresentationFieldProps, "labelStyle">;
|
|
8962
8979
|
/**
|
|
8963
8980
|
* Provides a radio group with label.
|
|
@@ -8966,16 +8983,16 @@ type RadioGroupFieldProps<K extends string> = {
|
|
|
8966
8983
|
*
|
|
8967
8984
|
* TODO: Add hover (non selected and selected) styles
|
|
8968
8985
|
*/
|
|
8969
|
-
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;
|
|
8970
8987
|
|
|
8971
|
-
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"> & {
|
|
8972
8989
|
field: FieldState<K | null | undefined>;
|
|
8973
8990
|
/** Make optional so that callers can override if they want to. */
|
|
8974
8991
|
onChange?: (value: K) => void;
|
|
8975
8992
|
label?: string;
|
|
8976
8993
|
};
|
|
8977
8994
|
/** Wraps `TextField` and binds it to a form field. */
|
|
8978
|
-
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;
|
|
8979
8996
|
|
|
8980
8997
|
type RichTextFieldProps = {
|
|
8981
8998
|
/** The initial html value to show in the trix editor. */
|
|
@@ -11756,4 +11773,4 @@ declare const zIndices: {
|
|
|
11756
11773
|
};
|
|
11757
11774
|
type ZIndex = (typeof zIndices)[keyof typeof zIndices];
|
|
11758
11775
|
|
|
11759
|
-
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
|
@@ -16826,103 +16826,105 @@ function EntityLockup(props) {
|
|
|
16826
16826
|
} = props;
|
|
16827
16827
|
const tid = useTestIds(props, "entityLockup");
|
|
16828
16828
|
const styles = compact ? compactStyles : defaultStyles;
|
|
16829
|
-
return
|
|
16830
|
-
|
|
16831
|
-
/* @__PURE__ */ jsxs57("div", { ...trussProps59(styles.
|
|
16832
|
-
/* @__PURE__ */
|
|
16833
|
-
|
|
16834
|
-
|
|
16835
|
-
/* @__PURE__ */
|
|
16829
|
+
return (
|
|
16830
|
+
// `defaultStyles` query this container's width to switch to compact.
|
|
16831
|
+
/* @__PURE__ */ jsx92("div", { className: "w100 mw0 ctis cn_entityLockup", ...tid, children: /* @__PURE__ */ jsxs57("div", { ...trussProps59(styles.container), children: [
|
|
16832
|
+
/* @__PURE__ */ jsx92("div", { ...trussProps59(styles.image), children: /* @__PURE__ */ jsx92("img", { src: imgSrc, alt: title, loading: "lazy", className: "w100 h100 obf_cover db", ...tid.image }) }),
|
|
16833
|
+
/* @__PURE__ */ jsxs57("div", { ...trussProps59(styles.body), children: [
|
|
16834
|
+
/* @__PURE__ */ jsxs57("div", { ...trussProps59(styles.text), children: [
|
|
16835
|
+
/* @__PURE__ */ jsxs57("div", { ...trussProps59(styles.heading), children: [
|
|
16836
|
+
isDefined(eyebrow) && /* @__PURE__ */ jsx92("div", { ...trussProps59(styles.eyebrow), ...tid.eyebrow, children: eyebrow }),
|
|
16837
|
+
/* @__PURE__ */ jsx92("div", { ...trussProps59(styles.title), ...tid.title, children: title })
|
|
16838
|
+
] }),
|
|
16839
|
+
isDefined(description) && /* @__PURE__ */ jsx92("div", { ...trussProps59(styles.description), ...tid.description, children: description })
|
|
16836
16840
|
] }),
|
|
16837
|
-
isDefined(
|
|
16838
|
-
] })
|
|
16839
|
-
|
|
16840
|
-
|
|
16841
|
-
] });
|
|
16841
|
+
isDefined(right) && /* @__PURE__ */ jsx92("div", { ...trussProps59(styles.right), ...tid.right, children: right })
|
|
16842
|
+
] })
|
|
16843
|
+
] }) })
|
|
16844
|
+
);
|
|
16842
16845
|
}
|
|
16843
16846
|
var defaultStyles = {
|
|
16844
16847
|
container: {
|
|
16845
16848
|
display: "df",
|
|
16846
16849
|
alignItems: "aifs",
|
|
16847
|
-
gap: "g_2"
|
|
16850
|
+
gap: "g_2 container_entityLockup_max_width_400px_g_12px"
|
|
16848
16851
|
},
|
|
16849
16852
|
image: {
|
|
16850
16853
|
flexShrink: "fs0",
|
|
16851
|
-
height: "h_96px",
|
|
16852
|
-
width: "w_96px",
|
|
16854
|
+
height: "h_96px container_entityLockup_max_width_400px_h_62px",
|
|
16855
|
+
width: "w_96px container_entityLockup_max_width_400px_w_62px",
|
|
16853
16856
|
borderRadius: "br8",
|
|
16854
16857
|
borderStyle: "bss",
|
|
16855
16858
|
borderWidth: "bw1",
|
|
16856
|
-
borderColor: ["bc_var", {
|
|
16857
|
-
"--borderColor": "var(--b-field-border-default)"
|
|
16859
|
+
borderColor: ["bc_var container_entityLockup_max_width_400px_bc_var", {
|
|
16860
|
+
"--borderColor": "var(--b-field-border-default)",
|
|
16861
|
+
"--container_entityLockup_max_width_400px_borderColor": "var(--b-surface-separator)"
|
|
16858
16862
|
}],
|
|
16859
16863
|
overflow: "oh",
|
|
16860
16864
|
backgroundColor: ["bgColor_var", {
|
|
16861
16865
|
"--backgroundColor": "var(--b-surface-raised)"
|
|
16862
16866
|
}]
|
|
16863
16867
|
},
|
|
16864
|
-
// On small screens, `right` moves under the description so the text keeps its width.
|
|
16865
16868
|
body: {
|
|
16866
16869
|
display: "df",
|
|
16867
16870
|
flexGrow: "fg1",
|
|
16868
16871
|
minWidth: "mw0",
|
|
16869
|
-
gap: "g_2
|
|
16870
|
-
|
|
16872
|
+
gap: "g_2 container_entityLockup_max_width_400px_g_12px",
|
|
16873
|
+
alignSelf: "container_entityLockup_max_width_400px_asStretch"
|
|
16871
16874
|
},
|
|
16872
16875
|
text: {
|
|
16873
16876
|
display: "df",
|
|
16874
16877
|
flexDirection: "fdc",
|
|
16875
16878
|
minWidth: "mw0",
|
|
16876
16879
|
flexGrow: "fg1",
|
|
16877
|
-
gap: "g_1"
|
|
16880
|
+
gap: "g_1 container_entityLockup_max_width_400px_g_2px",
|
|
16881
|
+
paddingTop: "container_entityLockup_max_width_400px_pt_4px"
|
|
16878
16882
|
},
|
|
16879
16883
|
heading: {
|
|
16880
16884
|
display: "df",
|
|
16881
16885
|
flexDirection: "fdc",
|
|
16882
|
-
gap: "g_2px"
|
|
16886
|
+
gap: "g_2px container_entityLockup_max_width_400px_g_0"
|
|
16883
16887
|
},
|
|
16884
16888
|
eyebrow: {
|
|
16885
|
-
fontWeight: "fw4",
|
|
16886
|
-
fontSize: "fz_14px",
|
|
16887
|
-
lineHeight: "lh_20px",
|
|
16889
|
+
fontWeight: "fw4 container_entityLockup_max_width_400px_fw4",
|
|
16890
|
+
fontSize: "fz_14px container_entityLockup_max_width_400px_fz_12px",
|
|
16891
|
+
lineHeight: "lh_20px container_entityLockup_max_width_400px_lh_16px",
|
|
16888
16892
|
color: ["color_var", {
|
|
16889
16893
|
"--color": "var(--b-on-surface)"
|
|
16890
16894
|
}]
|
|
16891
16895
|
},
|
|
16892
16896
|
title: {
|
|
16893
|
-
fontWeight: "fw6",
|
|
16894
|
-
fontSize: "fz_14px",
|
|
16895
|
-
lineHeight: "lh_20px",
|
|
16897
|
+
fontWeight: "fw6 container_entityLockup_max_width_400px_fw6",
|
|
16898
|
+
fontSize: "fz_14px container_entityLockup_max_width_400px_fz_12px",
|
|
16899
|
+
lineHeight: "lh_20px container_entityLockup_max_width_400px_lh_16px",
|
|
16896
16900
|
color: ["color_var", {
|
|
16897
16901
|
"--color": "var(--b-on-surface)"
|
|
16898
16902
|
}]
|
|
16899
16903
|
},
|
|
16900
16904
|
description: {
|
|
16901
|
-
fontWeight: "fw4",
|
|
16902
|
-
fontSize: "fz_12px",
|
|
16903
|
-
lineHeight: "lh_16px",
|
|
16905
|
+
fontWeight: "fw4 container_entityLockup_max_width_400px_fw4",
|
|
16906
|
+
fontSize: "fz_12px container_entityLockup_max_width_400px_fz_10px",
|
|
16907
|
+
lineHeight: "lh_16px container_entityLockup_max_width_400px_lh_14px",
|
|
16904
16908
|
color: ["color_var", {
|
|
16905
16909
|
"--color": "var(--b-on-surface)"
|
|
16906
16910
|
}]
|
|
16907
16911
|
},
|
|
16908
|
-
// Capped at half the row so wide content can't squeeze the text to nothing
|
|
16909
|
-
// A lone child (fewer than two elements) stays right-aligned instead of falling to the start under `jcsb`.
|
|
16912
|
+
// Capped at half the row so wide content can't squeeze the text to nothing.
|
|
16910
16913
|
right: {
|
|
16911
16914
|
flexShrink: "fs0",
|
|
16912
|
-
maxWidth: "maxw50
|
|
16915
|
+
maxWidth: "maxw50",
|
|
16913
16916
|
display: "df",
|
|
16914
|
-
flexDirection: "fdc
|
|
16915
|
-
alignItems: "aife
|
|
16917
|
+
flexDirection: "fdc",
|
|
16918
|
+
alignItems: "aife",
|
|
16916
16919
|
gap: "g_6px",
|
|
16917
|
-
alignSelf: "asfs
|
|
16918
|
-
textAlign: "tar"
|
|
16919
|
-
justifyContent: "sm_jcsb sm_n_has_nth_child_2_jcfe"
|
|
16920
|
+
alignSelf: "asfs",
|
|
16921
|
+
textAlign: "tar"
|
|
16920
16922
|
}
|
|
16921
16923
|
};
|
|
16922
16924
|
var compactStyles = {
|
|
16923
16925
|
container: {
|
|
16924
16926
|
display: "df",
|
|
16925
|
-
alignItems: "
|
|
16927
|
+
alignItems: "aifs",
|
|
16926
16928
|
gap: "g_12px"
|
|
16927
16929
|
},
|
|
16928
16930
|
image: {
|
|
@@ -21807,7 +21809,7 @@ function GridSelectCard(props) {
|
|
|
21807
21809
|
// src/inputs/SelectCard/ListSelectCard.tsx
|
|
21808
21810
|
import { VisuallyHidden as VisuallyHidden6 } from "react-aria";
|
|
21809
21811
|
|
|
21810
|
-
// src/inputs/
|
|
21812
|
+
// src/inputs/StyledRadio.tsx
|
|
21811
21813
|
import { useHover as useHover15 } from "react-aria";
|
|
21812
21814
|
import { trussProps as trussProps90 } from "@homebound/truss/runtime";
|
|
21813
21815
|
|
|
@@ -21921,12 +21923,13 @@ function getRadioStateStyles({
|
|
|
21921
21923
|
return radioUnchecked;
|
|
21922
21924
|
}
|
|
21923
21925
|
|
|
21924
|
-
// src/inputs/
|
|
21926
|
+
// src/inputs/StyledRadio.tsx
|
|
21925
21927
|
import { jsx as jsx142 } from "react/jsx-runtime";
|
|
21926
21928
|
function StyledRadio(props) {
|
|
21927
21929
|
const {
|
|
21928
21930
|
isDisabled = false,
|
|
21929
21931
|
isSelected = false,
|
|
21932
|
+
isFocusVisible = false,
|
|
21930
21933
|
label,
|
|
21931
21934
|
inputProps
|
|
21932
21935
|
} = props;
|
|
@@ -21937,18 +21940,29 @@ function StyledRadio(props) {
|
|
|
21937
21940
|
isDisabled
|
|
21938
21941
|
});
|
|
21939
21942
|
const tid = useTestIds(props, label ? defaultTestId(label) : void 0);
|
|
21940
|
-
return /* @__PURE__ */ jsx142(
|
|
21941
|
-
|
|
21942
|
-
|
|
21943
|
-
|
|
21944
|
-
|
|
21945
|
-
|
|
21946
|
-
|
|
21947
|
-
|
|
21948
|
-
|
|
21949
|
-
|
|
21943
|
+
return /* @__PURE__ */ jsx142(
|
|
21944
|
+
"input",
|
|
21945
|
+
{
|
|
21946
|
+
type: "radio",
|
|
21947
|
+
...trussProps90({
|
|
21948
|
+
...radioReset,
|
|
21949
|
+
...radioDefault,
|
|
21950
|
+
...getRadioStateStyles({
|
|
21951
|
+
isDisabled,
|
|
21952
|
+
isSelected
|
|
21953
|
+
}),
|
|
21954
|
+
...isHovered && !isDisabled ? radioHover : {},
|
|
21955
|
+
...isFocusVisible ? radioFocus : {},
|
|
21956
|
+
...{
|
|
21957
|
+
flexShrink: "fs0"
|
|
21958
|
+
}
|
|
21959
|
+
}),
|
|
21960
|
+
disabled: isDisabled,
|
|
21961
|
+
...hoverProps,
|
|
21962
|
+
...tid.value,
|
|
21963
|
+
...inputProps
|
|
21950
21964
|
}
|
|
21951
|
-
|
|
21965
|
+
);
|
|
21952
21966
|
}
|
|
21953
21967
|
|
|
21954
21968
|
// src/inputs/SelectCard/ListSelectCard.tsx
|
|
@@ -22592,6 +22606,7 @@ function RadioGroupField(props) {
|
|
|
22592
22606
|
helperText,
|
|
22593
22607
|
layout = "vertical",
|
|
22594
22608
|
tooltip,
|
|
22609
|
+
renderOption,
|
|
22595
22610
|
...otherProps
|
|
22596
22611
|
} = props;
|
|
22597
22612
|
const name = useMemo36(() => `radio-group-${++nextNameId}`, []);
|
|
@@ -22613,6 +22628,7 @@ function RadioGroupField(props) {
|
|
|
22613
22628
|
isRequired: required
|
|
22614
22629
|
}, state);
|
|
22615
22630
|
const isThumbnail = layout === "thumbnail";
|
|
22631
|
+
const stretchOptions = !!renderOption && !isThumbnail;
|
|
22616
22632
|
return (
|
|
22617
22633
|
// default styling to position `<Label />` above.
|
|
22618
22634
|
/* @__PURE__ */ jsxs85("div", { ...trussProps94({
|
|
@@ -22627,7 +22643,14 @@ function RadioGroupField(props) {
|
|
|
22627
22643
|
} : {}
|
|
22628
22644
|
}), ...tid, children: [
|
|
22629
22645
|
/* @__PURE__ */ jsx153(Label, { label, ...labelProps, ...tid.label, suffix: labelSuffix, tooltip, hidden: labelStyle === "hidden" }),
|
|
22630
|
-
/* @__PURE__ */ jsxs85("div", { ...radioGroupProps,
|
|
22646
|
+
/* @__PURE__ */ jsxs85("div", { ...radioGroupProps, ...trussProps94({
|
|
22647
|
+
...stretchOptions && labelStyle === "left" ? {
|
|
22648
|
+
flexGrow: "fg1"
|
|
22649
|
+
} : {},
|
|
22650
|
+
...stretchOptions && labelStyle !== "left" ? {
|
|
22651
|
+
width: "w100"
|
|
22652
|
+
} : {}
|
|
22653
|
+
}), children: [
|
|
22631
22654
|
/* @__PURE__ */ jsx153("div", { ...trussProps94({
|
|
22632
22655
|
display: "df",
|
|
22633
22656
|
flexDirection: "fdc",
|
|
@@ -22647,7 +22670,7 @@ function RadioGroupField(props) {
|
|
|
22647
22670
|
...otherProps,
|
|
22648
22671
|
...tid[option.value]
|
|
22649
22672
|
};
|
|
22650
|
-
return /* @__PURE__ */ jsx153(Fragment32, { children: isThumbnail ? /* @__PURE__ */ jsx153(ThumbnailRadio, { ...radioProps }) : /* @__PURE__ */ jsx153(Radio, { parentId: name, ...radioProps }) }, option.value);
|
|
22673
|
+
return /* @__PURE__ */ jsx153(Fragment32, { children: isThumbnail ? /* @__PURE__ */ jsx153(ThumbnailRadio, { ...radioProps }) : renderOption ? /* @__PURE__ */ jsx153(CustomRadio, { ...radioProps, renderOption }) : /* @__PURE__ */ jsx153(Radio, { parentId: name, ...radioProps }) }, option.value);
|
|
22651
22674
|
}) }),
|
|
22652
22675
|
errorMsg && /* @__PURE__ */ jsx153(ErrorMessage, { errorMsg, ...tid.errorMsg }),
|
|
22653
22676
|
helperText && /* @__PURE__ */ jsx153(HelperText, { helperText })
|
|
@@ -22761,6 +22784,43 @@ function Radio(props) {
|
|
|
22761
22784
|
] })
|
|
22762
22785
|
});
|
|
22763
22786
|
}
|
|
22787
|
+
function CustomRadio(props) {
|
|
22788
|
+
const {
|
|
22789
|
+
option,
|
|
22790
|
+
state,
|
|
22791
|
+
isOptionDisabled,
|
|
22792
|
+
renderOption,
|
|
22793
|
+
...others
|
|
22794
|
+
} = props;
|
|
22795
|
+
const ref = useRef45(null);
|
|
22796
|
+
const {
|
|
22797
|
+
inputProps,
|
|
22798
|
+
isDisabled
|
|
22799
|
+
} = useRadio({
|
|
22800
|
+
value: option.value,
|
|
22801
|
+
"aria-label": option.label,
|
|
22802
|
+
isDisabled: isOptionDisabled
|
|
22803
|
+
}, state, ref);
|
|
22804
|
+
const isSelected = !isDisabled && state.selectedValue === option.value;
|
|
22805
|
+
const {
|
|
22806
|
+
focusProps,
|
|
22807
|
+
isFocusVisible
|
|
22808
|
+
} = useFocusRing12();
|
|
22809
|
+
return maybeTooltip({
|
|
22810
|
+
title: resolveTooltip(option.disabled),
|
|
22811
|
+
placement: "bottom",
|
|
22812
|
+
children: renderOption(option, {
|
|
22813
|
+
// Merge others last b/c it could have data-testid in it or onX events.
|
|
22814
|
+
inputProps: {
|
|
22815
|
+
...mergeProps23(inputProps, focusProps, others),
|
|
22816
|
+
ref
|
|
22817
|
+
},
|
|
22818
|
+
isSelected,
|
|
22819
|
+
isDisabled,
|
|
22820
|
+
isFocusVisible
|
|
22821
|
+
})
|
|
22822
|
+
});
|
|
22823
|
+
}
|
|
22764
22824
|
function ThumbnailRadio(props) {
|
|
22765
22825
|
const {
|
|
22766
22826
|
option: {
|
|
@@ -32107,6 +32167,7 @@ export {
|
|
|
32107
32167
|
StepperLayout,
|
|
32108
32168
|
StepperTab,
|
|
32109
32169
|
StepperTabs,
|
|
32170
|
+
StyledRadio,
|
|
32110
32171
|
SubmitButton,
|
|
32111
32172
|
SuperDrawerContent,
|
|
32112
32173
|
SuperDrawerHeader,
|