@dloizides/ui-layout 1.38.2 → 1.39.1

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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import React12, { createContext, useMemo, useState, useRef, useEffect, useCallback, useContext, useLayoutEffect } from 'react';
1
+ import React13, { createContext, useMemo, useState, useRef, useEffect, useCallback, useContext, useLayoutEffect } from 'react';
2
2
  import { StyleSheet, Platform, View, Text, useWindowDimensions, Modal as Modal$1, Animated, TouchableOpacity, ScrollView, Pressable, FlatList, Easing } from 'react-native';
3
3
  import { MODAL_OVERLAY_COLOR, useUi } from '@dloizides/ui-feedback';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -38,7 +38,7 @@ var Section = ({
38
38
  const { theme } = useUi();
39
39
  const isCard = variant === "card" /* Card */;
40
40
  const fill = isCard ? theme.colors.background : theme.colors.surface;
41
- const containerStyle = React12.useMemo(
41
+ const containerStyle = React13.useMemo(
42
42
  () => [styles.card, isCard ? styles.raised : null, { borderColor: theme.colors.border, backgroundColor: fill }, style],
43
43
  [theme.colors.border, fill, isCard, style]
44
44
  );
@@ -99,6 +99,7 @@ var LAYOUT_TEST_IDS = {
99
99
  modalShellClose: "cancel-button",
100
100
  /** Default base testID for the centered `Modal`; ✕ is `modal-close`, backdrop `modal-backdrop`. */
101
101
  modal: "modal",
102
+ sideSheet: "side-sheet",
102
103
  /** Default base testID for `ConfirmDialog`; Confirm/Cancel are `confirm-dialog-{confirm,cancel}`. */
103
104
  confirmDialog: "confirm-dialog",
104
105
  accordion: "accordion",
@@ -206,7 +207,7 @@ var Heading = ({
206
207
  testID
207
208
  }) => {
208
209
  const { theme } = useUi();
209
- const headingStyle = React12.useMemo(
210
+ const headingStyle = React13.useMemo(
210
211
  () => [styles3.heading, { color: theme.colors.text }, style],
211
212
  [theme.colors.text, style]
212
213
  );
@@ -1739,7 +1740,7 @@ var ModalShell = ({
1739
1740
  }) => {
1740
1741
  const { theme, t } = useUi();
1741
1742
  const { style: sheetStyle, mounted } = useEnterExit({ visible, fromScale: PANEL_ENTER_SCALE2 });
1742
- const containerStyle = React12.useMemo(
1743
+ const containerStyle = React13.useMemo(
1743
1744
  () => [styles15.container, { backgroundColor: theme.colors.background }, contentStyle],
1744
1745
  [theme.colors.background, contentStyle]
1745
1746
  );
@@ -1782,10 +1783,87 @@ var ModalShell = ({
1782
1783
  }
1783
1784
  );
1784
1785
  };
1786
+ var SHEET_WIDTH = 560;
1787
+ var PHONE_CORNER = 16;
1788
+ var PHONE_ENTER_OFFSET = 24;
1789
+ var styles16 = StyleSheet.create({
1790
+ root: { flex: 1 },
1791
+ scrim: { backgroundColor: MODAL_OVERLAY_COLOR, pointerEvents: "none" },
1792
+ sheet: { position: "absolute", bottom: 0, overflow: "hidden" },
1793
+ wide: { top: 0, right: 0, width: SHEET_WIDTH, maxWidth: "100%", borderLeftWidth: 1 },
1794
+ phone: {
1795
+ top: MIN_TARGET_PX,
1796
+ left: 0,
1797
+ right: 0,
1798
+ borderTopLeftRadius: PHONE_CORNER,
1799
+ borderTopRightRadius: PHONE_CORNER
1800
+ },
1801
+ title: { paddingHorizontal: 16, paddingTop: 16 },
1802
+ scroll: { flex: 1 },
1803
+ content: { padding: 16, gap: 12 },
1804
+ bar: { flexDirection: "row", justifyContent: "flex-end", gap: 8, padding: 16, borderTopWidth: 1 }
1805
+ });
1806
+ var SideSheet = ({
1807
+ visible,
1808
+ onClose,
1809
+ title,
1810
+ children,
1811
+ footer,
1812
+ testID = LAYOUT_TEST_IDS.sideSheet,
1813
+ accessibilityLabel,
1814
+ initialFocusTestID
1815
+ }) => {
1816
+ const { theme, t } = useUi();
1817
+ const isWide = useIsWideViewport();
1818
+ const sheetRef = useRef(null);
1819
+ const backdrop = useEnterExit({ visible });
1820
+ const panel = useEnterExit({ visible, translateY: isWide ? 0 : PHONE_ENTER_OFFSET });
1821
+ const edges = { borderColor: theme.colors.border };
1822
+ useFocusTrap(sheetRef, visible && panel.mounted, initialFocusTestID);
1823
+ useEscapeKey(visible, onClose);
1824
+ useScrollLock(visible);
1825
+ return /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: onClose, children: /* @__PURE__ */ jsxs(View, { style: styles16.root, children: [
1826
+ /* @__PURE__ */ jsx(Animated.View, { style: [StyleSheet.absoluteFill, styles16.scrim, { opacity: backdrop.style.opacity }] }),
1827
+ /* @__PURE__ */ jsx(
1828
+ Pressable,
1829
+ {
1830
+ accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
1831
+ accessibilityLabel: t(LAYOUT_I18N.dialogClose),
1832
+ accessibilityRole: "button",
1833
+ style: StyleSheet.absoluteFill,
1834
+ testID: `${testID}-scrim`,
1835
+ onPress: onClose
1836
+ }
1837
+ ),
1838
+ /* @__PURE__ */ jsxs(
1839
+ Animated.View,
1840
+ {
1841
+ ref: sheetRef,
1842
+ accessibilityViewIsModal: true,
1843
+ "aria-modal": true,
1844
+ "aria-label": accessibilityLabel ?? title,
1845
+ role: "dialog",
1846
+ style: [
1847
+ styles16.sheet,
1848
+ isWide ? styles16.wide : styles16.phone,
1849
+ edges,
1850
+ { backgroundColor: theme.colors.surface },
1851
+ panel.style
1852
+ ],
1853
+ testID,
1854
+ children: [
1855
+ /* @__PURE__ */ jsx(View, { style: styles16.title, children: /* @__PURE__ */ jsx(AppText, { kind: "title" /* Title */, children: title }) }),
1856
+ /* @__PURE__ */ jsx(ScrollView, { contentContainerStyle: styles16.content, style: styles16.scroll, children }),
1857
+ /* @__PURE__ */ jsx(View, { style: [styles16.bar, edges], children: footer })
1858
+ ]
1859
+ }
1860
+ )
1861
+ ] }) });
1862
+ };
1785
1863
  var MESSAGE_FONT_SIZE2 = 14;
1786
1864
  var MESSAGE_LINE_HEIGHT = 20;
1787
1865
  var BUTTON_GAP = 12;
1788
- var styles16 = StyleSheet.create({
1866
+ var styles17 = StyleSheet.create({
1789
1867
  message: { fontSize: MESSAGE_FONT_SIZE2, lineHeight: MESSAGE_LINE_HEIGHT },
1790
1868
  footer: { flexDirection: "row", justifyContent: "flex-end", columnGap: BUTTON_GAP }
1791
1869
  });
@@ -1804,7 +1882,7 @@ var ConfirmDialog = ({
1804
1882
  const { theme, t } = useUi();
1805
1883
  const resolvedConfirm = confirmLabel ?? t(LAYOUT_I18N.confirm);
1806
1884
  const resolvedCancel = cancelLabel ?? t(LAYOUT_I18N.cancel);
1807
- const footer = /* @__PURE__ */ jsxs(View, { style: styles16.footer, children: [
1885
+ const footer = /* @__PURE__ */ jsxs(View, { style: styles17.footer, children: [
1808
1886
  /* @__PURE__ */ jsx(
1809
1887
  Button,
1810
1888
  {
@@ -1840,7 +1918,7 @@ var ConfirmDialog = ({
1840
1918
  title,
1841
1919
  visible,
1842
1920
  onClose: onCancel,
1843
- children: /* @__PURE__ */ jsx(Text, { style: [styles16.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1921
+ children: /* @__PURE__ */ jsx(Text, { style: [styles17.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
1844
1922
  }
1845
1923
  );
1846
1924
  };
@@ -1853,14 +1931,14 @@ function useAccordionContext() {
1853
1931
  return value;
1854
1932
  }
1855
1933
  var BOXED_GAP = 12;
1856
- var styles17 = StyleSheet.create({
1934
+ var styles18 = StyleSheet.create({
1857
1935
  container: { alignSelf: "stretch" },
1858
1936
  boxed: { gap: BOXED_GAP }
1859
1937
  });
1860
1938
  function computeInitialOpen(children, defaultOpenIds, allowMultiple) {
1861
1939
  const ids = new Set(defaultOpenIds ?? []);
1862
- React12.Children.forEach(children, (child) => {
1863
- if (!React12.isValidElement(child)) return;
1940
+ React13.Children.forEach(children, (child) => {
1941
+ if (!React13.isValidElement(child)) return;
1864
1942
  const props = child.props;
1865
1943
  if (props.defaultOpen === true && typeof props.id === "string") {
1866
1944
  ids.add(props.id);
@@ -1910,7 +1988,7 @@ var Accordion = ({
1910
1988
  [openSet, toggle, allowMultiple, variant]
1911
1989
  );
1912
1990
  const containerStyle = useMemo(() => {
1913
- const base = variant === "boxed" ? [styles17.container, styles17.boxed] : [styles17.container];
1991
+ const base = variant === "boxed" ? [styles18.container, styles18.boxed] : [styles18.container];
1914
1992
  if (style === void 0) return base;
1915
1993
  return [...base, ...Array.isArray(style) ? style : [style]];
1916
1994
  }, [style, variant]);
@@ -1942,7 +2020,7 @@ var BOX_TITLE_FONT_SIZE = 14;
1942
2020
  var BOX_MARKER_FONT_SIZE = 13;
1943
2021
  var BOX_MARKER_GAP = 6;
1944
2022
  var BOX_MARKER = "\u25B8";
1945
- var styles18 = StyleSheet.create({
2023
+ var styles19 = StyleSheet.create({
1946
2024
  item: { borderTopWidth: StyleSheet.hairlineWidth },
1947
2025
  boxItem: { borderWidth: 1, borderRadius: BOX_BORDER_RADIUS, paddingHorizontal: BOX_PADDING_H },
1948
2026
  header: {
@@ -2018,19 +2096,19 @@ var AccordionItem = ({
2018
2096
  );
2019
2097
  const keyboardProps = Platform.OS === "web" ? { onKeyDown: handleKeyDown2 } : {};
2020
2098
  const itemStyle = useMemo(
2021
- () => boxed ? [styles18.boxItem, { borderColor: colors.border }] : [styles18.item, { borderTopColor: colors.border }],
2099
+ () => boxed ? [styles19.boxItem, { borderColor: colors.border }] : [styles19.item, { borderTopColor: colors.border }],
2022
2100
  [boxed, colors.border]
2023
2101
  );
2024
2102
  const headerStyle = useMemo(
2025
2103
  () => [
2026
- styles18.header,
2027
- ...boxed ? [styles18.boxHeader] : [],
2104
+ styles19.header,
2105
+ ...boxed ? [styles19.boxHeader] : [],
2028
2106
  { opacity: disabled ? DISABLED_OPACITY : FULL_OPACITY }
2029
2107
  ],
2030
2108
  [boxed, disabled]
2031
2109
  );
2032
2110
  const resolvedLabel = accessibilityLabel ?? (typeof title === "string" ? title : void 0);
2033
- const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles18.boxTitle : styles18.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
2111
+ const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles19.boxTitle : styles19.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
2034
2112
  return /* @__PURE__ */ jsxs(View, { style: itemStyle, children: [
2035
2113
  /* @__PURE__ */ jsxs(
2036
2114
  Pressable,
@@ -2047,7 +2125,7 @@ var AccordionItem = ({
2047
2125
  onPress: handlePress,
2048
2126
  ...keyboardProps,
2049
2127
  children: [
2050
- /* @__PURE__ */ jsxs(View, { style: [styles18.headerLeft, boxed ? styles18.headerLeftRow : null], children: [
2128
+ /* @__PURE__ */ jsxs(View, { style: [styles19.headerLeft, boxed ? styles19.headerLeftRow : null], children: [
2051
2129
  boxed ? (
2052
2130
  // Decorative — the open/closed state is already conveyed by aria-expanded on the header.
2053
2131
  /* @__PURE__ */ jsx(
@@ -2056,15 +2134,15 @@ var AccordionItem = ({
2056
2134
  accessibilityElementsHidden: true,
2057
2135
  "aria-hidden": true,
2058
2136
  importantForAccessibility: "no-hide-descendants",
2059
- style: [styles18.marker, { transform: [{ rotate }] }],
2137
+ style: [styles19.marker, { transform: [{ rotate }] }],
2060
2138
  testID: chevronTestID,
2061
- children: /* @__PURE__ */ jsx(Text, { style: [styles18.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
2139
+ children: /* @__PURE__ */ jsx(Text, { style: [styles19.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
2062
2140
  }
2063
2141
  )
2064
2142
  ) : null,
2065
2143
  titleNode
2066
2144
  ] }),
2067
- /* @__PURE__ */ jsxs(View, { style: styles18.headerRight, children: [
2145
+ /* @__PURE__ */ jsxs(View, { style: styles19.headerRight, children: [
2068
2146
  right,
2069
2147
  boxed ? null : /* @__PURE__ */ jsx(
2070
2148
  Animated.View,
@@ -2072,7 +2150,7 @@ var AccordionItem = ({
2072
2150
  accessibilityElementsHidden: true,
2073
2151
  "aria-hidden": true,
2074
2152
  importantForAccessibility: "no-hide-descendants",
2075
- style: [styles18.chevron, { transform: [{ rotate }] }],
2153
+ style: [styles19.chevron, { transform: [{ rotate }] }],
2076
2154
  children: /* @__PURE__ */ jsx(SvgIcon, { color: colors.textSecondary, name: "chevronDown", size: CHEVRON_SIZE, testID: chevronTestID })
2077
2155
  }
2078
2156
  )
@@ -2086,7 +2164,7 @@ var AccordionItem = ({
2086
2164
  accessibilityLabel: resolvedLabel,
2087
2165
  nativeID: bodyTestID,
2088
2166
  role: ROLE_REGION,
2089
- style: boxed ? styles18.boxBody : styles18.body,
2167
+ style: boxed ? styles19.boxBody : styles19.body,
2090
2168
  testID: bodyTestID,
2091
2169
  children
2092
2170
  }
@@ -2149,7 +2227,7 @@ function useAvailableWidth() {
2149
2227
  var AVG_CHAR_WIDTH_RATIO = 0.58;
2150
2228
  var DEFAULT_FONT_SIZE2 = 13;
2151
2229
  var UNMEASURED2 = 0;
2152
- var styles19 = StyleSheet.create({
2230
+ var styles20 = StyleSheet.create({
2153
2231
  base: { fontSize: DEFAULT_FONT_SIZE2 },
2154
2232
  /** `minWidth: 0` lets the text shrink inside a flex row instead of forcing the row wider. */
2155
2233
  fill: { flexShrink: 1, minWidth: 0 }
@@ -2180,7 +2258,7 @@ var TruncatedText = ({
2180
2258
  [value, measureRef]
2181
2259
  );
2182
2260
  const flatStyle = useMemo(
2183
- () => StyleSheet.flatten([styles19.base, style]),
2261
+ () => StyleSheet.flatten([styles20.base, style]),
2184
2262
  [style]
2185
2263
  );
2186
2264
  const fontSize = flatStyle.fontSize ?? DEFAULT_FONT_SIZE2;
@@ -2195,7 +2273,7 @@ var TruncatedText = ({
2195
2273
  ref: attachRef,
2196
2274
  onLayout,
2197
2275
  numberOfLines: 1,
2198
- style: [styles19.base, styles19.fill, style],
2276
+ style: [styles20.base, styles20.fill, style],
2199
2277
  testID,
2200
2278
  accessibilityRole: onPress !== void 0 || href !== void 0 ? "link" : "text",
2201
2279
  accessibilityLabel,
@@ -2298,7 +2376,7 @@ var LABEL_LETTER_SPACING = 0.4;
2298
2376
  var ACTION_PADDING_H = 6;
2299
2377
  var ACTION_PADDING_V = 2;
2300
2378
  var ACTION_RADIUS = 6;
2301
- var styles20 = StyleSheet.create({
2379
+ var styles21 = StyleSheet.create({
2302
2380
  cell: { gap: CELL_GAP },
2303
2381
  label: {
2304
2382
  fontSize: LABEL_FONT_SIZE,
@@ -2363,14 +2441,14 @@ var CopyableId = ({
2363
2441
  const { colors } = theme;
2364
2442
  const { status, copy } = useCopyToClipboard(value, writer);
2365
2443
  const action = useActionState(status);
2366
- return /* @__PURE__ */ jsxs(View, { style: [styles20.cell, style], testID, children: [
2367
- label !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles20.label, { color: colors.textSecondary }], children: label }),
2368
- /* @__PURE__ */ jsxs(View, { style: styles20.row, children: [
2369
- /* @__PURE__ */ jsx(View, { style: styles20.valueWrap, children: /* @__PURE__ */ jsx(
2444
+ return /* @__PURE__ */ jsxs(View, { style: [styles21.cell, style], testID, children: [
2445
+ label !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles21.label, { color: colors.textSecondary }], children: label }),
2446
+ /* @__PURE__ */ jsxs(View, { style: styles21.row, children: [
2447
+ /* @__PURE__ */ jsx(View, { style: styles21.valueWrap, children: /* @__PURE__ */ jsx(
2370
2448
  TruncatedText,
2371
2449
  {
2372
2450
  value,
2373
- style: [styles20.value, { color: colors.text }],
2451
+ style: [styles21.value, { color: colors.text }],
2374
2452
  testID: `${testID}-value`,
2375
2453
  accessibilityLabel: accessibilityLabel ?? value,
2376
2454
  accessibilityHint: t(LAYOUT_I18N.copyableIdHint)
@@ -2384,7 +2462,7 @@ var CopyableId = ({
2384
2462
  accessibilityLabel: t(action.key),
2385
2463
  accessibilityHint: t(LAYOUT_I18N.copyHint),
2386
2464
  testID: `${testID}-copy`,
2387
- style: [styles20.action, { color: action.color }],
2465
+ style: [styles21.action, { color: action.color }],
2388
2466
  children: t(action.key)
2389
2467
  }
2390
2468
  )
@@ -2439,7 +2517,7 @@ var FOOTER_PADDING_V = 6;
2439
2517
  var FOOTER_PADDING_H = 12;
2440
2518
  var FOOTER_FONT_SIZE = 11;
2441
2519
  var FOOTER_OPACITY = 0.75;
2442
- var styles21 = StyleSheet.create({
2520
+ var styles22 = StyleSheet.create({
2443
2521
  footer: {
2444
2522
  paddingVertical: FOOTER_PADDING_V,
2445
2523
  paddingHorizontal: FOOTER_PADDING_H,
@@ -2465,7 +2543,7 @@ var BuildInfoFooter = ({
2465
2543
  const commit = apiCommit ?? fetchedCommit;
2466
2544
  const label = formatBuildInfo(buildVersion, commit);
2467
2545
  const textStyle = useMemo(
2468
- () => [styles21.text, { color: theme.colors.textSecondary }],
2546
+ () => [styles22.text, { color: theme.colors.textSecondary }],
2469
2547
  [theme.colors.textSecondary]
2470
2548
  );
2471
2549
  return /* @__PURE__ */ jsx(
@@ -2473,7 +2551,7 @@ var BuildInfoFooter = ({
2473
2551
  {
2474
2552
  accessibilityLabel: accessibilityLabel ?? label,
2475
2553
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.buildInfoHint),
2476
- style: [styles21.footer, style],
2554
+ style: [styles22.footer, style],
2477
2555
  testID,
2478
2556
  children: /* @__PURE__ */ jsx(Text, { style: textStyle, children: label })
2479
2557
  }
@@ -2484,7 +2562,7 @@ var BORDER = 2;
2484
2562
  var GLYPH_SIZE = 14;
2485
2563
  var GLYPH_LINE = 16;
2486
2564
  var TICK = "\u2713";
2487
- var styles22 = StyleSheet.create({
2565
+ var styles23 = StyleSheet.create({
2488
2566
  circle: {
2489
2567
  width: SIZE,
2490
2568
  height: SIZE,
@@ -2501,9 +2579,9 @@ var CheckMark = ({ filled, accent, ring, glyphColor, testID }) => /* @__PURE__ *
2501
2579
  "aria-hidden": true,
2502
2580
  accessibilityElementsHidden: true,
2503
2581
  importantForAccessibility: "no-hide-descendants",
2504
- style: [styles22.circle, { borderColor: filled ? accent : ring, backgroundColor: filled ? accent : void 0 }],
2582
+ style: [styles23.circle, { borderColor: filled ? accent : ring, backgroundColor: filled ? accent : void 0 }],
2505
2583
  testID,
2506
- children: filled ? /* @__PURE__ */ jsx(Text, { style: [styles22.glyph, { color: glyphColor }], children: TICK }) : null
2584
+ children: filled ? /* @__PURE__ */ jsx(Text, { style: [styles23.glyph, { color: glyphColor }], children: TICK }) : null
2507
2585
  }
2508
2586
  );
2509
2587
  var ListRowToneContext = createContext(null);
@@ -2626,7 +2704,7 @@ var PAD_V = 12;
2626
2704
  var GAP = 4;
2627
2705
  var MARK_GAP = 12;
2628
2706
  var LINE_GAP = 8;
2629
- var styles23 = StyleSheet.create({
2707
+ var styles24 = StyleSheet.create({
2630
2708
  row: {
2631
2709
  flexDirection: "row",
2632
2710
  alignItems: "center",
@@ -2650,7 +2728,7 @@ function focusTarget(event) {
2650
2728
  }
2651
2729
  function slot(node, color, strong) {
2652
2730
  if (typeof node !== "string") return node;
2653
- return /* @__PURE__ */ jsx(Text, { style: [styles23.shrink, strong ? styles23.strong : null, { color }], children: node });
2731
+ return /* @__PURE__ */ jsx(Text, { style: [styles24.shrink, strong ? styles24.strong : null, { color }], children: node });
2654
2732
  }
2655
2733
  var ListRow = ({
2656
2734
  title,
@@ -2682,7 +2760,7 @@ var ListRow = ({
2682
2760
  style: (state) => {
2683
2761
  const { pressed, hovered } = state;
2684
2762
  const look = resolveRowLook(selectedStyle, { selected, pressed, focused, hovered: hovered === true }, palette);
2685
- return [styles23.row, { borderTopColor: colors.border }, look.container];
2763
+ return [styles24.row, { borderTopColor: colors.border }, look.container];
2686
2764
  },
2687
2765
  testID,
2688
2766
  onBlur: () => {
@@ -2695,14 +2773,14 @@ var ListRow = ({
2695
2773
  ...pressedProps(selected),
2696
2774
  children: [
2697
2775
  rest.showCheck ? /* @__PURE__ */ jsx(CheckMark, { accent: palette.accent, filled: rest.checkFilled, glyphColor: palette.background, ring: palette.border, testID: checkTestId }) : null,
2698
- /* @__PURE__ */ jsxs(View, { style: styles23.body, children: [
2699
- /* @__PURE__ */ jsxs(View, { style: styles23.line, children: [
2776
+ /* @__PURE__ */ jsxs(View, { style: styles24.body, children: [
2777
+ /* @__PURE__ */ jsxs(View, { style: styles24.line, children: [
2700
2778
  slot(title, rest.titleColor, true),
2701
2779
  slot(trailing, rest.textColor, true)
2702
2780
  ] }),
2703
- /* @__PURE__ */ jsxs(View, { style: styles23.line, children: [
2704
- /* @__PURE__ */ jsx(View, { style: styles23.shrink, children: slot(meta, rest.textColor, false) }),
2705
- badges === void 0 ? null : /* @__PURE__ */ jsx(View, { style: styles23.badges, children: badges })
2781
+ /* @__PURE__ */ jsxs(View, { style: styles24.line, children: [
2782
+ /* @__PURE__ */ jsx(View, { style: styles24.shrink, children: slot(meta, rest.textColor, false) }),
2783
+ badges === void 0 ? null : /* @__PURE__ */ jsx(View, { style: styles24.badges, children: badges })
2706
2784
  ] })
2707
2785
  ] })
2708
2786
  ]
@@ -2712,6 +2790,6 @@ var ListRow = ({
2712
2790
  ] });
2713
2791
  };
2714
2792
 
2715
- export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, AppText, BUILD_INFO_PREFIX, BuildInfoFooter, COPY_FEEDBACK_MS, ConfirmDialog, CopyStatus, CopyableId, DEFAULT_BILLING_ROUTE, DropdownVariant, ELLIPSIS, Heading, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListRow, MIN_TARGET_PX, Modal, ModalDropdown, ModalShell, PageFrame, RowSelectedStyle, ScreenColumn, Section, SectionVariant, SegmentedControl, SelectedMarker, StatusBadge, StickyPreview, TYPE_SCALE_BREAKPOINT, Tabs, TabsCollapsedTrigger, TextKind, TruncatedText, UpgradePrompt, copyText, formatBuildInfo, formatUrlForDisplay, isKeyboardOpen, isWideWebViewport, pageScale, resolveRowLook, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
2793
+ export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, AppText, BUILD_INFO_PREFIX, BuildInfoFooter, COPY_FEEDBACK_MS, ConfirmDialog, CopyStatus, CopyableId, DEFAULT_BILLING_ROUTE, DropdownVariant, ELLIPSIS, Heading, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListRow, MIN_TARGET_PX, Modal, ModalDropdown, ModalShell, PageFrame, RowSelectedStyle, ScreenColumn, Section, SectionVariant, SegmentedControl, SelectedMarker, SideSheet, StatusBadge, StickyPreview, TYPE_SCALE_BREAKPOINT, Tabs, TabsCollapsedTrigger, TextKind, TruncatedText, UpgradePrompt, copyText, formatBuildInfo, formatUrlForDisplay, isKeyboardOpen, isWideWebViewport, pageScale, resolveRowLook, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
2716
2794
  //# sourceMappingURL=index.mjs.map
2717
2795
  //# sourceMappingURL=index.mjs.map