@multiplatform.one/forms 7.55.0 → 7.57.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 +216 -54
- package/dist/cjs/DescriptionList/index.native.js +226 -57
- package/dist/cjs/DescriptionList/index.native.js.map +1 -1
- package/dist/cjs/FieldDisplay/index.cjs +8 -2
- package/dist/cjs/FieldDisplay/index.native.js +8 -2
- package/dist/cjs/FieldDisplay/index.native.js.map +1 -1
- package/dist/cjs/fields/Switch/index.cjs +13 -0
- package/dist/cjs/fields/Switch/index.native.js +13 -0
- package/dist/cjs/fields/Switch/index.native.js.map +1 -1
- package/dist/esm/DescriptionList/index.mjs +217 -56
- package/dist/esm/DescriptionList/index.mjs.map +1 -1
- package/dist/esm/DescriptionList/index.native.js +227 -59
- package/dist/esm/DescriptionList/index.native.js.map +1 -1
- package/dist/esm/FieldDisplay/index.mjs +8 -2
- package/dist/esm/FieldDisplay/index.mjs.map +1 -1
- package/dist/esm/FieldDisplay/index.native.js +8 -2
- package/dist/esm/FieldDisplay/index.native.js.map +1 -1
- package/dist/esm/fields/Switch/index.mjs +13 -0
- package/dist/esm/fields/Switch/index.mjs.map +1 -1
- package/dist/esm/fields/Switch/index.native.js +13 -0
- package/dist/esm/fields/Switch/index.native.js.map +1 -1
- package/dist/jsx/DescriptionList/index.mjs +217 -56
- package/dist/jsx/DescriptionList/index.mjs.map +1 -1
- package/dist/jsx/DescriptionList/index.native.js +226 -57
- package/dist/jsx/DescriptionList/index.native.js.map +1 -1
- package/dist/jsx/FieldDisplay/index.mjs +8 -2
- package/dist/jsx/FieldDisplay/index.mjs.map +1 -1
- package/dist/jsx/FieldDisplay/index.native.js +8 -2
- package/dist/jsx/FieldDisplay/index.native.js.map +1 -1
- package/dist/jsx/fields/Switch/index.mjs +13 -0
- package/dist/jsx/fields/Switch/index.mjs.map +1 -1
- package/dist/jsx/fields/Switch/index.native.js +13 -0
- package/dist/jsx/fields/Switch/index.native.js.map +1 -1
- package/package.json +8 -8
- package/src/DescriptionList/DescriptionList.secondaryInk.spec.tsx +49 -0
- package/src/DescriptionList/DescriptionList.spec.tsx +87 -1
- package/src/DescriptionList/index.tsx +235 -81
- package/src/FieldDisplay/index.tsx +4 -2
- package/src/fields/Switch/Switch.spec.tsx +21 -0
- package/src/fields/Switch/index.tsx +20 -0
- package/types/DescriptionList/index.d.ts +27 -4
- package/types/DescriptionList/index.d.ts.map +1 -1
- package/types/FieldDisplay/index.d.ts.map +1 -1
- package/types/fields/Switch/index.d.ts +7 -1
- package/types/fields/Switch/index.d.ts.map +1 -1
|
@@ -721,6 +721,12 @@ export interface SwitchProps {
|
|
|
721
721
|
"aria-labelledby"?: string;
|
|
722
722
|
leftIcon?: ReactNode;
|
|
723
723
|
rightIcon?: ReactNode;
|
|
724
|
+
/**
|
|
725
|
+
* `leading` puts the label first and the switch at the row's trailing edge,
|
|
726
|
+
* the HIG settings row (label left, control right, full width). Default
|
|
727
|
+
* `trailing`: switch, then label.
|
|
728
|
+
*/
|
|
729
|
+
labelPlacement?: "leading" | "trailing";
|
|
724
730
|
switchProps?: Omit<
|
|
725
731
|
TamaguiSwitchProps,
|
|
726
732
|
"checked" | "defaultChecked" | "id" | "onCheckedChange" | "children"
|
|
@@ -760,11 +766,21 @@ export function Switch({
|
|
|
760
766
|
"aria-labelledby": ariaLabelledBy,
|
|
761
767
|
leftIcon,
|
|
762
768
|
rightIcon,
|
|
769
|
+
labelPlacement = "trailing",
|
|
763
770
|
switchProps,
|
|
764
771
|
pointy,
|
|
765
772
|
skeleton,
|
|
766
773
|
minTargetHeight,
|
|
767
774
|
}: SwitchProps) {
|
|
775
|
+
// The switch stays first in the DOM (focus and reading order); the row
|
|
776
|
+
// reverses so the label leads and the switch sits at the trailing edge.
|
|
777
|
+
const labelLeadingRow =
|
|
778
|
+
labelPlacement === "leading" && label
|
|
779
|
+
? ({ flexDirection: "row-reverse", width: "100%" } as const)
|
|
780
|
+
: undefined;
|
|
781
|
+
// LC-102: the leading label takes the free space, so the switch hugs the
|
|
782
|
+
// trailing edge without spacing the row apart.
|
|
783
|
+
const leadingLabelFill = labelLeadingRow ? ({ flex: 1, minWidth: 0 } as const) : undefined;
|
|
768
784
|
const hydrationTouch = useTouchSurface();
|
|
769
785
|
// Canonical `onChange` and the alias `onCheckedChange` both fire; standalone
|
|
770
786
|
// (formless) callers get real toggling from either name.
|
|
@@ -1037,6 +1053,7 @@ export function Switch({
|
|
|
1037
1053
|
alignItems="center"
|
|
1038
1054
|
height={sizeToken}
|
|
1039
1055
|
{...(rowMinHeight !== undefined && { minHeight: rowMinHeight })}
|
|
1056
|
+
{...labelLeadingRow}
|
|
1040
1057
|
>
|
|
1041
1058
|
{renderSwitch(
|
|
1042
1059
|
resolvedChecked,
|
|
@@ -1059,6 +1076,7 @@ export function Switch({
|
|
|
1059
1076
|
...text.focusVisibleKnobProps,
|
|
1060
1077
|
}}
|
|
1061
1078
|
paddingInlineEnd="$1"
|
|
1079
|
+
{...leadingLabelFill}
|
|
1062
1080
|
{...labelProps}
|
|
1063
1081
|
>
|
|
1064
1082
|
{label}
|
|
@@ -1095,6 +1113,7 @@ export function Switch({
|
|
|
1095
1113
|
alignItems="center"
|
|
1096
1114
|
height={sizeToken}
|
|
1097
1115
|
{...(rowMinHeight !== undefined && { minHeight: rowMinHeight })}
|
|
1116
|
+
{...labelLeadingRow}
|
|
1098
1117
|
>
|
|
1099
1118
|
{renderSwitch(
|
|
1100
1119
|
checked !== undefined ? checked : Boolean(field.state.value),
|
|
@@ -1120,6 +1139,7 @@ export function Switch({
|
|
|
1120
1139
|
focusStyle={{ color: formLabelColor, ...text.focusKnobProps }}
|
|
1121
1140
|
focusVisibleStyle={{ color: formLabelColor, ...text.focusVisibleKnobProps }}
|
|
1122
1141
|
paddingInlineEnd="$1"
|
|
1142
|
+
{...leadingLabelFill}
|
|
1123
1143
|
{...labelProps}
|
|
1124
1144
|
>
|
|
1125
1145
|
{label}
|
|
@@ -7,17 +7,27 @@
|
|
|
7
7
|
* read/edit flip moves no label (LC-44). Chromeless by default (LC-39);
|
|
8
8
|
* the framed variant paints, so it earns the Card inset.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* LC-169 CARD-HIERARCHY: the term is the label role (footnote size,
|
|
11
|
+
* secondary ink) and the value the body in the primary ink, so a label never
|
|
12
|
+
* reads at its value's size, weight and ink. An `identifier` row (a URL, an
|
|
13
|
+
* id) is mono, one line, truncated in the middle, with copy. House Separator
|
|
14
|
+
* (1px `$borderColor`, quiet = opacity 0.5) owns the row rule.
|
|
12
15
|
* Forms cannot import `@multiplatform.one/components` (that package depends
|
|
13
16
|
* on forms); the recipes are the same measured law.
|
|
14
17
|
*/
|
|
15
18
|
import { type ReactElement, type ReactNode } from "react";
|
|
16
19
|
import { type SizeTokens } from "tamagui";
|
|
17
20
|
import { type FieldDisplayType } from "../FieldDisplay";
|
|
18
|
-
|
|
21
|
+
/**
|
|
22
|
+
* `inline` is the card fact row (LC-169): glyph and label leading, the value
|
|
23
|
+
* trailing on the same line, a hairline between rows. An identifier row still
|
|
24
|
+
* stacks, since a long mono id cannot share its line.
|
|
25
|
+
*/
|
|
26
|
+
export type DescriptionListPlacement = "side" | "top" | "inline";
|
|
19
27
|
export interface DescriptionListItem {
|
|
20
28
|
term: ReactNode;
|
|
29
|
+
/** A glyph that names the fact's kind, before the term in the secondary ink. */
|
|
30
|
+
icon?: ReactNode;
|
|
21
31
|
/** FieldDisplay type — every typed value mounts FieldDisplay (LC-12). */
|
|
22
32
|
field?: FieldDisplayType;
|
|
23
33
|
value?: any;
|
|
@@ -25,6 +35,11 @@ export interface DescriptionListItem {
|
|
|
25
35
|
linkedValue?: any;
|
|
26
36
|
/** Opt-in ellipsis for identifier-class values (DG-OVF). */
|
|
27
37
|
truncate?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* A long identifier (URL, id, digest): mono, one line, truncated in the
|
|
40
|
+
* middle so both ends stay legible, with a copy action (LC-169).
|
|
41
|
+
*/
|
|
42
|
+
identifier?: boolean;
|
|
28
43
|
/** Optional per-row Change action. */
|
|
29
44
|
onChange?: () => void;
|
|
30
45
|
changeLabel?: string;
|
|
@@ -61,9 +76,17 @@ export interface DescriptionListProps {
|
|
|
61
76
|
* tight rhythm (shorter rows, `gapSm` columns).
|
|
62
77
|
*/
|
|
63
78
|
size?: SizeTokens;
|
|
79
|
+
/** Called after an identifier row's copy, for the owner's confirm (CopyField precedent). */
|
|
80
|
+
onCopyResult?: (ok: boolean) => void;
|
|
64
81
|
testID?: string;
|
|
65
82
|
}
|
|
66
|
-
|
|
83
|
+
/**
|
|
84
|
+
* Where a long identifier splits for middle truncation: the tail keeps the
|
|
85
|
+
* last path segments that fit in 20 characters (`/auth/realms/master`), or
|
|
86
|
+
* the last 12 characters when there is no path.
|
|
87
|
+
*/
|
|
88
|
+
export declare function middleSplit(text: string): [string, string];
|
|
89
|
+
export declare function DescriptionList({ items, children, placement: placementProp, framed, quiet, maxWidth, labelColumnWidth, size, onCopyResult, testID, }: DescriptionListProps): import("react/jsx-runtime").JSX.Element;
|
|
67
90
|
export declare namespace DescriptionList {
|
|
68
91
|
var Row: typeof DescriptionListRow;
|
|
69
92
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/DescriptionList/index.tsx"],"names":[],"mappings":"AAAA
|
|
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,wBA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AAoC;IACpC,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAID,oEAAoE;AACpE,wBAAgB,sBAAsB,IAAI,OAAO,CAEhD;AAED,wBAAgB,2BAA2B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,2CAMhF;AAukBD,wBAAgB,YAAY,CAAC,EAC3B,KAAe,EACf,KAAK,EACL,UAAU,EACV,WAAW,EACX,UAAkB,EAClB,KAAK,EACL,QAAgB,GACjB,EAAE,iBAAiB,2CAgHnB"}
|
|
@@ -35,6 +35,12 @@ export interface SwitchProps {
|
|
|
35
35
|
"aria-labelledby"?: string;
|
|
36
36
|
leftIcon?: ReactNode;
|
|
37
37
|
rightIcon?: ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* `leading` puts the label first and the switch at the row's trailing edge,
|
|
40
|
+
* the HIG settings row (label left, control right, full width). Default
|
|
41
|
+
* `trailing`: switch, then label.
|
|
42
|
+
*/
|
|
43
|
+
labelPlacement?: "leading" | "trailing";
|
|
38
44
|
switchProps?: Omit<TamaguiSwitchProps, "checked" | "defaultChecked" | "id" | "onCheckedChange" | "children">;
|
|
39
45
|
/** Force hard-angled switch. Defaults to `true` when the theme knob `borderRadius` is `"none"`. */
|
|
40
46
|
pointy?: boolean;
|
|
@@ -48,5 +54,5 @@ export interface SwitchProps {
|
|
|
48
54
|
*/
|
|
49
55
|
minTargetHeight?: number;
|
|
50
56
|
}
|
|
51
|
-
export declare function Switch({ name, form: formProp, validators, label, labelProps, helperText, error, required, disabled, readOnly, size, id: idProp, checked, defaultValue, onChange, onCheckedChange, onBlur, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, leftIcon, rightIcon, switchProps, pointy, skeleton, minTargetHeight, }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export declare function Switch({ name, form: formProp, validators, label, labelProps, helperText, error, required, disabled, readOnly, size, id: idProp, checked, defaultValue, onChange, onCheckedChange, onBlur, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, leftIcon, rightIcon, labelPlacement, switchProps, pointy, skeleton, minTargetHeight, }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
52
58
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fields/Switch/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAA+B,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACnF,OAAO,EACL,KAAK,WAAW,IAAI,kBAAkB,EAevC,MAAM,SAAS,CAAC;AA2pBjB,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,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