@dloizides/ui-layout 1.49.2 → 1.50.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
@@ -143,14 +143,15 @@ interface SplitPanesProps {
143
143
  layout?: SplitLayout;
144
144
  startWeight?: number;
145
145
  endWeight?: number;
146
+ startWidth?: number;
146
147
  endWidth?: number;
147
148
  gap?: number;
148
149
  breakpoint?: number;
149
150
  testID?: string;
150
151
  }
151
152
  /** Two panes; the default Auto stacks below `breakpoint` (phones), pass Side to keep them side by side at 360.
152
- * `endWidth` fixes the end pane (a rail) at that width while side by side; stacked it stays full width. */
153
- declare const SplitPanes: ({ start, end, layout, startWeight, endWeight, endWidth, gap, breakpoint, testID, }: SplitPanesProps) => React.ReactElement;
153
+ * `startWidth` / `endWidth` fix that pane (a rail) at that width while side by side; stacked it stays full width. */
154
+ declare const SplitPanes: ({ start, end, layout, startWeight, endWeight, startWidth, endWidth, gap, breakpoint, testID, }: SplitPanesProps) => React.ReactElement;
154
155
 
155
156
  /** Whether the panes sit side by side: always for Side, never for Stack, from `breakpoint` up for Auto. */
156
157
  declare function isSplitSideBySide(layout: SplitLayout, width: number, breakpoint: number): boolean;
@@ -1183,6 +1184,17 @@ interface RowLook {
1183
1184
  /** Resolves a row's container style and text colours from its selected style and state. */
1184
1185
  declare function resolveRowLook(style: RowSelectedStyle, state: RowState, palette: RowPalette): RowLook;
1185
1186
 
1187
+ interface RowSelectionKeys {
1188
+ selectedKey: string | null;
1189
+ shownKey: string | null;
1190
+ }
1191
+ interface RowSelection {
1192
+ selected: boolean;
1193
+ style: RowSelectedStyle;
1194
+ }
1195
+ /** Desktop marks the row whose detail is shown with an accent bar; a phone outlines only the row the user tapped. */
1196
+ declare function rowSelection(isDesktop: boolean, rowKey: string, keys: RowSelectionKeys): RowSelection;
1197
+
1186
1198
  declare enum ChipOverflow {
1187
1199
  Wrap = "wrap",
1188
1200
  Scroll = "scroll"
@@ -1373,4 +1385,4 @@ interface WidgetCardProps {
1373
1385
  /** A titled card for one record or summary block, with an optional header slot and a record action footer. */
1374
1386
  declare const WidgetCard: ({ title, children, icon, headerRight, footer, testID }: WidgetCardProps) => React.ReactElement;
1375
1387
 
1376
- export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BadgeTone, BottomSheet, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, CopyableId, type CopyableIdProps, CountBadge, type CountBadgeProps, DEFAULT_BILLING_ROUTE, DayCard, 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, 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, type PageSize, RecordActionButton, type RecordActionButtonProps, RecordHeader, type RecordHeaderProps, type RowLook, type RowPalette, RowSelectedStyle, type RowState, SECTION_INDEX_BREAKPOINT, type ScaledFrame, ScreenColumn, type ScreenColumnProps, Section, SectionChips, type SectionChipsProps, SectionDensity, SectionIndex, type SectionIndexEntry, SectionIndexLayout, type SectionIndexLayoutProps, type SectionIndexProps, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SelectedMarker, SideSheet, type SideSheetProps, SplitLayout, SplitPanes, type SplitPanesProps, StatusBadge, type StatusBadgeProps, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TextKind, Timeline, type TimelineEntry, type TimelineProps, ToggleSection, type ToggleSectionProps, type ToneColors, TruncatedText, type TruncatedTextProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, WidgetCard, type WidgetCardProps, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, resolveActiveKey, resolveRowLook, resolveToneColors, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
1388
+ export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BadgeTone, BottomSheet, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, CopyableId, type CopyableIdProps, CountBadge, type CountBadgeProps, DEFAULT_BILLING_ROUTE, DayCard, 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, 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, type PageSize, RecordActionButton, type RecordActionButtonProps, RecordHeader, type RecordHeaderProps, type RowLook, type RowPalette, RowSelectedStyle, type RowSelection, type RowSelectionKeys, type RowState, SECTION_INDEX_BREAKPOINT, type ScaledFrame, ScreenColumn, type ScreenColumnProps, Section, SectionChips, type SectionChipsProps, SectionDensity, SectionIndex, type SectionIndexEntry, SectionIndexLayout, type SectionIndexLayoutProps, type SectionIndexProps, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SelectedMarker, SideSheet, type SideSheetProps, SplitLayout, SplitPanes, type SplitPanesProps, StatusBadge, type StatusBadgeProps, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TextKind, Timeline, type TimelineEntry, type TimelineProps, ToggleSection, type ToggleSectionProps, type ToneColors, TruncatedText, type TruncatedTextProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, WidgetCard, type WidgetCardProps, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, resolveActiveKey, resolveRowLook, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
package/dist/index.d.ts CHANGED
@@ -143,14 +143,15 @@ interface SplitPanesProps {
143
143
  layout?: SplitLayout;
144
144
  startWeight?: number;
145
145
  endWeight?: number;
146
+ startWidth?: number;
146
147
  endWidth?: number;
147
148
  gap?: number;
148
149
  breakpoint?: number;
149
150
  testID?: string;
150
151
  }
151
152
  /** Two panes; the default Auto stacks below `breakpoint` (phones), pass Side to keep them side by side at 360.
152
- * `endWidth` fixes the end pane (a rail) at that width while side by side; stacked it stays full width. */
153
- declare const SplitPanes: ({ start, end, layout, startWeight, endWeight, endWidth, gap, breakpoint, testID, }: SplitPanesProps) => React.ReactElement;
153
+ * `startWidth` / `endWidth` fix that pane (a rail) at that width while side by side; stacked it stays full width. */
154
+ declare const SplitPanes: ({ start, end, layout, startWeight, endWeight, startWidth, endWidth, gap, breakpoint, testID, }: SplitPanesProps) => React.ReactElement;
154
155
 
155
156
  /** Whether the panes sit side by side: always for Side, never for Stack, from `breakpoint` up for Auto. */
156
157
  declare function isSplitSideBySide(layout: SplitLayout, width: number, breakpoint: number): boolean;
@@ -1183,6 +1184,17 @@ interface RowLook {
1183
1184
  /** Resolves a row's container style and text colours from its selected style and state. */
1184
1185
  declare function resolveRowLook(style: RowSelectedStyle, state: RowState, palette: RowPalette): RowLook;
1185
1186
 
1187
+ interface RowSelectionKeys {
1188
+ selectedKey: string | null;
1189
+ shownKey: string | null;
1190
+ }
1191
+ interface RowSelection {
1192
+ selected: boolean;
1193
+ style: RowSelectedStyle;
1194
+ }
1195
+ /** Desktop marks the row whose detail is shown with an accent bar; a phone outlines only the row the user tapped. */
1196
+ declare function rowSelection(isDesktop: boolean, rowKey: string, keys: RowSelectionKeys): RowSelection;
1197
+
1186
1198
  declare enum ChipOverflow {
1187
1199
  Wrap = "wrap",
1188
1200
  Scroll = "scroll"
@@ -1373,4 +1385,4 @@ interface WidgetCardProps {
1373
1385
  /** A titled card for one record or summary block, with an optional header slot and a record action footer. */
1374
1386
  declare const WidgetCard: ({ title, children, icon, headerRight, footer, testID }: WidgetCardProps) => React.ReactElement;
1375
1387
 
1376
- export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BadgeTone, BottomSheet, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, CopyableId, type CopyableIdProps, CountBadge, type CountBadgeProps, DEFAULT_BILLING_ROUTE, DayCard, 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, 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, type PageSize, RecordActionButton, type RecordActionButtonProps, RecordHeader, type RecordHeaderProps, type RowLook, type RowPalette, RowSelectedStyle, type RowState, SECTION_INDEX_BREAKPOINT, type ScaledFrame, ScreenColumn, type ScreenColumnProps, Section, SectionChips, type SectionChipsProps, SectionDensity, SectionIndex, type SectionIndexEntry, SectionIndexLayout, type SectionIndexLayoutProps, type SectionIndexProps, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SelectedMarker, SideSheet, type SideSheetProps, SplitLayout, SplitPanes, type SplitPanesProps, StatusBadge, type StatusBadgeProps, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TextKind, Timeline, type TimelineEntry, type TimelineProps, ToggleSection, type ToggleSectionProps, type ToneColors, TruncatedText, type TruncatedTextProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, WidgetCard, type WidgetCardProps, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, resolveActiveKey, resolveRowLook, resolveToneColors, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
1388
+ export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionVariant, AppText, type AppTextProps, BUILD_INFO_PREFIX, BadgeTone, BottomSheet, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BuildInfoFooter, type BuildInfoFooterProps, COPY_FEEDBACK_MS, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, type ConfirmDialogProps, CopyStatus, type CopyToClipboard, CopyableId, type CopyableIdProps, CountBadge, type CountBadgeProps, DEFAULT_BILLING_ROUTE, DayCard, 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, 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, type PageSize, RecordActionButton, type RecordActionButtonProps, RecordHeader, type RecordHeaderProps, type RowLook, type RowPalette, RowSelectedStyle, type RowSelection, type RowSelectionKeys, type RowState, SECTION_INDEX_BREAKPOINT, type ScaledFrame, ScreenColumn, type ScreenColumnProps, Section, SectionChips, type SectionChipsProps, SectionDensity, SectionIndex, type SectionIndexEntry, SectionIndexLayout, type SectionIndexLayoutProps, type SectionIndexProps, type SectionProps, SectionVariant, SegmentedControl, type SegmentedControlProps, type SegmentedOption, SelectedMarker, SideSheet, type SideSheetProps, SplitLayout, SplitPanes, type SplitPanesProps, StatusBadge, type StatusBadgeProps, StickyPreview, type StickyPreviewProps, TYPE_SCALE_BREAKPOINT, type TabDescriptor, Tabs, TabsCollapsedTrigger, type TabsProps, TextKind, Timeline, type TimelineEntry, type TimelineProps, ToggleSection, type ToggleSectionProps, type ToneColors, TruncatedText, type TruncatedTextProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, WidgetCard, type WidgetCardProps, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, resolveActiveKey, resolveRowLook, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
package/dist/index.js CHANGED
@@ -257,6 +257,43 @@ var BadgeTone = /* @__PURE__ */ ((BadgeTone2) => {
257
257
  BadgeTone2["Danger"] = "danger";
258
258
  return BadgeTone2;
259
259
  })(BadgeTone || {});
260
+ var CHANNEL_MAX = 255;
261
+ var HEX_RADIX = 16;
262
+ var CHANNEL_WIDTH = 2;
263
+ var RGB_LENGTH = 6;
264
+ var RGBA_LENGTH = 8;
265
+ var MIX_STEPS = 10;
266
+ function parseHex(value) {
267
+ const digits = value.trim().replace(/^#/, "").toLowerCase();
268
+ if (!/^[0-9a-f]+$/.test(digits) || digits.length !== RGB_LENGTH && digits.length !== RGBA_LENGTH) return null;
269
+ const pairs = digits.match(/../g) ?? [];
270
+ const numbers = pairs.map((pair) => parseInt(pair, HEX_RADIX));
271
+ const alpha = digits.length === RGBA_LENGTH ? (numbers[RGB_LENGTH / CHANNEL_WIDTH] ?? CHANNEL_MAX) / CHANNEL_MAX : 1;
272
+ return { channels: numbers.slice(0, RGB_LENGTH / CHANNEL_WIDTH), alpha };
273
+ }
274
+ function toHex(channels) {
275
+ return `#${channels.map((channel) => Math.round(channel).toString(HEX_RADIX).padStart(CHANNEL_WIDTH, "0")).join("")}`;
276
+ }
277
+ function mix(from, to, weight) {
278
+ return toHex(from.map((channel, index) => channel * (1 - weight) + (to[index] ?? channel) * weight));
279
+ }
280
+ function compositeOver(background, surface) {
281
+ const top = parseHex(background);
282
+ const base = designTokens.isHexColor(surface) ? parseHex(surface) : null;
283
+ if (top === null || base === null) return null;
284
+ return mix(base.channels, top.channels, top.alpha);
285
+ }
286
+ function readableRawInk(theme, ink, background) {
287
+ const ground = compositeOver(background, theme.colors.surface);
288
+ const source = designTokens.isHexColor(ink) ? parseHex(ink) : null;
289
+ const target = designTokens.isHexColor(theme.colors.text) ? parseHex(theme.colors.text) : null;
290
+ if (ground === null || source === null || target === null) return ink;
291
+ for (let step = 0; step <= MIX_STEPS; step += 1) {
292
+ const candidate = step === 0 ? ink : mix(source.channels, target.channels, step / MIX_STEPS);
293
+ if (designTokens.contrastRatio(candidate, ground) >= designTokens.AA_NORMAL_TEXT_RATIO) return candidate;
294
+ }
295
+ return theme.colors.text;
296
+ }
260
297
  function scaleFor(theme, tone) {
261
298
  const semantic = theme.semantic;
262
299
  if (tone === "danger" /* Danger */) return theme.semantic.error;
@@ -323,8 +360,11 @@ var StatusBadge = ({
323
360
  }) => {
324
361
  const { t, theme } = uiFeedback.useUi();
325
362
  const toned = React16.useMemo(() => resolveToneColors(theme, tone), [theme, tone]);
326
- const color = rawColor ?? toned.color;
327
363
  const backgroundColor = rawBackground ?? toned.backgroundColor;
364
+ const color = React16.useMemo(
365
+ () => rawColor === void 0 ? toned.color : readableRawInk(theme, rawColor, backgroundColor),
366
+ [rawColor, toned.color, theme, backgroundColor]
367
+ );
328
368
  const dynamicBadge = React16.useMemo(() => ({ backgroundColor }), [backgroundColor]);
329
369
  const dashedColor = React16.useMemo(() => ({ borderColor: color }), [color]);
330
370
  const dynamicText = React16.useMemo(() => ({ color }), [color]);
@@ -416,12 +456,17 @@ var styles6 = reactNative.StyleSheet.create({
416
456
  stackPane: { width: "100%", minWidth: 0 },
417
457
  fixedPane: { flexGrow: 0, flexShrink: 0, minWidth: 0 }
418
458
  });
459
+ function sidePaneStyle(weight, fixedWidth) {
460
+ if (fixedWidth === void 0) return [styles6.sidePane, { flexGrow: weight }];
461
+ return [styles6.fixedPane, { width: fixedWidth }];
462
+ }
419
463
  var SplitPanes = ({
420
464
  start,
421
465
  end,
422
466
  layout = "auto" /* Auto */,
423
467
  startWeight = DEFAULT_WEIGHT,
424
468
  endWeight = DEFAULT_WEIGHT,
469
+ startWidth,
425
470
  endWidth,
426
471
  gap = DEFAULT_GAP,
427
472
  breakpoint = LAYOUT_COLLAPSE_BREAKPOINT,
@@ -430,9 +475,8 @@ var SplitPanes = ({
430
475
  const { width } = reactNative.useWindowDimensions();
431
476
  const isSide = isSplitSideBySide(layout, width, breakpoint);
432
477
  const container = React16.useMemo(() => [isSide ? styles6.row : styles6.column, { gap }], [isSide, gap]);
433
- const startStyle = isSide ? [styles6.sidePane, { flexGrow: startWeight }] : styles6.stackPane;
434
- const sideEnd = endWidth === void 0 ? [styles6.sidePane, { flexGrow: endWeight }] : [styles6.fixedPane, { width: endWidth }];
435
- const endStyle = isSide ? sideEnd : styles6.stackPane;
478
+ const startStyle = isSide ? sidePaneStyle(startWeight, startWidth) : styles6.stackPane;
479
+ const endStyle = isSide ? sidePaneStyle(endWeight, endWidth) : styles6.stackPane;
436
480
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: container, testID, children: [
437
481
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: startStyle, testID: `${testID}-start`, children: start }),
438
482
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: endStyle, testID: `${testID}-end`, children: end })
@@ -3258,6 +3302,12 @@ var ListRow = ({
3258
3302
  ] });
3259
3303
  };
3260
3304
 
3305
+ // src/ListRow/utils/rowSelection.ts
3306
+ function rowSelection(isDesktop, rowKey, keys) {
3307
+ if (isDesktop) return { selected: keys.shownKey === rowKey, style: "accent-bar" /* AccentBar */ };
3308
+ return { selected: keys.selectedKey === rowKey, style: "outline" /* Outline */ };
3309
+ }
3310
+
3261
3311
  // src/SectionIndexLayout/ChipOverflow.ts
3262
3312
  var ChipOverflow = /* @__PURE__ */ ((ChipOverflow2) => {
3263
3313
  ChipOverflow2["Wrap"] = "wrap";
@@ -3749,6 +3799,7 @@ exports.pageScale = pageScale;
3749
3799
  exports.resolveActiveKey = resolveActiveKey;
3750
3800
  exports.resolveRowLook = resolveRowLook;
3751
3801
  exports.resolveToneColors = resolveToneColors;
3802
+ exports.rowSelection = rowSelection;
3752
3803
  exports.scaledFrame = scaledFrame;
3753
3804
  exports.shortenCommit = shortenCommit;
3754
3805
  exports.trimTrailingSlash = trimTrailingSlash;