@dloizides/ui-layout 1.52.0 → 1.53.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 +725 -721
- package/dist/index.d.mts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +21 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3815,6 +3815,13 @@ var TransferSlip = ({ leadLabel, amount, recipient, children, footer, testID })
|
|
|
3815
3815
|
] });
|
|
3816
3816
|
};
|
|
3817
3817
|
|
|
3818
|
+
// src/TransferSlip/CopyControl.ts
|
|
3819
|
+
var CopyControl = /* @__PURE__ */ ((CopyControl2) => {
|
|
3820
|
+
CopyControl2["Text"] = "text";
|
|
3821
|
+
CopyControl2["Icon"] = "icon";
|
|
3822
|
+
return CopyControl2;
|
|
3823
|
+
})(CopyControl || {});
|
|
3824
|
+
|
|
3818
3825
|
// src/TransferSlip/CopyRowEmphasis.ts
|
|
3819
3826
|
var CopyRowEmphasis = /* @__PURE__ */ ((CopyRowEmphasis2) => {
|
|
3820
3827
|
CopyRowEmphasis2["Inline"] = "inline";
|
|
@@ -3849,6 +3856,7 @@ var CopyValueRow = ({
|
|
|
3849
3856
|
value,
|
|
3850
3857
|
labels,
|
|
3851
3858
|
emphasis = "inline" /* Inline */,
|
|
3859
|
+
copyControl = "text" /* Text */,
|
|
3852
3860
|
copyValue,
|
|
3853
3861
|
monospace = false,
|
|
3854
3862
|
writer,
|
|
@@ -3865,7 +3873,18 @@ var CopyValueRow = ({
|
|
|
3865
3873
|
/* @__PURE__ */ jsx(Text, { style: [styles44.label, { color: colors.textSecondary }], children: label }),
|
|
3866
3874
|
/* @__PURE__ */ jsx(Text, { selectable: true, style: [valueStyle, { color: colors.text }], testID: `${testID}-value`, children: value })
|
|
3867
3875
|
] }),
|
|
3868
|
-
/* @__PURE__ */ jsx(
|
|
3876
|
+
copyControl === "icon" /* Icon */ ? /* @__PURE__ */ jsx(
|
|
3877
|
+
IconButton,
|
|
3878
|
+
{
|
|
3879
|
+
accessibilityHint: labels.hint,
|
|
3880
|
+
accessibilityLabel: `${action}: ${label}`,
|
|
3881
|
+
label: status === "idle" /* Idle */ ? void 0 : action,
|
|
3882
|
+
renderIcon: (color, size) => /* @__PURE__ */ jsx(SvgIcon, { color, name: "copy", size }),
|
|
3883
|
+
testID: `${testID}-copy`,
|
|
3884
|
+
variant: "outline",
|
|
3885
|
+
onPress: copy
|
|
3886
|
+
}
|
|
3887
|
+
) : /* @__PURE__ */ jsx(
|
|
3869
3888
|
Button,
|
|
3870
3889
|
{
|
|
3871
3890
|
accessibilityHint: labels.hint,
|
|
@@ -3959,6 +3978,6 @@ var ListDetailLayout = ({
|
|
|
3959
3978
|
return /* @__PURE__ */ jsx(SplitPanes, { end: null, layout: "stack" /* Stack */, start: panes.detail ? detail : list, testID });
|
|
3960
3979
|
};
|
|
3961
3980
|
|
|
3962
|
-
export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, AppText, BUILD_INFO_PREFIX, BadgeTone, BottomSheet, Breadcrumb, BuildInfoFooter, COPY_FEEDBACK_MS, ChipOverflow, ConfirmDialog, ConfirmDialogFocus, 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 };
|
|
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 };
|
|
3963
3982
|
//# sourceMappingURL=index.mjs.map
|
|
3964
3983
|
//# sourceMappingURL=index.mjs.map
|