@multiplatform.one/components 7.21.0 → 7.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ContextMenu/index.cjs +3 -3
- package/dist/cjs/ContextMenu/index.native.js +3 -3
- package/dist/cjs/ContextMenu/index.native.js.map +1 -1
- package/dist/cjs/TreeSelect/index.cjs +0 -7
- package/dist/cjs/TreeSelect/index.native.js +0 -7
- package/dist/cjs/TreeSelect/index.native.js.map +1 -1
- package/dist/esm/ContextMenu/index.mjs +3 -3
- package/dist/esm/ContextMenu/index.mjs.map +1 -1
- package/dist/esm/ContextMenu/index.native.js +3 -3
- package/dist/esm/ContextMenu/index.native.js.map +1 -1
- package/dist/esm/TreeSelect/index.mjs +0 -7
- package/dist/esm/TreeSelect/index.mjs.map +1 -1
- package/dist/esm/TreeSelect/index.native.js +0 -7
- package/dist/esm/TreeSelect/index.native.js.map +1 -1
- package/dist/jsx/ContextMenu/index.mjs +3 -3
- package/dist/jsx/ContextMenu/index.mjs.map +1 -1
- package/dist/jsx/ContextMenu/index.native.js +3 -3
- package/dist/jsx/ContextMenu/index.native.js.map +1 -1
- package/dist/jsx/TreeSelect/index.mjs +0 -7
- package/dist/jsx/TreeSelect/index.mjs.map +1 -1
- package/dist/jsx/TreeSelect/index.native.js +0 -7
- package/dist/jsx/TreeSelect/index.native.js.map +1 -1
- package/dist/jsx/index.native.js.map +1 -1
- package/package.json +16 -9
- package/src/Card.spec.tsx +55 -1
- package/src/Card.tsx +2 -2
- package/src/ContextMenu/ContextMenu.spec.tsx +120 -1
- package/src/ContextMenu/ContextMenu.stories.tsx +22 -2
- package/src/ContextMenu/index.tsx +12 -6
- package/src/TreeSelect/index.tsx +0 -10
- package/src/adjacency.l1.spec.tsx +36 -25
- package/src/views/views.spec.tsx +11 -9
- package/types/ContextMenu/index.d.ts +9 -3
- package/types/ContextMenu/index.d.ts.map +1 -1
- package/types/TreeSelect/index.d.ts.map +1 -1
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
TrashIcon,
|
|
8
8
|
} from "@phosphor-icons/react";
|
|
9
9
|
import { Button } from "@multiplatform.one/forms";
|
|
10
|
-
import { Text, YStack } from "tamagui";
|
|
10
|
+
import { Text, YStack, isWeb } from "tamagui";
|
|
11
11
|
import { ContextMenu, type ContextMenuEntry } from "./index";
|
|
12
12
|
|
|
13
13
|
const meta: Meta<typeof ContextMenu> = {
|
|
@@ -18,7 +18,7 @@ const meta: Meta<typeof ContextMenu> = {
|
|
|
18
18
|
docs: {
|
|
19
19
|
description: {
|
|
20
20
|
component:
|
|
21
|
-
"Right-click (web) or long-press (native) action menu
|
|
21
|
+
"Right-click (web) or long-press (native) action menu on the FloatingPanel overlay stack. Opens at the pointer as a free overlay: content width, 4px from the point, flipping at the viewport edges; a keyboard open starts at the target's bottom start corner. Sheet at ≤640. Rows share DropdownMenu grammar.",
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
},
|
|
@@ -97,6 +97,26 @@ export const Checkable: Story = {
|
|
|
97
97
|
},
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
+
export const AtThePointer: Story = {
|
|
101
|
+
parameters: { layout: "fullscreen" },
|
|
102
|
+
render: () => (
|
|
103
|
+
<ContextMenu items={basicItems}>
|
|
104
|
+
<YStack
|
|
105
|
+
{...(isWeb ? { height: "100vh" } : { flex: 1, minHeight: 480 })}
|
|
106
|
+
width="100%"
|
|
107
|
+
alignItems="center"
|
|
108
|
+
justifyContent="center"
|
|
109
|
+
backgroundColor="$color2"
|
|
110
|
+
data-testid="context-surface"
|
|
111
|
+
>
|
|
112
|
+
<Text color="$color11" fontSize="$2">
|
|
113
|
+
Right-click anywhere. The menu opens at the pointer and flips at the edges.
|
|
114
|
+
</Text>
|
|
115
|
+
</YStack>
|
|
116
|
+
</ContextMenu>
|
|
117
|
+
),
|
|
118
|
+
};
|
|
119
|
+
|
|
100
120
|
export const Closed: Story = {
|
|
101
121
|
render: () => (
|
|
102
122
|
<YStack minHeight={200} paddingTop="$4" alignItems="center" gap="$3">
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* ContextMenu — catalog action menu on the FloatingPanel overlay stack.
|
|
3
3
|
*
|
|
4
|
-
* R9 G5 (ADOPTED): compose DropdownMenu row grammar
|
|
5
|
-
*
|
|
6
|
-
* `contextmenu`; native opens on long-press. Same menu. Do not invent a
|
|
4
|
+
* R9 G5 (ADOPTED): compose DropdownMenu row grammar on FloatingPanel. Web opens
|
|
5
|
+
* on `contextmenu`; native opens on long-press. Same menu. Do not invent a
|
|
7
6
|
* second overlay stack. Do not wrap Card in Tint — elevatedSurface on the
|
|
8
7
|
* panel is the only surface source.
|
|
9
8
|
*
|
|
9
|
+
* Pointer-positioned per layoutTokens.ts (MPO-21): a FREE overlay, not the
|
|
10
|
+
* cover contract. The menu opens at the right-click / long-press point,
|
|
11
|
+
* content-sized, `OVERLAY_ANCHOR_GAP` from the point, and flips toward the
|
|
12
|
+
* start or up where the viewport runs out. A keyboard open opens from the
|
|
13
|
+
* target's bottom start corner. Native tablets (window > 640) open at the
|
|
14
|
+
* long-press point; phones keep the sheet.
|
|
15
|
+
*
|
|
10
16
|
* Rows: 44 tall, padX 13 (`menuRowFrame` $3), selected `$color2` + trailing
|
|
11
17
|
* check, hover `$color3`, label weight 400, keyboard 2px ring offset 0.
|
|
12
18
|
* Sheet at ≤640 via FloatingPanel's overlay family pivot.
|
|
@@ -124,8 +130,8 @@ const SeparatorLine = styled(View, {
|
|
|
124
130
|
marginVertical: "$1.5",
|
|
125
131
|
});
|
|
126
132
|
|
|
127
|
-
const
|
|
128
|
-
widthMode: "
|
|
133
|
+
const freeOverlay = {
|
|
134
|
+
widthMode: "fit-content" as const,
|
|
129
135
|
openOn: "contextmenu" as const,
|
|
130
136
|
};
|
|
131
137
|
|
|
@@ -217,7 +223,7 @@ function ContextMenuRoot({
|
|
|
217
223
|
onOpenChange={setOpen}
|
|
218
224
|
trigger={trigger}
|
|
219
225
|
contentPadding="none"
|
|
220
|
-
{...
|
|
226
|
+
{...freeOverlay}
|
|
221
227
|
>
|
|
222
228
|
<ContextMenuList maxHeight={maxHeight}>{body}</ContextMenuList>
|
|
223
229
|
</FloatingPanel>
|
package/src/TreeSelect/index.tsx
CHANGED
|
@@ -357,7 +357,6 @@ function Trigger({
|
|
|
357
357
|
onToggle,
|
|
358
358
|
triggerRef,
|
|
359
359
|
sizeToken,
|
|
360
|
-
borderRadius,
|
|
361
360
|
accessibilityLabel,
|
|
362
361
|
}: {
|
|
363
362
|
display?: string;
|
|
@@ -370,7 +369,6 @@ function Trigger({
|
|
|
370
369
|
onToggle: () => void;
|
|
371
370
|
triggerRef: (node: HTMLElement | null) => void;
|
|
372
371
|
sizeToken: string;
|
|
373
|
-
borderRadius: number | string;
|
|
374
372
|
}) {
|
|
375
373
|
const handleKey = (e: { key?: string; preventDefault?: () => void }) => {
|
|
376
374
|
if (disabled) return;
|
|
@@ -407,7 +405,6 @@ function Trigger({
|
|
|
407
405
|
disabled={disabled}
|
|
408
406
|
cursor={disabled ? "not-allowed" : "pointer"}
|
|
409
407
|
opacity={disabled ? 0.5 : 1}
|
|
410
|
-
borderRadius={borderRadius}
|
|
411
408
|
minHeight={44}
|
|
412
409
|
suppressFocusRing={open}
|
|
413
410
|
{...(isWeb
|
|
@@ -632,7 +629,6 @@ function FloatingTreeSelect({
|
|
|
632
629
|
onCommit,
|
|
633
630
|
defaultExpandedIds,
|
|
634
631
|
sizeToken,
|
|
635
|
-
borderRadius,
|
|
636
632
|
loading,
|
|
637
633
|
accessibilityLabel,
|
|
638
634
|
}: {
|
|
@@ -650,7 +646,6 @@ function FloatingTreeSelect({
|
|
|
650
646
|
onCommit: (node: TreeNode) => void;
|
|
651
647
|
defaultExpandedIds?: string[];
|
|
652
648
|
sizeToken: string;
|
|
653
|
-
borderRadius: number | string;
|
|
654
649
|
loading?: boolean;
|
|
655
650
|
accessibilityLabel?: string;
|
|
656
651
|
}) {
|
|
@@ -748,7 +743,6 @@ function FloatingTreeSelect({
|
|
|
748
743
|
}}
|
|
749
744
|
triggerRef={panel.setReferenceRef}
|
|
750
745
|
sizeToken={sizeToken}
|
|
751
|
-
borderRadius={borderRadius}
|
|
752
746
|
accessibilityLabel={accessibilityLabel}
|
|
753
747
|
/>
|
|
754
748
|
{panel.mounted && (
|
|
@@ -827,7 +821,6 @@ function SheetTreeSelect({
|
|
|
827
821
|
onCommit,
|
|
828
822
|
defaultExpandedIds,
|
|
829
823
|
sizeToken,
|
|
830
|
-
borderRadius,
|
|
831
824
|
loading,
|
|
832
825
|
accessibilityLabel,
|
|
833
826
|
}: {
|
|
@@ -845,7 +838,6 @@ function SheetTreeSelect({
|
|
|
845
838
|
onCommit: (node: TreeNode) => void;
|
|
846
839
|
defaultExpandedIds?: string[];
|
|
847
840
|
sizeToken: string;
|
|
848
|
-
borderRadius: number | string;
|
|
849
841
|
loading?: boolean;
|
|
850
842
|
accessibilityLabel?: string;
|
|
851
843
|
}) {
|
|
@@ -902,7 +894,6 @@ function SheetTreeSelect({
|
|
|
902
894
|
triggerRef.current = node;
|
|
903
895
|
}}
|
|
904
896
|
sizeToken={sizeToken}
|
|
905
|
-
borderRadius={borderRadius}
|
|
906
897
|
accessibilityLabel={accessibilityLabel}
|
|
907
898
|
/>
|
|
908
899
|
}
|
|
@@ -1025,7 +1016,6 @@ export function TreeSelect({
|
|
|
1025
1016
|
onCommit: (node: TreeNode) => onChange?.(node.id),
|
|
1026
1017
|
defaultExpandedIds,
|
|
1027
1018
|
sizeToken: String(knobProps.sizeToken),
|
|
1028
|
-
borderRadius: knobProps.borderRadius.borderRadius,
|
|
1029
1019
|
loading,
|
|
1030
1020
|
accessibilityLabel: accessibilityLabel ?? ariaLabel,
|
|
1031
1021
|
};
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
* table. That is the same box a browser computes for these frames: none of
|
|
12
12
|
* them grows past its height or min-height with one line of content.
|
|
13
13
|
*
|
|
14
|
-
* The law holds for height
|
|
15
|
-
* the
|
|
16
|
-
*
|
|
17
|
-
* MPO-23
|
|
18
|
-
*
|
|
19
|
-
*
|
|
14
|
+
* The law holds for height and for the controls' radius at every size stop,
|
|
15
|
+
* whether the token arrives through the size knob or a `size` prop. At the
|
|
16
|
+
* `medium` radius stop the controls paint the size table's corner (Button
|
|
17
|
+
* since K11 A, InputParts.Box since MPO-23). ListItem joins the height check
|
|
18
|
+
* only: it is a flush row (SP-EDGE, radius 0) and never takes the controls'
|
|
19
|
+
* radius (Clay 2026-09-26, MPO-23 ruling 1A).
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
import { Input, Select } from "@multiplatform.one/forms";
|
|
@@ -142,11 +142,15 @@ describe("00 L1 adjacency: Button, Input, Select trigger and ListItem at one siz
|
|
|
142
142
|
expect(row).not.toEqual(agreed(row));
|
|
143
143
|
});
|
|
144
144
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
const sizeTableRadius = { $3: 7, $4: 9, $5: 10 } as const;
|
|
146
|
+
|
|
147
|
+
for (const [knob, token] of stops) {
|
|
148
|
+
it(`Button, Input and Select trigger paint one radius at size ${knob} (${token})`, () => {
|
|
149
|
+
const row = radii(atKnob(knob, token), controls);
|
|
150
|
+
expect(row).toEqual(agreed(row));
|
|
151
|
+
expect(row.Button).toBe(sizeTableRadius[token]);
|
|
152
|
+
});
|
|
153
|
+
}
|
|
150
154
|
|
|
151
155
|
it("ListItem stays a flush row beside them: radius 0, never the controls' radius", () => {
|
|
152
156
|
const row = radii(atKnob("medium", "$4"), [...controls, "ListItem"]);
|
|
@@ -154,22 +158,29 @@ describe("00 L1 adjacency: Button, Input, Select trigger and ListItem at one siz
|
|
|
154
158
|
expect(row.Button).toBeGreaterThan(0);
|
|
155
159
|
});
|
|
156
160
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
161
|
+
it("any other radius stop is the knob's, whatever the size", () => {
|
|
162
|
+
const row = radii(
|
|
163
|
+
measure(
|
|
164
|
+
<Preset overrides={{ size: "small", borderRadius: "large" }}>
|
|
165
|
+
<XStack gap="$2">
|
|
166
|
+
<Button>Save</Button>
|
|
167
|
+
<Input placeholder="Name" />
|
|
168
|
+
<Select options={[{ value: "a", label: "A" }]} placeholder="Pick" />
|
|
169
|
+
<ListItem size="$3" title="Row" data-testid="l1-list-item" />
|
|
170
|
+
</XStack>
|
|
171
|
+
</Preset>,
|
|
172
|
+
),
|
|
173
|
+
controls,
|
|
174
|
+
);
|
|
175
|
+
expect(row).toEqual({ Button: 16, Input: 16, "Select trigger": 16 });
|
|
167
176
|
});
|
|
168
177
|
|
|
169
|
-
for (const token of ["$3", "$5"] as const) {
|
|
170
|
-
it
|
|
171
|
-
const row =
|
|
172
|
-
expect(row).toEqual(agreed(row));
|
|
178
|
+
for (const token of ["$3", "$4", "$5"] as const) {
|
|
179
|
+
it(`an explicit size=${token} moves all four heights and the controls' radius together`, () => {
|
|
180
|
+
const row = atSizeProp(token);
|
|
181
|
+
expect(heights(row)).toEqual(agreed(heights(row)));
|
|
182
|
+
expect(radii(row, controls)).toEqual(agreed(radii(row, controls)));
|
|
183
|
+
expect(row.Button.radius).toBe(sizeTableRadius[token]);
|
|
173
184
|
});
|
|
174
185
|
}
|
|
175
186
|
});
|
package/src/views/views.spec.tsx
CHANGED
|
@@ -866,6 +866,12 @@ describe("ChartCard palette", () => {
|
|
|
866
866
|
);
|
|
867
867
|
}
|
|
868
868
|
|
|
869
|
+
function barFills(): Array<string | null> {
|
|
870
|
+
return Array.from(document.querySelectorAll("svg [data-mpo-chart-bar]")).map((bar) =>
|
|
871
|
+
bar.getAttribute("fill"),
|
|
872
|
+
);
|
|
873
|
+
}
|
|
874
|
+
|
|
869
875
|
it("pie slices take the categorical palette from useChartPalette()", () => {
|
|
870
876
|
const captured: { current?: ChartPalette } = {};
|
|
871
877
|
renderWithProviders(
|
|
@@ -887,9 +893,7 @@ describe("ChartCard palette", () => {
|
|
|
887
893
|
<ViewExports.ChartCard config={{ id: "b", title: "Bar", type: "bar", data: pieData }} />
|
|
888
894
|
</>,
|
|
889
895
|
);
|
|
890
|
-
const fills =
|
|
891
|
-
r.getAttribute("fill"),
|
|
892
|
-
);
|
|
896
|
+
const fills = barFills();
|
|
893
897
|
expect(fills.length).toBe(pieData.length);
|
|
894
898
|
for (const fill of fills) expect(fill).toBe(captured.current?.single);
|
|
895
899
|
});
|
|
@@ -910,9 +914,8 @@ describe("ChartCard palette", () => {
|
|
|
910
914
|
expect(base.current).toBeDefined();
|
|
911
915
|
// Tint identity is the re-ramped $color9, not the base accent.
|
|
912
916
|
expect(captured.current?.single).not.toBe(base.current?.single);
|
|
913
|
-
const fills =
|
|
914
|
-
|
|
915
|
-
);
|
|
917
|
+
const fills = barFills();
|
|
918
|
+
expect(fills.length).toBe(pieData.length);
|
|
916
919
|
for (const fill of fills) expect(fill).toBe(captured.current?.single);
|
|
917
920
|
});
|
|
918
921
|
|
|
@@ -947,9 +950,8 @@ describe("ChartCard palette", () => {
|
|
|
947
950
|
}}
|
|
948
951
|
/>,
|
|
949
952
|
);
|
|
950
|
-
const fills =
|
|
951
|
-
|
|
952
|
-
);
|
|
953
|
+
const fills = barFills();
|
|
954
|
+
expect(fills.length).toBe(pieData.length);
|
|
953
955
|
for (const fill of fills) expect(fill).toBe("#0a0b0c");
|
|
954
956
|
});
|
|
955
957
|
});
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* ContextMenu — catalog action menu on the FloatingPanel overlay stack.
|
|
3
3
|
*
|
|
4
|
-
* R9 G5 (ADOPTED): compose DropdownMenu row grammar
|
|
5
|
-
*
|
|
6
|
-
* `contextmenu`; native opens on long-press. Same menu. Do not invent a
|
|
4
|
+
* R9 G5 (ADOPTED): compose DropdownMenu row grammar on FloatingPanel. Web opens
|
|
5
|
+
* on `contextmenu`; native opens on long-press. Same menu. Do not invent a
|
|
7
6
|
* second overlay stack. Do not wrap Card in Tint — elevatedSurface on the
|
|
8
7
|
* panel is the only surface source.
|
|
9
8
|
*
|
|
9
|
+
* Pointer-positioned per layoutTokens.ts (MPO-21): a FREE overlay, not the
|
|
10
|
+
* cover contract. The menu opens at the right-click / long-press point,
|
|
11
|
+
* content-sized, `OVERLAY_ANCHOR_GAP` from the point, and flips toward the
|
|
12
|
+
* start or up where the viewport runs out. A keyboard open opens from the
|
|
13
|
+
* target's bottom start corner. Native tablets (window > 640) open at the
|
|
14
|
+
* long-press point; phones keep the sheet.
|
|
15
|
+
*
|
|
10
16
|
* Rows: 44 tall, padX 13 (`menuRowFrame` $3), selected `$color2` + trailing
|
|
11
17
|
* check, hover `$color3`, label weight 400, keyboard 2px ring offset 0.
|
|
12
18
|
* Sheet at ≤640 via FloatingPanel's overlay family pivot.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ContextMenu/index.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ContextMenu/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAUL,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAYf,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EACL,IAAI,EASL,MAAM,SAAS,CAAC;AAEjB,OAAO,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE/E,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AACjD,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAEvD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CA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