@dloizides/ui-layout 1.53.0 → 1.55.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
@@ -8,7 +8,7 @@ import { SvgIcon } from '@dloizides/ui-icons';
8
8
  import { useEnterExit, Collapse } from '@dloizides/ui-motion';
9
9
  import { MIN_TOUCH_TARGET_PX, useA11y } from '@dloizides/a11y';
10
10
  import { createPortal } from 'react-dom';
11
- import { useReducedMotion } from '@dloizides/rn-web-hooks';
11
+ import { useReducedMotion, useInitialFocus, INITIAL_FOCUS_PROPS } from '@dloizides/rn-web-hooks';
12
12
 
13
13
  // src/Section/Section.tsx
14
14
 
@@ -35,7 +35,9 @@ var LAYOUT_TEST_IDS = {
35
35
  formDialog: "form",
36
36
  accordion: "accordion",
37
37
  /** Default testID for the `BuildInfoFooter` caption (`v<version>`). */
38
- buildInfoFooter: "build-info-footer"
38
+ buildInfoFooter: "build-info-footer",
39
+ stickyActionBar: "sticky-action-bar",
40
+ pageHead: "page-head"
39
41
  };
40
42
  var MODAL_FOOTER_STACK_BELOW = 400;
41
43
  var DEFAULT_BILLING_ROUTE = "/settings/billing";
@@ -153,20 +155,26 @@ var styles2 = StyleSheet.create({
153
155
  gap: 12
154
156
  }
155
157
  });
158
+ function paddingStyle(padding) {
159
+ if (padding === void 0) return null;
160
+ if (typeof padding === "number") return { padding };
161
+ return { paddingVertical: padding.vertical, paddingHorizontal: padding.horizontal };
162
+ }
156
163
  var Section = ({
157
164
  children,
158
165
  style,
159
166
  variant = "panel" /* Panel */,
160
167
  title,
161
168
  titleLevel,
169
+ padding,
162
170
  testID
163
171
  }) => {
164
172
  const { theme } = useUi();
165
173
  const isCard = variant === "card" /* Card */;
166
174
  const fill = isCard ? theme.colors.background : theme.colors.surface;
167
175
  const containerStyle = React16.useMemo(
168
- () => [styles2.card, isCard ? styles2.raised : null, title === void 0 ? null : styles2.titled, { borderColor: theme.colors.border, backgroundColor: fill }, style],
169
- [theme.colors.border, fill, isCard, title, style]
176
+ () => [styles2.card, isCard ? styles2.raised : null, title === void 0 ? null : styles2.titled, { borderColor: theme.colors.border, backgroundColor: fill }, paddingStyle(padding), style],
177
+ [theme.colors.border, fill, isCard, title, padding, style]
170
178
  );
171
179
  return /* @__PURE__ */ jsxs(View, { style: containerStyle, testID, children: [
172
180
  title === void 0 ? null : /* @__PURE__ */ jsx(Heading, { level: titleLevel, testID: testID === void 0 ? void 0 : `${testID}-title`, text: title }),
@@ -312,6 +320,14 @@ function resolveToneColors(theme, tone) {
312
320
  }
313
321
  return neutralColors(theme.colors);
314
322
  }
323
+ var TINT_STEP = "100";
324
+ function resolveTintColors(theme, tone) {
325
+ const scale = scaleFor(theme, tone);
326
+ const fill = scale?.[TINT_STEP];
327
+ const ink = scale?.[UI_DEEP_STEP];
328
+ if (fill === void 0 || ink === void 0 || !isHexColor(fill) || !isHexColor(ink)) return resolveToneColors(theme, tone);
329
+ return { color: ink, backgroundColor: fill };
330
+ }
315
331
  var DEFAULT_PADDING_H = 10;
316
332
  var DEFAULT_PADDING_V = 4;
317
333
  var DEFAULT_BORDER_RADIUS = 12;
@@ -3352,11 +3368,11 @@ var SectionDensity = /* @__PURE__ */ ((SectionDensity2) => {
3352
3368
  SectionDensity2["Dense"] = "dense";
3353
3369
  return SectionDensity2;
3354
3370
  })(SectionDensity || {});
3355
- var INDEX_WIDTH = 200;
3371
+ var SECTION_INDEX_WIDTH = 200;
3356
3372
  var ACTIVE_BAR = 3;
3357
3373
  var TRANSPARENT3 = "transparent";
3358
3374
  var styles29 = StyleSheet.create({
3359
- root: { width: INDEX_WIDTH, flexShrink: 0, gap: 2, alignSelf: "flex-start" },
3375
+ root: { flexShrink: 0, gap: 2, alignSelf: "flex-start" },
3360
3376
  heading: { fontSize: 12, fontWeight: "700", letterSpacing: 0.6, textTransform: "uppercase", paddingHorizontal: 10, paddingBottom: 6 },
3361
3377
  item: { minHeight: MIN_TARGET_PX, justifyContent: "center", paddingHorizontal: 10, borderLeftWidth: ACTIVE_BAR, borderRadius: 6 },
3362
3378
  label: { fontSize: 14 },
@@ -3365,10 +3381,10 @@ var styles29 = StyleSheet.create({
3365
3381
  function ariaCurrent(active) {
3366
3382
  return active ? { "aria-current": "location" } : {};
3367
3383
  }
3368
- var SectionIndex = ({ sections, activeKey, heading, itemHint, onSelect, testID }) => {
3384
+ var SectionIndex = ({ sections, activeKey, heading, itemHint, onSelect, testID, width = SECTION_INDEX_WIDTH }) => {
3369
3385
  const { theme } = useUi();
3370
3386
  const { colors } = theme;
3371
- return /* @__PURE__ */ jsxs(View, { role: "navigation", accessibilityLabel: heading, style: styles29.root, testID: `${testID}-index`, children: [
3387
+ return /* @__PURE__ */ jsxs(View, { role: "navigation", accessibilityLabel: heading, style: [styles29.root, { width }], testID: `${testID}-index`, children: [
3372
3388
  /* @__PURE__ */ jsx(Text, { style: [styles29.heading, { color: colors.textSecondary }], children: heading }),
3373
3389
  sections.map((entry) => {
3374
3390
  const active = entry.key === activeKey;
@@ -3421,6 +3437,7 @@ var SectionIndexLayout = ({
3421
3437
  density = "comfortable" /* Comfortable */,
3422
3438
  stickyIndex = false,
3423
3439
  chipOverflow = "wrap" /* Wrap */,
3440
+ indexWidth = SECTION_INDEX_WIDTH,
3424
3441
  testID = "section-index"
3425
3442
  }) => {
3426
3443
  const wide = useIsWideViewport(breakpoint);
@@ -3452,11 +3469,19 @@ var SectionIndexLayout = ({
3452
3469
  };
3453
3470
  const sticky = stickyIndex && Platform.OS === "web" ? WEB_STICKY : null;
3454
3471
  return /* @__PURE__ */ jsxs(View, { style: styles30.wide, testID, children: [
3455
- /* @__PURE__ */ jsx(View, { style: sticky, children: /* @__PURE__ */ jsx(SectionIndex, { activeKey, heading: indexHeading, itemHint, sections, testID, onSelect: select }) }),
3472
+ /* @__PURE__ */ jsx(View, { style: sticky, children: /* @__PURE__ */ jsx(SectionIndex, { activeKey, heading: indexHeading, itemHint, sections, testID, width: indexWidth, onSelect: select }) }),
3456
3473
  /* @__PURE__ */ jsx(View, { style: [styles30.column, gap], children: sections.map((entry) => /* @__PURE__ */ jsx(View, { nativeID: sectionAnchorId(testID, entry.key), testID: sectionAnchorId(testID, entry.key), children: entry.content }, entry.key)) })
3457
3474
  ] });
3458
3475
  };
3476
+
3477
+ // src/DayCard/DayBadgeFill.ts
3478
+ var DayBadgeFill = /* @__PURE__ */ ((DayBadgeFill2) => {
3479
+ DayBadgeFill2["Solid"] = "solid";
3480
+ DayBadgeFill2["Tint"] = "tint";
3481
+ return DayBadgeFill2;
3482
+ })(DayBadgeFill || {});
3459
3483
  var PILL_RADIUS2 = 999;
3484
+ var BADGE_ICON_SIZE = 12;
3460
3485
  var styles31 = StyleSheet.create({
3461
3486
  body: { borderRadius: 8, borderWidth: 1, overflow: "hidden" },
3462
3487
  count: { borderRadius: PILL_RADIUS2, borderWidth: 1, fontSize: 12, fontWeight: "700", paddingHorizontal: 8 },
@@ -3471,15 +3496,20 @@ var DayCard = ({
3471
3496
  accessibilityLabel,
3472
3497
  accessibilityHint,
3473
3498
  badgeTone = "warning" /* Warning */,
3499
+ badgeFill = "solid" /* Solid */,
3500
+ badgeIcon,
3474
3501
  testID,
3475
3502
  children
3476
3503
  }) => {
3477
3504
  const { theme } = useUi();
3478
3505
  const { colors } = theme;
3506
+ const tint = badgeFill === "tint" /* Tint */ ? resolveTintColors(theme, badgeTone) : void 0;
3507
+ const iconInk = tint?.color ?? colors.textSecondary;
3508
+ const icon = badgeIcon === void 0 ? void 0 : /* @__PURE__ */ jsx(SvgIcon, { color: iconInk, name: badgeIcon, size: BADGE_ICON_SIZE });
3479
3509
  return /* @__PURE__ */ jsxs(View, { style: styles31.stack, testID, children: [
3480
3510
  /* @__PURE__ */ jsxs(View, { accessibilityHint, accessibilityLabel, accessibilityRole: "header", style: styles31.head, children: [
3481
3511
  /* @__PURE__ */ jsx(Text, { style: [styles31.label, { color: colors.text }], children: label }),
3482
- /* @__PURE__ */ jsx(StatusBadge, { label: badge, tone: badgeTone }),
3512
+ /* @__PURE__ */ jsx(StatusBadge, { backgroundColor: tint?.backgroundColor, color: tint?.color, icon, label: badge, testID: testID === void 0 ? void 0 : `${testID}-badge`, tone: badgeTone }),
3483
3513
  /* @__PURE__ */ jsx(Text, { style: [styles31.count, { borderColor: colors.border, color: colors.textSecondary }], children: String(count) })
3484
3514
  ] }),
3485
3515
  /* @__PURE__ */ jsx(View, { style: [styles31.body, { backgroundColor: colors.surface, borderColor: colors.border }], children })
@@ -3498,15 +3528,69 @@ var FigureStrip = ({ children, testID }) => /* @__PURE__ */ jsx(View, { style: s
3498
3528
  var styles33 = StyleSheet.create({
3499
3529
  stack: { gap: 12 }
3500
3530
  });
3501
- var ToggleSection = ({ wide, title, toggleLabel, toggleHint, forceOpen = false, testID, children }) => {
3502
- const [open, setOpen] = useState(false);
3531
+ var ToggleSection = ({ wide, title, toggleLabel, toggleHint, forceOpen = false, open, onOpenChange, testID, children }) => {
3532
+ const [ownOpen, setOwnOpen] = useState(false);
3533
+ const isOpen = open ?? ownOpen;
3534
+ const toggle = () => {
3535
+ if (open === void 0) setOwnOpen(!isOpen);
3536
+ onOpenChange?.(!isOpen);
3537
+ };
3503
3538
  if (wide) return /* @__PURE__ */ jsx(Section, { testID: `${testID}-card`, title, variant: "card" /* Card */, children });
3504
3539
  return /* @__PURE__ */ jsxs(View, { style: styles33.stack, children: [
3505
- /* @__PURE__ */ jsx(Button, { accessibilityHint: toggleHint, accessibilityLabel: toggleLabel, label: toggleLabel, testID: `${testID}-toggle`, variant: "outline", onPress: () => setOpen((current) => !current) }),
3506
- open || forceOpen ? children : null
3540
+ /* @__PURE__ */ jsx(Button, { accessibilityHint: toggleHint, accessibilityLabel: toggleLabel, label: toggleLabel, testID: `${testID}-toggle`, variant: "outline", onPress: toggle }),
3541
+ isOpen || forceOpen ? children : null
3507
3542
  ] });
3508
3543
  };
3544
+
3545
+ // src/StickyActionBar/stickyEdge.ts
3546
+ var BAR_PADDING = 12;
3547
+ function stickyEdgeStyle(os, bottomInset) {
3548
+ const padding = BAR_PADDING + bottomInset;
3549
+ if (os !== "web") return { paddingBottom: padding };
3550
+ return { position: "sticky", bottom: 0, zIndex: 1, paddingBottom: `calc(${String(padding)}px + env(safe-area-inset-bottom))` };
3551
+ }
3552
+ var ACTION_GAP = 8;
3509
3553
  var styles34 = StyleSheet.create({
3554
+ inline: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", justifyContent: "flex-end", gap: ACTION_GAP },
3555
+ bar: { flexDirection: "row", flexWrap: "wrap", alignItems: "stretch", gap: ACTION_GAP, paddingTop: BAR_PADDING, paddingHorizontal: BAR_PADDING, borderTopWidth: 1 }
3556
+ });
3557
+ var StickyActionBar = ({
3558
+ accessibilityLabel,
3559
+ accessibilityHint,
3560
+ children,
3561
+ breakpoint = LAYOUT_COLLAPSE_BREAKPOINT,
3562
+ bottomInset = 0,
3563
+ testID = LAYOUT_TEST_IDS.stickyActionBar
3564
+ }) => {
3565
+ const wide = useIsWideViewport(breakpoint);
3566
+ const { colors } = useUi().theme;
3567
+ if (wide) return /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: styles34.inline, testID, children });
3568
+ const surface = { backgroundColor: colors.surface, borderTopColor: colors.border };
3569
+ return /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityLabel, role: "toolbar", style: [styles34.bar, surface, stickyEdgeStyle(Platform.OS, bottomInset)], testID, children });
3570
+ };
3571
+ var TITLE_BASIS = 280;
3572
+ var styles35 = StyleSheet.create({
3573
+ row: { flexDirection: "row", flexWrap: "wrap", alignItems: "flex-start", justifyContent: "space-between", gap: 12 },
3574
+ text: { gap: 4, flexGrow: 1, flexShrink: 1, flexBasis: TITLE_BASIS, minWidth: 0 },
3575
+ title: { fontSize: 24, fontWeight: "800" },
3576
+ actions: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", gap: 8, maxWidth: "100%" }
3577
+ });
3578
+ function hasContent(node) {
3579
+ return node !== void 0 && node !== null && node !== false;
3580
+ }
3581
+ var PageHead = ({ title, subtitle, actions, initialFocus = false, testID = LAYOUT_TEST_IDS.pageHead }) => {
3582
+ const { colors } = useUi().theme;
3583
+ const titleRef = useInitialFocus();
3584
+ const focusProps = initialFocus ? { ref: titleRef, ...INITIAL_FOCUS_PROPS } : {};
3585
+ return /* @__PURE__ */ jsxs(View, { style: styles35.row, testID, children: [
3586
+ /* @__PURE__ */ jsxs(View, { style: styles35.text, children: [
3587
+ /* @__PURE__ */ jsx(Text, { ...focusProps, accessibilityRole: "header", style: [styles35.title, { color: colors.text }], testID: `${testID}-title`, children: title }),
3588
+ subtitle
3589
+ ] }),
3590
+ hasContent(actions) ? /* @__PURE__ */ jsx(View, { style: styles35.actions, testID: `${testID}-actions`, children: actions }) : null
3591
+ ] });
3592
+ };
3593
+ var styles36 = StyleSheet.create({
3510
3594
  entry: { borderLeftWidth: 2, gap: 4, paddingBottom: 12, paddingLeft: 12 },
3511
3595
  head: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: 8 },
3512
3596
  time: { fontSize: 13 },
@@ -3521,12 +3605,12 @@ var Timeline = ({ entries, accessibilityLabel, accessibilityHint, testID }) => {
3521
3605
  accessibilityHint: entry.accessibilityHint,
3522
3606
  accessibilityLabel: entry.accessibilityLabel,
3523
3607
  role: "listitem",
3524
- style: [styles34.entry, { borderLeftColor: colors.border }],
3608
+ style: [styles36.entry, { borderLeftColor: colors.border }],
3525
3609
  testID: entryTestId(testID, entry.key),
3526
3610
  children: [
3527
- entry.time === "" ? null : /* @__PURE__ */ jsx(Text, { style: [styles34.time, { color: colors.textSecondary }], children: entry.time }),
3528
- /* @__PURE__ */ jsxs(View, { style: styles34.head, children: [
3529
- /* @__PURE__ */ jsx(Text, { style: [styles34.title, { color: colors.text }], children: entry.title }),
3611
+ entry.time === "" ? null : /* @__PURE__ */ jsx(Text, { style: [styles36.time, { color: colors.textSecondary }], children: entry.time }),
3612
+ /* @__PURE__ */ jsxs(View, { style: styles36.head, children: [
3613
+ /* @__PURE__ */ jsx(Text, { style: [styles36.title, { color: colors.text }], children: entry.title }),
3530
3614
  entry.status === void 0 || entry.status === "" ? null : /* @__PURE__ */ jsx(StatusBadge, { label: entry.status, tone: entry.tone ?? "neutral" /* Neutral */ })
3531
3615
  ] })
3532
3616
  ]
@@ -3541,7 +3625,7 @@ function isRecordHeaderCompact(width, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT) {
3541
3625
  }
3542
3626
  var GAP2 = 8;
3543
3627
  var WIDE_GAP = 16;
3544
- var styles35 = StyleSheet.create({
3628
+ var styles37 = StyleSheet.create({
3545
3629
  actions: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP2, justifyContent: "flex-end" },
3546
3630
  compactActions: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP2 },
3547
3631
  identity: { flex: 1, gap: GAP2, minWidth: 0 },
@@ -3550,9 +3634,9 @@ var styles35 = StyleSheet.create({
3550
3634
  });
3551
3635
  var RecordHeader = ({ breadcrumb, title, meta, actions, collapseBelow, testID }) => {
3552
3636
  const compact = isRecordHeaderCompact(useWindowDimensions().width, collapseBelow);
3553
- const actionRow = actions === void 0 ? null : /* @__PURE__ */ jsx(View, { style: compact ? styles35.compactActions : styles35.actions, children: actions });
3554
- return /* @__PURE__ */ jsx(View, { style: styles35.root, testID, children: /* @__PURE__ */ jsxs(View, { style: compact ? styles35.root : styles35.top, children: [
3555
- /* @__PURE__ */ jsxs(View, { style: styles35.identity, children: [
3637
+ const actionRow = actions === void 0 ? null : /* @__PURE__ */ jsx(View, { style: compact ? styles37.compactActions : styles37.actions, children: actions });
3638
+ return /* @__PURE__ */ jsx(View, { style: styles37.root, testID, children: /* @__PURE__ */ jsxs(View, { style: compact ? styles37.root : styles37.top, children: [
3639
+ /* @__PURE__ */ jsxs(View, { style: styles37.identity, children: [
3556
3640
  breadcrumb,
3557
3641
  title,
3558
3642
  meta
@@ -3564,7 +3648,7 @@ var FONT_SIZE = 13;
3564
3648
  var GAP3 = 6;
3565
3649
  var SEPARATOR = "\u203A";
3566
3650
  var BACK = "\u2039";
3567
- var styles36 = StyleSheet.create({
3651
+ var styles38 = StyleSheet.create({
3568
3652
  link: { justifyContent: "center", minHeight: MIN_TARGET_PX },
3569
3653
  row: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP3 },
3570
3654
  text: { fontSize: FONT_SIZE, fontWeight: "500" }
@@ -3572,11 +3656,11 @@ var styles36 = StyleSheet.create({
3572
3656
  var Breadcrumb = ({ items, accessibilityLabel, accessibilityHint, testID }) => {
3573
3657
  const { theme } = useUi();
3574
3658
  const muted = { color: theme.colors.textSecondary };
3575
- return /* @__PURE__ */ jsxs(View, { accessibilityHint, "aria-label": accessibilityLabel, style: styles36.row, testID, children: [
3576
- /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles36.text, muted], children: BACK }),
3659
+ return /* @__PURE__ */ jsxs(View, { accessibilityHint, "aria-label": accessibilityLabel, style: styles38.row, testID, children: [
3660
+ /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles38.text, muted], children: BACK }),
3577
3661
  items.map((item, index) => /* @__PURE__ */ jsxs(React16.Fragment, { children: [
3578
- index > 0 ? /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles36.text, muted], children: SEPARATOR }) : null,
3579
- item.onPress === void 0 ? /* @__PURE__ */ jsx(Text, { style: [styles36.text, muted], testID: item.testID, children: item.label }) : /* @__PURE__ */ jsx(Pressable, { accessibilityHint: item.accessibilityHint, accessibilityLabel: item.label, accessibilityRole: "link", style: styles36.link, testID: item.testID, onPress: item.onPress, children: /* @__PURE__ */ jsx(Text, { style: [styles36.text, { color: theme.colors.text }], children: item.label }) })
3662
+ index > 0 ? /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles38.text, muted], children: SEPARATOR }) : null,
3663
+ item.onPress === void 0 ? /* @__PURE__ */ jsx(Text, { style: [styles38.text, muted], testID: item.testID, children: item.label }) : /* @__PURE__ */ jsx(Pressable, { accessibilityHint: item.accessibilityHint, accessibilityLabel: item.label, accessibilityRole: "link", style: styles38.link, testID: item.testID, onPress: item.onPress, children: /* @__PURE__ */ jsx(Text, { style: [styles38.text, { color: theme.colors.text }], children: item.label }) })
3580
3664
  ] }, item.key))
3581
3665
  ] });
3582
3666
  };
@@ -3585,7 +3669,7 @@ var PAD_H2 = 12;
3585
3669
  var GAP4 = 6;
3586
3670
  var FONT_SIZE2 = 13;
3587
3671
  var DISABLED_OPACITY2 = 0.55;
3588
- var styles37 = StyleSheet.create({
3672
+ var styles39 = StyleSheet.create({
3589
3673
  base: { alignItems: "center", borderRadius: RADIUS, borderWidth: 1, flexDirection: "row", gap: GAP4, justifyContent: "center", minHeight: MIN_TARGET_PX, minWidth: MIN_TARGET_PX, paddingHorizontal: PAD_H2 },
3590
3674
  disabled: { borderStyle: "dashed", opacity: DISABLED_OPACITY2 },
3591
3675
  text: { fontSize: FONT_SIZE2, fontWeight: "600" }
@@ -3612,12 +3696,12 @@ var RecordActionButton = ({ label, hint, testID, icon, onPress, iconOnly = false
3612
3696
  accessibilityRole: "button",
3613
3697
  accessibilityState: { disabled },
3614
3698
  disabled,
3615
- style: [styles37.base, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }, disabled && styles37.disabled],
3699
+ style: [styles39.base, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }, disabled && styles39.disabled],
3616
3700
  testID,
3617
3701
  onPress,
3618
3702
  children: [
3619
3703
  icon === void 0 ? null : /* @__PURE__ */ jsx(View, { "aria-hidden": true, children: icon }),
3620
- showLabel ? /* @__PURE__ */ jsx(Text, { style: [styles37.text, { color: theme.colors.text }], children: label }) : null
3704
+ showLabel ? /* @__PURE__ */ jsx(Text, { style: [styles39.text, { color: theme.colors.text }], children: label }) : null
3621
3705
  ]
3622
3706
  }
3623
3707
  );
@@ -3629,7 +3713,7 @@ var FONT_SIZE3 = 12;
3629
3713
  var COPY_GLYPH = "\u29C9";
3630
3714
  var COPIED_GLYPH = "\u2713";
3631
3715
  var MONO = Platform.select({ web: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", default: "monospace" });
3632
- var styles38 = StyleSheet.create({
3716
+ var styles40 = StyleSheet.create({
3633
3717
  chip: { alignItems: "center", alignSelf: "flex-start", borderRadius: RADIUS2, borderWidth: 1, flexDirection: "row", gap: GAP5, maxWidth: "100%", minHeight: MIN_TARGET_PX, paddingHorizontal: PAD_H3 },
3634
3718
  text: { flexShrink: 1, fontFamily: MONO, fontSize: FONT_SIZE3 }
3635
3719
  });
@@ -3646,24 +3730,24 @@ var IdChip = ({ label, value, testID, accessibilityLabel, accessibilityHint, dis
3646
3730
  accessibilityRole: "button",
3647
3731
  accessibilityState: { disabled: !copyable },
3648
3732
  disabled: !copyable,
3649
- style: [styles38.chip, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }],
3733
+ style: [styles40.chip, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }],
3650
3734
  testID,
3651
3735
  onPress: copyable ? copy : void 0,
3652
3736
  children: [
3653
- /* @__PURE__ */ jsx(Text, { style: [styles38.text, { color: theme.colors.textSecondary }], children: label }),
3654
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles38.text, ink], testID: valueTestID, children: display ?? value }),
3655
- copyable ? /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles38.text, ink], testID: `${testID}-glyph`, children: status === "copied" /* Copied */ ? COPIED_GLYPH : COPY_GLYPH }) : null
3737
+ /* @__PURE__ */ jsx(Text, { style: [styles40.text, { color: theme.colors.textSecondary }], children: label }),
3738
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles40.text, ink], testID: valueTestID, children: display ?? value }),
3739
+ copyable ? /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles40.text, ink], testID: `${testID}-glyph`, children: status === "copied" /* Copied */ ? COPIED_GLYPH : COPY_GLYPH }) : null
3656
3740
  ]
3657
3741
  }
3658
3742
  );
3659
3743
  };
3660
3744
  var STEP_WIDTH = 8;
3661
3745
  var STEP_OPACITIES = [0.35, 0.65, 0.9];
3662
- var styles39 = StyleSheet.create({
3746
+ var styles41 = StyleSheet.create({
3663
3747
  fade: { bottom: 0, flexDirection: "row", position: "absolute", right: 0, top: 0 },
3664
3748
  step: { width: STEP_WIDTH }
3665
3749
  });
3666
- var EdgeFadeStrip = ({ color }) => /* @__PURE__ */ jsx(View, { "aria-hidden": true, pointerEvents: "none", style: styles39.fade, children: STEP_OPACITIES.map((opacity) => /* @__PURE__ */ jsx(View, { style: [styles39.step, { backgroundColor: color, opacity }] }, opacity)) });
3750
+ var EdgeFadeStrip = ({ color }) => /* @__PURE__ */ jsx(View, { "aria-hidden": true, pointerEvents: "none", style: styles41.fade, children: STEP_OPACITIES.map((opacity) => /* @__PURE__ */ jsx(View, { style: [styles41.step, { backgroundColor: color, opacity }] }, opacity)) });
3667
3751
  var SLACK_PX = 1;
3668
3752
  function showsEdgeFade({ contentWidth, viewportWidth, offset }) {
3669
3753
  return contentWidth - viewportWidth - offset > SLACK_PX;
@@ -3690,7 +3774,7 @@ var COUNT_FONT = 12;
3690
3774
  var COUNT_MIN = 22;
3691
3775
  var COUNT_PAD = 6;
3692
3776
  var PILL = 999;
3693
- var styles40 = StyleSheet.create({
3777
+ var styles42 = StyleSheet.create({
3694
3778
  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 },
3695
3779
  chipCount: { fontSize: FONT_SIZE4, fontWeight: "700" },
3696
3780
  count: { borderRadius: PILL, fontSize: COUNT_FONT, fontWeight: "700", minWidth: COUNT_MIN, paddingHorizontal: COUNT_PAD, textAlign: "center" },
@@ -3713,18 +3797,18 @@ var TabPressable = ({ tab, selected, onChange, style, children }) => /* @__PURE_
3713
3797
  );
3714
3798
  var UnderlineTabItem = ({ underline, ...item }) => {
3715
3799
  const { theme } = useUi();
3716
- return /* @__PURE__ */ jsxs(TabPressable, { ...item, style: [styles40.tab, { borderBottomColor: item.selected ? underline : "transparent" }], children: [
3717
- /* @__PURE__ */ jsx(Text, { style: [styles40.label, { color: item.selected ? theme.colors.text : theme.colors.textSecondary }], children: item.tab.label }),
3718
- item.tab.count === void 0 ? null : /* @__PURE__ */ jsx(Text, { style: [styles40.count, { backgroundColor: theme.colors.border, color: theme.colors.text }], children: String(item.tab.count) })
3800
+ return /* @__PURE__ */ jsxs(TabPressable, { ...item, style: [styles42.tab, { borderBottomColor: item.selected ? underline : "transparent" }], children: [
3801
+ /* @__PURE__ */ jsx(Text, { style: [styles42.label, { color: item.selected ? theme.colors.text : theme.colors.textSecondary }], children: item.tab.label }),
3802
+ item.tab.count === void 0 ? null : /* @__PURE__ */ jsx(Text, { style: [styles42.count, { backgroundColor: theme.colors.border, color: theme.colors.text }], children: String(item.tab.count) })
3719
3803
  ] });
3720
3804
  };
3721
3805
  var ChipTabItem = (item) => {
3722
3806
  const { theme } = useUi();
3723
3807
  const fill = item.selected ? theme.colors.text : "transparent";
3724
3808
  const ink = item.selected ? theme.colors.background : theme.colors.text;
3725
- return /* @__PURE__ */ jsxs(TabPressable, { ...item, style: [styles40.chip, { backgroundColor: fill, borderColor: item.selected ? theme.colors.text : theme.colors.border }], children: [
3726
- /* @__PURE__ */ jsx(Text, { style: [styles40.label, { color: ink }], children: item.tab.label }),
3727
- item.tab.count === void 0 ? null : /* @__PURE__ */ jsx(Text, { style: [styles40.chipCount, { color: ink }], children: String(item.tab.count) })
3809
+ return /* @__PURE__ */ jsxs(TabPressable, { ...item, style: [styles42.chip, { backgroundColor: fill, borderColor: item.selected ? theme.colors.text : theme.colors.border }], children: [
3810
+ /* @__PURE__ */ jsx(Text, { style: [styles42.label, { color: ink }], children: item.tab.label }),
3811
+ item.tab.count === void 0 ? null : /* @__PURE__ */ jsx(Text, { style: [styles42.chipCount, { color: ink }], children: String(item.tab.count) })
3728
3812
  ] });
3729
3813
  };
3730
3814
 
@@ -3738,7 +3822,7 @@ var DEFAULT_UNDERLINE_STEP = "700";
3738
3822
  var SCROLL_THROTTLE_MS = 16;
3739
3823
  var CHIP_GAP = 8;
3740
3824
  var CHIP_PAD_V = 4;
3741
- var styles41 = StyleSheet.create({
3825
+ var styles43 = StyleSheet.create({
3742
3826
  chipRow: { alignItems: "center", flexDirection: "row", gap: CHIP_GAP, paddingVertical: CHIP_PAD_V },
3743
3827
  chipWrap: { flexWrap: "wrap" },
3744
3828
  strip: { position: "relative", width: "100%" }
@@ -3752,12 +3836,12 @@ var UnderlineTabs = ({ tabs, activeKey, onChange, accessibilityLabel, accessibil
3752
3836
  const item = { tab, selected: tab.key === activeKey, onChange };
3753
3837
  return chips ? /* @__PURE__ */ jsx(ChipTabItem, { ...item }, tab.key) : /* @__PURE__ */ jsx(UnderlineTabItem, { ...item, underline }, tab.key);
3754
3838
  });
3755
- const stripStyle = chips ? styles41.strip : [styles41.strip, { borderBottomColor: theme.colors.border, borderBottomWidth: 1 }];
3839
+ const stripStyle = chips ? styles43.strip : [styles43.strip, { borderBottomColor: theme.colors.border, borderBottomWidth: 1 }];
3756
3840
  if (chips && chipOverflow === "wrap" /* Wrap */) {
3757
- return /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles41.chipRow, styles41.chipWrap], testID, children: items });
3841
+ return /* @__PURE__ */ jsx(View, { accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles43.chipRow, styles43.chipWrap], testID, children: items });
3758
3842
  }
3759
3843
  return /* @__PURE__ */ jsxs(View, { style: stripStyle, testID, children: [
3760
- /* @__PURE__ */ jsx(ScrollView, { horizontal: true, accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, contentContainerStyle: chips ? styles41.chipRow : void 0, scrollEventThrottle: SCROLL_THROTTLE_MS, showsHorizontalScrollIndicator: false, onContentSizeChange: fade.onContentSizeChange, onLayout: fade.onLayout, onScroll: fade.onScroll, children: items }),
3844
+ /* @__PURE__ */ jsx(ScrollView, { horizontal: true, accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, contentContainerStyle: chips ? styles43.chipRow : void 0, scrollEventThrottle: SCROLL_THROTTLE_MS, showsHorizontalScrollIndicator: false, onContentSizeChange: fade.onContentSizeChange, onLayout: fade.onLayout, onScroll: fade.onScroll, children: items }),
3761
3845
  fade.visible ? /* @__PURE__ */ jsx(EdgeFadeStrip, { color: fadeColor ?? theme.colors.background }) : null
3762
3846
  ] });
3763
3847
  };
@@ -3765,7 +3849,7 @@ var RADIUS3 = 12;
3765
3849
  var PAD = 16;
3766
3850
  var GAP7 = 8;
3767
3851
  var TITLE_FONT = 15;
3768
- var styles42 = StyleSheet.create({
3852
+ var styles44 = StyleSheet.create({
3769
3853
  card: { borderRadius: RADIUS3, borderWidth: 1, gap: GAP7, minWidth: 0, padding: PAD },
3770
3854
  footer: { alignItems: "flex-start", flexDirection: "row", flexWrap: "wrap", gap: GAP7 },
3771
3855
  head: { alignItems: "center", flexDirection: "row", gap: GAP7 },
@@ -3773,14 +3857,14 @@ var styles42 = StyleSheet.create({
3773
3857
  });
3774
3858
  var WidgetCard = ({ title, children, icon, headerRight, footer, testID }) => {
3775
3859
  const { theme } = useUi();
3776
- return /* @__PURE__ */ jsxs(View, { style: [styles42.card, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }], testID, children: [
3777
- /* @__PURE__ */ jsxs(View, { style: styles42.head, children: [
3860
+ return /* @__PURE__ */ jsxs(View, { style: [styles44.card, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }], testID, children: [
3861
+ /* @__PURE__ */ jsxs(View, { style: styles44.head, children: [
3778
3862
  icon === void 0 ? null : /* @__PURE__ */ jsx(View, { "aria-hidden": true, children: icon }),
3779
- /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: [styles42.title, { color: theme.colors.text }], children: title }),
3863
+ /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: [styles44.title, { color: theme.colors.text }], children: title }),
3780
3864
  headerRight
3781
3865
  ] }),
3782
3866
  children,
3783
- footer === void 0 ? null : /* @__PURE__ */ jsx(View, { style: styles42.footer, children: footer })
3867
+ footer === void 0 ? null : /* @__PURE__ */ jsx(View, { style: styles44.footer, children: footer })
3784
3868
  ] });
3785
3869
  };
3786
3870
  var LEAD_LABEL_SIZE = 14;
@@ -3792,7 +3876,7 @@ var GAP8 = 12;
3792
3876
  var LEAD_GAP = 4;
3793
3877
  var LEAD_BORDER = 1.5;
3794
3878
  var ACCENT_STEP = "500";
3795
- var styles43 = StyleSheet.create({
3879
+ var styles45 = StyleSheet.create({
3796
3880
  slip: { gap: GAP8, width: "100%" },
3797
3881
  lead: { padding: LEAD_PAD, borderRadius: LEAD_RADIUS, borderWidth: LEAD_BORDER, gap: LEAD_GAP },
3798
3882
  leadLabel: { fontSize: LEAD_LABEL_SIZE },
@@ -3804,13 +3888,13 @@ var TransferSlip = ({ leadLabel, amount, recipient, children, footer, testID })
3804
3888
  const { theme } = useUi();
3805
3889
  const { colors } = theme;
3806
3890
  const accent = theme.palette.primary[ACCENT_STEP];
3807
- return /* @__PURE__ */ jsxs(View, { style: styles43.slip, testID, children: [
3808
- /* @__PURE__ */ jsxs(View, { style: [styles43.lead, { borderColor: accent, backgroundColor: colors.surface }], testID: `${testID}-lead`, children: [
3809
- /* @__PURE__ */ jsx(Text, { style: [styles43.leadLabel, { color: colors.textSecondary }], children: leadLabel }),
3810
- /* @__PURE__ */ jsx(Text, { style: [styles43.amount, { color: colors.text }], testID: `${testID}-amount`, children: amount }),
3811
- recipient !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles43.recipient, { color: colors.text }], children: recipient })
3891
+ return /* @__PURE__ */ jsxs(View, { style: styles45.slip, testID, children: [
3892
+ /* @__PURE__ */ jsxs(View, { style: [styles45.lead, { borderColor: accent, backgroundColor: colors.surface }], testID: `${testID}-lead`, children: [
3893
+ /* @__PURE__ */ jsx(Text, { style: [styles45.leadLabel, { color: colors.textSecondary }], children: leadLabel }),
3894
+ /* @__PURE__ */ jsx(Text, { style: [styles45.amount, { color: colors.text }], testID: `${testID}-amount`, children: amount }),
3895
+ recipient !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles45.recipient, { color: colors.text }], children: recipient })
3812
3896
  ] }),
3813
- /* @__PURE__ */ jsx(View, { style: styles43.rows, children }),
3897
+ /* @__PURE__ */ jsx(View, { style: styles45.rows, children }),
3814
3898
  footer
3815
3899
  ] });
3816
3900
  };
@@ -3843,7 +3927,7 @@ var STACK_GAP = 8;
3843
3927
  var ROW_PAD = 10;
3844
3928
  var TEXT_GAP = 2;
3845
3929
  var MONO_SPACING = 1;
3846
- var styles44 = StyleSheet.create({
3930
+ var styles46 = StyleSheet.create({
3847
3931
  inline: { flexDirection: "row", alignItems: "center", gap: ROW_GAP3, paddingVertical: ROW_PAD, borderTopWidth: StyleSheet.hairlineWidth },
3848
3932
  prominent: { gap: STACK_GAP, paddingVertical: ROW_PAD },
3849
3933
  text: { flex: 1, minWidth: 0, gap: TEXT_GAP },
@@ -3867,10 +3951,10 @@ var CopyValueRow = ({
3867
3951
  const { status, copy } = useCopyToClipboard(copyValue ?? value, writer);
3868
3952
  const action = copyActionLabel(status, labels);
3869
3953
  const prominent = emphasis === "prominent" /* Prominent */;
3870
- const valueStyle = prominent || monospace ? styles44.big : styles44.value;
3871
- return /* @__PURE__ */ jsxs(View, { style: prominent ? styles44.prominent : [styles44.inline, { borderTopColor: colors.border }], testID, children: [
3872
- /* @__PURE__ */ jsxs(View, { style: styles44.text, children: [
3873
- /* @__PURE__ */ jsx(Text, { style: [styles44.label, { color: colors.textSecondary }], children: label }),
3954
+ const valueStyle = prominent || monospace ? styles46.big : styles46.value;
3955
+ return /* @__PURE__ */ jsxs(View, { style: prominent ? styles46.prominent : [styles46.inline, { borderTopColor: colors.border }], testID, children: [
3956
+ /* @__PURE__ */ jsxs(View, { style: styles46.text, children: [
3957
+ /* @__PURE__ */ jsx(Text, { style: [styles46.label, { color: colors.textSecondary }], children: label }),
3874
3958
  /* @__PURE__ */ jsx(Text, { selectable: true, style: [valueStyle, { color: colors.text }], testID: `${testID}-value`, children: value })
3875
3959
  ] }),
3876
3960
  copyControl === "icon" /* Icon */ ? /* @__PURE__ */ jsx(
@@ -3913,7 +3997,7 @@ var TILE_PAD = 12;
3913
3997
  var TILE_RADIUS = 10;
3914
3998
  var TILE_GAP = 2;
3915
3999
  var ALERT_STEP = "500";
3916
- var styles45 = StyleSheet.create({
4000
+ var styles47 = StyleSheet.create({
3917
4001
  tile: { padding: TILE_PAD, borderRadius: TILE_RADIUS, borderWidth: StyleSheet.hairlineWidth, gap: TILE_GAP },
3918
4002
  label: { fontSize: LABEL_SIZE2, fontWeight: "600" },
3919
4003
  value: { fontSize: VALUE_SIZE2, fontWeight: "700" },
@@ -3927,19 +4011,19 @@ var TotalsStrip = ({ items, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT, testID }) =
3927
4011
  return /* @__PURE__ */ jsx(FigureStrip, { testID, children: items.map((item) => /* @__PURE__ */ jsxs(
3928
4012
  View,
3929
4013
  {
3930
- style: [styles45.tile, figureCell(wide), { borderColor: colors.border, backgroundColor: colors.surfaceElevated }],
4014
+ style: [styles47.tile, figureCell(wide), { borderColor: colors.border, backgroundColor: colors.surfaceElevated }],
3931
4015
  testID: `${testID}-${item.key}`,
3932
4016
  children: [
3933
- /* @__PURE__ */ jsx(Text, { style: [styles45.label, { color: colors.textSecondary }], children: item.label }),
4017
+ /* @__PURE__ */ jsx(Text, { style: [styles47.label, { color: colors.textSecondary }], children: item.label }),
3934
4018
  /* @__PURE__ */ jsx(
3935
4019
  Text,
3936
4020
  {
3937
- style: [styles45.value, { color: item.tone === "alert" /* Alert */ ? theme.semantic.error[ALERT_STEP] : colors.text }],
4021
+ style: [styles47.value, { color: item.tone === "alert" /* Alert */ ? theme.semantic.error[ALERT_STEP] : colors.text }],
3938
4022
  testID: `${testID}-${item.key}-value`,
3939
4023
  children: item.value
3940
4024
  }
3941
4025
  ),
3942
- item.caption !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles45.caption, { color: colors.textSecondary }], children: item.caption })
4026
+ item.caption !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles47.caption, { color: colors.textSecondary }], children: item.caption })
3943
4027
  ]
3944
4028
  },
3945
4029
  item.key
@@ -3978,6 +4062,6 @@ var ListDetailLayout = ({
3978
4062
  return /* @__PURE__ */ jsx(SplitPanes, { end: null, layout: "stack" /* Stack */, start: panes.detail ? detail : list, testID });
3979
4063
  };
3980
4064
 
3981
- export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, AppText, BUILD_INFO_PREFIX, BadgeTone, BottomSheet, Breadcrumb, BuildInfoFooter, COPY_FEEDBACK_MS, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, CopyControl, CopyRowEmphasis, CopyStatus, CopyValueRow, CopyableId, CountBadge, DEFAULT_BILLING_ROUTE, DayCard, DropdownVariant, ELLIPSIS, FigureStrip, FormDialog, HEADER_STACK_BREAKPOINT, Heading, IdChip, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListDetailLayout, ListDetailPane, ListRow, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, ModalShell, PageFrame, RecordActionButton, RecordHeader, RowSelectedStyle, SECTION_INDEX_BREAKPOINT, ScreenColumn, Section, SectionChips, SectionDensity, SectionIndex, SectionIndexLayout, SectionVariant, SegmentedControl, SelectedMarker, SideSheet, SplitLayout, SplitPanes, StatusBadge, StickyPreview, TYPE_SCALE_BREAKPOINT, Tabs, TabsCollapsedTrigger, TabsVariant, TextKind, Timeline, ToggleSection, TotalsStrip, TotalsTone, TransferSlip, TruncatedText, UnderlineTabs, UpgradePrompt, WidgetCard, copyActionLabel, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, resolveActiveKey, resolveListDetailPanes, resolveRowLook, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
4065
+ export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, AppText, BUILD_INFO_PREFIX, BadgeTone, BottomSheet, Breadcrumb, BuildInfoFooter, COPY_FEEDBACK_MS, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, CopyControl, CopyRowEmphasis, CopyStatus, CopyValueRow, CopyableId, CountBadge, DEFAULT_BILLING_ROUTE, DayBadgeFill, DayCard, DropdownVariant, ELLIPSIS, FigureStrip, FormDialog, HEADER_STACK_BREAKPOINT, Heading, IdChip, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListDetailLayout, ListDetailPane, ListRow, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, ModalShell, PageFrame, PageHead, RecordActionButton, RecordHeader, RowSelectedStyle, SECTION_INDEX_BREAKPOINT, SECTION_INDEX_WIDTH, ScreenColumn, Section, SectionChips, SectionDensity, SectionIndex, SectionIndexLayout, SectionVariant, SegmentedControl, SelectedMarker, SideSheet, SplitLayout, SplitPanes, StatusBadge, StickyActionBar, StickyPreview, TYPE_SCALE_BREAKPOINT, Tabs, TabsCollapsedTrigger, TabsVariant, TextKind, Timeline, ToggleSection, TotalsStrip, TotalsTone, TransferSlip, TruncatedText, UnderlineTabs, UpgradePrompt, WidgetCard, copyActionLabel, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, resolveActiveKey, resolveListDetailPanes, resolveRowLook, resolveTintColors, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
3982
4066
  //# sourceMappingURL=index.mjs.map
3983
4067
  //# sourceMappingURL=index.mjs.map