@multiplatform.one/forms 7.75.0 → 7.77.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/DescriptionList/index.cjs +60 -5
- package/dist/cjs/DescriptionList/index.native.js +61 -5
- package/dist/cjs/DescriptionList/index.native.js.map +1 -1
- package/dist/cjs/InputParts/index.cjs +5 -3
- package/dist/cjs/InputParts/index.native.js +5 -3
- package/dist/cjs/InputParts/index.native.js.map +1 -1
- package/dist/cjs/Label/index.cjs +6 -4
- package/dist/cjs/Label/index.native.js +6 -4
- package/dist/cjs/Label/index.native.js.map +1 -1
- package/dist/cjs/fieldLayout.cjs +39 -4
- package/dist/cjs/fieldLayout.native.js +39 -4
- package/dist/cjs/fieldLayout.native.js.map +1 -1
- package/dist/cjs/fields/Input/index.cjs +7 -1
- package/dist/cjs/fields/Input/index.native.js +7 -1
- package/dist/cjs/fields/Input/index.native.js.map +1 -1
- package/dist/cjs/fields/Select/index.cjs +39 -22
- package/dist/cjs/fields/Select/index.native.js +40 -22
- package/dist/cjs/fields/Select/index.native.js.map +1 -1
- package/dist/cjs/fields/Switch/index.cjs +6 -2
- package/dist/cjs/fields/Switch/index.native.js +6 -2
- package/dist/cjs/fields/Switch/index.native.js.map +1 -1
- package/dist/cjs/index.cjs +4 -1
- package/dist/cjs/index.native.js +3 -0
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/shared/fieldRowContext.cjs +42 -0
- package/dist/cjs/shared/fieldRowContext.native.js +46 -0
- package/dist/cjs/shared/fieldRowContext.native.js.map +1 -0
- package/dist/cjs/standardActions.cjs +11 -1
- package/dist/cjs/standardActions.native.js +11 -1
- package/dist/cjs/standardActions.native.js.map +1 -1
- package/dist/esm/DescriptionList/index.mjs +60 -5
- package/dist/esm/DescriptionList/index.mjs.map +1 -1
- package/dist/esm/DescriptionList/index.native.js +61 -5
- package/dist/esm/DescriptionList/index.native.js.map +1 -1
- package/dist/esm/InputParts/index.mjs +5 -3
- package/dist/esm/InputParts/index.mjs.map +1 -1
- package/dist/esm/InputParts/index.native.js +5 -3
- package/dist/esm/InputParts/index.native.js.map +1 -1
- package/dist/esm/Label/index.mjs +6 -4
- package/dist/esm/Label/index.mjs.map +1 -1
- package/dist/esm/Label/index.native.js +6 -4
- package/dist/esm/Label/index.native.js.map +1 -1
- package/dist/esm/fieldLayout.mjs +41 -6
- package/dist/esm/fieldLayout.mjs.map +1 -1
- package/dist/esm/fieldLayout.native.js +41 -6
- package/dist/esm/fieldLayout.native.js.map +1 -1
- package/dist/esm/fields/Combobox/index.mjs.map +1 -1
- package/dist/esm/fields/Combobox/index.native.js.map +1 -1
- package/dist/esm/fields/Input/index.mjs +7 -1
- package/dist/esm/fields/Input/index.mjs.map +1 -1
- package/dist/esm/fields/Input/index.native.js +7 -1
- package/dist/esm/fields/Input/index.native.js.map +1 -1
- package/dist/esm/fields/Select/index.mjs +40 -23
- package/dist/esm/fields/Select/index.mjs.map +1 -1
- package/dist/esm/fields/Select/index.native.js +41 -23
- package/dist/esm/fields/Select/index.native.js.map +1 -1
- package/dist/esm/fields/Switch/index.mjs +7 -3
- package/dist/esm/fields/Switch/index.mjs.map +1 -1
- package/dist/esm/fields/Switch/index.native.js +7 -3
- package/dist/esm/fields/Switch/index.native.js.map +1 -1
- package/dist/esm/index.mjs +2 -1
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +2 -1
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/shared/fieldRowContext.mjs +16 -0
- package/dist/esm/shared/fieldRowContext.mjs.map +1 -0
- package/dist/esm/shared/fieldRowContext.native.js +17 -0
- package/dist/esm/shared/fieldRowContext.native.js.map +1 -0
- package/dist/esm/standardActions.mjs +12 -2
- package/dist/esm/standardActions.mjs.map +1 -1
- package/dist/esm/standardActions.native.js +12 -2
- package/dist/esm/standardActions.native.js.map +1 -1
- package/dist/jsx/DescriptionList/index.mjs +60 -5
- package/dist/jsx/DescriptionList/index.mjs.map +1 -1
- package/dist/jsx/DescriptionList/index.native.js +61 -5
- package/dist/jsx/DescriptionList/index.native.js.map +1 -1
- package/dist/jsx/InputParts/index.mjs +5 -3
- package/dist/jsx/InputParts/index.mjs.map +1 -1
- package/dist/jsx/InputParts/index.native.js +5 -3
- package/dist/jsx/InputParts/index.native.js.map +1 -1
- package/dist/jsx/Label/index.mjs +6 -4
- package/dist/jsx/Label/index.mjs.map +1 -1
- package/dist/jsx/Label/index.native.js +6 -4
- package/dist/jsx/Label/index.native.js.map +1 -1
- package/dist/jsx/fieldLayout.mjs +41 -6
- package/dist/jsx/fieldLayout.mjs.map +1 -1
- package/dist/jsx/fieldLayout.native.js +39 -4
- package/dist/jsx/fieldLayout.native.js.map +1 -1
- package/dist/jsx/fields/Combobox/index.mjs.map +1 -1
- package/dist/jsx/fields/Combobox/index.native.js.map +1 -1
- package/dist/jsx/fields/Input/index.mjs +7 -1
- package/dist/jsx/fields/Input/index.mjs.map +1 -1
- package/dist/jsx/fields/Input/index.native.js +7 -1
- package/dist/jsx/fields/Input/index.native.js.map +1 -1
- package/dist/jsx/fields/Select/index.mjs +40 -23
- package/dist/jsx/fields/Select/index.mjs.map +1 -1
- package/dist/jsx/fields/Select/index.native.js +40 -22
- package/dist/jsx/fields/Select/index.native.js.map +1 -1
- package/dist/jsx/fields/Switch/index.mjs +7 -3
- package/dist/jsx/fields/Switch/index.mjs.map +1 -1
- package/dist/jsx/fields/Switch/index.native.js +6 -2
- package/dist/jsx/fields/Switch/index.native.js.map +1 -1
- package/dist/jsx/index.js +2 -1
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +2 -1
- package/dist/jsx/index.mjs.map +1 -1
- package/dist/jsx/index.native.js +3 -0
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/shared/fieldRowContext.mjs +16 -0
- package/dist/jsx/shared/fieldRowContext.mjs.map +1 -0
- package/dist/jsx/shared/fieldRowContext.native.js +46 -0
- package/dist/jsx/shared/fieldRowContext.native.js.map +1 -0
- package/dist/jsx/standardActions.mjs +12 -2
- package/dist/jsx/standardActions.mjs.map +1 -1
- package/dist/jsx/standardActions.native.js +11 -1
- package/dist/jsx/standardActions.native.js.map +1 -1
- package/package.json +8 -8
- package/src/DescriptionList/DescriptionList.spec.tsx +81 -0
- package/src/DescriptionList/index.tsx +78 -12
- package/src/InputParts/index.tsx +5 -3
- package/src/Label/index.tsx +9 -4
- package/src/fieldLayout.tsx +46 -6
- package/src/fieldRows.spec.tsx +150 -0
- package/src/fields/Combobox/index.tsx +2 -3
- package/src/fields/Input/index.tsx +5 -0
- package/src/fields/Select/Select.spec.tsx +10 -0
- package/src/fields/Select/index.tsx +47 -19
- package/src/fields/Switch/index.tsx +9 -4
- package/src/index.ts +2 -0
- package/src/shared/fieldRowContext.tsx +19 -0
- package/src/standardActions.ts +9 -1
- package/types/DescriptionList/index.d.ts +18 -0
- package/types/DescriptionList/index.d.ts.map +1 -1
- package/types/InputParts/index.d.ts.map +1 -1
- package/types/Label/index.d.ts.map +1 -1
- package/types/fieldLayout.d.ts.map +1 -1
- package/types/fields/Combobox/index.d.ts.map +1 -1
- package/types/fields/Input/index.d.ts.map +1 -1
- package/types/fields/Select/index.d.ts.map +1 -1
- package/types/fields/Switch/index.d.ts +1 -1
- package/types/fields/Switch/index.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/shared/fieldRowContext.d.ts +14 -0
- package/types/shared/fieldRowContext.d.ts.map +1 -0
- package/types/standardActions.d.ts +2 -2
- package/types/standardActions.d.ts.map +1 -1
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vitest-environment jsdom
|
|
3
|
+
*
|
|
4
|
+
* LC-169 field rows: the iOS inset-grouped form. Inside `FieldRows` a field is
|
|
5
|
+
* one row: label leading at the body size, the control trailing without its
|
|
6
|
+
* own box, at least 44pt tall.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { createDefaultThemeConfig, GroupPositionContext } from "@multiplatform.one/theme";
|
|
10
|
+
import { renderWithProviders } from "@multiplatform.one/test-utils";
|
|
11
|
+
import { describe, expect, it } from "vitest";
|
|
12
|
+
import { Input } from "./fields/Input";
|
|
13
|
+
import { Select } from "./fields/Select";
|
|
14
|
+
import { Switch } from "./fields/Switch";
|
|
15
|
+
import { FieldRows } from "./shared/fieldRowContext";
|
|
16
|
+
|
|
17
|
+
// `$textMuted` is a key only MPO's themes define; under the stock test themes
|
|
18
|
+
// tamagui drops it to `$color`, so this file renders under MPO's own config.
|
|
19
|
+
createDefaultThemeConfig({});
|
|
20
|
+
|
|
21
|
+
const classes = (el: Element | null) => String(el?.className ?? "");
|
|
22
|
+
|
|
23
|
+
describe("FieldRows (LC-169)", () => {
|
|
24
|
+
it("a text field is a row: label leading, value trailing and editable in place", () => {
|
|
25
|
+
const result = renderWithProviders(
|
|
26
|
+
<FieldRows>
|
|
27
|
+
<Input id="name" label="Display name" value="Ada Lovelace" onChange={() => {}} />
|
|
28
|
+
</FieldRows>,
|
|
29
|
+
);
|
|
30
|
+
const layout = result.container.querySelector("[data-label-placement]") as HTMLElement;
|
|
31
|
+
expect(layout.getAttribute("data-label-placement")).toBe("row");
|
|
32
|
+
const row = result.container.querySelector("[data-field-row]") as HTMLElement;
|
|
33
|
+
expect(classes(row)).toMatch(/_fd-row/);
|
|
34
|
+
expect(classes(row)).toMatch(/_mih-44px/);
|
|
35
|
+
const input = result.container.querySelector("input") as HTMLInputElement;
|
|
36
|
+
expect(row.contains(input)).toBe(true);
|
|
37
|
+
expect(row.textContent).toContain("Display name");
|
|
38
|
+
expect(classes(input)).toMatch(/_ta-right/);
|
|
39
|
+
expect(input.readOnly).toBe(false);
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
it("the row's label is the body title in the primary ink, not the footnote label role", () => {
|
|
43
|
+
const outside = renderWithProviders(
|
|
44
|
+
<Input id="a" label="Email" value="" onChange={() => {}} />,
|
|
45
|
+
);
|
|
46
|
+
const inside = renderWithProviders(
|
|
47
|
+
<FieldRows>
|
|
48
|
+
<Input id="b" label="Email" value="" onChange={() => {}} />
|
|
49
|
+
</FieldRows>,
|
|
50
|
+
);
|
|
51
|
+
const label = (r: typeof outside) => r.container.querySelector("label") as HTMLElement;
|
|
52
|
+
expect(classes(label(inside))).toMatch(/_col-color(\s|$)/);
|
|
53
|
+
expect(classes(label(inside))).not.toEqual(classes(label(outside)));
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
it("a picker is a value row: the value in the secondary ink, no box", () => {
|
|
57
|
+
const result = renderWithProviders(
|
|
58
|
+
<FieldRows>
|
|
59
|
+
<Select
|
|
60
|
+
id="tz"
|
|
61
|
+
label="Timezone"
|
|
62
|
+
options={[{ value: "chi", label: "America/Chicago" }]}
|
|
63
|
+
value="chi"
|
|
64
|
+
onChange={() => {}}
|
|
65
|
+
/>
|
|
66
|
+
</FieldRows>,
|
|
67
|
+
);
|
|
68
|
+
const trigger = result.getByTestId("select-trigger");
|
|
69
|
+
expect(classes(trigger)).not.toMatch(/_bw-1px/);
|
|
70
|
+
const value = result.getByText("America/Chicago");
|
|
71
|
+
expect(classes(value)).toMatch(/_col-textMuted/);
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
it("a switch row leads with its label by default", () => {
|
|
75
|
+
const result = renderWithProviders(
|
|
76
|
+
<FieldRows>
|
|
77
|
+
<Switch id="push" label="Push notifications" />
|
|
78
|
+
</FieldRows>,
|
|
79
|
+
);
|
|
80
|
+
const row = result.getByText("Push notifications").parentElement as HTMLElement;
|
|
81
|
+
expect(classes(row)).toMatch(/_fd-row-reverse/);
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
it("in an inset group the row carries the group's inset, outside it none", () => {
|
|
85
|
+
const loose = renderWithProviders(
|
|
86
|
+
<FieldRows>
|
|
87
|
+
<Input id="loose" label="Display name" value="Ada" onChange={() => {}} />
|
|
88
|
+
</FieldRows>,
|
|
89
|
+
);
|
|
90
|
+
const looseRow = loose.container.querySelector("[data-field-row]");
|
|
91
|
+
expect(classes(looseRow)).not.toMatch(/_pl-/);
|
|
92
|
+
const grouped = renderWithProviders(
|
|
93
|
+
<GroupPositionContext.Provider value="first">
|
|
94
|
+
<FieldRows>
|
|
95
|
+
<Input id="grouped" label="Display name" value="Ada" onChange={() => {}} />
|
|
96
|
+
</FieldRows>
|
|
97
|
+
</GroupPositionContext.Provider>,
|
|
98
|
+
);
|
|
99
|
+
const groupedRow = grouped.container.querySelector("[data-field-row]");
|
|
100
|
+
expect(classes(groupedRow)).toMatch(/_pl-/);
|
|
101
|
+
expect(classes(groupedRow)).toMatch(/_pr-/);
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
it("a value and a picker's chevron end on the row's trailing inset, as a switch does", () => {
|
|
105
|
+
const result = renderWithProviders(
|
|
106
|
+
<FieldRows>
|
|
107
|
+
<Input id="name" label="Display name" value="Ada Lovelace" onChange={() => {}} />
|
|
108
|
+
<Select
|
|
109
|
+
id="tz"
|
|
110
|
+
label="Timezone"
|
|
111
|
+
options={[{ value: "chi", label: "America/Chicago" }]}
|
|
112
|
+
value="chi"
|
|
113
|
+
onChange={() => {}}
|
|
114
|
+
/>
|
|
115
|
+
</FieldRows>,
|
|
116
|
+
);
|
|
117
|
+
const endPads = (from: Element) => {
|
|
118
|
+
const pads: string[] = [];
|
|
119
|
+
let node: Element | null = from;
|
|
120
|
+
while (node && !node.hasAttribute("data-field-row")) {
|
|
121
|
+
pads.push(...(classes(node).match(/_pr-\S+/g) ?? []));
|
|
122
|
+
node = node.parentElement;
|
|
123
|
+
}
|
|
124
|
+
return pads;
|
|
125
|
+
};
|
|
126
|
+
const input = result.container.querySelector("input") as HTMLInputElement;
|
|
127
|
+
const trigger = result.getByTestId("select-trigger");
|
|
128
|
+
for (const pad of [...endPads(input), ...endPads(trigger)]) expect(pad).toBe("_pr-0px");
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
it("in an inset group every row but the first draws the group's full-width hairline (FZ-8003)", () => {
|
|
132
|
+
const result = renderWithProviders(
|
|
133
|
+
<FieldRows>
|
|
134
|
+
<GroupPositionContext.Provider value="first">
|
|
135
|
+
<Input id="first" label="Display name" value="" onChange={() => {}} />
|
|
136
|
+
</GroupPositionContext.Provider>
|
|
137
|
+
<GroupPositionContext.Provider value="last">
|
|
138
|
+
<Input id="last" label="Email" value="" onChange={() => {}} />
|
|
139
|
+
</GroupPositionContext.Provider>
|
|
140
|
+
</FieldRows>,
|
|
141
|
+
);
|
|
142
|
+
const layouts = result.container.querySelectorAll("[data-label-placement='row']");
|
|
143
|
+
expect(layouts).toHaveLength(2);
|
|
144
|
+
expect(layouts[0]!.querySelector("[data-list-hairline]")).toBeNull();
|
|
145
|
+
const rule = layouts[1]!.querySelector("[data-list-hairline]");
|
|
146
|
+
expect(rule?.getAttribute("data-list-hairline")).toBe("full");
|
|
147
|
+
const row = layouts[1]!.querySelector("[data-field-row]")!;
|
|
148
|
+
expect(rule!.compareDocumentPosition(row) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();
|
|
149
|
+
});
|
|
150
|
+
});
|
|
@@ -125,9 +125,8 @@ function listItemRingProps(keyboardRing: boolean) {
|
|
|
125
125
|
* row. On native the shim can only resolve a token the theme in scope actually
|
|
126
126
|
* carries, and the component sub-themes carry no accent solid at all.
|
|
127
127
|
* Resolve it here, where the value becomes a paint — the same shape as
|
|
128
|
-
* `mutedColor` for the search glyph. Keyed off `useMenuRowCheckInk` (
|
|
129
|
-
*
|
|
130
|
-
* (FZ-8355 r6), degrading to `$color` ink rather than black when a narrow
|
|
128
|
+
* `mutedColor` for the search glyph. Keyed off `useMenuRowCheckInk` (the accent, ink when hue-less), so
|
|
129
|
+
* the tick holds 4.5:1 on the chosen row (FZ-8355 r6, FZ-8557), degrading to `$color` ink rather than black when a narrow
|
|
131
130
|
* sub-theme lacks the key.
|
|
132
131
|
*/
|
|
133
132
|
function useSelectedMarkColor(): string {
|
|
@@ -29,6 +29,7 @@ import type { AnyFormApi, LinkResolver } from "../../types";
|
|
|
29
29
|
import { LinkCell } from "../../utils/LinkCell";
|
|
30
30
|
import { getFormSubmission } from "../../Form/submissionController";
|
|
31
31
|
import { useKeyboardChain } from "../../keyboard";
|
|
32
|
+
import { useFieldRow } from "../../shared/fieldRowContext";
|
|
32
33
|
|
|
33
34
|
type InputAreaProps = ComponentProps<typeof InputParts.Area>;
|
|
34
35
|
|
|
@@ -173,6 +174,8 @@ export function Input({
|
|
|
173
174
|
const submitForm = useCallback(() => {
|
|
174
175
|
if (resolvedForm && name) void getFormSubmission(resolvedForm).submit();
|
|
175
176
|
}, [resolvedForm, name]);
|
|
177
|
+
// A field row (LC-169) edits the value in place at the row's trailing edge.
|
|
178
|
+
const rowAlign = useFieldRow() ? ({ textAlign: "right" } as const) : undefined;
|
|
176
179
|
const keyboard = useKeyboardChain({
|
|
177
180
|
inputRef,
|
|
178
181
|
enabled: !disabled && !readOnly && !skeleton && !children,
|
|
@@ -341,6 +344,7 @@ export function Input({
|
|
|
341
344
|
aria-invalid={hasError || undefined}
|
|
342
345
|
{...identifierProps}
|
|
343
346
|
{...areaName}
|
|
347
|
+
{...rowAlign}
|
|
344
348
|
/>
|
|
345
349
|
)
|
|
346
350
|
) : (
|
|
@@ -375,6 +379,7 @@ export function Input({
|
|
|
375
379
|
aria-required={required || undefined}
|
|
376
380
|
aria-invalid={hasError || undefined}
|
|
377
381
|
{...areaName}
|
|
382
|
+
{...rowAlign}
|
|
378
383
|
onChange={onChange}
|
|
379
384
|
onChangeText={(text) => {
|
|
380
385
|
if (disabled) return;
|
|
@@ -9,6 +9,7 @@ import { sizeRecipeForToken } from "@multiplatform.one/theme";
|
|
|
9
9
|
import { Button } from "../../Button";
|
|
10
10
|
import { Form } from "../../Form";
|
|
11
11
|
import { __resetDevWarnSeen } from "../../shared/devWarn";
|
|
12
|
+
import { FieldRows } from "../../shared/fieldRowContext";
|
|
12
13
|
import { Select, type SelectOption } from "./index";
|
|
13
14
|
|
|
14
15
|
/** Web panels portal out to the page (MPO-335, LC-90), so panel text is read from the page. */
|
|
@@ -281,6 +282,15 @@ describe("Select Components", () => {
|
|
|
281
282
|
expect(warnSpy).toHaveBeenCalledWith(expect.stringContaining("select-too-few-options"));
|
|
282
283
|
});
|
|
283
284
|
|
|
285
|
+
it("does not warn in a field row, where a short list is the pop-up row (LC-169)", () => {
|
|
286
|
+
renderWithProviders(
|
|
287
|
+
<FieldRows>
|
|
288
|
+
<Select options={mockOptions} id="row" label="Digest frequency" />
|
|
289
|
+
</FieldRows>,
|
|
290
|
+
);
|
|
291
|
+
expect(warnSpy).not.toHaveBeenCalledWith(expect.stringContaining("select-too-few-options"));
|
|
292
|
+
});
|
|
293
|
+
|
|
284
294
|
it("does not warn when options.length > 5", () => {
|
|
285
295
|
const many: SelectOption[] = Array.from({ length: 6 }, (_, i) => ({
|
|
286
296
|
value: `v${i}`,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconSlot, useTouchSurface } from "@multiplatform.one/theme";
|
|
2
2
|
import type { KeyboardEvent, MouseEvent, ReactNode, RefObject, UIEvent } from "react";
|
|
3
3
|
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState, memo } from "react";
|
|
4
|
-
import { CaretDownIcon, CheckIcon } from "@phosphor-icons/react";
|
|
4
|
+
import { CaretDownIcon, CaretRightIcon, CheckIcon } from "@phosphor-icons/react";
|
|
5
5
|
import {
|
|
6
6
|
useClick,
|
|
7
7
|
useDismiss,
|
|
@@ -36,6 +36,7 @@ import * as ReactNative from "react-native";
|
|
|
36
36
|
import { Platform, Pressable as RNPressable } from "react-native";
|
|
37
37
|
import { Paragraph, Text, View, YStack, isWeb, styled } from "tamagui";
|
|
38
38
|
import { Chip, type ChipProps } from "../../Chip";
|
|
39
|
+
import { useFieldRow } from "../../shared/fieldRowContext";
|
|
39
40
|
import { pickerTriggerContract } from "../../shared/pickerTriggerContract";
|
|
40
41
|
import { Skeleton } from "../../Skeleton";
|
|
41
42
|
import { Field, FieldLayout, useFieldA11y, useFieldDescribedBy } from "../../fieldLayout";
|
|
@@ -160,6 +161,15 @@ const selectRowOutlineRest = {
|
|
|
160
161
|
borderRadius: 0,
|
|
161
162
|
};
|
|
162
163
|
|
|
164
|
+
/** A field row's picker (LC-169) pushes its choices like a disclosure row: a chevron, not a drop caret. */
|
|
165
|
+
function TriggerCaret({ color }: { color?: string }) {
|
|
166
|
+
return useFieldRow() ? (
|
|
167
|
+
<CaretRightIcon size={16} color={color} />
|
|
168
|
+
) : (
|
|
169
|
+
<CaretDownIcon size={16} color={color} />
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
|
|
163
173
|
const SelectRow = styled(View, {
|
|
164
174
|
name: "SelectRow",
|
|
165
175
|
...menuRowFrame,
|
|
@@ -549,6 +559,7 @@ function FloatingSelectCore({
|
|
|
549
559
|
const [open, setOpen] = useState(false);
|
|
550
560
|
const [activeIndex, setActiveIndex] = useState<number | null>(null);
|
|
551
561
|
const [controlledScrolling, setControlledScrolling] = useState(false);
|
|
562
|
+
const rowFace = useFieldRow();
|
|
552
563
|
const { kbTrigger, kbNav, setKbNav, onTriggerFocus, onTriggerBlur, onTriggerPointerDown } =
|
|
553
564
|
useSelectKeyboardRing();
|
|
554
565
|
|
|
@@ -1122,9 +1133,9 @@ function FloatingSelectCore({
|
|
|
1122
1133
|
suppressFocusRing={open}
|
|
1123
1134
|
size={knobProps.sizeToken}
|
|
1124
1135
|
{...pickerTriggerContract(knobProps.control.height)}
|
|
1125
|
-
paddingHorizontal
|
|
1126
|
-
{...(inTableCell
|
|
1127
|
-
? // Chromeless in cells.
|
|
1136
|
+
{...(rowFace ? null : { paddingHorizontal: knobProps.panelPadding.padding })}
|
|
1137
|
+
{...(inTableCell || rowFace
|
|
1138
|
+
? // Chromeless in cells and field rows.
|
|
1128
1139
|
{}
|
|
1129
1140
|
: {
|
|
1130
1141
|
borderWidth: knobProps.borderRadius.borderWidth,
|
|
@@ -1137,7 +1148,9 @@ function FloatingSelectCore({
|
|
|
1137
1148
|
minWidth={0}
|
|
1138
1149
|
paddingVertical="$2"
|
|
1139
1150
|
justifyContent={multiple && selectedValues.length > 0 ? "center" : "flex-start"}
|
|
1140
|
-
alignItems={
|
|
1151
|
+
alignItems={
|
|
1152
|
+
multiple && selectedValues.length > 0 ? "center" : rowFace ? "flex-end" : "flex-start"
|
|
1153
|
+
}
|
|
1141
1154
|
>
|
|
1142
1155
|
{multiple && selectedValues.length > 0 ? (
|
|
1143
1156
|
<View
|
|
@@ -1170,7 +1183,7 @@ function FloatingSelectCore({
|
|
|
1170
1183
|
{...knobProps.controlType}
|
|
1171
1184
|
fontFamily={knobProps.body.fontFamily}
|
|
1172
1185
|
fontWeight={knobProps.body.fontWeight}
|
|
1173
|
-
color={selectedOption ? textColor : formCommonColors.muted}
|
|
1186
|
+
color={selectedOption ? (rowFace ? "$textMuted" : textColor) : formCommonColors.muted}
|
|
1174
1187
|
numberOfLines={1}
|
|
1175
1188
|
userSelect="none"
|
|
1176
1189
|
>
|
|
@@ -1179,7 +1192,7 @@ function FloatingSelectCore({
|
|
|
1179
1192
|
)}
|
|
1180
1193
|
</View>
|
|
1181
1194
|
<View flexShrink={0} alignSelf="center">
|
|
1182
|
-
<
|
|
1195
|
+
<TriggerCaret color={glyphColor} />
|
|
1183
1196
|
</View>
|
|
1184
1197
|
</InputParts.Box>
|
|
1185
1198
|
|
|
@@ -1362,6 +1375,7 @@ function NativeSelectCore({
|
|
|
1362
1375
|
const listRef = useRef<HTMLElement | null>(null);
|
|
1363
1376
|
const listboxId = `${id}-listbox`;
|
|
1364
1377
|
const optionId = (index: number) => `${listboxId}-option-${index}`;
|
|
1378
|
+
const rowFace = useFieldRow();
|
|
1365
1379
|
const { kbTrigger, kbNav, setKbNav, onTriggerFocus, onTriggerBlur, onTriggerPointerDown } =
|
|
1366
1380
|
useSelectKeyboardRing();
|
|
1367
1381
|
|
|
@@ -1606,9 +1620,9 @@ function NativeSelectCore({
|
|
|
1606
1620
|
disabled={disabled}
|
|
1607
1621
|
size={knobProps.sizeToken}
|
|
1608
1622
|
{...pickerTriggerContract(knobProps.control.height)}
|
|
1609
|
-
paddingHorizontal
|
|
1623
|
+
{...(rowFace ? null : { paddingHorizontal: knobProps.panelPadding.padding })}
|
|
1610
1624
|
pointerEvents="none"
|
|
1611
|
-
{...(inTableCell
|
|
1625
|
+
{...(inTableCell || rowFace
|
|
1612
1626
|
? {}
|
|
1613
1627
|
: {
|
|
1614
1628
|
borderWidth: knobProps.borderRadius.borderWidth,
|
|
@@ -1621,20 +1635,26 @@ function NativeSelectCore({
|
|
|
1621
1635
|
minWidth={0}
|
|
1622
1636
|
paddingVertical="$2"
|
|
1623
1637
|
justifyContent="flex-start"
|
|
1624
|
-
alignItems="flex-start"
|
|
1638
|
+
alignItems={rowFace ? "flex-end" : "flex-start"}
|
|
1625
1639
|
>
|
|
1626
1640
|
<Text
|
|
1627
1641
|
{...knobProps.controlType}
|
|
1628
1642
|
fontFamily={knobProps.body.fontFamily}
|
|
1629
1643
|
fontWeight={knobProps.body.fontWeight}
|
|
1630
|
-
color={
|
|
1644
|
+
color={
|
|
1645
|
+
selectedOption
|
|
1646
|
+
? rowFace
|
|
1647
|
+
? "$textMuted"
|
|
1648
|
+
: formCommonColors.text
|
|
1649
|
+
: formCommonColors.muted
|
|
1650
|
+
}
|
|
1631
1651
|
numberOfLines={1}
|
|
1632
1652
|
>
|
|
1633
1653
|
{triggerValueText}
|
|
1634
1654
|
</Text>
|
|
1635
1655
|
</View>
|
|
1636
1656
|
<View flexShrink={0} alignSelf="center">
|
|
1637
|
-
<
|
|
1657
|
+
<TriggerCaret />
|
|
1638
1658
|
</View>
|
|
1639
1659
|
</InputParts.Box>
|
|
1640
1660
|
</RNPressable>
|
|
@@ -1666,8 +1686,8 @@ function NativeSelectCore({
|
|
|
1666
1686
|
disabled={disabled}
|
|
1667
1687
|
size={knobProps.sizeToken}
|
|
1668
1688
|
{...pickerTriggerContract(knobProps.control.height)}
|
|
1669
|
-
paddingHorizontal
|
|
1670
|
-
{...(inTableCell
|
|
1689
|
+
{...(rowFace ? null : { paddingHorizontal: knobProps.panelPadding.padding })}
|
|
1690
|
+
{...(inTableCell || rowFace
|
|
1671
1691
|
? {}
|
|
1672
1692
|
: {
|
|
1673
1693
|
borderWidth: knobProps.borderRadius.borderWidth,
|
|
@@ -1720,7 +1740,9 @@ function NativeSelectCore({
|
|
|
1720
1740
|
minWidth={0}
|
|
1721
1741
|
paddingVertical="$2"
|
|
1722
1742
|
justifyContent={multiple && selectedValues.length > 0 ? "center" : "flex-start"}
|
|
1723
|
-
alignItems={
|
|
1743
|
+
alignItems={
|
|
1744
|
+
multiple && selectedValues.length > 0 ? "center" : rowFace ? "flex-end" : "flex-start"
|
|
1745
|
+
}
|
|
1724
1746
|
>
|
|
1725
1747
|
{multiple && selectedValues.length > 0 ? (
|
|
1726
1748
|
<View
|
|
@@ -1753,7 +1775,9 @@ function NativeSelectCore({
|
|
|
1753
1775
|
{...knobProps.controlType}
|
|
1754
1776
|
fontFamily={knobProps.body.fontFamily}
|
|
1755
1777
|
fontWeight={knobProps.body.fontWeight}
|
|
1756
|
-
color={
|
|
1778
|
+
color={
|
|
1779
|
+
selectedOption ? (rowFace ? "$textMuted" : textColor) : formCommonColors.muted
|
|
1780
|
+
}
|
|
1757
1781
|
numberOfLines={1}
|
|
1758
1782
|
>
|
|
1759
1783
|
{selectedOption?.label ?? placeholder}
|
|
@@ -1761,7 +1785,7 @@ function NativeSelectCore({
|
|
|
1761
1785
|
)}
|
|
1762
1786
|
</View>
|
|
1763
1787
|
<View flexShrink={0} alignSelf="center">
|
|
1764
|
-
<
|
|
1788
|
+
<TriggerCaret color={glyphColor} />
|
|
1765
1789
|
</View>
|
|
1766
1790
|
</InputParts.Box>
|
|
1767
1791
|
}
|
|
@@ -1837,7 +1861,11 @@ export function Select({
|
|
|
1837
1861
|
resolveCompactFace(pickerCompactFace(options?.length ?? 0), insideOverlay) === "menu";
|
|
1838
1862
|
const shouldUseSheet = !isWeb || (!effectiveGtSm && !compactMenu);
|
|
1839
1863
|
const inTableCell = useIsInTableCell();
|
|
1840
|
-
|
|
1864
|
+
// A field row (LC-169) is the iOS pop-up row: value and chevron, never
|
|
1865
|
+
// inline choices, whatever the list's length.
|
|
1866
|
+
const inFieldRow = useFieldRow();
|
|
1867
|
+
const inline =
|
|
1868
|
+
!inTableCell && !inFieldRow && shouldInlineChoices({ insideOverlay, multiple, options });
|
|
1841
1869
|
const sheetNavigation = useSheetNavigation();
|
|
1842
1870
|
const rowLabel = typeof label === "string" ? label : ariaLabel;
|
|
1843
1871
|
const pushed =
|
|
@@ -1847,7 +1875,7 @@ export function Select({
|
|
|
1847
1875
|
shouldPushChoices({ inSheet: Boolean(sheetNavigation), multiple, options, panelWidth });
|
|
1848
1876
|
// DG-CTRL-01 / DG-CTRL-05 — short single-select lists prefer RadioGroup,
|
|
1849
1877
|
// which the inline face already is.
|
|
1850
|
-
if (!inline) {
|
|
1878
|
+
if (!inline && !inFieldRow) {
|
|
1851
1879
|
warnSelectTooFewOptions({
|
|
1852
1880
|
count: options?.length ?? 0,
|
|
1853
1881
|
multiple,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { transitionOrInstant } from "../../shared/instantMotion";
|
|
2
2
|
import { transitionProps } from "@multiplatform.one/theme";
|
|
3
|
-
import { useTouchSurface } from "@multiplatform.one/theme";
|
|
3
|
+
import { MIN_PRESS_TARGET, useTouchSurface } from "@multiplatform.one/theme";
|
|
4
4
|
import type { ReactNode } from "react";
|
|
5
5
|
import { useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
6
6
|
import type { AnyFormApi } from "../../types";
|
|
@@ -51,6 +51,7 @@ import {
|
|
|
51
51
|
} from "../../shared/utils";
|
|
52
52
|
import { choiceLabelPressProps, choiceRowPressProps } from "../../shared/choiceRowPress";
|
|
53
53
|
import { pressSlopProps } from "../../shared/pressSlopProps";
|
|
54
|
+
import { useFieldRow } from "../../shared/fieldRowContext";
|
|
54
55
|
import {
|
|
55
56
|
type SystemPlatform,
|
|
56
57
|
SystemSwitchView,
|
|
@@ -838,7 +839,7 @@ export function Switch({
|
|
|
838
839
|
"aria-labelledby": ariaLabelledBy,
|
|
839
840
|
leftIcon,
|
|
840
841
|
rightIcon,
|
|
841
|
-
labelPlacement
|
|
842
|
+
labelPlacement: labelPlacementProp,
|
|
842
843
|
switchProps,
|
|
843
844
|
pointy,
|
|
844
845
|
skeleton,
|
|
@@ -847,6 +848,10 @@ export function Switch({
|
|
|
847
848
|
}: SwitchProps) {
|
|
848
849
|
// The switch stays first in the DOM (focus and reading order); the row
|
|
849
850
|
// reverses so the label leads and the switch sits at the trailing edge.
|
|
851
|
+
// In a field row (LC-169) the label leads by default, the settings row.
|
|
852
|
+
const inFieldRow = useFieldRow();
|
|
853
|
+
const labelPlacement = labelPlacementProp ?? (inFieldRow ? "leading" : "trailing");
|
|
854
|
+
const rowTarget = inFieldRow ? MIN_PRESS_TARGET : undefined;
|
|
850
855
|
const labelLeadingRow =
|
|
851
856
|
labelPlacement === "leading" && label
|
|
852
857
|
? ({ flexDirection: "row-reverse", width: "100%" } as const)
|
|
@@ -896,8 +901,8 @@ export function Switch({
|
|
|
896
901
|
// the frame height so grown targets never overlap sibling rows.
|
|
897
902
|
const targetHeight = inTableCell
|
|
898
903
|
? SWITCH_CELL_TARGET_HEIGHT
|
|
899
|
-
: minTargetHeight !== undefined
|
|
900
|
-
? Math.max(minTargetHeight
|
|
904
|
+
: (minTargetHeight ?? rowTarget) !== undefined
|
|
905
|
+
? Math.max((minTargetHeight ?? rowTarget)!, trackHeight)
|
|
901
906
|
: hydrationTouch && trackHeight < TOUCH_HEIGHT_FLOOR
|
|
902
907
|
? TOUCH_HEIGHT_FLOOR
|
|
903
908
|
: undefined;
|
package/src/index.ts
CHANGED
|
@@ -479,3 +479,5 @@ export type {
|
|
|
479
479
|
} from "./MediaPicker/types";
|
|
480
480
|
export { standardActions, standardActionWords } from "./standardActions";
|
|
481
481
|
export type { StandardAction, StandardActionKind } from "./standardActions";
|
|
482
|
+
|
|
483
|
+
export { FieldRows, useFieldRow } from "./shared/fieldRowContext";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Field rows (LC-169, the iOS inset-grouped form): inside `FieldRows`, a field
|
|
3
|
+
* is one row of a grouped list. The label leads at the body size in the
|
|
4
|
+
* primary ink, the control trails without a box of its own (the group is the
|
|
5
|
+
* frame), and the row is at least the 44pt press target. A text field is
|
|
6
|
+
* edited in place, right-aligned; a picker shows its value in the secondary
|
|
7
|
+
* ink and a chevron; a switch sits at the trailing edge.
|
|
8
|
+
*/
|
|
9
|
+
import { createContext, useContext, type ReactNode } from "react";
|
|
10
|
+
|
|
11
|
+
const FieldRowContext = createContext(false);
|
|
12
|
+
|
|
13
|
+
export function FieldRows({ children }: { children: ReactNode }) {
|
|
14
|
+
return <FieldRowContext.Provider value>{children}</FieldRowContext.Provider>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function useFieldRow(): boolean {
|
|
18
|
+
return useContext(FieldRowContext);
|
|
19
|
+
}
|
package/src/standardActions.ts
CHANGED
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
import {
|
|
9
9
|
ArrowClockwiseIcon,
|
|
10
|
+
CaretLeftIcon,
|
|
10
11
|
CheckIcon,
|
|
11
12
|
CopyIcon,
|
|
12
13
|
DotsThreeIcon,
|
|
14
|
+
DownloadSimpleIcon,
|
|
13
15
|
ExportIcon,
|
|
14
16
|
FunnelSimpleIcon,
|
|
15
17
|
MagnifyingGlassIcon,
|
|
@@ -38,7 +40,9 @@ export type StandardActionKind =
|
|
|
38
40
|
| "more"
|
|
39
41
|
| "remove"
|
|
40
42
|
| "replace"
|
|
41
|
-
| "retry"
|
|
43
|
+
| "retry"
|
|
44
|
+
| "back"
|
|
45
|
+
| "export";
|
|
42
46
|
|
|
43
47
|
export interface StandardAction {
|
|
44
48
|
/** The symbol, a Phosphor glyph. */
|
|
@@ -68,6 +72,8 @@ export const standardActions: Record<StandardActionKind, StandardAction> = {
|
|
|
68
72
|
remove: { icon: XIcon, label: "Remove", primary: false },
|
|
69
73
|
replace: { icon: SwapIcon, label: "Replace", primary: false },
|
|
70
74
|
retry: { icon: ArrowClockwiseIcon, label: "Retry", primary: false },
|
|
75
|
+
back: { icon: CaretLeftIcon, label: "Back", primary: false },
|
|
76
|
+
export: { icon: DownloadSimpleIcon, label: "Export", primary: false },
|
|
71
77
|
};
|
|
72
78
|
|
|
73
79
|
/**
|
|
@@ -76,6 +82,7 @@ export const standardActions: Record<StandardActionKind, StandardAction> = {
|
|
|
76
82
|
*/
|
|
77
83
|
export const standardActionWords = [
|
|
78
84
|
"add",
|
|
85
|
+
"back",
|
|
79
86
|
"cancel",
|
|
80
87
|
"close",
|
|
81
88
|
"confirm",
|
|
@@ -83,6 +90,7 @@ export const standardActionWords = [
|
|
|
83
90
|
"delete",
|
|
84
91
|
"done",
|
|
85
92
|
"edit",
|
|
93
|
+
"export",
|
|
86
94
|
"filter",
|
|
87
95
|
"more",
|
|
88
96
|
"ok",
|
|
@@ -40,6 +40,24 @@ export interface DescriptionListItem {
|
|
|
40
40
|
* middle so both ends stay legible, with a copy action (LC-169).
|
|
41
41
|
*/
|
|
42
42
|
identifier?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* An icon-only fact (LC-169): no visible label. The term becomes the
|
|
45
|
+
* glyph's accessible name and its tooltip, and the value leads after the
|
|
46
|
+
* glyph. Only for a glyph that is unambiguous in context (a realm's shield
|
|
47
|
+
* beside "master", a link beside a URL).
|
|
48
|
+
*/
|
|
49
|
+
labelHidden?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Replaces an identifier row's copy button, e.g. a menu that also copies
|
|
52
|
+
* values derived from this one.
|
|
53
|
+
*/
|
|
54
|
+
copyAction?: ReactNode;
|
|
55
|
+
/**
|
|
56
|
+
* Trailing content that belongs to this fact, on its line (iOS's detail
|
|
57
|
+
* accessory): a realm's checks as a glyph cluster beside the realm, so a
|
|
58
|
+
* card needs no row of its own for them (LC-169).
|
|
59
|
+
*/
|
|
60
|
+
accessory?: ReactNode;
|
|
43
61
|
/** Optional per-row Change action. */
|
|
44
62
|
onChange?: () => void;
|
|
45
63
|
changeLabel?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/DescriptionList/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAUL,KAAK,YAAY,EACjB,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AASf,OAAO,EAAE,KAAK,UAAU,EAAqC,MAAM,SAAS,CAAC;AAK7E,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnG;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEjE,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,SAAS,CAAC;IAChB,gFAAgF;IAChF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,yEAAyE;IACzE,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,MAAM,uBAAuB,GAAG,mBAA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SAAS,EAAE,aAAa,EACxB,MAAc,EACd,KAAa,EACb,QAA+B,EAC/B,gBAAqC,EACrC,IAAI,EACJ,YAAY,EACZ,MAAM,GACP,EAAE,oBAAoB,2CA0FtB;yBArGe,eAAe;;;AAuG/B,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,uBAAuB,GAAG,YAAY,GAAG,IAAI,CAEvF;AAID,oDAAoD;AACpD,eAAO,MAAM,YAAY,wBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/InputParts/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,cAAc,EACf,MAAM,SAAS,CAAC;AACjB,OAAO,EAEL,KAAK,IAAI,MAAM,EAYhB,MAAM,SAAS,CAAC;AACjB,OAAO,EAoBL,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/InputParts/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EACV,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,cAAc,EACf,MAAM,SAAS,CAAC;AACjB,OAAO,EAEL,KAAK,IAAI,MAAM,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;;;;;;;;;;;;;;;;;;;;;;;CAkRF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Label/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAkB,UAAU,IAAI,iBAAiB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE3F,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Label/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAkB,UAAU,IAAI,iBAAiB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE3F,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAC;AAI5B,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACjE,mEAAmE;IACnE,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mFAAmF;IACnF,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAYD,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,QAAQ,EACR,eAAe,EAAE,mBAAmB,EACpC,MAAM,EACN,aAAa,EACb,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,2CA+DZ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldLayout.d.ts","sourceRoot":"","sources":["../src/fieldLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB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