@homebound/beam 3.39.0 → 3.40.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 +91 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.js +88 -40
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5005,9 +5005,12 @@ type MenuSection = MenuItem & {
|
|
|
5005
5005
|
|
|
5006
5006
|
type TagXss = Margin | "backgroundColor" | "color";
|
|
5007
5007
|
type TagType = "info" | "caution" | "warning" | "success" | "neutral";
|
|
5008
|
+
type TagVariant = "primary" | "secondary";
|
|
5008
5009
|
type TagPropsBase<X> = {
|
|
5009
5010
|
text: ReactNode;
|
|
5010
5011
|
type?: TagType;
|
|
5012
|
+
/** Defaults to "primary". Secondary is intended for use in TagGroup. */
|
|
5013
|
+
variant?: TagVariant;
|
|
5011
5014
|
xss?: X;
|
|
5012
5015
|
/** A tooltip will automatically be displayed if the text is truncated. Set to true to prevent this behavior.
|
|
5013
5016
|
* @default false */
|
|
@@ -9032,6 +9035,24 @@ interface SuperDrawerContentProps {
|
|
|
9032
9035
|
*/
|
|
9033
9036
|
declare const SuperDrawerContent: ({ children, actions }: SuperDrawerContentProps) => JSX.Element;
|
|
9034
9037
|
|
|
9038
|
+
type TagGroupItem = {
|
|
9039
|
+
text: string;
|
|
9040
|
+
preventTooltip?: boolean;
|
|
9041
|
+
} & ({
|
|
9042
|
+
iconOnly?: false;
|
|
9043
|
+
icon?: IconKey;
|
|
9044
|
+
} | {
|
|
9045
|
+
iconOnly: true;
|
|
9046
|
+
icon: IconKey;
|
|
9047
|
+
});
|
|
9048
|
+
type TagGroupProps = {
|
|
9049
|
+
tags: TagGroupItem[];
|
|
9050
|
+
/** When set, renders a trailing "Edit" control. Function → button; string → link href. */
|
|
9051
|
+
onEdit?: string | VoidFunction;
|
|
9052
|
+
};
|
|
9053
|
+
/** Renders a wrapping list of secondary tags with an optional Edit control. */
|
|
9054
|
+
declare function TagGroup(props: TagGroupProps): JSX.Element;
|
|
9055
|
+
|
|
9035
9056
|
declare function Toast(): JSX.Element;
|
|
9036
9057
|
|
|
9037
9058
|
interface ToastNoticeProps extends Omit<BannerProps, "onClose"> {
|
|
@@ -9188,4 +9209,4 @@ declare const zIndices: {
|
|
|
9188
9209
|
};
|
|
9189
9210
|
type ZIndex = (typeof zIndices)[keyof typeof zIndices];
|
|
9190
9211
|
|
|
9191
|
-
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, 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 BannerProps, type BannerTypes, BaseFilter, type BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardField, type BoundSelectCardFieldProps, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, type CardDataBlockSlot, type CardEyebrowSlot, type CardProgressSlot, type CardProps, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, type ColumnLayoutResult, ConfirmCloseModal, type ContentStack, 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, type DocumentTitleConfig, DocumentTitleProvider, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type FixedSort, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, 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, 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, type InlineStyle, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type 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, PageHeader, PageHeaderLayout, type PageHeaderLayoutProps, type PageHeaderProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, SelectCard, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardProps, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, type SelectedState, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, type TableView, Tabs, TabsWithContent, Tag, type TagProps, type TagType, 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, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, bannerAndNavbarChromeTop, beamEnvironmentBannerLayoutHeightVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageHeaderLayoutHeightVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardDataBlockSlot, cardEyebrowSlot, cardProgressSlot, cardStatusSlot, cardStyle, cardTitleSlot, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollChromeLeft, documentScrollChromeWidth, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, fillRowStyles, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveTableContentWidth, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, 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, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };
|
|
9212
|
+
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, 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 BannerProps, type BannerTypes, BaseFilter, type BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardField, type BoundSelectCardFieldProps, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, type CardDataBlockSlot, type CardEyebrowSlot, type CardProgressSlot, type CardProps, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, type ColumnLayoutResult, ConfirmCloseModal, type ContentStack, 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, type DocumentTitleConfig, DocumentTitleProvider, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type FixedSort, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, 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, 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, type InlineStyle, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type 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, PageHeader, PageHeaderLayout, type PageHeaderLayoutProps, type PageHeaderProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, SelectCard, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardProps, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, type SelectedState, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, 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, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, bannerAndNavbarChromeTop, beamEnvironmentBannerLayoutHeightVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageHeaderLayoutHeightVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardDataBlockSlot, cardEyebrowSlot, cardProgressSlot, cardStatusSlot, cardStyle, cardTitleSlot, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollChromeLeft, documentScrollChromeWidth, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, fillRowStyles, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveTableContentWidth, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, 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, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };
|
package/dist/index.d.ts
CHANGED
|
@@ -5005,9 +5005,12 @@ type MenuSection = MenuItem & {
|
|
|
5005
5005
|
|
|
5006
5006
|
type TagXss = Margin | "backgroundColor" | "color";
|
|
5007
5007
|
type TagType = "info" | "caution" | "warning" | "success" | "neutral";
|
|
5008
|
+
type TagVariant = "primary" | "secondary";
|
|
5008
5009
|
type TagPropsBase<X> = {
|
|
5009
5010
|
text: ReactNode;
|
|
5010
5011
|
type?: TagType;
|
|
5012
|
+
/** Defaults to "primary". Secondary is intended for use in TagGroup. */
|
|
5013
|
+
variant?: TagVariant;
|
|
5011
5014
|
xss?: X;
|
|
5012
5015
|
/** A tooltip will automatically be displayed if the text is truncated. Set to true to prevent this behavior.
|
|
5013
5016
|
* @default false */
|
|
@@ -9032,6 +9035,24 @@ interface SuperDrawerContentProps {
|
|
|
9032
9035
|
*/
|
|
9033
9036
|
declare const SuperDrawerContent: ({ children, actions }: SuperDrawerContentProps) => JSX.Element;
|
|
9034
9037
|
|
|
9038
|
+
type TagGroupItem = {
|
|
9039
|
+
text: string;
|
|
9040
|
+
preventTooltip?: boolean;
|
|
9041
|
+
} & ({
|
|
9042
|
+
iconOnly?: false;
|
|
9043
|
+
icon?: IconKey;
|
|
9044
|
+
} | {
|
|
9045
|
+
iconOnly: true;
|
|
9046
|
+
icon: IconKey;
|
|
9047
|
+
});
|
|
9048
|
+
type TagGroupProps = {
|
|
9049
|
+
tags: TagGroupItem[];
|
|
9050
|
+
/** When set, renders a trailing "Edit" control. Function → button; string → link href. */
|
|
9051
|
+
onEdit?: string | VoidFunction;
|
|
9052
|
+
};
|
|
9053
|
+
/** Renders a wrapping list of secondary tags with an optional Edit control. */
|
|
9054
|
+
declare function TagGroup(props: TagGroupProps): JSX.Element;
|
|
9055
|
+
|
|
9035
9056
|
declare function Toast(): JSX.Element;
|
|
9036
9057
|
|
|
9037
9058
|
interface ToastNoticeProps extends Omit<BannerProps, "onClose"> {
|
|
@@ -9188,4 +9209,4 @@ declare const zIndices: {
|
|
|
9188
9209
|
};
|
|
9189
9210
|
type ZIndex = (typeof zIndices)[keyof typeof zIndices];
|
|
9190
9211
|
|
|
9191
|
-
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, 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 BannerProps, type BannerTypes, BaseFilter, type BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardField, type BoundSelectCardFieldProps, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, type CardDataBlockSlot, type CardEyebrowSlot, type CardProgressSlot, type CardProps, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, type ColumnLayoutResult, ConfirmCloseModal, type ContentStack, 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, type DocumentTitleConfig, DocumentTitleProvider, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type FixedSort, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, 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, 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, type InlineStyle, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type 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, PageHeader, PageHeaderLayout, type PageHeaderLayoutProps, type PageHeaderProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, SelectCard, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardProps, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, type SelectedState, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, type TableView, Tabs, TabsWithContent, Tag, type TagProps, type TagType, 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, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, bannerAndNavbarChromeTop, beamEnvironmentBannerLayoutHeightVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageHeaderLayoutHeightVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardDataBlockSlot, cardEyebrowSlot, cardProgressSlot, cardStatusSlot, cardStyle, cardTitleSlot, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollChromeLeft, documentScrollChromeWidth, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, fillRowStyles, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveTableContentWidth, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, 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, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };
|
|
9212
|
+
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, 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 BannerProps, type BannerTypes, BaseFilter, type BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamProvider, type BeamTextFieldProps, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardField, type BoundSelectCardFieldProps, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, type CardDataBlockSlot, type CardEyebrowSlot, type CardProgressSlot, type CardProps, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, type ColumnLayoutResult, ConfirmCloseModal, type ContentStack, 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, type DocumentTitleConfig, DocumentTitleProvider, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, _FilterDropdownMenu as FilterDropdownMenu, type FilterImpls, FilterModal, _Filters as Filters, type FixedSort, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, type FormSectionConfig, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, 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, 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, type InlineStyle, type InputStylePalette, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type 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, PageHeader, PageHeaderLayout, type PageHeaderLayoutProps, type PageHeaderProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, SelectCard, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardProps, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, type SelectedState, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, 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, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, bannerAndNavbarChromeTop, beamEnvironmentBannerLayoutHeightVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageHeaderLayoutHeightVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardDataBlockSlot, cardEyebrowSlot, cardProgressSlot, cardStatusSlot, cardStyle, cardTitleSlot, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollChromeLeft, documentScrollChromeWidth, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, fillRowStyles, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveTableContentWidth, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, 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, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };
|
package/dist/index.js
CHANGED
|
@@ -8917,7 +8917,7 @@ function RowImpl(props) {
|
|
|
8917
8917
|
const tooltip = isGridCellContent(maybeContent) ? maybeContent.tooltip : void 0;
|
|
8918
8918
|
const renderFn = (rowStyle?.renderCell || rowStyle?.rowLink) && wrapAction ? rowLinkRenderFn(as, currentColspan) : isHeader || isTotals || isExpandableHeader ? headerRenderFn(column2, as, currentColspan) : rowStyle?.onClick && wrapAction ? rowClickRenderFn(as, api, currentColspan) : defaultRenderFn(as, currentColspan);
|
|
8919
8919
|
const cellElement = renderFn(columnIndex, cellCss, content, row, rowStyle, void 0, cellOnClick, tooltip);
|
|
8920
|
-
if (!disableColumnResizing && isHeader && columnIndex < columns.length - 1 && currentColspan === 1 &&
|
|
8920
|
+
if (!disableColumnResizing && isHeader && columnIndex < columns.length - 1 && currentColspan === 1 && isContentColumn(column2)) {
|
|
8921
8921
|
const currentSizeStr = columnSizes[columnIndex];
|
|
8922
8922
|
const minWidthPx = column2.mw ? parseInt(column2.mw.replace("px", ""), 10) : 100;
|
|
8923
8923
|
const currentWidthPx = parseWidthToPx(currentSizeStr, void 0) ?? resizedWidths?.[column2.id] ?? minWidthPx;
|
|
@@ -21521,6 +21521,7 @@ function Tag(props) {
|
|
|
21521
21521
|
const {
|
|
21522
21522
|
text,
|
|
21523
21523
|
type,
|
|
21524
|
+
variant = "primary",
|
|
21524
21525
|
xss,
|
|
21525
21526
|
preventTooltip = false,
|
|
21526
21527
|
iconOnly,
|
|
@@ -21530,8 +21531,10 @@ function Tag(props) {
|
|
|
21530
21531
|
const isIconOnly = !!iconOnly && !!icon;
|
|
21531
21532
|
const {
|
|
21532
21533
|
background,
|
|
21533
|
-
iconColor
|
|
21534
|
-
|
|
21534
|
+
iconColor,
|
|
21535
|
+
typography,
|
|
21536
|
+
padding
|
|
21537
|
+
} = getVariantStyles(variant, type);
|
|
21535
21538
|
const tid = useTestIds(otherProps);
|
|
21536
21539
|
const [showTooltip, setShowTooltip] = useState49(false);
|
|
21537
21540
|
const ref = useRef52(null);
|
|
@@ -21550,10 +21553,6 @@ function Tag(props) {
|
|
|
21550
21553
|
...{
|
|
21551
21554
|
position: "relative",
|
|
21552
21555
|
display: "dif",
|
|
21553
|
-
fontWeight: "fw6",
|
|
21554
|
-
fontSize: "fz_10px",
|
|
21555
|
-
lineHeight: "lh_14px",
|
|
21556
|
-
textTransform: "ttu",
|
|
21557
21556
|
alignItems: "aic",
|
|
21558
21557
|
gap: "gap_4px",
|
|
21559
21558
|
paddingTop: "pt_2px",
|
|
@@ -21561,13 +21560,11 @@ function Tag(props) {
|
|
|
21561
21560
|
color: "gray900",
|
|
21562
21561
|
borderRadius: "br4"
|
|
21563
21562
|
},
|
|
21563
|
+
...typography,
|
|
21564
21564
|
...isIconOnly ? {
|
|
21565
21565
|
paddingLeft: "pl_2px",
|
|
21566
21566
|
paddingRight: "pr_2px"
|
|
21567
|
-
} :
|
|
21568
|
-
paddingLeft: "pl_6px",
|
|
21569
|
-
paddingRight: "pr_6px"
|
|
21570
|
-
},
|
|
21567
|
+
} : padding,
|
|
21571
21568
|
...background,
|
|
21572
21569
|
...xss
|
|
21573
21570
|
}), children: [
|
|
@@ -21576,7 +21573,42 @@ function Tag(props) {
|
|
|
21576
21573
|
] })
|
|
21577
21574
|
});
|
|
21578
21575
|
}
|
|
21579
|
-
function
|
|
21576
|
+
function getVariantStyles(variant, type) {
|
|
21577
|
+
if (variant === "secondary") {
|
|
21578
|
+
return {
|
|
21579
|
+
background: {
|
|
21580
|
+
backgroundColor: "bgWhite",
|
|
21581
|
+
borderColor: "bcGray300",
|
|
21582
|
+
borderWidth: "bw1",
|
|
21583
|
+
borderStyle: "bss"
|
|
21584
|
+
},
|
|
21585
|
+
iconColor: "rgba(100, 100, 100, 1)" /* Gray700 */,
|
|
21586
|
+
typography: {
|
|
21587
|
+
fontWeight: "fw4",
|
|
21588
|
+
fontSize: "fz_12px",
|
|
21589
|
+
lineHeight: "lh_16px"
|
|
21590
|
+
},
|
|
21591
|
+
padding: {
|
|
21592
|
+
paddingLeft: "pl_8px",
|
|
21593
|
+
paddingRight: "pr_8px"
|
|
21594
|
+
}
|
|
21595
|
+
};
|
|
21596
|
+
}
|
|
21597
|
+
return {
|
|
21598
|
+
...getPrimaryStyles(type),
|
|
21599
|
+
typography: {
|
|
21600
|
+
fontWeight: "fw6",
|
|
21601
|
+
fontSize: "fz_10px",
|
|
21602
|
+
lineHeight: "lh_14px",
|
|
21603
|
+
textTransform: "ttu"
|
|
21604
|
+
},
|
|
21605
|
+
padding: {
|
|
21606
|
+
paddingLeft: "pl_6px",
|
|
21607
|
+
paddingRight: "pr_6px"
|
|
21608
|
+
}
|
|
21609
|
+
};
|
|
21610
|
+
}
|
|
21611
|
+
function getPrimaryStyles(type) {
|
|
21580
21612
|
switch (type) {
|
|
21581
21613
|
case "info":
|
|
21582
21614
|
return {
|
|
@@ -24254,6 +24286,21 @@ function visit(rows, fn) {
|
|
|
24254
24286
|
}
|
|
24255
24287
|
}
|
|
24256
24288
|
|
|
24289
|
+
// src/components/TagGroup.tsx
|
|
24290
|
+
import { jsx as jsx192, jsxs as jsxs102 } from "react/jsx-runtime";
|
|
24291
|
+
function TagGroup(props) {
|
|
24292
|
+
const {
|
|
24293
|
+
tags,
|
|
24294
|
+
onEdit,
|
|
24295
|
+
...otherProps
|
|
24296
|
+
} = props;
|
|
24297
|
+
const tid = useTestIds(otherProps, "tagGroup");
|
|
24298
|
+
return /* @__PURE__ */ jsxs102("div", { ...tid, className: "df aic fww gap1", children: [
|
|
24299
|
+
tags.map((tag) => /* @__PURE__ */ jsx192(Tag, { ...tag, variant: "secondary" }, tag.text)),
|
|
24300
|
+
onEdit && /* @__PURE__ */ jsx192("span", { className: "ml1 fw4 fz_14px lh_20px", children: /* @__PURE__ */ jsx192(Button, { label: "Edit", variant: "text", onClick: onEdit, ...tid.edit }) })
|
|
24301
|
+
] });
|
|
24302
|
+
}
|
|
24303
|
+
|
|
24257
24304
|
// src/components/Toast/useToast.tsx
|
|
24258
24305
|
import { useCallback as useCallback36 } from "react";
|
|
24259
24306
|
function useToast() {
|
|
@@ -24264,14 +24311,14 @@ function useToast() {
|
|
|
24264
24311
|
|
|
24265
24312
|
// src/layouts/SideNavLayout/SideNavLayout.tsx
|
|
24266
24313
|
import { trussProps as trussProps98, mergeProps as mergeProps31, maybeCssVar as maybeCssVar55 } from "@homebound/truss/runtime";
|
|
24267
|
-
import { jsx as
|
|
24314
|
+
import { jsx as jsx193, jsxs as jsxs103 } from "react/jsx-runtime";
|
|
24268
24315
|
var __maybeInc21 = (inc) => {
|
|
24269
24316
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
24270
24317
|
};
|
|
24271
24318
|
function SideNavLayout(props) {
|
|
24272
24319
|
const hasProvider = useHasSideNavLayoutProvider();
|
|
24273
|
-
if (hasProvider) return /* @__PURE__ */
|
|
24274
|
-
return /* @__PURE__ */
|
|
24320
|
+
if (hasProvider) return /* @__PURE__ */ jsx193(SideNavLayoutContent, { ...props });
|
|
24321
|
+
return /* @__PURE__ */ jsx193(SideNavLayoutProvider, { children: /* @__PURE__ */ jsx193(SideNavLayoutContent, { ...props }) });
|
|
24275
24322
|
}
|
|
24276
24323
|
function SideNavLayoutContent(props) {
|
|
24277
24324
|
const {
|
|
@@ -24293,7 +24340,7 @@ function SideNavLayoutContent(props) {
|
|
|
24293
24340
|
const railOffsetPx = !showRail ? 0 : !bp.mdAndUp || collapsed ? railCollapsedWidthPx : railWidthPx;
|
|
24294
24341
|
const navTop = bannerAndNavbarChromeTop();
|
|
24295
24342
|
const railViewportHeight = `calc(var(${beamLayoutViewportHeightVar}, 100vh) - var(${beamEnvironmentBannerLayoutHeightVar}, 0px) - var(${beamNavbarLayoutHeightVar}, 0px))`;
|
|
24296
|
-
const rail = showRail && /* @__PURE__ */
|
|
24343
|
+
const rail = showRail && /* @__PURE__ */ jsxs103("div", { ...trussProps98({
|
|
24297
24344
|
...{
|
|
24298
24345
|
display: "df",
|
|
24299
24346
|
flexDirection: "fdc",
|
|
@@ -24350,18 +24397,18 @@ function SideNavLayoutContent(props) {
|
|
|
24350
24397
|
}
|
|
24351
24398
|
}
|
|
24352
24399
|
}), ...tid.sideNav, children: [
|
|
24353
|
-
showCollapseToggle && /* @__PURE__ */
|
|
24354
|
-
/* @__PURE__ */
|
|
24400
|
+
showCollapseToggle && /* @__PURE__ */ jsx193("div", { className: "absolute right2 top2 z2", children: /* @__PURE__ */ jsx193(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
|
|
24401
|
+
/* @__PURE__ */ jsx193("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ jsx193(SideNav, { ...sideNav }) })
|
|
24355
24402
|
] });
|
|
24356
|
-
return /* @__PURE__ */
|
|
24403
|
+
return /* @__PURE__ */ jsx193(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs103("div", { ...mergeProps31(void 0, {
|
|
24357
24404
|
[beamSideNavLayoutWidthVar]: `${railOffsetPx}px`
|
|
24358
24405
|
}, {
|
|
24359
24406
|
display: "df",
|
|
24360
24407
|
flexDirection: "fdr",
|
|
24361
24408
|
width: "w100"
|
|
24362
24409
|
}), ...tid, children: [
|
|
24363
|
-
contrastRail ? /* @__PURE__ */
|
|
24364
|
-
/* @__PURE__ */
|
|
24410
|
+
contrastRail ? /* @__PURE__ */ jsx193(ContrastScope, { children: rail }) : rail,
|
|
24411
|
+
/* @__PURE__ */ jsx193("div", { ...trussProps98({
|
|
24365
24412
|
display: "df",
|
|
24366
24413
|
flexDirection: "fdc",
|
|
24367
24414
|
flexGrow: "fg1",
|
|
@@ -24378,7 +24425,7 @@ function SideNavLayoutContent(props) {
|
|
|
24378
24425
|
|
|
24379
24426
|
// src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
|
|
24380
24427
|
import { trussProps as trussProps99, mergeProps as mergeProps32, maybeCssVar as maybeCssVar56 } from "@homebound/truss/runtime";
|
|
24381
|
-
import { jsx as
|
|
24428
|
+
import { jsx as jsx194, jsxs as jsxs104 } from "react/jsx-runtime";
|
|
24382
24429
|
var __maybeInc22 = (inc) => {
|
|
24383
24430
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
24384
24431
|
};
|
|
@@ -24394,18 +24441,18 @@ function EnvironmentBannerLayout(props) {
|
|
|
24394
24441
|
[beamEnvironmentBannerLayoutHeightVar]: `${bannerHeightPx}px`
|
|
24395
24442
|
};
|
|
24396
24443
|
const innerWidth = `var(${beamLayoutViewportWidthVar}, 100vw)`;
|
|
24397
|
-
return /* @__PURE__ */
|
|
24444
|
+
return /* @__PURE__ */ jsx194(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx194(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ jsxs104("div", { ...mergeProps32(void 0, style, {
|
|
24398
24445
|
display: "df",
|
|
24399
24446
|
flexDirection: "fdc",
|
|
24400
24447
|
width: "wfc",
|
|
24401
24448
|
minWidth: "mw100"
|
|
24402
24449
|
}), ...tid, children: [
|
|
24403
|
-
showBanner && environmentBanner && /* @__PURE__ */
|
|
24450
|
+
showBanner && environmentBanner && /* @__PURE__ */ jsx194("div", { ...mergeProps32(void 0, {
|
|
24404
24451
|
height: environmentBannerSizePx
|
|
24405
24452
|
}, {
|
|
24406
24453
|
flexShrink: "fs0",
|
|
24407
24454
|
width: "w100"
|
|
24408
|
-
}), children: /* @__PURE__ */
|
|
24455
|
+
}), children: /* @__PURE__ */ jsx194("div", { ...trussProps99({
|
|
24409
24456
|
position: "fixed",
|
|
24410
24457
|
top: "top0",
|
|
24411
24458
|
left: "left0",
|
|
@@ -24415,7 +24462,7 @@ function EnvironmentBannerLayout(props) {
|
|
|
24415
24462
|
width: ["w_var", {
|
|
24416
24463
|
"--width": maybeCssVar56(__maybeInc22(innerWidth))
|
|
24417
24464
|
}]
|
|
24418
|
-
}), ...tid.bannerSticky, children: /* @__PURE__ */
|
|
24465
|
+
}), ...tid.bannerSticky, children: /* @__PURE__ */ jsx194(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
|
|
24419
24466
|
children
|
|
24420
24467
|
] }) }) });
|
|
24421
24468
|
}
|
|
@@ -24533,17 +24580,17 @@ function useMeasuredHeight(ref, enabled) {
|
|
|
24533
24580
|
|
|
24534
24581
|
// src/layouts/NavbarLayout/NavbarLayoutHeightContext.tsx
|
|
24535
24582
|
import { createContext as createContext15, useContext as useContext27 } from "react";
|
|
24536
|
-
import { jsx as
|
|
24583
|
+
import { jsx as jsx195 } from "react/jsx-runtime";
|
|
24537
24584
|
var NavbarLayoutHeightContext = createContext15(0);
|
|
24538
24585
|
function NavbarLayoutHeightProvider({ value, children }) {
|
|
24539
|
-
return /* @__PURE__ */
|
|
24586
|
+
return /* @__PURE__ */ jsx195(NavbarLayoutHeightContext.Provider, { value, children });
|
|
24540
24587
|
}
|
|
24541
24588
|
function useNavbarLayoutHeight() {
|
|
24542
24589
|
return useContext27(NavbarLayoutHeightContext);
|
|
24543
24590
|
}
|
|
24544
24591
|
|
|
24545
24592
|
// src/layouts/NavbarLayout/NavbarLayout.tsx
|
|
24546
|
-
import { jsx as
|
|
24593
|
+
import { jsx as jsx196, jsxs as jsxs105 } from "react/jsx-runtime";
|
|
24547
24594
|
var __maybeInc23 = (inc) => {
|
|
24548
24595
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
24549
24596
|
};
|
|
@@ -24596,20 +24643,20 @@ function NavbarLayout(props) {
|
|
|
24596
24643
|
const innerStyle = autoHideState !== "static" ? {
|
|
24597
24644
|
top: autoHideState === "revealed" ? bannerTop : `calc(${bannerTop} - ${navHeight}px)`
|
|
24598
24645
|
} : void 0;
|
|
24599
|
-
const navbarEl = useMemo55(() => /* @__PURE__ */
|
|
24600
|
-
return /* @__PURE__ */
|
|
24646
|
+
const navbarEl = useMemo55(() => /* @__PURE__ */ jsx196(Navbar, { ...navbar }), [navbar]);
|
|
24647
|
+
return /* @__PURE__ */ jsx196(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx196(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ jsxs105("div", { ...mergeProps33(void 0, cssVars, {
|
|
24601
24648
|
display: "df",
|
|
24602
24649
|
flexDirection: "fdc",
|
|
24603
24650
|
width: "wfc",
|
|
24604
24651
|
minWidth: "mw100"
|
|
24605
24652
|
}), ...tid, children: [
|
|
24606
|
-
/* @__PURE__ */
|
|
24653
|
+
/* @__PURE__ */ jsx196("div", { ref: spacerRef, ...mergeProps33(void 0, {
|
|
24607
24654
|
height: navHeight
|
|
24608
24655
|
}, {
|
|
24609
24656
|
flexShrink: "fs0",
|
|
24610
24657
|
width: "w100"
|
|
24611
|
-
}), children: /* @__PURE__ */
|
|
24612
|
-
/* @__PURE__ */
|
|
24658
|
+
}), children: /* @__PURE__ */ jsx196("div", { ref: navMetricsRef, ...mergeProps33(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
|
|
24659
|
+
/* @__PURE__ */ jsx196("div", { className: "df fdc mh0 mw100 w100", ...tid.body, children })
|
|
24613
24660
|
] }) }) });
|
|
24614
24661
|
}
|
|
24615
24662
|
|
|
@@ -24623,7 +24670,7 @@ function useBannerAndNavbarHeight() {
|
|
|
24623
24670
|
|
|
24624
24671
|
// src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
|
|
24625
24672
|
import { mergeProps as mergeProps34, maybeCssVar as maybeCssVar58 } from "@homebound/truss/runtime";
|
|
24626
|
-
import { jsx as
|
|
24673
|
+
import { jsx as jsx197, jsxs as jsxs106 } from "react/jsx-runtime";
|
|
24627
24674
|
var __maybeInc24 = (inc) => {
|
|
24628
24675
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
24629
24676
|
};
|
|
@@ -24678,19 +24725,19 @@ function PageHeaderLayout(props) {
|
|
|
24678
24725
|
const innerStyle = autoHideState !== "static" ? {
|
|
24679
24726
|
top: autoHideState === "revealed" ? outerTop : `calc(${outerTop} - ${headerHeight}px)`
|
|
24680
24727
|
} : void 0;
|
|
24681
|
-
const pageHeaderEl = useMemo56(() => /* @__PURE__ */
|
|
24682
|
-
return /* @__PURE__ */
|
|
24728
|
+
const pageHeaderEl = useMemo56(() => /* @__PURE__ */ jsx197(PageHeader2, { ...pageHeader }), [pageHeader]);
|
|
24729
|
+
return /* @__PURE__ */ jsx197(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs106("div", { ...mergeProps34(void 0, cssVars, {
|
|
24683
24730
|
display: "df",
|
|
24684
24731
|
flexDirection: "fdc",
|
|
24685
24732
|
width: "w100"
|
|
24686
24733
|
}), ...tid, children: [
|
|
24687
|
-
/* @__PURE__ */
|
|
24734
|
+
/* @__PURE__ */ jsx197("div", { ref: spacerRef, ...mergeProps34(void 0, {
|
|
24688
24735
|
height: headerHeight
|
|
24689
24736
|
}, {
|
|
24690
24737
|
flexShrink: "fs0",
|
|
24691
24738
|
width: "w100"
|
|
24692
|
-
}), children: /* @__PURE__ */
|
|
24693
|
-
/* @__PURE__ */
|
|
24739
|
+
}), children: /* @__PURE__ */ jsx197("div", { ref: headerMetricsRef, ...mergeProps34(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
|
|
24740
|
+
/* @__PURE__ */ jsx197("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children })
|
|
24694
24741
|
] }) });
|
|
24695
24742
|
}
|
|
24696
24743
|
export {
|
|
@@ -24846,6 +24893,7 @@ export {
|
|
|
24846
24893
|
Tabs,
|
|
24847
24894
|
TabsWithContent,
|
|
24848
24895
|
Tag,
|
|
24896
|
+
TagGroup,
|
|
24849
24897
|
TextAreaField,
|
|
24850
24898
|
TextField,
|
|
24851
24899
|
Toast,
|