@multiplatform.one/components 7.76.0 → 7.77.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/cjs/CopyField/CopyMenuButton.cjs +60 -0
- package/dist/cjs/CopyField/CopyMenuButton.native.js +69 -0
- package/dist/cjs/CopyField/CopyMenuButton.native.js.map +1 -0
- package/dist/cjs/CopyField/index.cjs +3 -1
- package/dist/cjs/CopyField/index.native.js +3 -1
- package/dist/cjs/CopyField/index.native.js.map +1 -1
- package/dist/cjs/componentColors.cjs +1 -0
- package/dist/cjs/componentColors.native.js +1 -0
- package/dist/cjs/componentColors.native.js.map +1 -1
- package/dist/cjs/layouts/StatusGlyphStrip.cjs +109 -0
- package/dist/cjs/layouts/StatusGlyphStrip.native.js +118 -0
- package/dist/cjs/layouts/StatusGlyphStrip.native.js.map +1 -0
- package/dist/cjs/layouts/index.cjs +2 -0
- package/dist/cjs/layouts/index.native.js +2 -0
- package/dist/cjs/layouts/index.native.js.map +1 -1
- package/dist/cjs/layouts/sidebar.cjs +2 -0
- package/dist/cjs/layouts/sidebar.native.js +2 -0
- package/dist/cjs/layouts/sidebar.native.js.map +1 -1
- package/dist/esm/Accordion/index.native.js.map +1 -1
- package/dist/esm/AnimateHeight/index.native.js.map +1 -1
- package/dist/esm/Avatar/getInitials.native.js.map +1 -1
- package/dist/esm/Avatar/index.native.js.map +1 -1
- package/dist/esm/Badge/index.native.js.map +1 -1
- package/dist/esm/Button.native.js.map +1 -1
- package/dist/esm/Carousel/index.native.js.map +1 -1
- package/dist/esm/Chip/index.native.js.map +1 -1
- package/dist/esm/Collapsible.native.js.map +1 -1
- package/dist/esm/ContextMenu/index.native.js.map +1 -1
- package/dist/esm/CopyField/CopyMenuButton.mjs +35 -0
- package/dist/esm/CopyField/CopyMenuButton.mjs.map +1 -0
- package/dist/esm/CopyField/CopyMenuButton.native.js +41 -0
- package/dist/esm/CopyField/CopyMenuButton.native.js.map +1 -0
- package/dist/esm/CopyField/index.mjs +2 -1
- package/dist/esm/CopyField/index.mjs.map +1 -1
- package/dist/esm/CopyField/index.native.js +2 -1
- package/dist/esm/CopyField/index.native.js.map +1 -1
- package/dist/esm/Dialog.native.js.map +1 -1
- package/dist/esm/DotIndicator/index.native.js.map +1 -1
- package/dist/esm/DropdownMenu/index.native.js.map +1 -1
- package/dist/esm/DropdownMenu/menuSettle.native.js.map +1 -1
- package/dist/esm/ErrorBoundary/index.native.js.map +1 -1
- package/dist/esm/Heading.native.js.map +1 -1
- package/dist/esm/Kbd/index.native.js.map +1 -1
- package/dist/esm/Kbd/keys.native.js.map +1 -1
- package/dist/esm/Lightbox/MediaControl.native.js.map +1 -1
- package/dist/esm/Lightbox/index.gnome.native.js.map +1 -1
- package/dist/esm/Lightbox/shared.native.js.map +1 -1
- package/dist/esm/Lightbox/useLightbox.native.js.map +1 -1
- package/dist/esm/Material/index.native.js.map +1 -1
- package/dist/esm/Meter/index.native.js.map +1 -1
- package/dist/esm/Meter/meter.native.js.map +1 -1
- package/dist/esm/OverflowRow/index.native.js.map +1 -1
- package/dist/esm/Pagination.native.js.map +1 -1
- package/dist/esm/Popover.native.js.map +1 -1
- package/dist/esm/ProgressSteps/index.native.js.map +1 -1
- package/dist/esm/Quote/index.native.js.map +1 -1
- package/dist/esm/SchemeToggle/index.native.js.map +1 -1
- package/dist/esm/ScrollView/revealFocusedField.native.js.map +1 -1
- package/dist/esm/Separator/index.native.js.map +1 -1
- package/dist/esm/Sheet.native.js.map +1 -1
- package/dist/esm/SheetModal/SheetHeader.native.js.map +1 -1
- package/dist/esm/SheetModal/SheetNavigation.native.js.map +1 -1
- package/dist/esm/SheetModal/detents.native.js.map +1 -1
- package/dist/esm/SheetModal/useSheetFrameFocus.native.js.map +1 -1
- package/dist/esm/Skeleton/index.native.js.map +1 -1
- package/dist/esm/SkipLink/index.native.js.map +1 -1
- package/dist/esm/SortableList/SortableHandle.native.js.map +1 -1
- package/dist/esm/SortableList/index.native.js.map +1 -1
- package/dist/esm/SortableList/useSortableRows.native.js.map +1 -1
- package/dist/esm/Tabs/index.native.js.map +1 -1
- package/dist/esm/Text.native.js.map +1 -1
- package/dist/esm/ThemePresetPicker/index.native.js.map +1 -1
- package/dist/esm/Toast/index.native.js.map +1 -1
- package/dist/esm/Toast/store.native.js.map +1 -1
- package/dist/esm/Tooltip/nativePress.native.js.map +1 -1
- package/dist/esm/Tooltip/tooltipShared.native.js.map +1 -1
- package/dist/esm/TreeSelect/index.native.js.map +1 -1
- package/dist/esm/TreeSelect/treeSelectModel.native.js.map +1 -1
- package/dist/esm/Video/PlayerChrome.native.js.map +1 -1
- package/dist/esm/Video/VideoFrame.native.js.map +1 -1
- package/dist/esm/Video/types.native.js.map +1 -1
- package/dist/esm/Wheel/index.native.js.map +1 -1
- package/dist/esm/Wizard/index.native.js.map +1 -1
- package/dist/esm/actions/ActionBar.native.js.map +1 -1
- package/dist/esm/actions/DangerSection.native.js.map +1 -1
- package/dist/esm/actions/DestructiveAction.native.js.map +1 -1
- package/dist/esm/actions/HeaderActions.native.js.map +1 -1
- package/dist/esm/actions/StandardAction.native.js.map +1 -1
- package/dist/esm/actions/devWarn.native.js.map +1 -1
- package/dist/esm/actions/index.native.js.map +1 -1
- package/dist/esm/actions/severity.native.js.map +1 -1
- package/dist/esm/appShell/Dock.native.js.map +1 -1
- package/dist/esm/appShell/MpoTabHost.native.js.map +1 -1
- package/dist/esm/appShell/ScopeMenu.native.js.map +1 -1
- package/dist/esm/appShell/SettingsSplit.native.js.map +1 -1
- package/dist/esm/appShell/Springboard.native.js.map +1 -1
- package/dist/esm/appShell/SystemBar.native.js.map +1 -1
- package/dist/esm/appShell/TabBar.native.js.map +1 -1
- package/dist/esm/appShell/appTile.native.js.map +1 -1
- package/dist/esm/appShell/bottomChrome.native.js.map +1 -1
- package/dist/esm/appShell/index.native.js.map +1 -1
- package/dist/esm/charts/Axis.native.js.map +1 -1
- package/dist/esm/charts/BarChart.native.js.map +1 -1
- package/dist/esm/charts/ChartDataView.native.js.map +1 -1
- package/dist/esm/charts/ChartSurface.native.js.map +1 -1
- package/dist/esm/charts/LineChart.native.js.map +1 -1
- package/dist/esm/charts/PieChart.native.js.map +1 -1
- package/dist/esm/charts/Sparkline.native.js.map +1 -1
- package/dist/esm/charts/accessibility.native.js.map +1 -1
- package/dist/esm/charts/chartHeight.native.js.map +1 -1
- package/dist/esm/charts/composeChart.native.js.map +1 -1
- package/dist/esm/charts/index.native.js.map +1 -1
- package/dist/esm/charts/math.native.js.map +1 -1
- package/dist/esm/charts/series.native.js.map +1 -1
- package/dist/esm/charts/svg.native.js.map +1 -1
- package/dist/esm/charts/types.native.js.map +1 -1
- package/dist/esm/charts/useChartTheme.native.js.map +1 -1
- package/dist/esm/code/Code/index.native.js.map +1 -1
- package/dist/esm/code/CodeBlock/index.native.js.map +1 -1
- package/dist/esm/code/HighlightedCode/index.native.js.map +1 -1
- package/dist/esm/code/Highlighter/houseSyntaxTheme.native.js.map +1 -1
- package/dist/esm/code/Highlighter/index.native.js.map +1 -1
- package/dist/esm/code/Highlighter/namedGroupMatchAll.native.js.map +1 -1
- package/dist/esm/code/Pre/index.native.js.map +1 -1
- package/dist/esm/code/index.native.js.map +1 -1
- package/dist/esm/componentColors.mjs +1 -0
- package/dist/esm/componentColors.mjs.map +1 -1
- package/dist/esm/componentColors.native.js +1 -0
- package/dist/esm/componentColors.native.js.map +1 -1
- package/dist/esm/feedback/ConfirmDialog.native.js.map +1 -1
- package/dist/esm/feedback/NotifyHost.native.js.map +1 -1
- package/dist/esm/feedback/copy.native.js.map +1 -1
- package/dist/esm/feedback/index.native.js.map +1 -1
- package/dist/esm/feedback/notify.native.js.map +1 -1
- package/dist/esm/feedback/route.native.js.map +1 -1
- package/dist/esm/feedback/store.native.js.map +1 -1
- package/dist/esm/formLayouts/FormLayouts.native.js.map +1 -1
- package/dist/esm/formLayouts/PreferencePanel.native.js.map +1 -1
- package/dist/esm/formLayouts/index.native.js.map +1 -1
- package/dist/esm/hooks/index.native.js.map +1 -1
- package/dist/esm/hooks/useClipboard.native.js.map +1 -1
- package/dist/esm/hooks/useDocumentTitle.native.js.map +1 -1
- package/dist/esm/hooks/useHoldCue.native.js.map +1 -1
- package/dist/esm/icons/CheckRegular.native.js.map +1 -1
- package/dist/esm/icons/MinusRegular.native.js.map +1 -1
- package/dist/esm/icons/index.native.js.map +1 -1
- package/dist/esm/icons/lucide.native.js.map +1 -1
- package/dist/esm/icons/themed.native.js.map +1 -1
- package/dist/esm/images/Image/ImageFrame.native.js.map +1 -1
- package/dist/esm/images/Image/framing.native.js.map +1 -1
- package/dist/esm/images/Image/mediaRadius.native.js.map +1 -1
- package/dist/esm/images/Image/shared.native.js.map +1 -1
- package/dist/esm/images/Image/types.native.js.map +1 -1
- package/dist/esm/images/index.native.js.map +1 -1
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/knobImmuneExports.native.js.map +1 -1
- package/dist/esm/layouts/AsyncBoundary.native.js.map +1 -1
- package/dist/esm/layouts/Debug/index.native.js.map +1 -1
- package/dist/esm/layouts/EmptyState.native.js.map +1 -1
- package/dist/esm/layouts/IdentityPlate.native.js.map +1 -1
- package/dist/esm/layouts/KeyboardAvoidingWrapper/behavior.native.js.map +1 -1
- package/dist/esm/layouts/PageTemplates.native.js.map +1 -1
- package/dist/esm/layouts/PaneScaffold.native.js.map +1 -1
- package/dist/esm/layouts/SafeAreaWrapper/insets.native.js.map +1 -1
- package/dist/esm/layouts/StatusDot.native.js.map +1 -1
- package/dist/esm/layouts/StatusGlyphStrip.mjs +84 -0
- package/dist/esm/layouts/StatusGlyphStrip.mjs.map +1 -0
- package/dist/esm/layouts/StatusGlyphStrip.native.js +90 -0
- package/dist/esm/layouts/StatusGlyphStrip.native.js.map +1 -0
- package/dist/esm/layouts/ViewSwitcher.native.js.map +1 -1
- package/dist/esm/layouts/attachments.native.js.map +1 -1
- package/dist/esm/layouts/bottomAccessory.native.js.map +1 -1
- package/dist/esm/layouts/breadcrumbs.native.js.map +1 -1
- package/dist/esm/layouts/index.mjs +2 -1
- package/dist/esm/layouts/index.mjs.map +1 -1
- package/dist/esm/layouts/index.native.js +2 -1
- package/dist/esm/layouts/index.native.js.map +1 -1
- package/dist/esm/layouts/page.native.js.map +1 -1
- package/dist/esm/layouts/pageHeadingScope.native.js.map +1 -1
- package/dist/esm/layouts/screenScroll.native.js.map +1 -1
- package/dist/esm/layouts/shellSidebarSlot.native.js.map +1 -1
- package/dist/esm/layouts/sidebar.mjs +2 -0
- package/dist/esm/layouts/sidebar.mjs.map +1 -1
- package/dist/esm/layouts/sidebar.native.js +2 -0
- package/dist/esm/layouts/sidebar.native.js.map +1 -1
- package/dist/esm/layouts/tags.native.js.map +1 -1
- package/dist/esm/layouts/timeline.native.js.map +1 -1
- package/dist/esm/layouts/toolbar.native.js.map +1 -1
- package/dist/esm/shared/actionScan.native.js.map +1 -1
- package/dist/esm/shared/i18n.native.js.map +1 -1
- package/dist/esm/shared/restoreRetries.native.js.map +1 -1
- package/dist/esm/shared/t.native.js.map +1 -1
- package/dist/esm/shared/textRidesText.native.js.map +1 -1
- package/dist/esm/shared/useReturnFocusOnClose.native.js.map +1 -1
- package/dist/esm/surfaces.native.js.map +1 -1
- package/dist/esm/tamagui.native.js.map +1 -1
- package/dist/esm/testSetup.native.js.map +1 -1
- package/dist/esm/utils/setTinted.native.js.map +1 -1
- package/dist/esm/utils/unwrapText.native.js.map +1 -1
- package/dist/esm/views/Calendar.native.js.map +1 -1
- package/dist/esm/views/Dashboard.native.js.map +1 -1
- package/dist/esm/views/Gantt.native.js.map +1 -1
- package/dist/esm/views/GanttDateGrip.native.js.map +1 -1
- package/dist/esm/views/ImageGrid.native.js.map +1 -1
- package/dist/esm/views/List.native.js.map +1 -1
- package/dist/esm/views/ListGroup.native.js.map +1 -1
- package/dist/esm/views/ListRow.native.js.map +1 -1
- package/dist/esm/views/Matrix.native.js.map +1 -1
- package/dist/esm/views/ReportBuilder.native.js.map +1 -1
- package/dist/esm/views/ShortcutCard.native.js.map +1 -1
- package/dist/esm/views/TreeView.native.js.map +1 -1
- package/dist/esm/views/calendarMath.native.js.map +1 -1
- package/dist/esm/views/ganttIntervals.native.js.map +1 -1
- package/dist/esm/views/ganttMath.native.js.map +1 -1
- package/dist/esm/views/index.native.js.map +1 -1
- package/dist/esm/views/kanbanDnd.native.js.map +1 -1
- package/dist/esm/views/matrixMath.native.js.map +1 -1
- package/dist/esm/views/treeViewDnd.native.js.map +1 -1
- package/dist/esm/views/treeViewLayout.native.js.map +1 -1
- package/dist/esm/views/treeViewMotion.native.js.map +1 -1
- package/dist/esm/views/treeViewReveal.native.js.map +1 -1
- package/dist/esm/views/widgetChrome.native.js.map +1 -1
- package/dist/jsx/CopyField/CopyMenuButton.mjs +35 -0
- package/dist/jsx/CopyField/CopyMenuButton.mjs.map +1 -0
- package/dist/jsx/CopyField/CopyMenuButton.native.js +69 -0
- package/dist/jsx/CopyField/CopyMenuButton.native.js.map +1 -0
- package/dist/jsx/CopyField/index.mjs +2 -1
- package/dist/jsx/CopyField/index.mjs.map +1 -1
- package/dist/jsx/CopyField/index.native.js +3 -1
- package/dist/jsx/CopyField/index.native.js.map +1 -1
- package/dist/jsx/componentColors.mjs +1 -0
- package/dist/jsx/componentColors.mjs.map +1 -1
- package/dist/jsx/componentColors.native.js +1 -0
- package/dist/jsx/componentColors.native.js.map +1 -1
- package/dist/jsx/layouts/StatusGlyphStrip.mjs +84 -0
- package/dist/jsx/layouts/StatusGlyphStrip.mjs.map +1 -0
- package/dist/jsx/layouts/StatusGlyphStrip.native.js +118 -0
- package/dist/jsx/layouts/StatusGlyphStrip.native.js.map +1 -0
- package/dist/jsx/layouts/index.mjs +2 -1
- package/dist/jsx/layouts/index.mjs.map +1 -1
- package/dist/jsx/layouts/index.native.js +2 -0
- package/dist/jsx/layouts/index.native.js.map +1 -1
- package/dist/jsx/layouts/sidebar.mjs +2 -0
- package/dist/jsx/layouts/sidebar.mjs.map +1 -1
- package/dist/jsx/layouts/sidebar.native.js +2 -0
- package/dist/jsx/layouts/sidebar.native.js.map +1 -1
- package/package.json +9 -9
- package/src/Card.stories.tsx +82 -54
- package/src/CopyField/CopyMenuButton.spec.tsx +28 -0
- package/src/CopyField/CopyMenuButton.tsx +50 -0
- package/src/CopyField/index.tsx +2 -0
- package/src/componentColors.ts +1 -0
- package/src/export-surface.spec.tsx +2 -1
- package/src/layouts/Sidebar.spec.tsx +9 -0
- package/src/layouts/StatusGlyphStrip.spec.tsx +40 -0
- package/src/layouts/StatusGlyphStrip.tsx +96 -0
- package/src/layouts/index.tsx +1 -0
- package/src/layouts/sectionHeadingWeight.native-press.spec.tsx +68 -0
- package/src/layouts/sectionHeadingWeight.spec.tsx +48 -0
- package/src/layouts/sidebar.tsx +3 -1
- package/types/CopyField/CopyMenuButton.d.ts +13 -0
- package/types/CopyField/CopyMenuButton.d.ts.map +1 -0
- package/types/CopyField/index.d.ts +1 -0
- package/types/CopyField/index.d.ts.map +1 -1
- package/types/componentColors.d.ts +1 -0
- package/types/componentColors.d.ts.map +1 -1
- package/types/layouts/StatusGlyphStrip.d.ts +18 -0
- package/types/layouts/StatusGlyphStrip.d.ts.map +1 -0
- package/types/layouts/index.d.ts +1 -0
- package/types/layouts/index.d.ts.map +1 -1
- package/types/layouts/sidebar.d.ts +1 -0
- package/types/layouts/sidebar.d.ts.map +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
}), mod);
|
|
23
|
+
var CopyMenuButton_exports = {};
|
|
24
|
+
__export(CopyMenuButton_exports, {
|
|
25
|
+
CopyMenuButton: () => CopyMenuButton
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(CopyMenuButton_exports);
|
|
28
|
+
var import_forms = require("@multiplatform.one/forms");
|
|
29
|
+
var import_react = require("@phosphor-icons/react");
|
|
30
|
+
var import_DropdownMenu = require("../DropdownMenu/index.cjs");
|
|
31
|
+
var import_copy = require("../feedback/copy.cjs");
|
|
32
|
+
var import_i18n = require("../shared/i18n.cjs");
|
|
33
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
+
function CopyMenuButton({
|
|
35
|
+
items,
|
|
36
|
+
"aria-label": ariaLabel
|
|
37
|
+
}) {
|
|
38
|
+
const {
|
|
39
|
+
t
|
|
40
|
+
} = (0, import_i18n.useTranslation)();
|
|
41
|
+
const {
|
|
42
|
+
copy
|
|
43
|
+
} = (0, import_copy.useCopyFeedback)();
|
|
44
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_DropdownMenu.DropdownMenu, {
|
|
45
|
+
placement: "bottom-end",
|
|
46
|
+
items: items.map(item => ({
|
|
47
|
+
key: item.key ?? item.label,
|
|
48
|
+
label: item.label,
|
|
49
|
+
onSelect: () => void copy(item.value)
|
|
50
|
+
})),
|
|
51
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_forms.Button, {
|
|
52
|
+
nested: true,
|
|
53
|
+
chromeless: true,
|
|
54
|
+
circular: true,
|
|
55
|
+
flexShrink: 0,
|
|
56
|
+
icon: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_react.CopyIcon, {}),
|
|
57
|
+
"aria-label": ariaLabel ?? t("Copy")
|
|
58
|
+
})
|
|
59
|
+
});
|
|
60
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var CopyMenuButton_exports = {};
|
|
26
|
+
__export(CopyMenuButton_exports, {
|
|
27
|
+
CopyMenuButton: () => CopyMenuButton
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(CopyMenuButton_exports);
|
|
30
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
31
|
+
var import_forms = require("@multiplatform.one/forms");
|
|
32
|
+
var import_react = require("@phosphor-icons/react");
|
|
33
|
+
var import_DropdownMenu = require("../DropdownMenu");
|
|
34
|
+
var import_copy = require("../feedback/copy.native.js");
|
|
35
|
+
var import_i18n = require("../shared/i18n.native.js");
|
|
36
|
+
function CopyMenuButton(param) {
|
|
37
|
+
var {
|
|
38
|
+
items,
|
|
39
|
+
"aria-label": ariaLabel
|
|
40
|
+
} = param;
|
|
41
|
+
var {
|
|
42
|
+
t
|
|
43
|
+
} = (0, import_i18n.useTranslation)();
|
|
44
|
+
var {
|
|
45
|
+
copy
|
|
46
|
+
} = (0, import_copy.useCopyFeedback)();
|
|
47
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_DropdownMenu.DropdownMenu, {
|
|
48
|
+
placement: "bottom-end",
|
|
49
|
+
items: items.map(function (item) {
|
|
50
|
+
var _item_key;
|
|
51
|
+
return {
|
|
52
|
+
key: (_item_key = item.key) !== null && _item_key !== void 0 ? _item_key : item.label,
|
|
53
|
+
label: item.label,
|
|
54
|
+
onSelect: function onSelect() {
|
|
55
|
+
return void copy(item.value);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
}),
|
|
59
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_forms.Button, {
|
|
60
|
+
nested: true,
|
|
61
|
+
chromeless: true,
|
|
62
|
+
circular: true,
|
|
63
|
+
flexShrink: 0,
|
|
64
|
+
icon: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_react.CopyIcon, {}),
|
|
65
|
+
"aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : t("Copy")
|
|
66
|
+
})
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=CopyMenuButton.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","CopyMenuButton_exports","CopyMenuButton","module","exports","import_jsx_runtime","require","import_forms","import_react","import_DropdownMenu","import_copy","import_i18n","param","items","ariaLabel","t","useTranslation","copy","useCopyFeedback","jsx","DropdownMenu","placement","map","item","_item_key","label","onSelect","children","Button","nested","chromeless","circular","flexShrink","icon","CopyIcon"],"sources":["CopyMenuButton.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar CopyMenuButton_exports = {};\n__export(CopyMenuButton_exports, {\n CopyMenuButton: () => CopyMenuButton\n});\nmodule.exports = __toCommonJS(CopyMenuButton_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_forms = require(\"@multiplatform.one/forms\");\nvar import_react = require(\"@phosphor-icons/react\");\nvar import_DropdownMenu = require(\"../DropdownMenu\");\nvar import_copy = require(\"../feedback/copy\");\nvar import_i18n = require(\"../shared/i18n\");\nfunction CopyMenuButton(param) {\n var { items, \"aria-label\": ariaLabel } = param;\n var { t } = (0, import_i18n.useTranslation)();\n var { copy } = (0, import_copy.useCopyFeedback)();\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_DropdownMenu.DropdownMenu, {\n placement: \"bottom-end\",\n items: items.map(function(item) {\n var _item_key;\n return {\n key: (_item_key = item.key) !== null && _item_key !== void 0 ? _item_key : item.label,\n label: item.label,\n onSelect: function onSelect() {\n return void copy(item.value);\n }\n };\n }),\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_forms.Button, {\n nested: true,\n chromeless: true,\n circular: true,\n flexShrink: 0,\n icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.CopyIcon, {}),\n \"aria-label\": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : t(\"Copy\")\n })\n });\n}\n//# sourceMappingURL=CopyMenuButton.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,IAAI,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,EAC/CnB,SAAS,CAACiB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KAAMI,IAAI,CAACG,GAAG,CAAC;MAAEN,UAAU,EAAE,EAAEK,IAAI,GAAGjB,gBAAg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AAI,EAAE;MAC9B,IAAIC,SAAS;MACb,OAAO;QACL5B,GAAG,EAAE,CAAC4B,SAAS,GAAGD,IAAI,CAAC3B,GAAG,MAAM,IAAI,IAAI4B,SAAS,KAAK,KAAK,CAAC,GAAGA,SAAS,GAAGD,IAAI,CAACE,KAAK;QACrFA,KAAK,EAAEF,IAAI,CAACE,KAAK;QACjBC,QAAQ,EAAE,SAASA,QAAQA,CAAA,EAAG;UAC5B,OAAO,KAAKT,IAAI,CAACM,IAAI,CAACvB,KAAK,CAAC;QAC9B;MACF,CAAC;IACH,CAAC,CAAC;IACF2B,QAAQ,EAAE,eAAgB,CAAC,CAAC,EAAEtB,kBAAkB,CAACc,GAAG,EAAEZ,YAAY,CAACqB,MAAM,EAAE;MACzEC,MAAM,EAAE,IAAI;MACZC,UAAU,EAAE,IAAI;MAChBC,QAAQ,EAAE,IAAI;MACdC,UAAU,EAAE,CAAC;MACbC,IAAI,EAAE,eAAgB,CAAC,CAAC,EAAE5B,kBAAkB,CAACc,GAAG,EAAEX,YAAY,CAAC0B,QAAQ,EAAE,CAAC,CAAC,CAAC;MAC5E,YAAY,EAAEpB,SAAS,KAAK,IAAI,IAAIA,SAAS,KAAK,KAAK,CAAC,GAAGA,SAAS,GAAGC,CAAC,CAAC,MAAM;IACjF,CAAC;EACH,CAAC,CAAC;AACJ","ignoreList":[]}
|
|
@@ -22,13 +22,15 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
|
22
22
|
}), mod);
|
|
23
23
|
var CopyField_exports = {};
|
|
24
24
|
__export(CopyField_exports, {
|
|
25
|
-
CopyField: () => CopyField
|
|
25
|
+
CopyField: () => CopyField,
|
|
26
|
+
CopyMenuButton: () => import_CopyMenuButton.CopyMenuButton
|
|
26
27
|
});
|
|
27
28
|
module.exports = __toCommonJS(CopyField_exports);
|
|
28
29
|
var import_forms = require("@multiplatform.one/forms");
|
|
29
30
|
var import_tamagui = require("tamagui");
|
|
30
31
|
var import_NotifyHost = require("../feedback/NotifyHost.cjs");
|
|
31
32
|
var import_copy = require("../feedback/copy.cjs");
|
|
33
|
+
var import_CopyMenuButton = require("./CopyMenuButton.cjs");
|
|
32
34
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
33
35
|
function CopyField(props) {
|
|
34
36
|
const {
|
|
@@ -24,7 +24,8 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
|
24
24
|
}), mod);
|
|
25
25
|
var CopyField_exports = {};
|
|
26
26
|
__export(CopyField_exports, {
|
|
27
|
-
CopyField: () => CopyField
|
|
27
|
+
CopyField: () => CopyField,
|
|
28
|
+
CopyMenuButton: () => import_CopyMenuButton.CopyMenuButton
|
|
28
29
|
});
|
|
29
30
|
module.exports = __toCommonJS(CopyField_exports);
|
|
30
31
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -32,6 +33,7 @@ var import_forms = require("@multiplatform.one/forms");
|
|
|
32
33
|
var import_tamagui = require("tamagui");
|
|
33
34
|
var import_NotifyHost = require("../feedback/NotifyHost.native.js");
|
|
34
35
|
var import_copy = require("../feedback/copy.native.js");
|
|
36
|
+
var import_CopyMenuButton = require("./CopyMenuButton.native.js");
|
|
35
37
|
function CopyField(props) {
|
|
36
38
|
var {
|
|
37
39
|
region,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","CopyField_exports","CopyField","module","exports","import_jsx_runtime","require","import_forms","import_tamagui","import_NotifyHost","import_copy","props","region","report","useCopyFeedback","jsxs","YStack","width","children","jsx","Input","readOnly","copy","onCopyResult","NotifyRegion","scope","size"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar CopyField_exports = {};\n__export(CopyField_exports, {\n CopyField: () => CopyField\n});\nmodule.exports = __toCommonJS(CopyField_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_forms = require(\"@multiplatform.one/forms\");\nvar import_tamagui = require(\"tamagui\");\nvar import_NotifyHost = require(\"../feedback/NotifyHost\");\nvar import_copy = require(\"../feedback/copy\");\nfunction CopyField(props) {\n var { region, report } = (0, import_copy.useCopyFeedback)();\n return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.YStack, {\n width: \"100%\",\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_forms.Input, {\n ...props,\n readOnly: true,\n copy: true,\n onCopyResult: report\n }),\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_NotifyHost.NotifyRegion, {\n scope: \"field\",\n region,\n size: \"$3\"\n })\n ]\n });\n}\n//# sourceMappingURL=index.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,IAAI,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,EAC/CnB,SAAS,CAACiB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KAAMI,IAAI,CAACG,GAAG,CAAC;MAAEN,UAAU,EAAE,EAAEK,IAAI,GAAGjB,gBAAgB,CAACe,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACL;IAAW,CAAC,CAAC;EACxH;EACA,OAAOE,EAAE;AACX,CAAC;AACD,IAAIM,YAAY,GAAIC,GAAG,IAAKR,WAAW,CAAChB,SAAS,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE;EAAEyB,KAAK,EAAE;AAAK,CAAC,CAAC,EAAED,GAAG,CAAC;AAC1F,IAAIE,iBAAiB,GAAG,CAAC,CAAC;AAC1BhB,QAAQ,CAACgB,iBAAiB,EAAE;EAC1BC,SAAS,EAAEA,CAAA,KAAMA;
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","CopyField_exports","CopyField","CopyMenuButton","import_CopyMenuButton","module","exports","import_jsx_runtime","require","import_forms","import_tamagui","import_NotifyHost","import_copy","props","region","report","useCopyFeedback","jsxs","YStack","width","children","jsx","Input","readOnly","copy","onCopyResult","NotifyRegion","scope","size"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar CopyField_exports = {};\n__export(CopyField_exports, {\n CopyField: () => CopyField,\n CopyMenuButton: () => import_CopyMenuButton.CopyMenuButton\n});\nmodule.exports = __toCommonJS(CopyField_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_forms = require(\"@multiplatform.one/forms\");\nvar import_tamagui = require(\"tamagui\");\nvar import_NotifyHost = require(\"../feedback/NotifyHost\");\nvar import_copy = require(\"../feedback/copy\");\nvar import_CopyMenuButton = require(\"./CopyMenuButton\");\nfunction CopyField(props) {\n var { region, report } = (0, import_copy.useCopyFeedback)();\n return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.YStack, {\n width: \"100%\",\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_forms.Input, {\n ...props,\n readOnly: true,\n copy: true,\n onCopyResult: report\n }),\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_NotifyHost.NotifyRegion, {\n scope: \"field\",\n region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;AACJ","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","componentColors_exports","componentColors","sectionHeading","module","exports","import_platform","require","surface","background","border","interactive","hover","active","selection","press","ink","ring","text","primary","subtle","code","foreground","lineNumber","highlightLine","indicator","mark","inactive","completed","track","overlay","badge","red","blue","green","orange","gray","semantic","error","success","info","keyCap","divider","debug","mediaPlate","fill","glyph","fontFamily","size","isWeb","color"],"sources":["componentColors.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar componentColors_exports = {};\n__export(componentColors_exports, {\n componentColors: () => componentColors,\n sectionHeading: () => sectionHeading\n});\nmodule.exports = __toCommonJS(componentColors_exports);\nvar import_platform = require(\"@multiplatform.one/platform\");\nvar componentColors = {\n /**\n * Surface-level backgrounds and borders (cards, panels, containers).\n *\n * MPO-19 X5: `background` was `$color2` while `resolveKnobs`' own `surface`\n * fragment said `$color1` — two answers to \"what colour is a surface\",\n * split across two packages. Both now say `$background`, which is also the\n * token Tamagui addresses and the only one a `surface1`/`surface2`\n * sub-theme can move.\n */\n surface: {\n background: \"$background\",\n border: \"$borderColor\"\n },\n /** Interactive element states (buttons, clickable items, hover/press) */\n interactive: {\n background: \"$color3\",\n hover: \"$color4\",\n active: \"$color5\",\n border: \"$color7\"\n },\n /**\n * LC-05: one selection tier for current/highlighted rows (List, Sidebar,\n * TreeView, CommandPalette). Selected tabs, segments and chips take LC-131's\n * `$selectedBackground` / `$selectedColor` instead. Paint background with ink; ring is the optional chip\n * edge or drop line. Same values as forms' formSelectionColors.\n */\n selection: {\n background: \"$color4\",\n hover: \"$color5\",\n press: \"$color5\",\n ink: \"$color12\",\n ring: \"$color8\"\n },\n /** Text color levels. */\n text: {\n // MPO-19 X5: was `$color12`, a second answer to what `resolveKnobs`'\n // `textAccent: high` already resolves to. `$color` IS the theme's ink,\n // and it tracks a sub-theme where the raw ramp step does not.\n primary: \"$color\",\n // MPO-154: `secondary` and `muted` were the same mistake one tier down —\n // a static `$color11` read into 85 `color` props, which pinned every\n // helper, caption and inactive label dim at `textAccent: high`. Secondary\n // text takes `useResolvedKnobs().knobProps.textAccentColor`, which is\n // `$color11` at low/medium (the AA floor) and `$color` at high.\n subtle: \"$color8\"\n },\n /** Code block styling */\n code: {\n background: \"$color3\",\n foreground: \"$color12\",\n border: \"$color6\",\n lineNumber: \"$color8\",\n highlightLine: \"$yellow3\"\n },\n /**\n * LC-05: the accent solid is reserved for the primary CTA (Button accent\n * intent through its sub-theme), checked Switch track, progress fills and\n * current/checked marks. Components use indicator.mark: ProgressSteps'\n * current marker, DotIndicator/Pagination current dot, media progress,\n * Calendar today disc/now line, Gantt today markers, unread dots and an\n * accent intent's stripe. Forms use formSelectedColors.mark: Switch on-track,\n * Checkbox mark, RadioGroup dot, Rating fill, Slider/Progress fill and option\n * tick. Every other selection uses selection. Only this file and forms'\n * colorRamps.ts name the accent solid outside the theme build.\n */\n indicator: {\n mark: \"$accentBackground\",\n inactive: \"$color5\",\n hover: \"$color6\",\n completed: \"$green9\",\n track: \"$color8\"\n },\n /** Tooltips and overlays */\n overlay: {\n background: \"$color3\",\n border: \"$color6\",\n text: \"$color11\"\n },\n /** Badge semantic colors. Step 11 (not 9) so the count text clears AA:\n * white-on-$red9 measured 3.91:1 (SB-R-02). Step 11 flips with the scheme\n * (deep hue in light, pale hue in dark), pairing with $color1 text. */\n badge: {\n red: \"$red11\",\n blue: \"$blue11\",\n green: \"$green11\",\n orange: \"$orange11\",\n gray: \"$color11\"\n },\n /** Semantic status colors for diff-like displays. Step 11 (not 10) for the\n * same AA reason as `badge`: these color small status/trend text (KPICard\n * trend, Timeline diffs, Attachments errors) and step 10 measured\n * 3.37–4.36:1 on color1/2 surfaces — under the 4.5:1 normal-text floor. */\n semantic: {\n error: \"$red11\",\n success: \"$green11\",\n info: \"$color11\"\n },\n /**\n * Kbd key cap: a plate one ramp step off the page ground, so a key reads as\n * a raised cap on a page, a card or a sheet in both schemes.\n */\n keyCap: {\n background: \"$color2\"\n },\n /** Separator/divider tokens */\n divider: \"$borderColor\",\n /** Debug indicator color */\n debug: \"$color9\",\n /**\n * The round material plate under an icon control floating over a photo\n * (LC-176). The fill sits steps above the viewer's dark ground so the\n * plate reads on black as well as on a bright frame (FZ-8009 r2).\n */\n mediaPlate: {\n fill: \"$color6\",\n glyph: \"$color12\"\n }\n};\nvar sectionHeading = {\n fontFamily: \"$heading\",\n size: import_platform.isWeb ? \"$6\" : \"$5\",\n color: \"$color12\"\n};\n//# sourceMappingURL=componentColors.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,E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AAC;EACD;AACF;AACA;AACA;EACEC,MAAM,EAAE;IACNhC,UAAU,EAAE;EACd,CAAC;EACD;EACAiC,OAAO,EAAE,cAAc;EACvB;EACAC,KAAK,EAAE,SAAS;EAChB;AACF;AACA;AACA;AACA;EACEC,UAAU,EAAE;IACVC,IAAI,EAAE,SAAS;IACfC,KAAK,EAAE;EACT;AACF,CAAC;AACD,IAAI3C,cAAc,GAAG;EACnB4C,UAAU,EAAE,UAAU;EACtBC,IAAI,EAAE1C,eAAe,CAAC2C,KAAK,GAAG,IAAI,GAAG,IAAI;EACzCC,KAAK,EAAE;AACT,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","componentColors_exports","componentColors","sectionHeading","module","exports","import_platform","require","surface","background","border","interactive","hover","active","selection","press","ink","ring","text","primary","subtle","code","foreground","lineNumber","highlightLine","indicator","mark","inactive","completed","track","overlay","badge","red","blue","green","orange","gray","semantic","error","success","info","keyCap","divider","debug","mediaPlate","fill","glyph","fontFamily","size","isWeb","fontWeight","color"],"sources":["componentColors.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar componentColors_exports = {};\n__export(componentColors_exports, {\n componentColors: () => componentColors,\n sectionHeading: () => sectionHeading\n});\nmodule.exports = __toCommonJS(componentColors_exports);\nvar import_platform = require(\"@multiplatform.one/platform\");\nvar componentColors = {\n /**\n * Surface-level backgrounds and borders (cards, panels, containers).\n *\n * MPO-19 X5: `background` was `$color2` while `resolveKnobs`' own `surface`\n * fragment said `$color1` — two answers to \"what colour is a surface\",\n * split across two packages. Both now say `$background`, which is also the\n * token Tamagui addresses and the only one a `surface1`/`surface2`\n * sub-theme can move.\n */\n surface: {\n background: \"$background\",\n border: \"$borderColor\"\n },\n /** Interactive element states (buttons, clickable items, hover/press) */\n interactive: {\n background: \"$color3\",\n hover: \"$color4\",\n active: \"$color5\",\n border: \"$color7\"\n },\n /**\n * LC-05: one selection tier for current/highlighted rows (List, Sidebar,\n * TreeView, CommandPalette). Selected tabs, segments and chips take LC-131's\n * `$selectedBackground` / `$selectedColor` instead. Paint background with ink; ring is the optional chip\n * edge or drop line. Same values as forms' formSelectionColors.\n */\n selection: {\n background: \"$color4\",\n hover: \"$color5\",\n press: \"$color5\",\n ink: \"$color12\",\n ring: \"$color8\"\n },\n /** Text color levels. */\n text: {\n // MPO-19 X5: was `$color12`, a second answer to what `resolveKnobs`'\n // `textAccent: high` already resolves to. `$color` IS the theme's ink,\n // and it tracks a sub-theme where the raw ramp step does not.\n primary: \"$color\",\n // MPO-154: `secondary` and `muted` were the same mistake one tier down —\n // a static `$color11` read into 85 `color` props, which pinned every\n // helper, caption and inactive label dim at `textAccent: high`. Secondary\n // text takes `useResolvedKnobs().knobProps.textAccentColor`, which is\n // `$color11` at low/medium (the AA floor) and `$color` at high.\n subtle: \"$color8\"\n },\n /** Code block styling */\n code: {\n background: \"$color3\",\n foreground: \"$color12\",\n border: \"$color6\",\n lineNumber: \"$color8\",\n highlightLine: \"$yellow3\"\n },\n /**\n * LC-05: the accent solid is reserved for the primary CTA (Button accent\n * intent through its sub-theme), checked Switch track, progress fills and\n * current/checked marks. Components use indicator.mark: ProgressSteps'\n * current marker, DotIndicator/Pagination current dot, media progress,\n * Calendar today disc/now line, Gantt today markers, unread dots and an\n * accent intent's stripe. Forms use formSelectedColors.mark: Switch on-track,\n * Checkbox mark, RadioGroup dot, Rating fill, Slider/Progress fill and option\n * tick. Every other selection uses selection. Only this file and forms'\n * colorRamps.ts name the accent solid outside the theme build.\n */\n indicator: {\n mark: \"$accentBackground\",\n inactive: \"$color5\",\n hover: \"$color6\",\n completed: \"$green9\",\n track: \"$color8\"\n },\n /** Tooltips and overlays */\n overlay: {\n background: \"$color3\",\n border: \"$color6\",\n text: \"$color11\"\n },\n /** Badge semantic colors. Step 11 (not 9) so the count text clears AA:\n * white-on-$red9 measured 3.91:1 (SB-R-02). Step 11 flips with the scheme\n * (deep hue in light, pale hue in dark), pairing with $color1 text. */\n badge: {\n red: \"$red11\",\n blue: \"$blue11\",\n green: \"$green11\",\n orange: \"$orange11\",\n gray: \"$color11\"\n },\n /** Semantic status colors for diff-like displays. Step 11 (not 10) for the\n * same AA reason as `badge`: these color small status/trend text (KPICard\n * trend, Timeline diffs, Attachments errors) and step 10 measured\n * 3.37–4.36:1 on color1/2 surfaces — under the 4.5:1 normal-text floor. */\n semantic: {\n error: \"$red11\",\n success: \"$green11\",\n info: \"$color11\"\n },\n /**\n * Kbd key cap: a plate one ramp step off the page ground, so a key reads as\n * a raised cap on a page, a card or a sheet in both schemes.\n */\n keyCap: {\n background: \"$color2\"\n },\n /** Separator/divider tokens */\n divider: \"$borderColor\",\n /** Debug indicator color */\n debug: \"$color9\",\n /**\n * The round material plate under an icon control floating over a photo\n * (LC-176). The fill sits steps above the viewer's dark ground so the\n * plate reads on black as well as on a bright frame (FZ-8009 r2).\n */\n mediaPlate: {\n fill: \"$color6\",\n glyph: \"$color12\"\n }\n};\nvar sectionHeading = {\n fontFamily: \"$heading\",\n size: import_platform.isWeb ? \"$6\" : \"$5\",\n fontWe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;EACAC,OAAO,EAAE;IACPrB,UAAU,EAAE,SAAS;IACrBC,MAAM,EAAE,SAAS;IACjBQ,IAAI,EAAE;EACR,CAAC;EACD;AACF;AACA;EACEa,KAAK,EAAE;IACLC,GAAG,EAAE,QAAQ;IACbC,IAAI,EAAE,SAAS;IACfC,KAAK,EAAE,UAAU;IACjBC,MAAM,EAAE,WAAW;IACnBC,IAAI,EAAE;EACR,CAAC;EACD;AACF;AACA;AACA;EACEC,QAAQ,EAAE;IACRC,KAAK,EAAE,QAAQ;IACfC,OAAO,EAAE,UAAU;IACnBC,IAAI,EAAE;EACR,CAAC;EACD;AACF;AACA;AACA;EACEC,MAAM,EAAE;IACNhC,UAAU,EAAE;EACd,CAAC;EACD;EACAiC,OAAO,EAAE,cAAc;EACvB;EACAC,KAAK,EAAE,SAAS;EAChB;AACF;AACA;AACA;AACA;EACEC,UAAU,EAAE;IACVC,IAAI,EAAE,SAAS;IACfC,KAAK,EAAE;EACT;AACF,CAAC;AACD,IAAI3C,cAAc,GAAG;EACnB4C,UAAU,EAAE,UAAU;EACtBC,IAAI,EAAE1C,eAAe,CAAC2C,KAAK,GAAG,IAAI,GAAG,IAAI;EACzCC,UAAU,EAAE,KAAK;EACjBC,KAAK,EAAE;AACT,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
}), mod);
|
|
23
|
+
var StatusGlyphStrip_exports = {};
|
|
24
|
+
__export(StatusGlyphStrip_exports, {
|
|
25
|
+
StatusGlyphStrip: () => StatusGlyphStrip
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(StatusGlyphStrip_exports);
|
|
28
|
+
var import_theme = require("@multiplatform.one/theme");
|
|
29
|
+
var import_tamagui = require("tamagui");
|
|
30
|
+
var import_i18n = require("../shared/i18n.cjs");
|
|
31
|
+
var import_Tooltip = require("../Tooltip/index.cjs");
|
|
32
|
+
var import_StatusDot = require("./StatusDot.cjs");
|
|
33
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
+
const toneWord = {
|
|
35
|
+
positive: "OK",
|
|
36
|
+
warning: "Warning",
|
|
37
|
+
critical: "Failing",
|
|
38
|
+
neutral: "Unknown"
|
|
39
|
+
};
|
|
40
|
+
function GlyphCheck({
|
|
41
|
+
item
|
|
42
|
+
}) {
|
|
43
|
+
const {
|
|
44
|
+
t
|
|
45
|
+
} = (0, import_i18n.useTranslation)();
|
|
46
|
+
const {
|
|
47
|
+
knobProps
|
|
48
|
+
} = (0, import_theme.useResolvedKnobs)();
|
|
49
|
+
const ink = (0, import_theme.useGlyphColor)("$color");
|
|
50
|
+
const state = item.reason ?? t(toneWord[item.tone]);
|
|
51
|
+
const name = `${item.label}: ${state}`;
|
|
52
|
+
const showReason = item.tone !== "positive" && item.reason != null;
|
|
53
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Tooltip.Tooltip, {
|
|
54
|
+
content: name,
|
|
55
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
|
|
56
|
+
"data-mpo-status-glyph": "",
|
|
57
|
+
"data-tone": item.tone,
|
|
58
|
+
role: "img",
|
|
59
|
+
"aria-label": name,
|
|
60
|
+
alignItems: "center",
|
|
61
|
+
flexShrink: 0,
|
|
62
|
+
...knobProps.gapSm,
|
|
63
|
+
...(import_tamagui.isWeb ? {
|
|
64
|
+
title: name
|
|
65
|
+
} : {
|
|
66
|
+
accessible: true
|
|
67
|
+
}),
|
|
68
|
+
children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.View, {
|
|
69
|
+
"aria-hidden": true,
|
|
70
|
+
...(import_tamagui.isWeb && ink ? {
|
|
71
|
+
style: {
|
|
72
|
+
color: ink
|
|
73
|
+
}
|
|
74
|
+
} : {}),
|
|
75
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_theme.IconSlot, {
|
|
76
|
+
icon: item.icon,
|
|
77
|
+
color: ink,
|
|
78
|
+
size: 20
|
|
79
|
+
})
|
|
80
|
+
}), /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_StatusDot.StatusMark, {
|
|
81
|
+
tone: item.tone
|
|
82
|
+
}), showReason ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.Text, {
|
|
83
|
+
...knobProps.textRole.meta,
|
|
84
|
+
color: import_StatusDot.statusToneInk[item.tone],
|
|
85
|
+
numberOfLines: 1,
|
|
86
|
+
children: item.reason
|
|
87
|
+
}) : null]
|
|
88
|
+
})
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function StatusGlyphStrip({
|
|
92
|
+
items,
|
|
93
|
+
testID
|
|
94
|
+
}) {
|
|
95
|
+
const {
|
|
96
|
+
knobProps
|
|
97
|
+
} = (0, import_theme.useResolvedKnobs)();
|
|
98
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.XStack, {
|
|
99
|
+
"data-mpo-status-glyph-strip": "",
|
|
100
|
+
"data-testid": testID,
|
|
101
|
+
alignItems: "center",
|
|
102
|
+
flexWrap: "wrap",
|
|
103
|
+
minWidth: 0,
|
|
104
|
+
...knobProps.gapLg,
|
|
105
|
+
children: items.map(item => /* @__PURE__ */(0, import_jsx_runtime.jsx)(GlyphCheck, {
|
|
106
|
+
item
|
|
107
|
+
}, item.key ?? item.label))
|
|
108
|
+
});
|
|
109
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var StatusGlyphStrip_exports = {};
|
|
26
|
+
__export(StatusGlyphStrip_exports, {
|
|
27
|
+
StatusGlyphStrip: () => StatusGlyphStrip
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(StatusGlyphStrip_exports);
|
|
30
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
31
|
+
var import_theme = require("@multiplatform.one/theme");
|
|
32
|
+
var import_tamagui = require("tamagui");
|
|
33
|
+
var import_i18n = require("../shared/i18n.native.js");
|
|
34
|
+
var import_Tooltip = require("../Tooltip");
|
|
35
|
+
var import_StatusDot = require("./StatusDot.native.js");
|
|
36
|
+
var toneWord = {
|
|
37
|
+
positive: "OK",
|
|
38
|
+
warning: "Warning",
|
|
39
|
+
critical: "Failing",
|
|
40
|
+
neutral: "Unknown"
|
|
41
|
+
};
|
|
42
|
+
function GlyphCheck(param) {
|
|
43
|
+
var {
|
|
44
|
+
item
|
|
45
|
+
} = param;
|
|
46
|
+
var _item_reason;
|
|
47
|
+
var {
|
|
48
|
+
t
|
|
49
|
+
} = (0, import_i18n.useTranslation)();
|
|
50
|
+
var {
|
|
51
|
+
knobProps
|
|
52
|
+
} = (0, import_theme.useResolvedKnobs)();
|
|
53
|
+
var ink = (0, import_theme.useGlyphColor)("$color");
|
|
54
|
+
var state = (_item_reason = item.reason) !== null && _item_reason !== void 0 ? _item_reason : t(toneWord[item.tone]);
|
|
55
|
+
var name = `${item.label}: ${state}`;
|
|
56
|
+
var showReason = item.tone !== "positive" && item.reason != null;
|
|
57
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Tooltip.Tooltip, {
|
|
58
|
+
content: name,
|
|
59
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
|
|
60
|
+
"data-mpo-status-glyph": "",
|
|
61
|
+
"data-tone": item.tone,
|
|
62
|
+
role: "img",
|
|
63
|
+
"aria-label": name,
|
|
64
|
+
alignItems: "center",
|
|
65
|
+
flexShrink: 0,
|
|
66
|
+
...knobProps.gapSm,
|
|
67
|
+
...(import_tamagui.isWeb ? {
|
|
68
|
+
title: name
|
|
69
|
+
} : {
|
|
70
|
+
accessible: true
|
|
71
|
+
}),
|
|
72
|
+
children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.View, {
|
|
73
|
+
"aria-hidden": true,
|
|
74
|
+
...(import_tamagui.isWeb && ink ? {
|
|
75
|
+
style: {
|
|
76
|
+
color: ink
|
|
77
|
+
}
|
|
78
|
+
} : {}),
|
|
79
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_theme.IconSlot, {
|
|
80
|
+
icon: item.icon,
|
|
81
|
+
color: ink,
|
|
82
|
+
size: 20
|
|
83
|
+
})
|
|
84
|
+
}), /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_StatusDot.StatusMark, {
|
|
85
|
+
tone: item.tone
|
|
86
|
+
}), showReason ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.Text, {
|
|
87
|
+
...knobProps.textRole.meta,
|
|
88
|
+
color: import_StatusDot.statusToneInk[item.tone],
|
|
89
|
+
numberOfLines: 1,
|
|
90
|
+
children: item.reason
|
|
91
|
+
}) : null]
|
|
92
|
+
})
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function StatusGlyphStrip(param) {
|
|
96
|
+
var {
|
|
97
|
+
items,
|
|
98
|
+
testID
|
|
99
|
+
} = param;
|
|
100
|
+
var {
|
|
101
|
+
knobProps
|
|
102
|
+
} = (0, import_theme.useResolvedKnobs)();
|
|
103
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.XStack, {
|
|
104
|
+
"data-mpo-status-glyph-strip": "",
|
|
105
|
+
"data-testid": testID,
|
|
106
|
+
alignItems: "center",
|
|
107
|
+
flexWrap: "wrap",
|
|
108
|
+
minWidth: 0,
|
|
109
|
+
...knobProps.gapLg,
|
|
110
|
+
children: items.map(function (item) {
|
|
111
|
+
var _item_key;
|
|
112
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(GlyphCheck, {
|
|
113
|
+
item
|
|
114
|
+
}, (_item_key = item.key) !== null && _item_key !== void 0 ? _item_key : item.label);
|
|
115
|
+
})
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
//# sourceMappingURL=StatusGlyphStrip.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","StatusGlyphStrip_exports","StatusGlyphStrip","module","exports","import_jsx_runtime","require","import_theme","import_tamagui","import_i18n","import_Tooltip","import_StatusDot","toneWord","positive","warning","critical","neutral","GlyphCheck","param","item","_item_reason","t","useTranslation","knobProps","useResolvedKnobs","ink","useGlyphColor","state","reason","tone","label","showReason","jsx","Tooltip","content","children","jsxs","XStack","role","alignItems","flexShrink","gapSm","isWeb","title","accessible","View","style","color","IconSlot","icon","size","StatusMark","Text","textRole","meta","statusToneInk","numberOfLines","items","testID","flexWrap","minWidth","gapLg","map","_item_key"],"sources":["StatusGlyphStrip.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar StatusGlyphStrip_exports = {};\n__export(StatusGlyphStrip_exports, {\n StatusGlyphStrip: () => StatusGlyphStrip\n});\nmodule.exports = __toCommonJS(StatusGlyphStrip_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_theme = require(\"@multiplatform.one/theme\");\nvar import_tamagui = require(\"tamagui\");\nvar import_i18n = require(\"../shared/i18n\");\nvar import_Tooltip = require(\"../Tooltip\");\nvar import_StatusDot = require(\"./StatusDot\");\nvar toneWord = {\n positive: \"OK\",\n warning: \"Warning\",\n critical: \"Failing\",\n neutral: \"Unknown\"\n};\nfunction GlyphCheck(param) {\n var { item } = param;\n var _item_reason;\n var { t } = (0, import_i18n.useTranslation)();\n var { knobProps } = (0, import_theme.useResolvedKnobs)();\n var ink = (0, import_theme.useGlyphColor)(\"$color\");\n var state = (_item_reason = item.reason) !== null && _item_reason !== void 0 ? _item_reason : t(toneWord[item.tone]);\n var name = `${item.label}: ${state}`;\n var showReason = item.tone !== \"positive\" && item.reason != null;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Tooltip.Tooltip, {\n content: name,\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {\n \"data-mpo-status-glyph\": \"\",\n \"data-tone\": item.tone,\n role: \"img\",\n \"aria-label\": name,\n alignItems: \"center\",\n flexShrink: 0,\n ...knobProps.gapSm,\n ...import_tamagui.isWeb ? {\n title: name\n } : {\n accessible: true\n },\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.View, {\n \"aria-hidden\": true,\n ...import_tamagui.isWeb && ink ? {\n style: {\n color: ink\n }\n } : {},\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_theme.IconSlot, {\n icon: item.icon,\n color: ink,\n size: 20\n })\n }),\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_StatusDot.StatusMark, {\n tone: item.tone\n }),\n showReason ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Text, {\n ...knobProps.textRole.meta,\n color: import_StatusDot.statusToneInk[item.tone],\n numberOfLines: 1,\n children: item.reason\n }) : null\n ]\n })\n });\n}\nfunction StatusGlyphStrip(param) {\n var { items, testID } = param;\n var { knobProps } = (0, import_theme.useResolvedKnobs)();\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.XStack, {\n \"data-mpo-status-glyph-strip\": \"\",\n \"data-testid\": testID,\n alignItems: \"center\",\n flexWrap: \"wrap\",\n minWidth: 0,\n ...knobProps.gapLg,\n children: items.map(function(item) {\n var _item_key;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(GlyphCheck, {\n item\n }, (_item_key = item.key) !== null && _item_key !== void 0 ? _item_key : item.label);\n })\n });\n}\n//# sourceMappingURL=StatusGlyphStrip.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,IAAI,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,EAC/CnB,SAAS,CAACiB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KAAMI,IAAI,CAACG,GAAG,CAAC;MAAEN,UAAU,EAAE,EAAEK,IA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AS;MACb,OAAO,eAAgB,CAAC,CAAC,EAAE1D,kBAAkB,CAAC2B,GAAG,EAAEf,UAAU,EAAE;QAC7DE;MACF,CAAC,EAAE,CAAC4C,SAAS,GAAG5C,IAAI,CAACvB,GAAG,MAAM,IAAI,IAAImE,SAAS,KAAK,KAAK,CAAC,GAAGA,SAAS,GAAG5C,IAAI,CAACW,KAAK,CAAC;IACtF,CAAC;EACH,CAAC,CAAC;AACJ","ignoreList":[]}
|
|
@@ -28,6 +28,7 @@ __export(layouts_exports, {
|
|
|
28
28
|
EmptyState: () => import_EmptyState.EmptyState,
|
|
29
29
|
IdentityPlate: () => import_IdentityPlate.IdentityPlate,
|
|
30
30
|
StatusDot: () => import_StatusDot.StatusDot,
|
|
31
|
+
StatusGlyphStrip: () => import_StatusGlyphStrip.StatusGlyphStrip,
|
|
31
32
|
StatusMark: () => import_StatusDot.StatusMark,
|
|
32
33
|
__resetAsyncDevWarnSeen: () => import_AsyncBoundary.__resetAsyncDevWarnSeen,
|
|
33
34
|
asyncLoadDelayMs: () => import_AsyncBoundary.asyncLoadDelayMs,
|
|
@@ -58,4 +59,5 @@ __reExport(layouts_exports, require("./PaneScaffold.cjs"), module.exports);
|
|
|
58
59
|
var import_EmptyState = require("./EmptyState.cjs");
|
|
59
60
|
var import_IdentityPlate = require("./IdentityPlate.cjs");
|
|
60
61
|
var import_StatusDot = require("./StatusDot.cjs");
|
|
62
|
+
var import_StatusGlyphStrip = require("./StatusGlyphStrip.cjs");
|
|
61
63
|
var import_AsyncBoundary = require("./AsyncBoundary.cjs");
|
|
@@ -30,6 +30,7 @@ __export(layouts_exports, {
|
|
|
30
30
|
EmptyState: () => import_EmptyState.EmptyState,
|
|
31
31
|
IdentityPlate: () => import_IdentityPlate.IdentityPlate,
|
|
32
32
|
StatusDot: () => import_StatusDot.StatusDot,
|
|
33
|
+
StatusGlyphStrip: () => import_StatusGlyphStrip.StatusGlyphStrip,
|
|
33
34
|
StatusMark: () => import_StatusDot.StatusMark,
|
|
34
35
|
__resetAsyncDevWarnSeen: () => import_AsyncBoundary.__resetAsyncDevWarnSeen,
|
|
35
36
|
asyncLoadDelayMs: () => import_AsyncBoundary.asyncLoadDelayMs,
|
|
@@ -60,5 +61,6 @@ __reExport(layouts_exports, require("./PaneScaffold.native.js"), module.exports)
|
|
|
60
61
|
var import_EmptyState = require("./EmptyState.native.js");
|
|
61
62
|
var import_IdentityPlate = require("./IdentityPlate.native.js");
|
|
62
63
|
var import_StatusDot = require("./StatusDot.native.js");
|
|
64
|
+
var import_StatusGlyphStrip = require("./StatusGlyphStrip.native.js");
|
|
63
65
|
var import_AsyncBoundary = require("./AsyncBoundary.native.js");
|
|
64
66
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__reExport","mod","secondTarget","__toCommonJS","value","layouts_exports","AsyncBoundary","import_AsyncBoundary","AsyncSkeleton","EmptyState","import_EmptyState","IdentityPlate","import_IdentityPlate","StatusDot","import_StatusDot","StatusMark","__resetAsyncDevWarnSeen","asyncLoadDelayMs","resolveAsyncStatus","statusToneInk","useAsyncBoundary","useAsyncCount","module","exports","require"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar layouts_exports = {};\n__export(layouts_exports, {\n AsyncBoundary: () => import_AsyncBoundary.AsyncBoundary,\n AsyncSkeleton: () => import_AsyncBoundary.AsyncSkeleton,\n EmptyState: () => import_EmptyState.EmptyState,\n IdentityPlate: () => import_IdentityPlate.IdentityPlate,\n StatusDot: () => import_StatusDot.StatusDot,\n StatusMark: () => import_StatusDot.StatusMark,\n __resetAsyncDevWarnSeen: () => import_AsyncBoundary.__resetAsyncDevWarnSeen,\n asyncLoadDelayMs: () => import_AsyncBoundary.asyncLoadDelayMs,\n resolveAsyncStatus: () => import_AsyncBoundary.resolveAsyncStatus,\n statusToneInk: () => import_StatusDot.statusToneInk,\n useAsyncBoundary: () => import_AsyncBoundary.useAsyncBoundary,\n useAsyncCount: () => import_AsyncBoundary.useAsyncCount\n});\nmodule.exports = __toCommonJS(layouts_exports);\n__reExport(layouts_exports, require(\"./Debug\"), module.exports);\n__reExport(layouts_exports, require(\"./SafeAreaWrapper\"), module.exports);\n__reExport(layouts_exports, require(\"./KeyboardAvoidingWrapper\"), module.exports);\n__reExport(layouts_exports, require(\"./sidebar\"), module.exports);\n__reExport(layouts_exports, require(\"./toolbar\"), module.exports);\n__reExport(layouts_exports, require(\"./ViewSwitcher\"), module.exports);\n__reExport(layouts_exports, require(\"./breadcrumbs\"), module.exports);\n__reExport(layouts_exports, require(\"./attachments\"), module.exports);\n__reExport(layouts_exports, require(\"./tags\"), module.exports);\n__reExport(layouts_exports, require(\"./timeline\"), module.exports);\n__reExport(layouts_exports, require(\"./page\"), module.exports);\n__reExport(layouts_exports, require(\"./pageHeadingScope\"), module.exports);\n__reExport(layouts_exports, require(\"./screenScroll\"), module.exports);\n__reExport(layouts_exports, require(\"./bottomAccessory\"), module.exports);\n__reExport(layouts_exports, require(\"./bottomSafeArea\"), module.exports);\n__reExport(layouts_exports, require(\"./PageTemplates\"), module.exports);\n__reExport(layouts_exports, require(\"./shellSidebarSlot\"), module.exports);\n__reExport(layouts_exports, require(\"./PaneScaffold\"), module.exports);\nvar import_EmptyState = require(\"./EmptyState\");\nvar import_IdentityPlate = require(\"./IdentityPlate\");\nvar import_StatusDot = require(\"./StatusDot\");\nvar import_AsyncBoundary = require(\"./AsyncBoundary\");\n//# sourceMappingURL=index.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,IAAI,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,EAC/CnB,SAAS,CAACiB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KAAMI,IAAI,CAACG,GAAG,CAAC;MAAEN,UAAU,EAAE,EAAEK,IAAI,GAAGjB,gBAAgB,CAACe,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACL;IAAW,CAAC,CAAC;EACxH;EACA,OAAOE,EAAE;AACX,CAAC;AACD,IAAIM,UAAU,GAAGA,CAACZ,MAAM,EAAEa,GAAG,EAAEC,YAAY,MAAMT,WAAW,CAACL,MAAM,EAAEa,GAAG,EAAE,SAAS,CAAC,EAAEC,YAAY,IAAIT,WAAW,CAACS,YAAY,EAAED,GAAG,EAAE,SAAS,CAAC,CAAC;AAChJ,IAAIE,YAAY,GAAIF,GAAG,IAAKR,WAAW,CAAChB,SAAS,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE;EAAE2B,KAAK,EAAE;AAAK,CAAC,CAAC,EAAEH,GAAG,CAAC;AAC1F,IAAII,eAAe,GAAG,CAAC,CAAC;AACxBlB,QAAQ,CAACkB,eAAe,EAAE;EACxBC,aAAa,EAAEA,CAAA,KAAMC,oBAAoB,CAACD,aAAa;EACvDE,aAAa,EAAEA,CAAA,KAAMD,oBAAoB,CAACC,aAAa;EACvDC,UAAU,EAAEA,CAAA,KAAMC,iBAAiB,CAACD,UAAU;EAC9CE,aAAa,EAAEA,CAAA,KAAMC,oBAAoB,CAACD,aAAa;EACvDE,SAAS,EAAEA,CAAA,KAAMC,gBAAgB,CAACD,SAAS;EAC3CE,UAAU,EAAEA,CAAA,
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__reExport","mod","secondTarget","__toCommonJS","value","layouts_exports","AsyncBoundary","import_AsyncBoundary","AsyncSkeleton","EmptyState","import_EmptyState","IdentityPlate","import_IdentityPlate","StatusDot","import_StatusDot","StatusGlyphStrip","import_StatusGlyphStrip","StatusMark","__resetAsyncDevWarnSeen","asyncLoadDelayMs","resolveAsyncStatus","statusToneInk","useAsyncBoundary","useAsyncCount","module","exports","require"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar layouts_exports = {};\n__export(layouts_exports, {\n AsyncBoundary: () => import_AsyncBoundary.AsyncBoundary,\n AsyncSkeleton: () => import_AsyncBoundary.AsyncSkeleton,\n EmptyState: () => import_EmptyState.EmptyState,\n IdentityPlate: () => import_IdentityPlate.IdentityPlate,\n StatusDot: () => import_StatusDot.StatusDot,\n StatusGlyphStrip: () => import_StatusGlyphStrip.StatusGlyphStrip,\n StatusMark: () => import_StatusDot.StatusMark,\n __resetAsyncDevWarnSeen: () => import_AsyncBoundary.__resetAsyncDevWarnSeen,\n asyncLoadDelayMs: () => import_AsyncBoundary.asyncLoadDelayMs,\n resolveAsyncStatus: () => import_AsyncBoundary.resolveAsyncStatus,\n statusToneInk: () => import_StatusDot.statusToneInk,\n useAsyncBoundary: () => import_AsyncBoundary.useAsyncBoundary,\n useAsyncCount: () => import_AsyncBoundary.useAsyncCount\n});\nmodule.exports = __toCommonJS(layouts_exports);\n__reExport(layouts_exports, require(\"./Debug\"), module.exports);\n__reExport(layouts_exports, require(\"./SafeAreaWrapper\"), module.exports);\n__reExport(layouts_exports, require(\"./KeyboardAvoidingWrapper\"), module.exports);\n__reExport(layouts_exports, require(\"./sidebar\"), module.exports);\n__reExport(layouts_exports, require(\"./toolbar\"), module.exports);\n__reExport(layouts_exports, require(\"./ViewSwitcher\"), module.exports);\n__reExport(layouts_exports, require(\"./breadcrumbs\"), module.exports);\n__reExport(layouts_exports, require(\"./attachments\"), module.exports);\n__reExport(layouts_exports, require(\"./tags\"), module.exports);\n__reExport(layouts_exports, require(\"./timeline\"), module.exports);\n__reExport(layouts_exports, require(\"./page\"), module.exports);\n__reExport(layouts_exports, require(\"./pageHeadingScope\"), module.exports);\n__reExport(layouts_exports, require(\"./screenScroll\"), module.exports);\n__reExport(layouts_exports, require(\"./bottomAccessory\"), module.exports);\n__reExport(layouts_exports, require(\"./bottomSafeArea\"), module.exports);\n__reExport(layouts_exports, require(\"./PageTemplates\"), module.exports);\n__reExport(layouts_exports, require(\"./shellSidebarSlot\"), module.exports);\n__reExport(layouts_exports, require(\"./PaneScaffold\"), module.exports);\nvar import_EmptyState = require(\"./EmptyState\");\nvar import_IdentityPlate = require(\"./IdentityPlate\");\nvar import_StatusDot = require(\"./StatusDot\");\nvar import_StatusGlyphStrip = require(\"./StatusGlyphStrip\");\nvar import_AsyncBoundary = require(\"./AsyncBoundary\");\n//# sourceMappingURL=index.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAA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AC;AACrD,IAAIZ,gBAAgB,GAAGY,OAAO,CAAC,uBAAa,CAAC;AAC7C,IAAIV,uBAAuB,GAAGU,OAAO,CAAC,8BAAoB,CAAC;AAC3D,IAAInB,oBAAoB,GAAGmB,OAAO,CAAC,2BAAiB,CAAC","ignoreList":[]}
|
|
@@ -124,6 +124,7 @@ function Sidebar({
|
|
|
124
124
|
})
|
|
125
125
|
}) : null, /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.YStack, {
|
|
126
126
|
width: "100%",
|
|
127
|
+
"data-sidebar-group": "",
|
|
127
128
|
children: section.items.map((item, itemIdx, items) => {
|
|
128
129
|
const position = (0, import_theme2.getGroupPosition)(itemIdx, items.length);
|
|
129
130
|
const corners = (0, import_theme2.stackRadiusProps)(position, knobProps.borderRadius.borderRadius);
|
|
@@ -148,6 +149,7 @@ function Sidebar({
|
|
|
148
149
|
}) : null, /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
|
|
149
150
|
"data-group-position": position,
|
|
150
151
|
"data-sidebar-row": "true",
|
|
152
|
+
testID: item.testID,
|
|
151
153
|
"data-depth": depth > 0 ? depth : void 0,
|
|
152
154
|
"data-active": item.active ? true : void 0,
|
|
153
155
|
"aria-current": item.active ? "page" : void 0,
|
|
@@ -133,6 +133,7 @@ function Sidebar(param) {
|
|
|
133
133
|
})
|
|
134
134
|
}) : null, /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.YStack, {
|
|
135
135
|
width: "100%",
|
|
136
|
+
"data-sidebar-group": "",
|
|
136
137
|
children: section.items.map(function (item, itemIdx, items) {
|
|
137
138
|
var _item_value, _item_depth;
|
|
138
139
|
var position = (0, import_theme2.getGroupPosition)(itemIdx, items.length);
|
|
@@ -158,6 +159,7 @@ function Sidebar(param) {
|
|
|
158
159
|
}) : null, /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
|
|
159
160
|
"data-group-position": position,
|
|
160
161
|
"data-sidebar-row": "true",
|
|
162
|
+
testID: item.testID,
|
|
161
163
|
"data-depth": depth > 0 ? depth : void 0,
|
|
162
164
|
"data-active": item.active ? true : void 0,
|
|
163
165
|
"aria-current": item.active ? "page" : void 0,
|