@dloizides/ui-layout 1.34.0 → 1.36.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.d.mts CHANGED
@@ -104,10 +104,11 @@ interface StickyPreviewProps {
104
104
  forceCompact?: boolean;
105
105
  topOffset?: number;
106
106
  accessibilityLabel: string;
107
+ accessibilityHint?: string;
107
108
  testID?: string;
108
109
  }
109
110
  /** Keeps a preview at the top of the visible viewport, swapping to its compact slot while space is short. */
110
- declare const StickyPreview: ({ full, compact, forceCompact, topOffset, accessibilityLabel, testID, }: StickyPreviewProps) => React.ReactElement;
111
+ declare const StickyPreview: ({ full, compact, forceCompact, topOffset, accessibilityLabel, accessibilityHint, testID, }: StickyPreviewProps) => React.ReactElement;
111
112
 
112
113
  interface VisibleViewport {
113
114
  offsetTop: number;
@@ -956,4 +957,64 @@ declare const MIN_TARGET_PX = 44;
956
957
  */
957
958
  declare function isWideWebViewport(width: number, platformOS: string, breakpoint?: number): boolean;
958
959
 
959
- export { API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, ConfirmDialog, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, CopyableId, type CopyableIdProps, DEFAULT_BILLING_ROUTE, type DropdownOption, type DropdownTriggerState, DropdownVariant, ELLIPSIS, Heading, type HeadingLevel, type HeadingProps, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, MIN_TARGET_PX, Modal, ModalDropdown, type ModalDropdownProps, type ModalProps, ModalShell, type ModalShellProps, type ModalSize, ScreenColumn, type ScreenColumnProps, Section, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SelectedMarker, StatusBadge, type StatusBadgeProps, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TextKind, TruncatedText, type TruncatedTextProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, copyText, formatBuildInfo, formatUrlForDisplay, isKeyboardOpen, isWideWebViewport, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useVisibleViewport };
960
+ declare enum RowSelectedStyle {
961
+ Surface = "surface",
962
+ AccentBar = "accent-bar",
963
+ Filled = "filled",
964
+ Raised = "raised",
965
+ Outline = "outline",
966
+ Check = "check"
967
+ }
968
+
969
+ interface ListRowProps {
970
+ title: React.ReactNode;
971
+ trailing?: React.ReactNode;
972
+ meta?: React.ReactNode;
973
+ badges?: React.ReactNode;
974
+ after?: React.ReactNode;
975
+ selected: boolean;
976
+ selectedStyle?: RowSelectedStyle;
977
+ onPress: () => void;
978
+ accessibilityLabel: string;
979
+ accessibilityHint: string;
980
+ testID?: string;
981
+ }
982
+ /** A selectable list row with title, trailing, meta and badge slots and one selected-style setting. */
983
+ declare const ListRow: ({ title, trailing, meta, badges, after, selected, selectedStyle, onPress, accessibilityLabel, accessibilityHint, testID, }: ListRowProps) => React.ReactElement;
984
+
985
+ interface ListRowTone {
986
+ textColor: string;
987
+ inverse: boolean;
988
+ }
989
+ /** Reads the enclosing `ListRow` text tone so custom slot content follows a filled row; `null` outside a row. */
990
+ declare function useListRowTone(): ListRowTone | null;
991
+
992
+ interface RowPalette {
993
+ accent: string;
994
+ accentTint: string;
995
+ background: string;
996
+ surface: string;
997
+ border: string;
998
+ text: string;
999
+ hover: string;
1000
+ pressed: string;
1001
+ focus: string;
1002
+ }
1003
+ interface RowState {
1004
+ selected: boolean;
1005
+ hovered: boolean;
1006
+ pressed: boolean;
1007
+ focused: boolean;
1008
+ }
1009
+ interface RowLook {
1010
+ container: ViewStyle;
1011
+ titleColor: string;
1012
+ textColor: string;
1013
+ inverse: boolean;
1014
+ showCheck: boolean;
1015
+ checkFilled: boolean;
1016
+ }
1017
+ /** Resolves a row's container style and text colours from its selected style and state. */
1018
+ declare function resolveRowLook(style: RowSelectedStyle, state: RowState, palette: RowPalette): RowLook;
1019
+
1020
+ export { API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, ConfirmDialog, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, CopyableId, type CopyableIdProps, DEFAULT_BILLING_ROUTE, type DropdownOption, type DropdownTriggerState, DropdownVariant, ELLIPSIS, Heading, type HeadingLevel, type HeadingProps, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListRow, type ListRowProps, type ListRowTone, MIN_TARGET_PX, Modal, ModalDropdown, type ModalDropdownProps, type ModalProps, ModalShell, type ModalShellProps, type ModalSize, type RowLook, type RowPalette, RowSelectedStyle, type RowState, ScreenColumn, type ScreenColumnProps, Section, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SelectedMarker, StatusBadge, type StatusBadgeProps, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TextKind, TruncatedText, type TruncatedTextProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, copyText, formatBuildInfo, formatUrlForDisplay, isKeyboardOpen, isWideWebViewport, resolveRowLook, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
package/dist/index.d.ts CHANGED
@@ -104,10 +104,11 @@ interface StickyPreviewProps {
104
104
  forceCompact?: boolean;
105
105
  topOffset?: number;
106
106
  accessibilityLabel: string;
107
+ accessibilityHint?: string;
107
108
  testID?: string;
108
109
  }
109
110
  /** Keeps a preview at the top of the visible viewport, swapping to its compact slot while space is short. */
110
- declare const StickyPreview: ({ full, compact, forceCompact, topOffset, accessibilityLabel, testID, }: StickyPreviewProps) => React.ReactElement;
111
+ declare const StickyPreview: ({ full, compact, forceCompact, topOffset, accessibilityLabel, accessibilityHint, testID, }: StickyPreviewProps) => React.ReactElement;
111
112
 
112
113
  interface VisibleViewport {
113
114
  offsetTop: number;
@@ -956,4 +957,64 @@ declare const MIN_TARGET_PX = 44;
956
957
  */
957
958
  declare function isWideWebViewport(width: number, platformOS: string, breakpoint?: number): boolean;
958
959
 
959
- export { API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, ConfirmDialog, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, CopyableId, type CopyableIdProps, DEFAULT_BILLING_ROUTE, type DropdownOption, type DropdownTriggerState, DropdownVariant, ELLIPSIS, Heading, type HeadingLevel, type HeadingProps, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, MIN_TARGET_PX, Modal, ModalDropdown, type ModalDropdownProps, type ModalProps, ModalShell, type ModalShellProps, type ModalSize, ScreenColumn, type ScreenColumnProps, Section, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SelectedMarker, StatusBadge, type StatusBadgeProps, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TextKind, TruncatedText, type TruncatedTextProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, copyText, formatBuildInfo, formatUrlForDisplay, isKeyboardOpen, isWideWebViewport, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useVisibleViewport };
960
+ declare enum RowSelectedStyle {
961
+ Surface = "surface",
962
+ AccentBar = "accent-bar",
963
+ Filled = "filled",
964
+ Raised = "raised",
965
+ Outline = "outline",
966
+ Check = "check"
967
+ }
968
+
969
+ interface ListRowProps {
970
+ title: React.ReactNode;
971
+ trailing?: React.ReactNode;
972
+ meta?: React.ReactNode;
973
+ badges?: React.ReactNode;
974
+ after?: React.ReactNode;
975
+ selected: boolean;
976
+ selectedStyle?: RowSelectedStyle;
977
+ onPress: () => void;
978
+ accessibilityLabel: string;
979
+ accessibilityHint: string;
980
+ testID?: string;
981
+ }
982
+ /** A selectable list row with title, trailing, meta and badge slots and one selected-style setting. */
983
+ declare const ListRow: ({ title, trailing, meta, badges, after, selected, selectedStyle, onPress, accessibilityLabel, accessibilityHint, testID, }: ListRowProps) => React.ReactElement;
984
+
985
+ interface ListRowTone {
986
+ textColor: string;
987
+ inverse: boolean;
988
+ }
989
+ /** Reads the enclosing `ListRow` text tone so custom slot content follows a filled row; `null` outside a row. */
990
+ declare function useListRowTone(): ListRowTone | null;
991
+
992
+ interface RowPalette {
993
+ accent: string;
994
+ accentTint: string;
995
+ background: string;
996
+ surface: string;
997
+ border: string;
998
+ text: string;
999
+ hover: string;
1000
+ pressed: string;
1001
+ focus: string;
1002
+ }
1003
+ interface RowState {
1004
+ selected: boolean;
1005
+ hovered: boolean;
1006
+ pressed: boolean;
1007
+ focused: boolean;
1008
+ }
1009
+ interface RowLook {
1010
+ container: ViewStyle;
1011
+ titleColor: string;
1012
+ textColor: string;
1013
+ inverse: boolean;
1014
+ showCheck: boolean;
1015
+ checkFilled: boolean;
1016
+ }
1017
+ /** Resolves a row's container style and text colours from its selected style and state. */
1018
+ declare function resolveRowLook(style: RowSelectedStyle, state: RowState, palette: RowPalette): RowLook;
1019
+
1020
+ export { API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, ConfirmDialog, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, CopyableId, type CopyableIdProps, DEFAULT_BILLING_ROUTE, type DropdownOption, type DropdownTriggerState, DropdownVariant, ELLIPSIS, Heading, type HeadingLevel, type HeadingProps, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListRow, type ListRowProps, type ListRowTone, MIN_TARGET_PX, Modal, ModalDropdown, type ModalDropdownProps, type ModalProps, ModalShell, type ModalShellProps, type ModalSize, type RowLook, type RowPalette, RowSelectedStyle, type RowState, ScreenColumn, type ScreenColumnProps, Section, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SelectedMarker, StatusBadge, type StatusBadgeProps, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TextKind, TruncatedText, type TruncatedTextProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, copyText, formatBuildInfo, formatUrlForDisplay, isKeyboardOpen, isWideWebViewport, resolveRowLook, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
package/dist/index.js CHANGED
@@ -346,6 +346,7 @@ var StickyPreview = ({
346
346
  forceCompact = false,
347
347
  topOffset = 0,
348
348
  accessibilityLabel,
349
+ accessibilityHint,
349
350
  testID = LAYOUT_TEST_IDS.stickyPreview
350
351
  }) => {
351
352
  const { theme } = uiFeedback.useUi();
@@ -361,6 +362,7 @@ var StickyPreview = ({
361
362
  /* @__PURE__ */ jsxRuntime.jsx(
362
363
  reactNative.View,
363
364
  {
365
+ accessibilityHint,
364
366
  accessibilityLabel,
365
367
  role: "region",
366
368
  style: [
@@ -2394,6 +2396,222 @@ var BuildInfoFooter = ({
2394
2396
  }
2395
2397
  );
2396
2398
  };
2399
+ var SIZE = 22;
2400
+ var BORDER = 2;
2401
+ var GLYPH_SIZE = 14;
2402
+ var GLYPH_LINE = 16;
2403
+ var TICK = "\u2713";
2404
+ var styles21 = reactNative.StyleSheet.create({
2405
+ circle: {
2406
+ width: SIZE,
2407
+ height: SIZE,
2408
+ borderRadius: SIZE / 2,
2409
+ borderWidth: BORDER,
2410
+ alignItems: "center",
2411
+ justifyContent: "center"
2412
+ },
2413
+ glyph: { fontSize: GLYPH_SIZE, fontWeight: "700", lineHeight: GLYPH_LINE }
2414
+ });
2415
+ var CheckMark = ({ filled, accent, ring, glyphColor, testID }) => /* @__PURE__ */ jsxRuntime.jsx(
2416
+ reactNative.View,
2417
+ {
2418
+ "aria-hidden": true,
2419
+ accessibilityElementsHidden: true,
2420
+ importantForAccessibility: "no-hide-descendants",
2421
+ style: [styles21.circle, { borderColor: filled ? accent : ring, backgroundColor: filled ? accent : void 0 }],
2422
+ testID,
2423
+ children: filled ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles21.glyph, { color: glyphColor }], children: TICK }) : null
2424
+ }
2425
+ );
2426
+ var ListRowToneContext = React11.createContext(null);
2427
+ function useListRowTone() {
2428
+ return React11.useContext(ListRowToneContext);
2429
+ }
2430
+ function useRowPalette() {
2431
+ const { colors, palette, semantic } = uiFeedback.useUi().theme;
2432
+ const accent = palette.primary["500"];
2433
+ const tint = palette.primary["50"] ?? colors.surface;
2434
+ return {
2435
+ accent,
2436
+ accentTint: tint,
2437
+ background: colors.background,
2438
+ surface: colors.surface,
2439
+ border: colors.border,
2440
+ text: colors.text,
2441
+ hover: tint,
2442
+ pressed: palette.primary["100"] ?? colors.surfaceElevated,
2443
+ focus: semantic.info?.["500"] ?? accent
2444
+ };
2445
+ }
2446
+
2447
+ // src/ListRow/RowSelectedStyle.ts
2448
+ var RowSelectedStyle = /* @__PURE__ */ ((RowSelectedStyle2) => {
2449
+ RowSelectedStyle2["Surface"] = "surface";
2450
+ RowSelectedStyle2["AccentBar"] = "accent-bar";
2451
+ RowSelectedStyle2["Filled"] = "filled";
2452
+ RowSelectedStyle2["Raised"] = "raised";
2453
+ RowSelectedStyle2["Outline"] = "outline";
2454
+ RowSelectedStyle2["Check"] = "check";
2455
+ return RowSelectedStyle2;
2456
+ })(RowSelectedStyle || {});
2457
+
2458
+ // src/ListRow/utils/rowLook.ts
2459
+ var BAR_WIDTH = 4;
2460
+ var OUTLINE_WIDTH = 2;
2461
+ var FOCUS_GAP = 2;
2462
+ var FOCUS_WIDTH = 4;
2463
+ var CARD_RADIUS = 8;
2464
+ var CARD_INSET_V = 4;
2465
+ var CARD_INSET_H = 8;
2466
+ var CARD_SHADOW = "0px 2px 8px rgba(20, 30, 50, 0.16)";
2467
+ var TRANSPARENT2 = "transparent";
2468
+ function inset(width, color) {
2469
+ return `inset 0px 0px 0px ${String(width)}px ${color}`;
2470
+ }
2471
+ function interactionFill(state, palette) {
2472
+ if (state.pressed) return palette.pressed;
2473
+ if (state.hovered) return palette.hover;
2474
+ return void 0;
2475
+ }
2476
+ function selectedContainer(style, palette) {
2477
+ switch (style) {
2478
+ case "accent-bar" /* AccentBar */:
2479
+ return { backgroundColor: palette.accentTint, borderLeftColor: palette.accent };
2480
+ case "filled" /* Filled */:
2481
+ return { backgroundColor: palette.accent };
2482
+ case "raised" /* Raised */:
2483
+ return { backgroundColor: palette.background, borderColor: palette.accent, boxShadow: CARD_SHADOW };
2484
+ case "outline" /* Outline */:
2485
+ return { backgroundColor: palette.background, boxShadow: inset(OUTLINE_WIDTH, palette.accent) };
2486
+ case "check" /* Check */:
2487
+ return { backgroundColor: palette.background };
2488
+ default:
2489
+ return { backgroundColor: palette.surface };
2490
+ }
2491
+ }
2492
+ function baseContainer(style) {
2493
+ if (style === "accent-bar" /* AccentBar */) return { borderLeftWidth: BAR_WIDTH, borderLeftColor: TRANSPARENT2 };
2494
+ if (style !== "raised" /* Raised */) return {};
2495
+ return {
2496
+ borderWidth: 1,
2497
+ borderColor: TRANSPARENT2,
2498
+ borderRadius: CARD_RADIUS,
2499
+ marginVertical: CARD_INSET_V,
2500
+ marginHorizontal: CARD_INSET_H
2501
+ };
2502
+ }
2503
+ function withFocus(container, focused, palette) {
2504
+ if (!focused) return container;
2505
+ const ring = `${inset(FOCUS_GAP, palette.background)}, ${inset(FOCUS_WIDTH, palette.focus)}`;
2506
+ const existing = typeof container.boxShadow === "string" ? container.boxShadow : void 0;
2507
+ const keepsInset = existing?.startsWith("inset") === true;
2508
+ return { ...container, boxShadow: keepsInset ? `${ring}, ${String(existing)}` : ring };
2509
+ }
2510
+ function resolveRowLook(style, state, palette) {
2511
+ const inverse = state.selected && style === "filled" /* Filled */;
2512
+ const selected = state.selected ? selectedContainer(style, palette) : {};
2513
+ const fill = inverse ? void 0 : interactionFill(state, palette);
2514
+ const fillStyle = fill === void 0 ? {} : { backgroundColor: fill };
2515
+ const container = { ...baseContainer(style), ...selected, ...fillStyle };
2516
+ const accentsTitle = state.selected && style === "accent-bar" /* AccentBar */;
2517
+ const textColor = inverse ? palette.background : palette.text;
2518
+ return {
2519
+ container: withFocus(container, state.focused, palette),
2520
+ titleColor: accentsTitle ? palette.accent : textColor,
2521
+ textColor,
2522
+ inverse,
2523
+ showCheck: style === "check" /* Check */,
2524
+ checkFilled: style === "check" /* Check */ && state.selected
2525
+ };
2526
+ }
2527
+ var FONT = 15;
2528
+ var PAD_H = 16;
2529
+ var PAD_V = 12;
2530
+ var GAP = 4;
2531
+ var MARK_GAP = 12;
2532
+ var LINE_GAP = 8;
2533
+ var styles22 = reactNative.StyleSheet.create({
2534
+ row: {
2535
+ flexDirection: "row",
2536
+ alignItems: "center",
2537
+ gap: MARK_GAP,
2538
+ paddingHorizontal: PAD_H,
2539
+ paddingVertical: PAD_V,
2540
+ borderTopWidth: 1,
2541
+ minHeight: MIN_TARGET_PX
2542
+ },
2543
+ body: { flex: 1, minWidth: 0, gap: GAP },
2544
+ line: { flexDirection: "row", justifyContent: "space-between", alignItems: "center", gap: LINE_GAP },
2545
+ shrink: { flexShrink: 1, minWidth: 0 },
2546
+ strong: { fontSize: FONT, fontWeight: "600" },
2547
+ badges: { flexDirection: "row", flexWrap: "wrap", gap: GAP, justifyContent: "flex-end" }
2548
+ });
2549
+ function pressedProps(selected) {
2550
+ return { "aria-pressed": selected };
2551
+ }
2552
+ function slot(node, color, strong) {
2553
+ if (typeof node !== "string") return node;
2554
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles22.shrink, strong ? styles22.strong : null, { color }], children: node });
2555
+ }
2556
+ var ListRow = ({
2557
+ title,
2558
+ trailing,
2559
+ meta,
2560
+ badges,
2561
+ after,
2562
+ selected,
2563
+ selectedStyle = "surface" /* Surface */,
2564
+ onPress,
2565
+ accessibilityLabel,
2566
+ accessibilityHint,
2567
+ testID
2568
+ }) => {
2569
+ const palette = useRowPalette();
2570
+ const { colors } = uiFeedback.useUi().theme;
2571
+ const [focused, setFocused] = React11.useState(false);
2572
+ const rest = resolveRowLook(selectedStyle, { selected, hovered: false, pressed: false, focused }, palette);
2573
+ const tone = React11.useMemo(() => ({ textColor: rest.textColor, inverse: rest.inverse }), [rest.textColor, rest.inverse]);
2574
+ const checkTestId = testID === void 0 ? void 0 : `${testID}-check`;
2575
+ return /* @__PURE__ */ jsxRuntime.jsxs(ListRowToneContext.Provider, { value: tone, children: [
2576
+ /* @__PURE__ */ jsxRuntime.jsxs(
2577
+ reactNative.Pressable,
2578
+ {
2579
+ accessibilityHint,
2580
+ accessibilityLabel,
2581
+ accessibilityRole: "button",
2582
+ accessibilityState: { selected },
2583
+ style: (state) => {
2584
+ const { pressed, hovered } = state;
2585
+ const look = resolveRowLook(selectedStyle, { selected, pressed, focused, hovered: hovered === true }, palette);
2586
+ return [styles22.row, { borderTopColor: colors.border }, look.container];
2587
+ },
2588
+ testID,
2589
+ onBlur: () => {
2590
+ setFocused(false);
2591
+ },
2592
+ onFocus: () => {
2593
+ setFocused(true);
2594
+ },
2595
+ onPress,
2596
+ ...pressedProps(selected),
2597
+ children: [
2598
+ rest.showCheck ? /* @__PURE__ */ jsxRuntime.jsx(CheckMark, { accent: palette.accent, filled: rest.checkFilled, glyphColor: palette.background, ring: palette.border, testID: checkTestId }) : null,
2599
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles22.body, children: [
2600
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles22.line, children: [
2601
+ slot(title, rest.titleColor, true),
2602
+ slot(trailing, rest.textColor, true)
2603
+ ] }),
2604
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles22.line, children: [
2605
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles22.shrink, children: slot(meta, rest.textColor, false) }),
2606
+ badges === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles22.badges, children: badges })
2607
+ ] })
2608
+ ] })
2609
+ ]
2610
+ }
2611
+ ),
2612
+ after ?? null
2613
+ ] });
2614
+ };
2397
2615
 
2398
2616
  exports.API_COMMIT_SEPARATOR = API_COMMIT_SEPARATOR;
2399
2617
  exports.Accordion = Accordion;
@@ -2412,10 +2630,12 @@ exports.Heading = Heading;
2412
2630
  exports.LAYOUT_COLLAPSE_BREAKPOINT = LAYOUT_COLLAPSE_BREAKPOINT;
2413
2631
  exports.LAYOUT_I18N = LAYOUT_I18N;
2414
2632
  exports.LAYOUT_TEST_IDS = LAYOUT_TEST_IDS;
2633
+ exports.ListRow = ListRow;
2415
2634
  exports.MIN_TARGET_PX = MIN_TARGET_PX;
2416
2635
  exports.Modal = Modal3;
2417
2636
  exports.ModalDropdown = ModalDropdown;
2418
2637
  exports.ModalShell = ModalShell;
2638
+ exports.RowSelectedStyle = RowSelectedStyle;
2419
2639
  exports.ScreenColumn = ScreenColumn;
2420
2640
  exports.Section = Section;
2421
2641
  exports.SectionVariant = SectionVariant;
@@ -2434,6 +2654,7 @@ exports.formatBuildInfo = formatBuildInfo;
2434
2654
  exports.formatUrlForDisplay = formatUrlForDisplay;
2435
2655
  exports.isKeyboardOpen = isKeyboardOpen;
2436
2656
  exports.isWideWebViewport = isWideWebViewport;
2657
+ exports.resolveRowLook = resolveRowLook;
2437
2658
  exports.shortenCommit = shortenCommit;
2438
2659
  exports.trimTrailingSlash = trimTrailingSlash;
2439
2660
  exports.truncateMiddle = truncateMiddle;
@@ -2441,6 +2662,7 @@ exports.useApiCommit = useApiCommit;
2441
2662
  exports.useCopyToClipboard = useCopyToClipboard;
2442
2663
  exports.useFocusTrap = useFocusTrap;
2443
2664
  exports.useIsWideViewport = useIsWideViewport;
2665
+ exports.useListRowTone = useListRowTone;
2444
2666
  exports.useVisibleViewport = useVisibleViewport;
2445
2667
  //# sourceMappingURL=index.js.map
2446
2668
  //# sourceMappingURL=index.js.map