@dloizides/ui-layout 1.66.0 → 1.67.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.66.1
4
+
5
+ - `RecordHeader`: beside the title the actions row takes at most 60% of the width and wraps, so the title and id chips keep the rest (they were squeezed to the space the unwrapped actions left). `actionsStyleOf(compact)` exported.
6
+
3
7
  ## 1.65.0
4
8
 
5
9
  - MODC-1 "Module C unified console" scroll-0 fix. With the scroll spy on, the scroller at its top marks the first section current, even when `initialKey` names a later one or a short first section lets the second cross the activation line (`ScrollViewport` gains `atStart`). The collapsed (chips) layout opens on `collapsedKey` only, else the first chip; `initialKey` no longer applies below the index breakpoint.
package/dist/index.d.mts CHANGED
@@ -228,7 +228,8 @@ declare const PageFrame: ({ children, pageSize, testID, enlargeable, }: PageFram
228
228
 
229
229
  declare enum SegmentedVariant {
230
230
  Raised = "raised",
231
- Filled = "filled"
231
+ Filled = "filled",
232
+ Boxed = "boxed"
232
233
  }
233
234
 
234
235
  /**
@@ -268,9 +269,9 @@ interface SegmentedControlProps<V extends string = string> {
268
269
  style?: StyleProp<ViewStyle>;
269
270
  /** Fill the parent width, every segment an equal share. */
270
271
  stretch?: boolean;
271
- /** Raised (default) lifts the selected segment; Filled paints it with `selectedColor`. */
272
+ /** Raised (default) lifts the selected segment; Filled paints it with `selectedColor`; Boxed is the square-cornered frame track that tints it with `selectedColor`. */
272
273
  variant?: SegmentedVariant;
273
- /** Fill of the selected segment in the Filled variant (default: theme text colour). */
274
+ /** Fill of the selected segment in the Filled (default: theme text colour) and Boxed (default: surface) variants. */
274
275
  selectedColor?: string;
275
276
  testID?: string;
276
277
  }
@@ -1174,6 +1175,7 @@ interface ListRowProps {
1174
1175
  meta?: React.ReactNode;
1175
1176
  badges?: React.ReactNode;
1176
1177
  after?: React.ReactNode;
1178
+ divider?: boolean;
1177
1179
  selected: boolean;
1178
1180
  selectedStyle?: RowSelectedStyle;
1179
1181
  onPress: () => void;
@@ -1181,8 +1183,8 @@ interface ListRowProps {
1181
1183
  accessibilityHint: string;
1182
1184
  testID?: string;
1183
1185
  }
1184
- /** A selectable list row with title, trailing, meta and badge slots and one selected-style setting. */
1185
- declare const ListRow: ({ title, trailing, meta, badges, after, selected, selectedStyle, onPress, accessibilityLabel, accessibilityHint, testID, }: ListRowProps) => React.ReactElement;
1186
+ /** A selectable list row with title, trailing, meta and badge slots, one selected-style setting and an optional top divider. */
1187
+ declare const ListRow: ({ title, trailing, meta, badges, after, divider, selected, selectedStyle, onPress, accessibilityLabel, accessibilityHint, testID, }: ListRowProps) => React.ReactElement;
1186
1188
 
1187
1189
  interface ListRowTone {
1188
1190
  textColor: string;
@@ -1430,7 +1432,7 @@ interface RecordHeaderProps {
1430
1432
  collapseBelow?: number;
1431
1433
  testID?: string;
1432
1434
  }
1433
- /** A record page header: breadcrumb, title and id meta left, record actions top right; stacked on a phone. */
1435
+ /** A record page header: breadcrumb, title and id meta left, record actions top right (at most 60%, wrapping); stacked on a phone. */
1434
1436
  declare const RecordHeader: ({ breadcrumb, title, meta, actions, collapseBelow, testID }: RecordHeaderProps) => React.ReactElement;
1435
1437
 
1436
1438
  interface BreadcrumbItem {
@@ -1464,6 +1466,12 @@ declare const RecordActionButton: ({ label, hint, testID, icon, onPress, iconOnl
1464
1466
  /** True when a record header stacks its parts and shows icon-only secondary actions. */
1465
1467
  declare function isRecordHeaderCompact(width: number, breakpoint?: number): boolean;
1466
1468
 
1469
+ declare enum IdEllipsis {
1470
+ Head = "head",
1471
+ Middle = "middle",
1472
+ Tail = "tail"
1473
+ }
1474
+
1467
1475
  interface IdChipProps {
1468
1476
  label: string;
1469
1477
  value: string | null;
@@ -1473,9 +1481,18 @@ interface IdChipProps {
1473
1481
  display?: string;
1474
1482
  valueTestID?: string;
1475
1483
  writer?: (text: string) => void | Promise<void>;
1484
+ width?: number;
1485
+ ellipsis?: IdEllipsis;
1486
+ }
1487
+ /** An id chip: label and monospace value inside one box with a copy glyph; pressing it copies the full value; a set width keeps label and glyph whole and cuts the value at `ellipsis` */
1488
+ declare const IdChip: ({ label, value, testID, accessibilityLabel, accessibilityHint, display, valueTestID, writer, width, ellipsis }: IdChipProps) => React.ReactElement;
1489
+
1490
+ interface CardTitleProps {
1491
+ label: string;
1492
+ testID?: string;
1476
1493
  }
1477
- /** An id chip: label and monospace value inside one box with a copy glyph; pressing it copies the full value */
1478
- declare const IdChip: ({ label, value, testID, accessibilityLabel, accessibilityHint, display, valueTestID, writer }: IdChipProps) => React.ReactElement;
1494
+ /** The bold heading a card opens with: a header for assistive tech, inked with the theme text colour. */
1495
+ declare const CardTitle: ({ label, testID }: CardTitleProps) => React.ReactElement;
1479
1496
 
1480
1497
  declare enum TabsVariant {
1481
1498
  Underline = "underline",
@@ -1614,4 +1631,4 @@ interface ListDetailVisibility {
1614
1631
  /** Wide shows both panes; narrow shows one, the detail only when asked for and present. */
1615
1632
  declare function resolveListDetailPanes(wide: boolean, narrowPane: ListDetailPane, hasDetail: boolean): ListDetailVisibility;
1616
1633
 
1617
- export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BadgeSize, BadgeTone, BottomSheet, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, type ConfirmDialogProps, CopyControl, CopyRowEmphasis, CopyStatus, type CopyToClipboard, type CopyValueLabels, CopyValueRow, type CopyValueRowProps, CopyableId, type CopyableIdProps, CountBadge, type CountBadgeProps, DEFAULT_BILLING_ROUTE, type DayBadgeColors, DayBadgeFill, DayCard, DayCardLayout, type DayCardProps, type DropdownOption, type DropdownTriggerState, DropdownVariant, ELLIPSIS, FigureStrip, type FigureStripProps, FormDialog, type FormDialogProps, HEADER_STACK_BREAKPOINT, Heading, type HeadingLevel, type HeadingProps, IdChip, type IdChipProps, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListDetailLayout, type ListDetailLayoutProps, ListDetailPane, type ListDetailVisibility, ListRow, type ListRowProps, type ListRowTone, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, type ModalDropdownProps, type ModalProps, ModalShell, type ModalShellProps, type ModalSize, PageFrame, type PageFrameProps, PageHead, type PageHeadProps, type PageSize, RecordActionButton, type RecordActionButtonProps, RecordHeader, type RecordHeaderProps, type RowLook, type RowPalette, RowSelectedStyle, type RowSelection, type RowSelectionKeys, type RowState, SECTION_INDEX_BREAKPOINT, SECTION_INDEX_WIDTH, SPY_ACTIVATION_RATIO, SPY_CLICK_LOCK_MS, type ScaledFrame, ScreenColumn, type ScreenColumnProps, type ScrollSpyControl, type ScrollSpyOptions, Section, SectionChips, type SectionChipsProps, SectionDensity, type SectionFold, SectionIndex, type SectionIndexEntry, SectionIndexLayout, type SectionIndexLayoutProps, type SectionIndexProps, type SectionPadding, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SegmentedVariant, SelectedMarker, SideSheet, type SideSheetProps, SplitLayout, SplitPanes, type SplitPanesProps, StatusBadge, type StatusBadgeProps, StickyActionBar, type StickyActionBarProps, type StickyIndexConfig, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TabsVariant, TextKind, Timeline, type TimelineEntry, type TimelineProps, ToggleSection, type ToggleSectionProps, type ToneColors, type TotalsItem, TotalsStrip, type TotalsStripProps, TotalsTone, TransferSlip, type TransferSlipProps, TruncatedText, type TruncatedTextProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, WidgetCard, type WidgetCardProps, copyActionLabel, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, pickActiveIndex, resolveActiveKey, resolveListDetailPanes, resolveRowLook, resolveTintColors, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useScrollSpy, useVisibleViewport };
1634
+ export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BadgeSize, BadgeTone, BottomSheet, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, CardTitle, type CardTitleProps, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, type ConfirmDialogProps, CopyControl, CopyRowEmphasis, CopyStatus, type CopyToClipboard, type CopyValueLabels, CopyValueRow, type CopyValueRowProps, CopyableId, type CopyableIdProps, CountBadge, type CountBadgeProps, DEFAULT_BILLING_ROUTE, type DayBadgeColors, DayBadgeFill, DayCard, DayCardLayout, type DayCardProps, type DropdownOption, type DropdownTriggerState, DropdownVariant, ELLIPSIS, FigureStrip, type FigureStripProps, FormDialog, type FormDialogProps, HEADER_STACK_BREAKPOINT, Heading, type HeadingLevel, type HeadingProps, IdChip, type IdChipProps, IdEllipsis, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListDetailLayout, type ListDetailLayoutProps, ListDetailPane, type ListDetailVisibility, ListRow, type ListRowProps, type ListRowTone, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, type ModalDropdownProps, type ModalProps, ModalShell, type ModalShellProps, type ModalSize, PageFrame, type PageFrameProps, PageHead, type PageHeadProps, type PageSize, RecordActionButton, type RecordActionButtonProps, RecordHeader, type RecordHeaderProps, type RowLook, type RowPalette, RowSelectedStyle, type RowSelection, type RowSelectionKeys, type RowState, SECTION_INDEX_BREAKPOINT, SECTION_INDEX_WIDTH, SPY_ACTIVATION_RATIO, SPY_CLICK_LOCK_MS, type ScaledFrame, ScreenColumn, type ScreenColumnProps, type ScrollSpyControl, type ScrollSpyOptions, Section, SectionChips, type SectionChipsProps, SectionDensity, type SectionFold, SectionIndex, type SectionIndexEntry, SectionIndexLayout, type SectionIndexLayoutProps, type SectionIndexProps, type SectionPadding, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SegmentedVariant, SelectedMarker, SideSheet, type SideSheetProps, SplitLayout, SplitPanes, type SplitPanesProps, StatusBadge, type StatusBadgeProps, StickyActionBar, type StickyActionBarProps, type StickyIndexConfig, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TabsVariant, TextKind, Timeline, type TimelineEntry, type TimelineProps, ToggleSection, type ToggleSectionProps, type ToneColors, type TotalsItem, TotalsStrip, type TotalsStripProps, TotalsTone, TransferSlip, type TransferSlipProps, TruncatedText, type TruncatedTextProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, WidgetCard, type WidgetCardProps, copyActionLabel, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, pickActiveIndex, resolveActiveKey, resolveListDetailPanes, resolveRowLook, resolveTintColors, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useScrollSpy, useVisibleViewport };
package/dist/index.d.ts CHANGED
@@ -228,7 +228,8 @@ declare const PageFrame: ({ children, pageSize, testID, enlargeable, }: PageFram
228
228
 
229
229
  declare enum SegmentedVariant {
230
230
  Raised = "raised",
231
- Filled = "filled"
231
+ Filled = "filled",
232
+ Boxed = "boxed"
232
233
  }
233
234
 
234
235
  /**
@@ -268,9 +269,9 @@ interface SegmentedControlProps<V extends string = string> {
268
269
  style?: StyleProp<ViewStyle>;
269
270
  /** Fill the parent width, every segment an equal share. */
270
271
  stretch?: boolean;
271
- /** Raised (default) lifts the selected segment; Filled paints it with `selectedColor`. */
272
+ /** Raised (default) lifts the selected segment; Filled paints it with `selectedColor`; Boxed is the square-cornered frame track that tints it with `selectedColor`. */
272
273
  variant?: SegmentedVariant;
273
- /** Fill of the selected segment in the Filled variant (default: theme text colour). */
274
+ /** Fill of the selected segment in the Filled (default: theme text colour) and Boxed (default: surface) variants. */
274
275
  selectedColor?: string;
275
276
  testID?: string;
276
277
  }
@@ -1174,6 +1175,7 @@ interface ListRowProps {
1174
1175
  meta?: React.ReactNode;
1175
1176
  badges?: React.ReactNode;
1176
1177
  after?: React.ReactNode;
1178
+ divider?: boolean;
1177
1179
  selected: boolean;
1178
1180
  selectedStyle?: RowSelectedStyle;
1179
1181
  onPress: () => void;
@@ -1181,8 +1183,8 @@ interface ListRowProps {
1181
1183
  accessibilityHint: string;
1182
1184
  testID?: string;
1183
1185
  }
1184
- /** A selectable list row with title, trailing, meta and badge slots and one selected-style setting. */
1185
- declare const ListRow: ({ title, trailing, meta, badges, after, selected, selectedStyle, onPress, accessibilityLabel, accessibilityHint, testID, }: ListRowProps) => React.ReactElement;
1186
+ /** A selectable list row with title, trailing, meta and badge slots, one selected-style setting and an optional top divider. */
1187
+ declare const ListRow: ({ title, trailing, meta, badges, after, divider, selected, selectedStyle, onPress, accessibilityLabel, accessibilityHint, testID, }: ListRowProps) => React.ReactElement;
1186
1188
 
1187
1189
  interface ListRowTone {
1188
1190
  textColor: string;
@@ -1430,7 +1432,7 @@ interface RecordHeaderProps {
1430
1432
  collapseBelow?: number;
1431
1433
  testID?: string;
1432
1434
  }
1433
- /** A record page header: breadcrumb, title and id meta left, record actions top right; stacked on a phone. */
1435
+ /** A record page header: breadcrumb, title and id meta left, record actions top right (at most 60%, wrapping); stacked on a phone. */
1434
1436
  declare const RecordHeader: ({ breadcrumb, title, meta, actions, collapseBelow, testID }: RecordHeaderProps) => React.ReactElement;
1435
1437
 
1436
1438
  interface BreadcrumbItem {
@@ -1464,6 +1466,12 @@ declare const RecordActionButton: ({ label, hint, testID, icon, onPress, iconOnl
1464
1466
  /** True when a record header stacks its parts and shows icon-only secondary actions. */
1465
1467
  declare function isRecordHeaderCompact(width: number, breakpoint?: number): boolean;
1466
1468
 
1469
+ declare enum IdEllipsis {
1470
+ Head = "head",
1471
+ Middle = "middle",
1472
+ Tail = "tail"
1473
+ }
1474
+
1467
1475
  interface IdChipProps {
1468
1476
  label: string;
1469
1477
  value: string | null;
@@ -1473,9 +1481,18 @@ interface IdChipProps {
1473
1481
  display?: string;
1474
1482
  valueTestID?: string;
1475
1483
  writer?: (text: string) => void | Promise<void>;
1484
+ width?: number;
1485
+ ellipsis?: IdEllipsis;
1486
+ }
1487
+ /** An id chip: label and monospace value inside one box with a copy glyph; pressing it copies the full value; a set width keeps label and glyph whole and cuts the value at `ellipsis` */
1488
+ declare const IdChip: ({ label, value, testID, accessibilityLabel, accessibilityHint, display, valueTestID, writer, width, ellipsis }: IdChipProps) => React.ReactElement;
1489
+
1490
+ interface CardTitleProps {
1491
+ label: string;
1492
+ testID?: string;
1476
1493
  }
1477
- /** An id chip: label and monospace value inside one box with a copy glyph; pressing it copies the full value */
1478
- declare const IdChip: ({ label, value, testID, accessibilityLabel, accessibilityHint, display, valueTestID, writer }: IdChipProps) => React.ReactElement;
1494
+ /** The bold heading a card opens with: a header for assistive tech, inked with the theme text colour. */
1495
+ declare const CardTitle: ({ label, testID }: CardTitleProps) => React.ReactElement;
1479
1496
 
1480
1497
  declare enum TabsVariant {
1481
1498
  Underline = "underline",
@@ -1614,4 +1631,4 @@ interface ListDetailVisibility {
1614
1631
  /** Wide shows both panes; narrow shows one, the detail only when asked for and present. */
1615
1632
  declare function resolveListDetailPanes(wide: boolean, narrowPane: ListDetailPane, hasDetail: boolean): ListDetailVisibility;
1616
1633
 
1617
- export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BadgeSize, BadgeTone, BottomSheet, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, type ConfirmDialogProps, CopyControl, CopyRowEmphasis, CopyStatus, type CopyToClipboard, type CopyValueLabels, CopyValueRow, type CopyValueRowProps, CopyableId, type CopyableIdProps, CountBadge, type CountBadgeProps, DEFAULT_BILLING_ROUTE, type DayBadgeColors, DayBadgeFill, DayCard, DayCardLayout, type DayCardProps, type DropdownOption, type DropdownTriggerState, DropdownVariant, ELLIPSIS, FigureStrip, type FigureStripProps, FormDialog, type FormDialogProps, HEADER_STACK_BREAKPOINT, Heading, type HeadingLevel, type HeadingProps, IdChip, type IdChipProps, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListDetailLayout, type ListDetailLayoutProps, ListDetailPane, type ListDetailVisibility, ListRow, type ListRowProps, type ListRowTone, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, type ModalDropdownProps, type ModalProps, ModalShell, type ModalShellProps, type ModalSize, PageFrame, type PageFrameProps, PageHead, type PageHeadProps, type PageSize, RecordActionButton, type RecordActionButtonProps, RecordHeader, type RecordHeaderProps, type RowLook, type RowPalette, RowSelectedStyle, type RowSelection, type RowSelectionKeys, type RowState, SECTION_INDEX_BREAKPOINT, SECTION_INDEX_WIDTH, SPY_ACTIVATION_RATIO, SPY_CLICK_LOCK_MS, type ScaledFrame, ScreenColumn, type ScreenColumnProps, type ScrollSpyControl, type ScrollSpyOptions, Section, SectionChips, type SectionChipsProps, SectionDensity, type SectionFold, SectionIndex, type SectionIndexEntry, SectionIndexLayout, type SectionIndexLayoutProps, type SectionIndexProps, type SectionPadding, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SegmentedVariant, SelectedMarker, SideSheet, type SideSheetProps, SplitLayout, SplitPanes, type SplitPanesProps, StatusBadge, type StatusBadgeProps, StickyActionBar, type StickyActionBarProps, type StickyIndexConfig, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TabsVariant, TextKind, Timeline, type TimelineEntry, type TimelineProps, ToggleSection, type ToggleSectionProps, type ToneColors, type TotalsItem, TotalsStrip, type TotalsStripProps, TotalsTone, TransferSlip, type TransferSlipProps, TruncatedText, type TruncatedTextProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, WidgetCard, type WidgetCardProps, copyActionLabel, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, pickActiveIndex, resolveActiveKey, resolveListDetailPanes, resolveRowLook, resolveTintColors, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useScrollSpy, useVisibleViewport };
1634
+ export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BadgeSize, BadgeTone, BottomSheet, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, CardTitle, type CardTitleProps, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, type ConfirmDialogProps, CopyControl, CopyRowEmphasis, CopyStatus, type CopyToClipboard, type CopyValueLabels, CopyValueRow, type CopyValueRowProps, CopyableId, type CopyableIdProps, CountBadge, type CountBadgeProps, DEFAULT_BILLING_ROUTE, type DayBadgeColors, DayBadgeFill, DayCard, DayCardLayout, type DayCardProps, type DropdownOption, type DropdownTriggerState, DropdownVariant, ELLIPSIS, FigureStrip, type FigureStripProps, FormDialog, type FormDialogProps, HEADER_STACK_BREAKPOINT, Heading, type HeadingLevel, type HeadingProps, IdChip, type IdChipProps, IdEllipsis, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListDetailLayout, type ListDetailLayoutProps, ListDetailPane, type ListDetailVisibility, ListRow, type ListRowProps, type ListRowTone, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, type ModalDropdownProps, type ModalProps, ModalShell, type ModalShellProps, type ModalSize, PageFrame, type PageFrameProps, PageHead, type PageHeadProps, type PageSize, RecordActionButton, type RecordActionButtonProps, RecordHeader, type RecordHeaderProps, type RowLook, type RowPalette, RowSelectedStyle, type RowSelection, type RowSelectionKeys, type RowState, SECTION_INDEX_BREAKPOINT, SECTION_INDEX_WIDTH, SPY_ACTIVATION_RATIO, SPY_CLICK_LOCK_MS, type ScaledFrame, ScreenColumn, type ScreenColumnProps, type ScrollSpyControl, type ScrollSpyOptions, Section, SectionChips, type SectionChipsProps, SectionDensity, type SectionFold, SectionIndex, type SectionIndexEntry, SectionIndexLayout, type SectionIndexLayoutProps, type SectionIndexProps, type SectionPadding, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SegmentedVariant, SelectedMarker, SideSheet, type SideSheetProps, SplitLayout, SplitPanes, type SplitPanesProps, StatusBadge, type StatusBadgeProps, StickyActionBar, type StickyActionBarProps, type StickyIndexConfig, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TabsVariant, TextKind, Timeline, type TimelineEntry, type TimelineProps, ToggleSection, type ToggleSectionProps, type ToneColors, type TotalsItem, TotalsStrip, type TotalsStripProps, TotalsTone, TransferSlip, type TransferSlipProps, TruncatedText, type TruncatedTextProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, WidgetCard, type WidgetCardProps, copyActionLabel, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, pickActiveIndex, resolveActiveKey, resolveListDetailPanes, resolveRowLook, resolveTintColors, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useScrollSpy, useVisibleViewport };
package/dist/index.js CHANGED
@@ -969,36 +969,53 @@ var PageFrame = ({
969
969
  var SegmentedVariant = /* @__PURE__ */ ((SegmentedVariant2) => {
970
970
  SegmentedVariant2["Raised"] = "raised";
971
971
  SegmentedVariant2["Filled"] = "filled";
972
+ SegmentedVariant2["Boxed"] = "boxed";
972
973
  return SegmentedVariant2;
973
974
  })(SegmentedVariant || {});
974
975
 
975
976
  // src/SegmentedControl/segmentLook.ts
976
977
  var FILLED_RADIUS = 10;
977
978
  var FILLED_PAD_V = 12;
979
+ var BOXED_RADIUS = 10;
980
+ var BOXED_PAD = 3;
981
+ var BOXED_GAP = 2;
982
+ var BOXED_SEGMENT_RADIUS = 7;
983
+ var BOXED_PAD_V = 6;
984
+ var BOXED_PAD_H = 12;
985
+ var BOXED_FONT = 13;
978
986
  var TRANSPARENT = "transparent";
979
987
  var styles10 = reactNative.StyleSheet.create({
980
988
  filledTrack: { borderRadius: FILLED_RADIUS, padding: 0, gap: 0, overflow: "hidden" },
981
989
  filledSegment: { borderRadius: 0, paddingVertical: FILLED_PAD_V },
990
+ boxedTrack: { borderRadius: BOXED_RADIUS, padding: BOXED_PAD, gap: BOXED_GAP },
991
+ boxedSegment: { borderRadius: BOXED_SEGMENT_RADIUS, paddingVertical: BOXED_PAD_V, paddingHorizontal: BOXED_PAD_H },
992
+ boxedLabel: { fontSize: BOXED_FONT },
982
993
  stretchTrack: { alignSelf: "stretch" },
983
994
  stretchSegment: { flex: 1 }
984
995
  });
985
996
  function segmentLook(variant, selected, colors, selectedColor) {
986
997
  if (!selected) return { fill: TRANSPARENT, ink: colors.textSecondary };
987
998
  if (variant === "filled" /* Filled */) return { fill: selectedColor ?? colors.text, ink: colors.surface };
999
+ if (variant === "boxed" /* Boxed */) return { fill: selectedColor ?? colors.surface, ink: colors.text };
988
1000
  return { fill: colors.surface, ink: colors.text };
989
1001
  }
990
1002
  function trackShape(variant, stretch) {
991
1003
  const shape = [];
992
1004
  if (variant === "filled" /* Filled */) shape.push(styles10.filledTrack);
1005
+ if (variant === "boxed" /* Boxed */) shape.push(styles10.boxedTrack);
993
1006
  if (stretch) shape.push(styles10.stretchTrack);
994
1007
  return shape;
995
1008
  }
996
1009
  function segmentShape(variant, stretch) {
997
1010
  const shape = [];
998
1011
  if (variant === "filled" /* Filled */) shape.push(styles10.filledSegment);
1012
+ if (variant === "boxed" /* Boxed */) shape.push(styles10.boxedSegment);
999
1013
  if (stretch) shape.push(styles10.stretchSegment);
1000
1014
  return shape;
1001
1015
  }
1016
+ function labelShape(variant) {
1017
+ return variant === "boxed" /* Boxed */ ? [styles10.boxedLabel] : [];
1018
+ }
1002
1019
  var TRACK_PADDING = 3;
1003
1020
  var TRACK_RADIUS = 999;
1004
1021
  var SEGMENT_RADIUS = 999;
@@ -1086,7 +1103,7 @@ function SegmentedControl({
1086
1103
  ],
1087
1104
  testID: opt.testID,
1088
1105
  ...ariaSelectedProps(selected),
1089
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.label, { color: look.ink }], children: opt.label })
1106
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.label, ...labelShape(variant), { color: look.ink }], children: opt.label })
1090
1107
  },
1091
1108
  opt.value
1092
1109
  );
@@ -2528,10 +2545,10 @@ function useAccordionContext() {
2528
2545
  }
2529
2546
  return value;
2530
2547
  }
2531
- var BOXED_GAP = 12;
2548
+ var BOXED_GAP2 = 12;
2532
2549
  var styles22 = reactNative.StyleSheet.create({
2533
2550
  container: { alignSelf: "stretch" },
2534
- boxed: { gap: BOXED_GAP }
2551
+ boxed: { gap: BOXED_GAP2 }
2535
2552
  });
2536
2553
  function computeInitialOpen(children, defaultOpenIds, allowMultiple) {
2537
2554
  const ids = new Set(defaultOpenIds ?? []);
@@ -3339,6 +3356,7 @@ var ListRow = ({
3339
3356
  meta,
3340
3357
  badges,
3341
3358
  after,
3359
+ divider = true,
3342
3360
  selected,
3343
3361
  selectedStyle = "surface" /* Surface */,
3344
3362
  onPress,
@@ -3363,7 +3381,7 @@ var ListRow = ({
3363
3381
  style: (state) => {
3364
3382
  const { pressed, hovered } = state;
3365
3383
  const look = resolveRowLook(selectedStyle, { selected, pressed, focused, hovered: hovered === true }, palette);
3366
- return [styles28.row, { borderTopColor: colors.border }, look.container];
3384
+ return [styles28.row, { borderTopColor: colors.border, borderTopWidth: divider ? 1 : 0 }, look.container];
3367
3385
  },
3368
3386
  testID,
3369
3387
  onBlur: () => {
@@ -3907,16 +3925,20 @@ function isRecordHeaderCompact(width, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
3907
3925
  }
3908
3926
  var GAP2 = 8;
3909
3927
  var WIDE_GAP = 16;
3928
+ var ACTIONS_MAX_SHARE = "60%";
3910
3929
  var styles38 = reactNative.StyleSheet.create({
3911
- actions: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP2, justifyContent: "flex-end" },
3930
+ actions: { alignItems: "center", flexDirection: "row", flexShrink: 1, flexWrap: "wrap", gap: GAP2, justifyContent: "flex-end", maxWidth: ACTIONS_MAX_SHARE },
3912
3931
  compactActions: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP2 },
3913
3932
  identity: { flex: 1, gap: GAP2, minWidth: 0 },
3914
3933
  root: { gap: GAP2 },
3915
3934
  top: { alignItems: "flex-start", flexDirection: "row", gap: WIDE_GAP }
3916
3935
  });
3936
+ function actionsStyleOf(compact) {
3937
+ return compact ? styles38.compactActions : styles38.actions;
3938
+ }
3917
3939
  var RecordHeader = ({ breadcrumb, title, meta, actions, collapseBelow, testID }) => {
3918
3940
  const compact = isRecordHeaderCompact(reactNative.useWindowDimensions().width, collapseBelow);
3919
- const actionRow = actions === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: compact ? styles38.compactActions : styles38.actions, children: actions });
3941
+ const actionRow = actions === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: actionsStyleOf(compact), children: actions });
3920
3942
  return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles38.root, testID, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: compact ? styles38.root : styles38.top, children: [
3921
3943
  /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles38.identity, children: [
3922
3944
  breadcrumb,
@@ -3988,6 +4010,14 @@ var RecordActionButton = ({ label, hint, testID, icon, onPress, iconOnly = false
3988
4010
  }
3989
4011
  );
3990
4012
  };
4013
+
4014
+ // src/CopyableId/IdEllipsis.ts
4015
+ var IdEllipsis = /* @__PURE__ */ ((IdEllipsis2) => {
4016
+ IdEllipsis2["Head"] = "head";
4017
+ IdEllipsis2["Middle"] = "middle";
4018
+ IdEllipsis2["Tail"] = "tail";
4019
+ return IdEllipsis2;
4020
+ })(IdEllipsis || {});
3991
4021
  var RADIUS2 = 6;
3992
4022
  var PAD_H3 = 10;
3993
4023
  var GAP5 = 6;
@@ -3997,9 +4027,10 @@ var COPIED_GLYPH = "\u2713";
3997
4027
  var MONO = reactNative.Platform.select({ web: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", default: "monospace" });
3998
4028
  var styles41 = reactNative.StyleSheet.create({
3999
4029
  chip: { alignItems: "center", alignSelf: "flex-start", borderRadius: RADIUS2, borderWidth: 1, flexDirection: "row", gap: GAP5, maxWidth: "100%", minHeight: MIN_TARGET_PX, paddingHorizontal: PAD_H3 },
4000
- text: { flexShrink: 1, fontFamily: MONO, fontSize: FONT_SIZE3 }
4030
+ text: { flexShrink: 1, fontFamily: MONO, fontSize: FONT_SIZE3 },
4031
+ fixed: { flexShrink: 0, fontFamily: MONO, fontSize: FONT_SIZE3 }
4001
4032
  });
4002
- var IdChip = ({ label, value, testID, accessibilityLabel, accessibilityHint, display, valueTestID, writer }) => {
4033
+ var IdChip = ({ label, value, testID, accessibilityLabel, accessibilityHint, display, valueTestID, writer, width, ellipsis = "tail" /* Tail */ }) => {
4003
4034
  const { theme } = uiFeedback.useUi();
4004
4035
  const copyable = value !== null && value !== "";
4005
4036
  const { status, copy } = useCopyToClipboard(value ?? "", writer);
@@ -4012,24 +4043,33 @@ var IdChip = ({ label, value, testID, accessibilityLabel, accessibilityHint, dis
4012
4043
  accessibilityRole: "button",
4013
4044
  accessibilityState: { disabled: !copyable },
4014
4045
  disabled: !copyable,
4015
- style: [styles41.chip, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }],
4046
+ style: [styles41.chip, width === void 0 ? null : { width }, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }],
4016
4047
  testID,
4017
4048
  onPress: copyable ? copy : void 0,
4018
4049
  children: [
4019
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles41.text, { color: theme.colors.textSecondary }], children: label }),
4020
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles41.text, ink], testID: valueTestID, children: display ?? value }),
4021
- copyable ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles41.text, ink], testID: `${testID}-glyph`, children: status === "copied" /* Copied */ ? COPIED_GLYPH : COPY_GLYPH }) : null
4050
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles41.fixed, { color: theme.colors.textSecondary }], children: label }),
4051
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { ellipsizeMode: ellipsis, numberOfLines: 1, style: [styles41.text, ink], testID: valueTestID, children: display ?? value }),
4052
+ copyable ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { "aria-hidden": true, style: [styles41.fixed, ink], testID: `${testID}-glyph`, children: status === "copied" /* Copied */ ? COPIED_GLYPH : COPY_GLYPH }) : null
4022
4053
  ]
4023
4054
  }
4024
4055
  );
4025
4056
  };
4057
+ var TITLE_FONT = 15;
4058
+ var TITLE_GAP = 12;
4059
+ var styles42 = reactNative.StyleSheet.create({
4060
+ title: { fontSize: TITLE_FONT, fontWeight: "700", marginBottom: TITLE_GAP }
4061
+ });
4062
+ var CardTitle = ({ label, testID }) => {
4063
+ const { theme } = uiFeedback.useUi();
4064
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles42.title, { color: theme.colors.text }], testID, children: label });
4065
+ };
4026
4066
  var STEP_WIDTH = 8;
4027
4067
  var STEP_OPACITIES = [0.35, 0.65, 0.9];
4028
- var styles42 = reactNative.StyleSheet.create({
4068
+ var styles43 = reactNative.StyleSheet.create({
4029
4069
  fade: { bottom: 0, flexDirection: "row", position: "absolute", right: 0, top: 0 },
4030
4070
  step: { width: STEP_WIDTH }
4031
4071
  });
4032
- var EdgeFadeStrip = ({ color }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, pointerEvents: "none", style: styles42.fade, children: STEP_OPACITIES.map((opacity) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles42.step, { backgroundColor: color, opacity }] }, opacity)) });
4072
+ var EdgeFadeStrip = ({ color }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, pointerEvents: "none", style: styles43.fade, children: STEP_OPACITIES.map((opacity) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles43.step, { backgroundColor: color, opacity }] }, opacity)) });
4033
4073
  var SLACK_PX = 1;
4034
4074
  function showsEdgeFade({ contentWidth, viewportWidth, offset }) {
4035
4075
  return contentWidth - viewportWidth - offset > SLACK_PX;
@@ -4056,7 +4096,7 @@ var COUNT_FONT = 12;
4056
4096
  var COUNT_MIN = 22;
4057
4097
  var COUNT_PAD = 6;
4058
4098
  var PILL = 999;
4059
- var styles43 = reactNative.StyleSheet.create({
4099
+ var styles44 = reactNative.StyleSheet.create({
4060
4100
  chip: { alignItems: "center", borderRadius: PILL, borderWidth: 1, flexDirection: "row", gap: GAP6, justifyContent: "center", minHeight: MIN_TARGET_PX, minWidth: MIN_TARGET_PX, paddingHorizontal: CHIP_PAD_H },
4061
4101
  chipCount: { fontSize: FONT_SIZE4, fontWeight: "700" },
4062
4102
  count: { borderRadius: PILL, fontSize: COUNT_FONT, fontWeight: "700", minWidth: COUNT_MIN, paddingHorizontal: COUNT_PAD, textAlign: "center" },
@@ -4080,10 +4120,10 @@ var TabPressable = ({ tab, selected, onChange, style, children }) => /* @__PURE_
4080
4120
  var UnderlineTabItem = ({ underline, activeText, ...item }) => {
4081
4121
  const { theme } = uiFeedback.useUi();
4082
4122
  const selectedInk = activeText ?? theme.colors.text;
4083
- return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles43.tab, { borderBottomColor: item.selected ? underline : "transparent" }], children: [
4123
+ return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles44.tab, { borderBottomColor: item.selected ? underline : "transparent" }], children: [
4084
4124
  item.tab.icon ?? null,
4085
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.label, { color: item.selected ? selectedInk : theme.colors.textSecondary }], children: item.tab.label }),
4086
- item.tab.count === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.count, { backgroundColor: theme.colors.border, color: theme.colors.text }], children: String(item.tab.count) })
4125
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.label, { color: item.selected ? selectedInk : theme.colors.textSecondary }], children: item.tab.label }),
4126
+ item.tab.count === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.count, { backgroundColor: theme.colors.border, color: theme.colors.text }], children: String(item.tab.count) })
4087
4127
  ] });
4088
4128
  };
4089
4129
  var ChipTabItem = ({ activeFill, activeText, ...item }) => {
@@ -4091,9 +4131,9 @@ var ChipTabItem = ({ activeFill, activeText, ...item }) => {
4091
4131
  const selectedFill = activeFill ?? theme.colors.text;
4092
4132
  const fill = item.selected ? selectedFill : "transparent";
4093
4133
  const ink = item.selected ? activeText ?? theme.colors.background : theme.colors.text;
4094
- return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles43.chip, { backgroundColor: fill, borderColor: item.selected ? selectedFill : theme.colors.border }], children: [
4095
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.label, { color: ink }], children: item.tab.label }),
4096
- item.tab.count === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.chipCount, { color: ink }], children: String(item.tab.count) })
4134
+ return /* @__PURE__ */ jsxRuntime.jsxs(TabPressable, { ...item, style: [styles44.chip, { backgroundColor: fill, borderColor: item.selected ? selectedFill : theme.colors.border }], children: [
4135
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.label, { color: ink }], children: item.tab.label }),
4136
+ item.tab.count === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.chipCount, { color: ink }], children: String(item.tab.count) })
4097
4137
  ] });
4098
4138
  };
4099
4139
 
@@ -4107,7 +4147,7 @@ var DEFAULT_UNDERLINE_STEP = "700";
4107
4147
  var SCROLL_THROTTLE_MS = 16;
4108
4148
  var CHIP_GAP = 8;
4109
4149
  var CHIP_PAD_V = 4;
4110
- var styles44 = reactNative.StyleSheet.create({
4150
+ var styles45 = reactNative.StyleSheet.create({
4111
4151
  chipRow: { alignItems: "center", flexDirection: "row", gap: CHIP_GAP, paddingVertical: CHIP_PAD_V },
4112
4152
  chipWrap: { flexWrap: "wrap" },
4113
4153
  strip: { position: "relative", width: "100%" }
@@ -4121,35 +4161,35 @@ var UnderlineTabs = ({ tabs, activeKey, onChange, accessibilityLabel, accessibil
4121
4161
  const item = { tab, selected: tab.key === activeKey, onChange, activeText: activeTextColor };
4122
4162
  return chips ? /* @__PURE__ */ jsxRuntime.jsx(ChipTabItem, { ...item, activeFill: activeFillColor }, tab.key) : /* @__PURE__ */ jsxRuntime.jsx(UnderlineTabItem, { ...item, underline }, tab.key);
4123
4163
  });
4124
- const stripStyle = chips ? styles44.strip : [styles44.strip, { borderBottomColor: theme.colors.border, borderBottomWidth: 1 }];
4164
+ const stripStyle = chips ? styles45.strip : [styles45.strip, { borderBottomColor: theme.colors.border, borderBottomWidth: 1 }];
4125
4165
  if (chips && chipOverflow === "wrap" /* Wrap */) {
4126
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles44.chipRow, styles44.chipWrap], testID, children: items });
4166
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles45.chipRow, styles45.chipWrap], testID, children: items });
4127
4167
  }
4128
4168
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: stripStyle, testID, children: [
4129
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { horizontal: true, accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, contentContainerStyle: chips ? styles44.chipRow : void 0, scrollEventThrottle: SCROLL_THROTTLE_MS, showsHorizontalScrollIndicator: false, onContentSizeChange: fade.onContentSizeChange, onLayout: fade.onLayout, onScroll: fade.onScroll, children: items }),
4169
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { horizontal: true, accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, contentContainerStyle: chips ? styles45.chipRow : void 0, scrollEventThrottle: SCROLL_THROTTLE_MS, showsHorizontalScrollIndicator: false, onContentSizeChange: fade.onContentSizeChange, onLayout: fade.onLayout, onScroll: fade.onScroll, children: items }),
4130
4170
  fade.visible ? /* @__PURE__ */ jsxRuntime.jsx(EdgeFadeStrip, { color: fadeColor ?? theme.colors.background }) : null
4131
4171
  ] });
4132
4172
  };
4133
4173
  var RADIUS3 = 12;
4134
4174
  var PAD = 16;
4135
4175
  var GAP7 = 8;
4136
- var TITLE_FONT = 15;
4137
- var styles45 = reactNative.StyleSheet.create({
4176
+ var TITLE_FONT2 = 15;
4177
+ var styles46 = reactNative.StyleSheet.create({
4138
4178
  card: { borderRadius: RADIUS3, borderWidth: 1, gap: GAP7, minWidth: 0, padding: PAD },
4139
4179
  footer: { alignItems: "flex-start", flexDirection: "row", flexWrap: "wrap", gap: GAP7 },
4140
4180
  head: { alignItems: "center", flexDirection: "row", gap: GAP7 },
4141
- title: { flex: 1, fontSize: TITLE_FONT, fontWeight: "700" }
4181
+ title: { flex: 1, fontSize: TITLE_FONT2, fontWeight: "700" }
4142
4182
  });
4143
4183
  var WidgetCard = ({ title, children, icon, headerRight, footer, testID }) => {
4144
4184
  const { theme } = uiFeedback.useUi();
4145
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles45.card, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }], testID, children: [
4146
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles45.head, children: [
4185
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles46.card, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }], testID, children: [
4186
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles46.head, children: [
4147
4187
  icon === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, children: icon }),
4148
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles45.title, { color: theme.colors.text }], children: title }),
4188
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles46.title, { color: theme.colors.text }], children: title }),
4149
4189
  headerRight
4150
4190
  ] }),
4151
4191
  children,
4152
- footer === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles45.footer, children: footer })
4192
+ footer === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles46.footer, children: footer })
4153
4193
  ] });
4154
4194
  };
4155
4195
  var LEAD_LABEL_SIZE = 14;
@@ -4161,7 +4201,7 @@ var GAP8 = 12;
4161
4201
  var LEAD_GAP = 4;
4162
4202
  var LEAD_BORDER = 1.5;
4163
4203
  var ACCENT_STEP = "500";
4164
- var styles46 = reactNative.StyleSheet.create({
4204
+ var styles47 = reactNative.StyleSheet.create({
4165
4205
  slip: { gap: GAP8, width: "100%" },
4166
4206
  lead: { padding: LEAD_PAD, borderRadius: LEAD_RADIUS, borderWidth: LEAD_BORDER, gap: LEAD_GAP },
4167
4207
  leadLabel: { fontSize: LEAD_LABEL_SIZE },
@@ -4173,13 +4213,13 @@ var TransferSlip = ({ leadLabel, amount, recipient, children, footer, testID })
4173
4213
  const { theme } = uiFeedback.useUi();
4174
4214
  const { colors } = theme;
4175
4215
  const accent = theme.palette.primary[ACCENT_STEP];
4176
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles46.slip, testID, children: [
4177
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles46.lead, { borderColor: accent, backgroundColor: colors.surface }], testID: `${testID}-lead`, children: [
4178
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.leadLabel, { color: colors.textSecondary }], children: leadLabel }),
4179
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.amount, { color: colors.text }], testID: `${testID}-amount`, children: amount }),
4180
- recipient !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles46.recipient, { color: colors.text }], children: recipient })
4216
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles47.slip, testID, children: [
4217
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles47.lead, { borderColor: accent, backgroundColor: colors.surface }], testID: `${testID}-lead`, children: [
4218
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles47.leadLabel, { color: colors.textSecondary }], children: leadLabel }),
4219
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles47.amount, { color: colors.text }], testID: `${testID}-amount`, children: amount }),
4220
+ recipient !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles47.recipient, { color: colors.text }], children: recipient })
4181
4221
  ] }),
4182
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles46.rows, children }),
4222
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles47.rows, children }),
4183
4223
  footer
4184
4224
  ] });
4185
4225
  };
@@ -4212,7 +4252,7 @@ var STACK_GAP = 8;
4212
4252
  var ROW_PAD = 10;
4213
4253
  var TEXT_GAP = 2;
4214
4254
  var MONO_SPACING = 1;
4215
- var styles47 = reactNative.StyleSheet.create({
4255
+ var styles48 = reactNative.StyleSheet.create({
4216
4256
  inline: { flexDirection: "row", alignItems: "center", gap: ROW_GAP3, paddingVertical: ROW_PAD, borderTopWidth: reactNative.StyleSheet.hairlineWidth },
4217
4257
  prominent: { gap: STACK_GAP, paddingVertical: ROW_PAD },
4218
4258
  text: { flex: 1, minWidth: 0, gap: TEXT_GAP },
@@ -4236,10 +4276,10 @@ var CopyValueRow = ({
4236
4276
  const { status, copy } = useCopyToClipboard(copyValue ?? value, writer);
4237
4277
  const action = copyActionLabel(status, labels);
4238
4278
  const prominent = emphasis === "prominent" /* Prominent */;
4239
- const valueStyle = prominent || monospace ? styles47.big : styles47.value;
4240
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: prominent ? styles47.prominent : [styles47.inline, { borderTopColor: colors.border }], testID, children: [
4241
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles47.text, children: [
4242
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles47.label, { color: colors.textSecondary }], children: label }),
4279
+ const valueStyle = prominent || monospace ? styles48.big : styles48.value;
4280
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: prominent ? styles48.prominent : [styles48.inline, { borderTopColor: colors.border }], testID, children: [
4281
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles48.text, children: [
4282
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles48.label, { color: colors.textSecondary }], children: label }),
4243
4283
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { selectable: true, style: [valueStyle, { color: colors.text }], testID: `${testID}-value`, children: value })
4244
4284
  ] }),
4245
4285
  copyControl === "icon" /* Icon */ ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -4282,7 +4322,7 @@ var TILE_PAD = 12;
4282
4322
  var TILE_RADIUS = 10;
4283
4323
  var TILE_GAP = 2;
4284
4324
  var ALERT_STEP = "500";
4285
- var styles48 = reactNative.StyleSheet.create({
4325
+ var styles49 = reactNative.StyleSheet.create({
4286
4326
  tile: { padding: TILE_PAD, borderRadius: TILE_RADIUS, borderWidth: reactNative.StyleSheet.hairlineWidth, gap: TILE_GAP },
4287
4327
  label: { fontSize: LABEL_SIZE2, fontWeight: "600" },
4288
4328
  value: { fontSize: VALUE_SIZE2, fontWeight: "700" },
@@ -4296,19 +4336,19 @@ var TotalsStrip = ({ items, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT, testID }) =
4296
4336
  return /* @__PURE__ */ jsxRuntime.jsx(FigureStrip, { testID, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
4297
4337
  reactNative.View,
4298
4338
  {
4299
- style: [styles48.tile, figureCell(wide), { borderColor: colors.border, backgroundColor: colors.surfaceElevated }],
4339
+ style: [styles49.tile, figureCell(wide), { borderColor: colors.border, backgroundColor: colors.surfaceElevated }],
4300
4340
  testID: `${testID}-${item.key}`,
4301
4341
  children: [
4302
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles48.label, { color: colors.textSecondary }], children: item.label }),
4342
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles49.label, { color: colors.textSecondary }], children: item.label }),
4303
4343
  /* @__PURE__ */ jsxRuntime.jsx(
4304
4344
  reactNative.Text,
4305
4345
  {
4306
- style: [styles48.value, { color: item.tone === "alert" /* Alert */ ? theme.semantic.error[ALERT_STEP] : colors.text }],
4346
+ style: [styles49.value, { color: item.tone === "alert" /* Alert */ ? theme.semantic.error[ALERT_STEP] : colors.text }],
4307
4347
  testID: `${testID}-${item.key}-value`,
4308
4348
  children: item.value
4309
4349
  }
4310
4350
  ),
4311
- item.caption !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles48.caption, { color: colors.textSecondary }], children: item.caption })
4351
+ item.caption !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles49.caption, { color: colors.textSecondary }], children: item.caption })
4312
4352
  ]
4313
4353
  },
4314
4354
  item.key
@@ -4359,6 +4399,7 @@ exports.BottomSheet = BottomSheet;
4359
4399
  exports.Breadcrumb = Breadcrumb;
4360
4400
  exports.BuildInfoFooter = BuildInfoFooter;
4361
4401
  exports.COPY_FEEDBACK_MS = COPY_FEEDBACK_MS;
4402
+ exports.CardTitle = CardTitle;
4362
4403
  exports.ChipOverflow = ChipOverflow;
4363
4404
  exports.ConfirmDialog = ConfirmDialog;
4364
4405
  exports.ConfirmDialogFocus = ConfirmDialogFocus;
@@ -4379,6 +4420,7 @@ exports.FormDialog = FormDialog;
4379
4420
  exports.HEADER_STACK_BREAKPOINT = HEADER_STACK_BREAKPOINT;
4380
4421
  exports.Heading = Heading;
4381
4422
  exports.IdChip = IdChip;
4423
+ exports.IdEllipsis = IdEllipsis;
4382
4424
  exports.LAYOUT_COLLAPSE_BREAKPOINT = LAYOUT_COLLAPSE_BREAKPOINT;
4383
4425
  exports.LAYOUT_I18N = LAYOUT_I18N;
4384
4426
  exports.LAYOUT_TEST_IDS = LAYOUT_TEST_IDS;