@dloizides/ui-layout 1.50.0 → 1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/index.d.mts +91 -2
- package/dist/index.d.ts +91 -2
- package/dist/index.js +253 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +245 -36
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.51.0
|
|
4
|
+
|
|
5
|
+
- INV-BILLS-1 D-BILLS-9 "Every Bills UI part is shared", UI-ATOMIC-1. New molecule `CopyValueRow` (label, value, copy button that shows copied / failed through `useCopyToClipboard`; `emphasis` `CopyRowEmphasis` inline or prominent with a wide button; `copyValue` copies a different string than shown, e.g. an IBAN without spaces; `monospace`). New organism `TransferSlip` (amount and recipient lead, copy rows as children, optional `footer`). New molecule `TotalsStrip` (`TotalsItem[]` over `FigureStrip`, `TotalsTone.Alert` colours the value). New organism `ListDetailLayout` (list beside the chosen record from the breakpoint, one pane below it chosen by `narrowPane` `ListDetailPane`; `resolveListDetailPanes`). All labels are pre-localized props.
|
|
6
|
+
|
|
3
7
|
## 1.50.0
|
|
4
8
|
|
|
5
9
|
- `SplitPanes` takes `startWidth`: fixes the start pane (a list rail) at that width while side by side, like `endWidth`; stacked it stays full width.
|
package/dist/index.d.mts
CHANGED
|
@@ -1369,10 +1369,11 @@ interface UnderlineTabsProps {
|
|
|
1369
1369
|
accessibilityLabel: string;
|
|
1370
1370
|
accessibilityHint?: string;
|
|
1371
1371
|
underlineColor?: string;
|
|
1372
|
+
fadeColor?: string;
|
|
1372
1373
|
testID?: string;
|
|
1373
1374
|
}
|
|
1374
1375
|
/** A full-width tab strip with an underline on the selected tab and an optional count per tab. */
|
|
1375
|
-
declare const UnderlineTabs: ({ tabs, activeKey, onChange, accessibilityLabel, accessibilityHint, underlineColor, testID }: UnderlineTabsProps) => React.ReactElement;
|
|
1376
|
+
declare const UnderlineTabs: ({ tabs, activeKey, onChange, accessibilityLabel, accessibilityHint, underlineColor, fadeColor, testID }: UnderlineTabsProps) => React.ReactElement;
|
|
1376
1377
|
|
|
1377
1378
|
interface WidgetCardProps {
|
|
1378
1379
|
title: string;
|
|
@@ -1385,4 +1386,92 @@ interface WidgetCardProps {
|
|
|
1385
1386
|
/** A titled card for one record or summary block, with an optional header slot and a record action footer. */
|
|
1386
1387
|
declare const WidgetCard: ({ title, children, icon, headerRight, footer, testID }: WidgetCardProps) => React.ReactElement;
|
|
1387
1388
|
|
|
1388
|
-
|
|
1389
|
+
interface TransferSlipProps {
|
|
1390
|
+
leadLabel: string;
|
|
1391
|
+
amount: string;
|
|
1392
|
+
recipient?: string;
|
|
1393
|
+
children: React.ReactNode;
|
|
1394
|
+
footer?: React.ReactNode;
|
|
1395
|
+
testID: string;
|
|
1396
|
+
}
|
|
1397
|
+
/** A payment slip: the amount and recipient lead, then the copy rows (children), then an optional footer. */
|
|
1398
|
+
declare const TransferSlip: ({ leadLabel, amount, recipient, children, footer, testID }: TransferSlipProps) => React.ReactElement;
|
|
1399
|
+
|
|
1400
|
+
/** How loudly a copy row shows its value: inline beside a compact button, or prominent with a wide button below. */
|
|
1401
|
+
declare const enum CopyRowEmphasis {
|
|
1402
|
+
Inline = "inline",
|
|
1403
|
+
Prominent = "prominent"
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/** The pre-localized labels a copy control shows in each state. */
|
|
1407
|
+
interface CopyValueLabels {
|
|
1408
|
+
copy: string;
|
|
1409
|
+
copied: string;
|
|
1410
|
+
failed: string;
|
|
1411
|
+
hint: string;
|
|
1412
|
+
}
|
|
1413
|
+
/** The label the copy control shows for a copy status. */
|
|
1414
|
+
declare function copyActionLabel(status: CopyStatus, labels: CopyValueLabels): string;
|
|
1415
|
+
|
|
1416
|
+
interface CopyValueRowProps {
|
|
1417
|
+
label: string;
|
|
1418
|
+
value: string;
|
|
1419
|
+
labels: CopyValueLabels;
|
|
1420
|
+
emphasis?: CopyRowEmphasis;
|
|
1421
|
+
copyValue?: string;
|
|
1422
|
+
monospace?: boolean;
|
|
1423
|
+
writer?: (text: string) => void | Promise<void>;
|
|
1424
|
+
testID: string;
|
|
1425
|
+
}
|
|
1426
|
+
/** One labelled value with a copy button that confirms the copy or says it failed. */
|
|
1427
|
+
declare const CopyValueRow: ({ label, value, labels, emphasis, copyValue, monospace, writer, testID, }: CopyValueRowProps) => React.ReactElement;
|
|
1428
|
+
|
|
1429
|
+
/** The tone of one total: neutral, or alert when the figure needs attention. */
|
|
1430
|
+
declare const enum TotalsTone {
|
|
1431
|
+
Neutral = "neutral",
|
|
1432
|
+
Alert = "alert"
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/** One total: pre-localized label, formatted value and an optional caption. */
|
|
1436
|
+
interface TotalsItem {
|
|
1437
|
+
key: string;
|
|
1438
|
+
label: string;
|
|
1439
|
+
value: string;
|
|
1440
|
+
caption?: string;
|
|
1441
|
+
tone?: TotalsTone;
|
|
1442
|
+
}
|
|
1443
|
+
interface TotalsStripProps {
|
|
1444
|
+
items: readonly TotalsItem[];
|
|
1445
|
+
breakpoint?: number;
|
|
1446
|
+
testID: string;
|
|
1447
|
+
}
|
|
1448
|
+
/** A row of total tiles: one row when wide, two per row when narrow. */
|
|
1449
|
+
declare const TotalsStrip: ({ items, breakpoint, testID }: TotalsStripProps) => React.ReactElement;
|
|
1450
|
+
|
|
1451
|
+
/** Which pane a narrow screen shows: the list, or the detail of the chosen row. */
|
|
1452
|
+
declare const enum ListDetailPane {
|
|
1453
|
+
List = "list",
|
|
1454
|
+
Detail = "detail"
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
interface ListDetailLayoutProps {
|
|
1458
|
+
list: React.ReactNode;
|
|
1459
|
+
detail?: React.ReactNode;
|
|
1460
|
+
placeholder?: React.ReactNode;
|
|
1461
|
+
narrowPane?: ListDetailPane;
|
|
1462
|
+
breakpoint?: number;
|
|
1463
|
+
listWeight?: number;
|
|
1464
|
+
testID: string;
|
|
1465
|
+
}
|
|
1466
|
+
/** A list beside the chosen record when wide; one of the two when narrow. */
|
|
1467
|
+
declare const ListDetailLayout: ({ list, detail, placeholder, narrowPane, breakpoint, listWeight, testID, }: ListDetailLayoutProps) => React.ReactElement;
|
|
1468
|
+
|
|
1469
|
+
/** Which panes are on screen. */
|
|
1470
|
+
interface ListDetailVisibility {
|
|
1471
|
+
list: boolean;
|
|
1472
|
+
detail: boolean;
|
|
1473
|
+
}
|
|
1474
|
+
/** Wide shows both panes; narrow shows one, the detail only when asked for and present. */
|
|
1475
|
+
declare function resolveListDetailPanes(wide: boolean, narrowPane: ListDetailPane, hasDetail: boolean): ListDetailVisibility;
|
|
1476
|
+
|
|
1477
|
+
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, CopyRowEmphasis, CopyStatus, type CopyToClipboard, type CopyValueLabels, CopyValueRow, type CopyValueRowProps, 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, ListDetailLayout, type ListDetailLayoutProps, ListDetailPane, type ListDetailVisibility, ListRow, type ListRowProps, type ListRowTone, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, type ModalDropdownProps, type ModalProps, ModalShell, type ModalShellProps, type ModalSize, PageFrame, type PageFrameProps, 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, type TotalsItem, TotalsStrip, type TotalsStripProps, TotalsTone, TransferSlip, type TransferSlipProps, TruncatedText, type TruncatedTextProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, WidgetCard, type WidgetCardProps, copyActionLabel, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, resolveActiveKey, resolveListDetailPanes, resolveRowLook, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
|
package/dist/index.d.ts
CHANGED
|
@@ -1369,10 +1369,11 @@ interface UnderlineTabsProps {
|
|
|
1369
1369
|
accessibilityLabel: string;
|
|
1370
1370
|
accessibilityHint?: string;
|
|
1371
1371
|
underlineColor?: string;
|
|
1372
|
+
fadeColor?: string;
|
|
1372
1373
|
testID?: string;
|
|
1373
1374
|
}
|
|
1374
1375
|
/** A full-width tab strip with an underline on the selected tab and an optional count per tab. */
|
|
1375
|
-
declare const UnderlineTabs: ({ tabs, activeKey, onChange, accessibilityLabel, accessibilityHint, underlineColor, testID }: UnderlineTabsProps) => React.ReactElement;
|
|
1376
|
+
declare const UnderlineTabs: ({ tabs, activeKey, onChange, accessibilityLabel, accessibilityHint, underlineColor, fadeColor, testID }: UnderlineTabsProps) => React.ReactElement;
|
|
1376
1377
|
|
|
1377
1378
|
interface WidgetCardProps {
|
|
1378
1379
|
title: string;
|
|
@@ -1385,4 +1386,92 @@ interface WidgetCardProps {
|
|
|
1385
1386
|
/** A titled card for one record or summary block, with an optional header slot and a record action footer. */
|
|
1386
1387
|
declare const WidgetCard: ({ title, children, icon, headerRight, footer, testID }: WidgetCardProps) => React.ReactElement;
|
|
1387
1388
|
|
|
1388
|
-
|
|
1389
|
+
interface TransferSlipProps {
|
|
1390
|
+
leadLabel: string;
|
|
1391
|
+
amount: string;
|
|
1392
|
+
recipient?: string;
|
|
1393
|
+
children: React.ReactNode;
|
|
1394
|
+
footer?: React.ReactNode;
|
|
1395
|
+
testID: string;
|
|
1396
|
+
}
|
|
1397
|
+
/** A payment slip: the amount and recipient lead, then the copy rows (children), then an optional footer. */
|
|
1398
|
+
declare const TransferSlip: ({ leadLabel, amount, recipient, children, footer, testID }: TransferSlipProps) => React.ReactElement;
|
|
1399
|
+
|
|
1400
|
+
/** How loudly a copy row shows its value: inline beside a compact button, or prominent with a wide button below. */
|
|
1401
|
+
declare const enum CopyRowEmphasis {
|
|
1402
|
+
Inline = "inline",
|
|
1403
|
+
Prominent = "prominent"
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/** The pre-localized labels a copy control shows in each state. */
|
|
1407
|
+
interface CopyValueLabels {
|
|
1408
|
+
copy: string;
|
|
1409
|
+
copied: string;
|
|
1410
|
+
failed: string;
|
|
1411
|
+
hint: string;
|
|
1412
|
+
}
|
|
1413
|
+
/** The label the copy control shows for a copy status. */
|
|
1414
|
+
declare function copyActionLabel(status: CopyStatus, labels: CopyValueLabels): string;
|
|
1415
|
+
|
|
1416
|
+
interface CopyValueRowProps {
|
|
1417
|
+
label: string;
|
|
1418
|
+
value: string;
|
|
1419
|
+
labels: CopyValueLabels;
|
|
1420
|
+
emphasis?: CopyRowEmphasis;
|
|
1421
|
+
copyValue?: string;
|
|
1422
|
+
monospace?: boolean;
|
|
1423
|
+
writer?: (text: string) => void | Promise<void>;
|
|
1424
|
+
testID: string;
|
|
1425
|
+
}
|
|
1426
|
+
/** One labelled value with a copy button that confirms the copy or says it failed. */
|
|
1427
|
+
declare const CopyValueRow: ({ label, value, labels, emphasis, copyValue, monospace, writer, testID, }: CopyValueRowProps) => React.ReactElement;
|
|
1428
|
+
|
|
1429
|
+
/** The tone of one total: neutral, or alert when the figure needs attention. */
|
|
1430
|
+
declare const enum TotalsTone {
|
|
1431
|
+
Neutral = "neutral",
|
|
1432
|
+
Alert = "alert"
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/** One total: pre-localized label, formatted value and an optional caption. */
|
|
1436
|
+
interface TotalsItem {
|
|
1437
|
+
key: string;
|
|
1438
|
+
label: string;
|
|
1439
|
+
value: string;
|
|
1440
|
+
caption?: string;
|
|
1441
|
+
tone?: TotalsTone;
|
|
1442
|
+
}
|
|
1443
|
+
interface TotalsStripProps {
|
|
1444
|
+
items: readonly TotalsItem[];
|
|
1445
|
+
breakpoint?: number;
|
|
1446
|
+
testID: string;
|
|
1447
|
+
}
|
|
1448
|
+
/** A row of total tiles: one row when wide, two per row when narrow. */
|
|
1449
|
+
declare const TotalsStrip: ({ items, breakpoint, testID }: TotalsStripProps) => React.ReactElement;
|
|
1450
|
+
|
|
1451
|
+
/** Which pane a narrow screen shows: the list, or the detail of the chosen row. */
|
|
1452
|
+
declare const enum ListDetailPane {
|
|
1453
|
+
List = "list",
|
|
1454
|
+
Detail = "detail"
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
interface ListDetailLayoutProps {
|
|
1458
|
+
list: React.ReactNode;
|
|
1459
|
+
detail?: React.ReactNode;
|
|
1460
|
+
placeholder?: React.ReactNode;
|
|
1461
|
+
narrowPane?: ListDetailPane;
|
|
1462
|
+
breakpoint?: number;
|
|
1463
|
+
listWeight?: number;
|
|
1464
|
+
testID: string;
|
|
1465
|
+
}
|
|
1466
|
+
/** A list beside the chosen record when wide; one of the two when narrow. */
|
|
1467
|
+
declare const ListDetailLayout: ({ list, detail, placeholder, narrowPane, breakpoint, listWeight, testID, }: ListDetailLayoutProps) => React.ReactElement;
|
|
1468
|
+
|
|
1469
|
+
/** Which panes are on screen. */
|
|
1470
|
+
interface ListDetailVisibility {
|
|
1471
|
+
list: boolean;
|
|
1472
|
+
detail: boolean;
|
|
1473
|
+
}
|
|
1474
|
+
/** Wide shows both panes; narrow shows one, the detail only when asked for and present. */
|
|
1475
|
+
declare function resolveListDetailPanes(wide: boolean, narrowPane: ListDetailPane, hasDetail: boolean): ListDetailVisibility;
|
|
1476
|
+
|
|
1477
|
+
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, CopyRowEmphasis, CopyStatus, type CopyToClipboard, type CopyValueLabels, CopyValueRow, type CopyValueRowProps, 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, ListDetailLayout, type ListDetailLayoutProps, ListDetailPane, type ListDetailVisibility, ListRow, type ListRowProps, type ListRowTone, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, type ModalDropdownProps, type ModalProps, ModalShell, type ModalShellProps, type ModalSize, PageFrame, type PageFrameProps, 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, type TotalsItem, TotalsStrip, type TotalsStripProps, TotalsTone, TransferSlip, type TransferSlipProps, TruncatedText, type TruncatedTextProps, type UnderlineTab, UnderlineTabs, type UnderlineTabsProps, UpgradePrompt, type UpgradePromptProps, type VersionResponse, type VisibleViewport, WidgetCard, type WidgetCardProps, copyActionLabel, copyText, figureCell, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isRecordHeaderCompact, isSplitSideBySide, isWideWebViewport, pageScale, resolveActiveKey, resolveListDetailPanes, resolveRowLook, resolveToneColors, rowSelection, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
|
package/dist/index.js
CHANGED
|
@@ -283,14 +283,14 @@ function compositeOver(background, surface) {
|
|
|
283
283
|
if (top === null || base === null) return null;
|
|
284
284
|
return mix(base.channels, top.channels, top.alpha);
|
|
285
285
|
}
|
|
286
|
-
function readableRawInk(theme, ink, background) {
|
|
287
|
-
const
|
|
286
|
+
function readableRawInk(theme, ink, background, ground = theme.colors.surface) {
|
|
287
|
+
const visible = compositeOver(background, ground);
|
|
288
288
|
const source = designTokens.isHexColor(ink) ? parseHex(ink) : null;
|
|
289
289
|
const target = designTokens.isHexColor(theme.colors.text) ? parseHex(theme.colors.text) : null;
|
|
290
|
-
if (
|
|
290
|
+
if (visible === null || source === null || target === null) return ink;
|
|
291
291
|
for (let step = 0; step <= MIX_STEPS; step += 1) {
|
|
292
292
|
const candidate = step === 0 ? ink : mix(source.channels, target.channels, step / MIX_STEPS);
|
|
293
|
-
if (designTokens.contrastRatio(candidate,
|
|
293
|
+
if (designTokens.contrastRatio(candidate, visible) >= designTokens.AA_NORMAL_TEXT_RATIO) return candidate;
|
|
294
294
|
}
|
|
295
295
|
return theme.colors.text;
|
|
296
296
|
}
|
|
@@ -2804,6 +2804,11 @@ var CopyStatus = /* @__PURE__ */ ((CopyStatus2) => {
|
|
|
2804
2804
|
CopyStatus2["Failed"] = "failed";
|
|
2805
2805
|
return CopyStatus2;
|
|
2806
2806
|
})(CopyStatus || {});
|
|
2807
|
+
function readableTone(tone, backgrounds, fallback) {
|
|
2808
|
+
if (!designTokens.isHexColor(tone) || !backgrounds.every(designTokens.isHexColor)) return tone;
|
|
2809
|
+
const readable = backgrounds.every((background) => designTokens.contrastRatio(tone, background) >= designTokens.AA_NORMAL_TEXT_RATIO);
|
|
2810
|
+
return readable ? tone : fallback;
|
|
2811
|
+
}
|
|
2807
2812
|
|
|
2808
2813
|
// src/CopyableId/copyText.ts
|
|
2809
2814
|
var OFFSCREEN_POSITION = "-9999px";
|
|
@@ -2974,7 +2979,7 @@ var CopyableId = ({
|
|
|
2974
2979
|
accessibilityLabel: t(action.key),
|
|
2975
2980
|
accessibilityHint: t(LAYOUT_I18N.copyHint),
|
|
2976
2981
|
testID: `${testID}-copy`,
|
|
2977
|
-
style: [styles24.action, { color: action.color }],
|
|
2982
|
+
style: [styles24.action, { color: readableTone(action.color, [colors.background, colors.surfaceElevated], colors.text) }],
|
|
2978
2983
|
children: t(action.key)
|
|
2979
2984
|
}
|
|
2980
2985
|
)
|
|
@@ -3658,6 +3663,30 @@ var IdChip = ({ label, value, testID, accessibilityLabel, accessibilityHint, dis
|
|
|
3658
3663
|
}
|
|
3659
3664
|
);
|
|
3660
3665
|
};
|
|
3666
|
+
var STEP_WIDTH = 8;
|
|
3667
|
+
var STEP_OPACITIES = [0.35, 0.65, 0.9];
|
|
3668
|
+
var styles39 = reactNative.StyleSheet.create({
|
|
3669
|
+
fade: { bottom: 0, flexDirection: "row", position: "absolute", right: 0, top: 0 },
|
|
3670
|
+
step: { width: STEP_WIDTH }
|
|
3671
|
+
});
|
|
3672
|
+
var EdgeFadeStrip = ({ color }) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, pointerEvents: "none", style: styles39.fade, children: STEP_OPACITIES.map((opacity) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles39.step, { backgroundColor: color, opacity }] }, opacity)) });
|
|
3673
|
+
var SLACK_PX = 1;
|
|
3674
|
+
function showsEdgeFade({ contentWidth, viewportWidth, offset }) {
|
|
3675
|
+
return contentWidth - viewportWidth - offset > SLACK_PX;
|
|
3676
|
+
}
|
|
3677
|
+
function useEdgeFade() {
|
|
3678
|
+
const [metrics, setMetrics] = React16.useState({ contentWidth: 0, viewportWidth: 0, offset: 0 });
|
|
3679
|
+
const onLayout = React16.useCallback((event) => {
|
|
3680
|
+
const viewportWidth = event.nativeEvent.layout.width;
|
|
3681
|
+
setMetrics((prev) => ({ ...prev, viewportWidth }));
|
|
3682
|
+
}, []);
|
|
3683
|
+
const onContentSizeChange = React16.useCallback((contentWidth) => setMetrics((prev) => ({ ...prev, contentWidth })), []);
|
|
3684
|
+
const onScroll = React16.useCallback((event) => {
|
|
3685
|
+
const offset = event.nativeEvent.contentOffset.x;
|
|
3686
|
+
setMetrics((prev) => ({ ...prev, offset }));
|
|
3687
|
+
}, []);
|
|
3688
|
+
return { visible: showsEdgeFade(metrics), onLayout, onContentSizeChange, onScroll };
|
|
3689
|
+
}
|
|
3661
3690
|
var UNDERLINE = 3;
|
|
3662
3691
|
var PAD_H4 = 12;
|
|
3663
3692
|
var GAP6 = 6;
|
|
@@ -3667,60 +3696,240 @@ var COUNT_MIN = 22;
|
|
|
3667
3696
|
var COUNT_PAD = 6;
|
|
3668
3697
|
var PILL = 999;
|
|
3669
3698
|
var DEFAULT_UNDERLINE_STEP = "700";
|
|
3670
|
-
var
|
|
3699
|
+
var SCROLL_THROTTLE_MS = 16;
|
|
3700
|
+
var styles40 = reactNative.StyleSheet.create({
|
|
3671
3701
|
count: { borderRadius: PILL, fontSize: COUNT_FONT, fontWeight: "700", minWidth: COUNT_MIN, paddingHorizontal: COUNT_PAD, textAlign: "center" },
|
|
3672
3702
|
label: { fontSize: FONT_SIZE4, fontWeight: "600" },
|
|
3673
|
-
strip: { borderBottomWidth: 1, width: "100%" },
|
|
3703
|
+
strip: { borderBottomWidth: 1, position: "relative", width: "100%" },
|
|
3674
3704
|
tab: { alignItems: "center", borderBottomWidth: UNDERLINE, flexDirection: "row", gap: GAP6, justifyContent: "center", minHeight: MIN_TARGET_PX, minWidth: MIN_TARGET_PX, paddingHorizontal: PAD_H4 }
|
|
3675
3705
|
});
|
|
3676
|
-
var UnderlineTabs = ({ tabs, activeKey, onChange, accessibilityLabel, accessibilityHint, underlineColor, testID }) => {
|
|
3706
|
+
var UnderlineTabs = ({ tabs, activeKey, onChange, accessibilityLabel, accessibilityHint, underlineColor, fadeColor, testID }) => {
|
|
3677
3707
|
const { theme } = uiFeedback.useUi();
|
|
3678
3708
|
const underline = underlineColor ?? theme.palette.primary[DEFAULT_UNDERLINE_STEP];
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3709
|
+
const fade = useEdgeFade();
|
|
3710
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles40.strip, { borderBottomColor: theme.colors.border }], testID, children: [
|
|
3711
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.ScrollView, { horizontal: true, accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, scrollEventThrottle: SCROLL_THROTTLE_MS, showsHorizontalScrollIndicator: false, onContentSizeChange: fade.onContentSizeChange, onLayout: fade.onLayout, onScroll: fade.onScroll, children: tabs.map((tab) => {
|
|
3712
|
+
const selected = tab.key === activeKey;
|
|
3713
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3714
|
+
reactNative.Pressable,
|
|
3715
|
+
{
|
|
3716
|
+
accessibilityHint: tab.accessibilityHint,
|
|
3717
|
+
accessibilityLabel: tab.label,
|
|
3718
|
+
accessibilityRole: "tab",
|
|
3719
|
+
accessibilityState: { selected },
|
|
3720
|
+
"aria-selected": selected,
|
|
3721
|
+
style: [styles40.tab, { borderBottomColor: selected ? underline : "transparent" }],
|
|
3722
|
+
testID: tab.testID,
|
|
3723
|
+
onPress: () => onChange(tab.key),
|
|
3724
|
+
children: [
|
|
3725
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles40.label, { color: selected ? theme.colors.text : theme.colors.textSecondary }], children: tab.label }),
|
|
3726
|
+
tab.count === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles40.count, { backgroundColor: theme.colors.border, color: theme.colors.text }], children: String(tab.count) })
|
|
3727
|
+
]
|
|
3728
|
+
},
|
|
3729
|
+
tab.key
|
|
3730
|
+
);
|
|
3731
|
+
}) }),
|
|
3732
|
+
fade.visible ? /* @__PURE__ */ jsxRuntime.jsx(EdgeFadeStrip, { color: fadeColor ?? theme.colors.background }) : null
|
|
3733
|
+
] });
|
|
3700
3734
|
};
|
|
3701
3735
|
var RADIUS3 = 12;
|
|
3702
3736
|
var PAD = 16;
|
|
3703
3737
|
var GAP7 = 8;
|
|
3704
3738
|
var TITLE_FONT = 15;
|
|
3705
|
-
var
|
|
3739
|
+
var styles41 = reactNative.StyleSheet.create({
|
|
3706
3740
|
card: { borderRadius: RADIUS3, borderWidth: 1, gap: GAP7, minWidth: 0, padding: PAD },
|
|
3707
|
-
footer: {
|
|
3741
|
+
footer: { alignItems: "flex-start", flexDirection: "row", flexWrap: "wrap", gap: GAP7 },
|
|
3708
3742
|
head: { alignItems: "center", flexDirection: "row", gap: GAP7 },
|
|
3709
3743
|
title: { flex: 1, fontSize: TITLE_FONT, fontWeight: "700" }
|
|
3710
3744
|
});
|
|
3711
3745
|
var WidgetCard = ({ title, children, icon, headerRight, footer, testID }) => {
|
|
3712
3746
|
const { theme } = uiFeedback.useUi();
|
|
3713
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
3714
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
3747
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles41.card, { backgroundColor: theme.colors.surfaceElevated, borderColor: theme.colors.border }], testID, children: [
|
|
3748
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles41.head, children: [
|
|
3715
3749
|
icon === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { "aria-hidden": true, children: icon }),
|
|
3716
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [
|
|
3750
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityRole: "header", style: [styles41.title, { color: theme.colors.text }], children: title }),
|
|
3717
3751
|
headerRight
|
|
3718
3752
|
] }),
|
|
3719
3753
|
children,
|
|
3720
|
-
footer === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
3754
|
+
footer === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles41.footer, children: footer })
|
|
3755
|
+
] });
|
|
3756
|
+
};
|
|
3757
|
+
var LEAD_LABEL_SIZE = 14;
|
|
3758
|
+
var AMOUNT_SIZE = 30;
|
|
3759
|
+
var RECIPIENT_SIZE = 15;
|
|
3760
|
+
var LEAD_PAD = 16;
|
|
3761
|
+
var LEAD_RADIUS = 12;
|
|
3762
|
+
var GAP8 = 12;
|
|
3763
|
+
var LEAD_GAP = 4;
|
|
3764
|
+
var LEAD_BORDER = 1.5;
|
|
3765
|
+
var ACCENT_STEP = "500";
|
|
3766
|
+
var styles42 = reactNative.StyleSheet.create({
|
|
3767
|
+
slip: { gap: GAP8, width: "100%" },
|
|
3768
|
+
lead: { padding: LEAD_PAD, borderRadius: LEAD_RADIUS, borderWidth: LEAD_BORDER, gap: LEAD_GAP },
|
|
3769
|
+
leadLabel: { fontSize: LEAD_LABEL_SIZE },
|
|
3770
|
+
amount: { fontSize: AMOUNT_SIZE, fontWeight: "800" },
|
|
3771
|
+
recipient: { fontSize: RECIPIENT_SIZE },
|
|
3772
|
+
rows: { width: "100%" }
|
|
3773
|
+
});
|
|
3774
|
+
var TransferSlip = ({ leadLabel, amount, recipient, children, footer, testID }) => {
|
|
3775
|
+
const { theme } = uiFeedback.useUi();
|
|
3776
|
+
const { colors } = theme;
|
|
3777
|
+
const accent = theme.palette.primary[ACCENT_STEP];
|
|
3778
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles42.slip, testID, children: [
|
|
3779
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles42.lead, { borderColor: accent, backgroundColor: colors.surface }], testID: `${testID}-lead`, children: [
|
|
3780
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.leadLabel, { color: colors.textSecondary }], children: leadLabel }),
|
|
3781
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.amount, { color: colors.text }], testID: `${testID}-amount`, children: amount }),
|
|
3782
|
+
recipient !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles42.recipient, { color: colors.text }], children: recipient })
|
|
3783
|
+
] }),
|
|
3784
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles42.rows, children }),
|
|
3785
|
+
footer
|
|
3721
3786
|
] });
|
|
3722
3787
|
};
|
|
3723
3788
|
|
|
3789
|
+
// src/TransferSlip/CopyRowEmphasis.ts
|
|
3790
|
+
var CopyRowEmphasis = /* @__PURE__ */ ((CopyRowEmphasis2) => {
|
|
3791
|
+
CopyRowEmphasis2["Inline"] = "inline";
|
|
3792
|
+
CopyRowEmphasis2["Prominent"] = "prominent";
|
|
3793
|
+
return CopyRowEmphasis2;
|
|
3794
|
+
})(CopyRowEmphasis || {});
|
|
3795
|
+
|
|
3796
|
+
// src/TransferSlip/copyActionLabel.ts
|
|
3797
|
+
function copyActionLabel(status, labels) {
|
|
3798
|
+
if (status === "copied" /* Copied */) return labels.copied;
|
|
3799
|
+
if (status === "failed" /* Failed */) return labels.failed;
|
|
3800
|
+
return labels.copy;
|
|
3801
|
+
}
|
|
3802
|
+
var LABEL_SIZE = 13;
|
|
3803
|
+
var VALUE_SIZE = 16;
|
|
3804
|
+
var PROMINENT_SIZE = 20;
|
|
3805
|
+
var ROW_GAP3 = 12;
|
|
3806
|
+
var STACK_GAP = 8;
|
|
3807
|
+
var ROW_PAD = 10;
|
|
3808
|
+
var TEXT_GAP = 2;
|
|
3809
|
+
var MONO_SPACING = 1;
|
|
3810
|
+
var styles43 = reactNative.StyleSheet.create({
|
|
3811
|
+
inline: { flexDirection: "row", alignItems: "center", gap: ROW_GAP3, paddingVertical: ROW_PAD, borderTopWidth: reactNative.StyleSheet.hairlineWidth },
|
|
3812
|
+
prominent: { gap: STACK_GAP, paddingVertical: ROW_PAD },
|
|
3813
|
+
text: { flex: 1, minWidth: 0, gap: TEXT_GAP },
|
|
3814
|
+
label: { fontSize: LABEL_SIZE, fontWeight: "600" },
|
|
3815
|
+
value: { fontSize: VALUE_SIZE },
|
|
3816
|
+
big: { fontSize: PROMINENT_SIZE, fontWeight: "700", fontFamily: "monospace", letterSpacing: MONO_SPACING }
|
|
3817
|
+
});
|
|
3818
|
+
var CopyValueRow = ({
|
|
3819
|
+
label,
|
|
3820
|
+
value,
|
|
3821
|
+
labels,
|
|
3822
|
+
emphasis = "inline" /* Inline */,
|
|
3823
|
+
copyValue,
|
|
3824
|
+
monospace = false,
|
|
3825
|
+
writer,
|
|
3826
|
+
testID
|
|
3827
|
+
}) => {
|
|
3828
|
+
const { theme } = uiFeedback.useUi();
|
|
3829
|
+
const { colors } = theme;
|
|
3830
|
+
const { status, copy } = useCopyToClipboard(copyValue ?? value, writer);
|
|
3831
|
+
const action = copyActionLabel(status, labels);
|
|
3832
|
+
const prominent = emphasis === "prominent" /* Prominent */;
|
|
3833
|
+
const valueStyle = prominent || monospace ? styles43.big : styles43.value;
|
|
3834
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: prominent ? styles43.prominent : [styles43.inline, { borderTopColor: colors.border }], testID, children: [
|
|
3835
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles43.text, children: [
|
|
3836
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles43.label, { color: colors.textSecondary }], children: label }),
|
|
3837
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { selectable: true, style: [valueStyle, { color: colors.text }], testID: `${testID}-value`, children: value })
|
|
3838
|
+
] }),
|
|
3839
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3840
|
+
uiButtons.Button,
|
|
3841
|
+
{
|
|
3842
|
+
accessibilityHint: labels.hint,
|
|
3843
|
+
accessibilityLabel: `${action}: ${label}`,
|
|
3844
|
+
fullWidth: prominent,
|
|
3845
|
+
label: action,
|
|
3846
|
+
size: prominent ? "md" : "sm",
|
|
3847
|
+
testID: `${testID}-copy`,
|
|
3848
|
+
variant: "outline",
|
|
3849
|
+
onPress: copy
|
|
3850
|
+
}
|
|
3851
|
+
)
|
|
3852
|
+
] });
|
|
3853
|
+
};
|
|
3854
|
+
|
|
3855
|
+
// src/TotalsStrip/TotalsTone.ts
|
|
3856
|
+
var TotalsTone = /* @__PURE__ */ ((TotalsTone2) => {
|
|
3857
|
+
TotalsTone2["Neutral"] = "neutral";
|
|
3858
|
+
TotalsTone2["Alert"] = "alert";
|
|
3859
|
+
return TotalsTone2;
|
|
3860
|
+
})(TotalsTone || {});
|
|
3861
|
+
var LABEL_SIZE2 = 13;
|
|
3862
|
+
var VALUE_SIZE2 = 20;
|
|
3863
|
+
var CAPTION_SIZE = 13;
|
|
3864
|
+
var TILE_PAD = 12;
|
|
3865
|
+
var TILE_RADIUS = 10;
|
|
3866
|
+
var TILE_GAP = 2;
|
|
3867
|
+
var ALERT_STEP = "500";
|
|
3868
|
+
var styles44 = reactNative.StyleSheet.create({
|
|
3869
|
+
tile: { padding: TILE_PAD, borderRadius: TILE_RADIUS, borderWidth: reactNative.StyleSheet.hairlineWidth, gap: TILE_GAP },
|
|
3870
|
+
label: { fontSize: LABEL_SIZE2, fontWeight: "600" },
|
|
3871
|
+
value: { fontSize: VALUE_SIZE2, fontWeight: "700" },
|
|
3872
|
+
caption: { fontSize: CAPTION_SIZE }
|
|
3873
|
+
});
|
|
3874
|
+
var TotalsStrip = ({ items, breakpoint = LAYOUT_COLLAPSE_BREAKPOINT, testID }) => {
|
|
3875
|
+
const { theme } = uiFeedback.useUi();
|
|
3876
|
+
const { colors } = theme;
|
|
3877
|
+
const { width } = reactNative.useWindowDimensions();
|
|
3878
|
+
const wide = width >= breakpoint;
|
|
3879
|
+
return /* @__PURE__ */ jsxRuntime.jsx(FigureStrip, { testID, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3880
|
+
reactNative.View,
|
|
3881
|
+
{
|
|
3882
|
+
style: [styles44.tile, figureCell(wide), { borderColor: colors.border, backgroundColor: colors.surfaceElevated }],
|
|
3883
|
+
testID: `${testID}-${item.key}`,
|
|
3884
|
+
children: [
|
|
3885
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.label, { color: colors.textSecondary }], children: item.label }),
|
|
3886
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3887
|
+
reactNative.Text,
|
|
3888
|
+
{
|
|
3889
|
+
style: [styles44.value, { color: item.tone === "alert" /* Alert */ ? theme.semantic.error[ALERT_STEP] : colors.text }],
|
|
3890
|
+
testID: `${testID}-${item.key}-value`,
|
|
3891
|
+
children: item.value
|
|
3892
|
+
}
|
|
3893
|
+
),
|
|
3894
|
+
item.caption !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles44.caption, { color: colors.textSecondary }], children: item.caption })
|
|
3895
|
+
]
|
|
3896
|
+
},
|
|
3897
|
+
item.key
|
|
3898
|
+
)) });
|
|
3899
|
+
};
|
|
3900
|
+
|
|
3901
|
+
// src/ListDetailLayout/ListDetailPane.ts
|
|
3902
|
+
var ListDetailPane = /* @__PURE__ */ ((ListDetailPane2) => {
|
|
3903
|
+
ListDetailPane2["List"] = "list";
|
|
3904
|
+
ListDetailPane2["Detail"] = "detail";
|
|
3905
|
+
return ListDetailPane2;
|
|
3906
|
+
})(ListDetailPane || {});
|
|
3907
|
+
|
|
3908
|
+
// src/ListDetailLayout/resolveListDetailPanes.ts
|
|
3909
|
+
function resolveListDetailPanes(wide, narrowPane, hasDetail) {
|
|
3910
|
+
if (wide) return { list: true, detail: true };
|
|
3911
|
+
const detail = narrowPane === "detail" /* Detail */ && hasDetail;
|
|
3912
|
+
return { list: !detail, detail };
|
|
3913
|
+
}
|
|
3914
|
+
var ListDetailLayout = ({
|
|
3915
|
+
list,
|
|
3916
|
+
detail,
|
|
3917
|
+
placeholder,
|
|
3918
|
+
narrowPane = "list" /* List */,
|
|
3919
|
+
breakpoint = LAYOUT_COLLAPSE_BREAKPOINT,
|
|
3920
|
+
listWeight,
|
|
3921
|
+
testID
|
|
3922
|
+
}) => {
|
|
3923
|
+
const { width } = reactNative.useWindowDimensions();
|
|
3924
|
+
const wide = width >= breakpoint;
|
|
3925
|
+
const hasDetail = detail !== void 0 && detail !== null;
|
|
3926
|
+
const panes = resolveListDetailPanes(wide, narrowPane, hasDetail);
|
|
3927
|
+
if (wide) {
|
|
3928
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SplitPanes, { end: hasDetail ? detail : placeholder, layout: "side" /* Side */, start: list, startWeight: listWeight, testID });
|
|
3929
|
+
}
|
|
3930
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SplitPanes, { end: null, layout: "stack" /* Stack */, start: panes.detail ? detail : list, testID });
|
|
3931
|
+
};
|
|
3932
|
+
|
|
3724
3933
|
exports.A4_PAGE = A4_PAGE;
|
|
3725
3934
|
exports.API_COMMIT_SEPARATOR = API_COMMIT_SEPARATOR;
|
|
3726
3935
|
exports.Accordion = Accordion;
|
|
@@ -3735,7 +3944,9 @@ exports.COPY_FEEDBACK_MS = COPY_FEEDBACK_MS;
|
|
|
3735
3944
|
exports.ChipOverflow = ChipOverflow;
|
|
3736
3945
|
exports.ConfirmDialog = ConfirmDialog;
|
|
3737
3946
|
exports.ConfirmDialogFocus = ConfirmDialogFocus;
|
|
3947
|
+
exports.CopyRowEmphasis = CopyRowEmphasis;
|
|
3738
3948
|
exports.CopyStatus = CopyStatus;
|
|
3949
|
+
exports.CopyValueRow = CopyValueRow;
|
|
3739
3950
|
exports.CopyableId = CopyableId;
|
|
3740
3951
|
exports.CountBadge = CountBadge;
|
|
3741
3952
|
exports.DEFAULT_BILLING_ROUTE = DEFAULT_BILLING_ROUTE;
|
|
@@ -3750,6 +3961,8 @@ exports.IdChip = IdChip;
|
|
|
3750
3961
|
exports.LAYOUT_COLLAPSE_BREAKPOINT = LAYOUT_COLLAPSE_BREAKPOINT;
|
|
3751
3962
|
exports.LAYOUT_I18N = LAYOUT_I18N;
|
|
3752
3963
|
exports.LAYOUT_TEST_IDS = LAYOUT_TEST_IDS;
|
|
3964
|
+
exports.ListDetailLayout = ListDetailLayout;
|
|
3965
|
+
exports.ListDetailPane = ListDetailPane;
|
|
3753
3966
|
exports.ListRow = ListRow;
|
|
3754
3967
|
exports.MIN_TARGET_PX = MIN_TARGET_PX;
|
|
3755
3968
|
exports.MODAL_FOOTER_STACK_BELOW = MODAL_FOOTER_STACK_BELOW;
|
|
@@ -3781,10 +3994,14 @@ exports.TabsCollapsedTrigger = TabsCollapsedTrigger;
|
|
|
3781
3994
|
exports.TextKind = TextKind;
|
|
3782
3995
|
exports.Timeline = Timeline;
|
|
3783
3996
|
exports.ToggleSection = ToggleSection;
|
|
3997
|
+
exports.TotalsStrip = TotalsStrip;
|
|
3998
|
+
exports.TotalsTone = TotalsTone;
|
|
3999
|
+
exports.TransferSlip = TransferSlip;
|
|
3784
4000
|
exports.TruncatedText = TruncatedText;
|
|
3785
4001
|
exports.UnderlineTabs = UnderlineTabs;
|
|
3786
4002
|
exports.UpgradePrompt = UpgradePrompt;
|
|
3787
4003
|
exports.WidgetCard = WidgetCard;
|
|
4004
|
+
exports.copyActionLabel = copyActionLabel;
|
|
3788
4005
|
exports.copyText = copyText;
|
|
3789
4006
|
exports.figureCell = figureCell;
|
|
3790
4007
|
exports.formatBuildInfo = formatBuildInfo;
|
|
@@ -3797,6 +4014,7 @@ exports.isSplitSideBySide = isSplitSideBySide;
|
|
|
3797
4014
|
exports.isWideWebViewport = isWideWebViewport;
|
|
3798
4015
|
exports.pageScale = pageScale;
|
|
3799
4016
|
exports.resolveActiveKey = resolveActiveKey;
|
|
4017
|
+
exports.resolveListDetailPanes = resolveListDetailPanes;
|
|
3800
4018
|
exports.resolveRowLook = resolveRowLook;
|
|
3801
4019
|
exports.resolveToneColors = resolveToneColors;
|
|
3802
4020
|
exports.rowSelection = rowSelection;
|