@qoretechnologies/reqraft 0.10.4 → 0.10.5
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/.claude/CLAUDE.md +5 -0
- package/dist/components/form/engine/CompactRow.d.ts.map +1 -1
- package/dist/components/form/engine/CompactRow.js +7 -9
- package/dist/components/form/engine/CompactRow.js.map +1 -1
- package/dist/components/form/engine/CompactToolbar.d.ts.map +1 -1
- package/dist/components/form/engine/CompactToolbar.js +8 -27
- package/dist/components/form/engine/CompactToolbar.js.map +1 -1
- package/dist/components/form/engine/FormEngine.d.ts +9 -1
- package/dist/components/form/engine/FormEngine.d.ts.map +1 -1
- package/dist/components/form/engine/FormEngine.js +92 -38
- package/dist/components/form/engine/FormEngine.js.map +1 -1
- package/dist/components/form/engine/compactRowStyles.d.ts.map +1 -1
- package/dist/components/form/engine/compactRowStyles.js +8 -3
- package/dist/components/form/engine/compactRowStyles.js.map +1 -1
- package/dist/components/form/fields/auto/AutoFormField.d.ts.map +1 -1
- package/dist/components/form/fields/auto/AutoFormField.js +4 -1
- package/dist/components/form/fields/auto/AutoFormField.js.map +1 -1
- package/package.json +1 -1
- package/src/components/form/engine/CompactRow.tsx +18 -25
- package/src/components/form/engine/CompactToolbar.tsx +4 -17
- package/src/components/form/engine/FormEngine.stories.tsx +117 -10
- package/src/components/form/engine/FormEngine.tsx +84 -16
- package/src/components/form/engine/compactRowStyles.ts +33 -29
- package/src/components/form/fields/auto/AutoFormField.stories.tsx +9 -2
- package/src/components/form/fields/auto/AutoFormField.tsx +3 -0
|
@@ -48,9 +48,14 @@ exports.PANEL_LEFT_CSS = "calc(".concat(exports.LABEL_COL, " + ").concat(exports
|
|
|
48
48
|
// promotes the header to its own GPU layer, which stops the backdrop-filter
|
|
49
49
|
// repaint flicker on scroll. `$headerBg` is a pre-mixed translucent colour so
|
|
50
50
|
// content blurs softly through.
|
|
51
|
-
exports.StyledCompactPanel = (0, styled_components_1.default)(reqore_1.ReqorePanel)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n > .reqore-panel-title {\n background: ", ";\n
|
|
51
|
+
exports.StyledCompactPanel = (0, styled_components_1.default)(reqore_1.ReqorePanel)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n > .reqore-panel-title {\n background: ", ";\n /* The blur + translateZ exist only to make the STICKY top-level toolbar ghost\n content beneath it; a nested sub-form's header isn't sticky, so skip them\n (and the stacking context translateZ creates). */\n ", "\n padding-top: ", "px;\n padding-bottom: ", "px;\n }\n\n /* Group framing. The HORIZONTAL rule is a real element in the header\n (StyledGroupHeaderLine) so it sits on the name's row, centred, and stretches\n from the name out to the status chip pinned at the far end \u2014 which needs the\n title's left group to fill the header width. The VERTICAL group spine is\n drawn by StyledGroupBody (so it shares the required-group rail's coordinate\n space and the two line up instead of doubling). */\n .options-readfirst-group {\n position: relative;\n }\n .options-readfirst-group > .reqore-panel-title > :first-child,\n .options-readfirst-group > .reqore-panel-title > :first-child > :first-child,\n .options-readfirst-group .reqore-panel-title-label-row {\n flex: 1 1 auto;\n min-width: 0;\n }\n"], ["\n > .reqore-panel-title {\n background: ", ";\n /* The blur + translateZ exist only to make the STICKY top-level toolbar ghost\n content beneath it; a nested sub-form's header isn't sticky, so skip them\n (and the stacking context translateZ creates). */\n ", "\n padding-top: ", "px;\n padding-bottom: ", "px;\n }\n\n /* Group framing. The HORIZONTAL rule is a real element in the header\n (StyledGroupHeaderLine) so it sits on the name's row, centred, and stretches\n from the name out to the status chip pinned at the far end \u2014 which needs the\n title's left group to fill the header width. The VERTICAL group spine is\n drawn by StyledGroupBody (so it shares the required-group rail's coordinate\n space and the two line up instead of doubling). */\n .options-readfirst-group {\n position: relative;\n }\n .options-readfirst-group > .reqore-panel-title > :first-child,\n .options-readfirst-group > .reqore-panel-title > :first-child > :first-child,\n .options-readfirst-group .reqore-panel-title-label-row {\n flex: 1 1 auto;\n min-width: 0;\n }\n"])), function (_a) {
|
|
52
52
|
var $headerBg = _a.$headerBg;
|
|
53
53
|
return $headerBg;
|
|
54
|
+
}, function (_a) {
|
|
55
|
+
var $nested = _a.$nested;
|
|
56
|
+
return $nested ?
|
|
57
|
+
''
|
|
58
|
+
: 'backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transform: translateZ(0);';
|
|
54
59
|
}, sizes_1.GAP_FROM_SIZE[exports.HEADER_GAP], sizes_1.GAP_FROM_SIZE[exports.HEADER_GAP]);
|
|
55
60
|
// Compact group header laid out as the panel's `label`: the group name, a
|
|
56
61
|
// hairline that fades toward the status chip, and the chip pinned at the end.
|
|
@@ -145,7 +150,7 @@ exports.StyledRowValue = styled_components_1.default.div(templateObject_15 || (t
|
|
|
145
150
|
var $empty = _a.$empty;
|
|
146
151
|
return ($empty ? 'italic' : 'normal');
|
|
147
152
|
});
|
|
148
|
-
exports.StyledRowActions = styled_components_1.default.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n /*
|
|
153
|
+
exports.StyledRowActions = styled_components_1.default.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n /* No align-self override: the actions (incl. the status dot) follow the row's\n own vertical alignment \u2014 CENTRED on the common single-line row, TOP-aligned\n (first line) on the tall rows that opt into align-items:start (descriptions /\n message panels / hash previews). */\n gap: 6px;\n"], ["\n display: flex;\n align-items: center;\n /* No align-self override: the actions (incl. the status dot) follow the row's\n own vertical alignment \u2014 CENTRED on the common single-line row, TOP-aligned\n (first line) on the tall rows that opt into align-items:start (descriptions /\n message panels / hash previews). */\n gap: 6px;\n"])));
|
|
149
154
|
// A single status mark pinned at the row's trailing edge: one dot, colour =
|
|
150
155
|
// severity (danger/warning/success). This is the "Focus" read-first signal that
|
|
151
156
|
// replaces the recessed value surface's intent stripe — attention dots carry a
|
|
@@ -174,7 +179,7 @@ exports.StyledColorSwatch = styled_components_1.default.span(templateObject_21 |
|
|
|
174
179
|
var $border = _a.$border;
|
|
175
180
|
return $border;
|
|
176
181
|
});
|
|
177
|
-
exports.StyledGroupBody = styled_components_1.default.div(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n display: flex;\n flex-flow: column;\n position: relative;\n /* Exposed as a var so the inter-field divider can centre itself in the gap\n (the gap differs wide vs narrow). */\n --readfirst-row-gap: 4px;\n gap: var(--readfirst-row-gap);\n\n /* Indent each field block under the group header by a FLUID step. The %\n resolves against this container's width (not the screen), so it tracks the\n (Field blocks no longer get a left gutter \u2014 the spine/rail that needed it are\n gone, so rows sit flush against the box, like the Focus prototype.) */\n > * {\n margin-left: 0;\n }\n\n /* No group spine: the \"Focus\" look keeps the rows flat against the box. (The\n required-group rail is a separate descendant ::after and still renders.) */\n\n .readfirst-row {\n display: grid;\n /* Fixed label column: the recessed value surface (::before below) starts at a\n constant x, so the label width can't flex or the stripe would drift off the\n value edge. The value column is minmax(0, 1fr) \u2014 a bare 1fr keeps its\n min-content width, so a long unbroken value (e.g. a URL) would force the\n grid wider than its container and produce a horizontal scrollbar. The 0\n minimum lets it shrink and the value cell's ellipsis take over instead. */\n grid-template-columns: ", " minmax(0, 1fr) auto;\n /* TOP-align cells: the label, value and status dot all start on the first\n line, so the dot sits at a consistent place no matter how tall the value\n (chips, wrapped text, message panels) makes the row. Rows size to content\n (no min-height) so the inter-field gap stays uniform. */\n align-items: start;\n gap: 14px;\n min-height: 26px;\n padding: 4px 10px;\n border-radius: 6px;\n cursor: pointer;\n transition: background 0.12s ease;\n }\n /* A dim hairline in the gap below each field so its start/end reads clearly.\n Absolutely positioned (not a border) so it stays straight + full-width and\n the row's rounded hover highlight is unaffected; sits in the inter-row gap. */\n .readfirst-row::after {\n content: '';\n position: absolute;\n /* Inset to the row's horizontal padding so the line spans the content, not\n the full box edge-to-edge. */\n left: ", "px;\n right: ", "px;\n /* Centred in the inter-field gap (which differs wide vs narrow) so the space\n above and below each line is equal. */\n bottom: calc(var(--readfirst-row-gap, 4px) / -2);\n height: 1px;\n background: ", ";\n opacity: 0.5;\n pointer-events: none;\n z-index: 0;\n }\n .readfirst-row:last-child::after {\n display: none;\n }\n .readfirst-row:hover {\n background: ", ";\n }\n .readfirst-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n background: ", ";\n }\n /* A hidden (not-yet-added) field surfaced by the search is dimmed. */\n .readfirst-row-hidden {\n opacity: 0.65;\n }\n /* A disabled field (schema disabled flag or unmet dependencies) is not a\n click target \u2014 no hover invite, not-allowed cursor; a lock replaces the\n pencil. */\n /* A disabled field reads dimmed (its name + value at 0.6) \u2014 clearly inactive. */\n .readfirst-row-disabled {\n cursor: not-allowed;\n opacity: 0.6;\n }\n .readfirst-row-disabled:hover {\n background: transparent;\n }\n /* Required-group linkage: hovering a member highlights every sibling row \u2014\n just a background tint, no left stripe (that reads as an intent edge). */\n .readfirst-row-group-highlight {\n background: ", ";\n }\n .readfirst-row-flash {\n animation: readfirstRowFlash 1.4s ease;\n }\n @keyframes readfirstRowFlash {\n 0% {\n background: ", ";\n }\n 100% {\n background: transparent;\n }\n }\n /* A scalar row being edited in place: the real editor replaces the value\n cell. The row stops being a click target (the editor owns the clicks) and\n keeps a constant active background. Vertical padding is tightened so the\n editor fits inside the same ~38px the read row occupies \u2014 switching into\n (and out of) inline editing must not shift the rows around it. */\n .readfirst-row-editing {\n cursor: default;\n /* Top-anchor the cells: with multi-line editors (e.g. allowed-values =\n input + picker), per-cell centring gives every control a different\n anchor. Instead everything aligns to the FIRST editor line \u2014 label and\n the \u2713/\u21BA cluster get small offsets to sit optically centred on it. */\n align-items: start;\n background: ", ";\n /* Zero vertical padding: the pinned min-height (captured from the read\n row at activation) owns the height; the editor centres within it. */\n padding-top: 0;\n padding-bottom: 0;\n /* Tighter column gap: the editor's trailing template \u22EE and our \u2713 should\n read as one control cluster, not two separated groups. */\n column-gap: 6px;\n }\n /* Centre each cell's content on the row's ~38px first-line band. The label\n text (+10) and the \u2713/\u21BA cluster (+3) were already nudged, but the editor\n cell was not \u2014 so a single-line input sat ~3px above the buttons. A 32px\n control needs +3 to centre in 38px, so the editor gets the same offset and\n lines up with the buttons. (A multi-line editor's first line lands on the\n band too; its extra rows grow downward.) */\n .readfirst-row-editing > div:nth-child(1) {\n padding-top: 10px;\n }\n .readfirst-row-editing > div:nth-child(2) {\n padding-top: 3px;\n }\n .readfirst-row-editing > div:nth-child(3) {\n padding-top: 3px;\n }\n .readfirst-row-editing:hover {\n background: ", ";\n }\n\n /* Narrow FORMS (phone / slim drawer): stack each row \u2014 label + actions share\n the first line, the value cell (or the inline editor) takes the full width\n beneath. The class is set from a measured wrap width (react-use useMeasure)\n rather than a viewport media query, so a slim desktop drawer stacks too.\n The 3 row children are placed explicitly:\n label (1,1) \u00B7 actions (1,2) \u00B7 value (2, span both). */\n /* Generous breathing room BETWEEN fields when stacked \u2014 far easier to scan and\n less overwhelming on a phone. */\n &.readfirst-narrow {\n --readfirst-row-gap: 18px;\n }\n &.readfirst-narrow .readfirst-row {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 2px 14px;\n position: relative;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(1) {\n grid-column: 1;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(3) {\n grid-column: 2;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n grid-column: 1 / -1;\n grid-row: 2;\n }\n /* Read (non-editing) rows: float the trailing actions (status dot + the\n hover-revealed delete/revert) out of the grid flow so a delete button can't\n inflate the first row and push the value down. They're pinned to a band the\n height of the LABEL line and vertically centred in it \u2014 so the dot always\n sits at the same place (centred on the field name), never the bare corner. */\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(3) {\n position: absolute;\n top: 2px;\n right: 10px;\n height: 22px;\n }\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(1) {\n padding-right: 46px;\n }\n\n /* Focus calm rows: NO recessed value surface and NO intent stripe. Row status\n is carried by the trailing status dot; message/preview panels keep their own\n intent backgrounds. The (now invisible) pseudo is retained only to preserve\n the block's positioning/stacking context that the required-group rail and its\n cluster nodes resolve against \u2014 removing it would unmoor them. */\n > *:not(.options-readfirst-card) {\n position: relative;\n }\n > *:not(.options-readfirst-card)::before {\n content: '';\n position: absolute;\n inset: 0;\n left: ", ";\n background: transparent;\n pointer-events: none;\n z-index: 0;\n }\n /* Content rides above the surface layer \u2014 except the cluster node, which is\n absolutely positioned in the gutter and must keep its own positioning. */\n > *:not(.options-readfirst-card) > *:not(.options-readfirst-node) {\n position: relative;\n z-index: 1;\n }\n\n /* (The required-group connection rail was removed \u2014 the \"One of the below is\n required\" box now carries the grouping.) */\n\n /* A field's short_desc renders under its NAME (revealed by the \u24D8 toggle),\n growing the label block to multiple lines. Top-anchor those open rows so the\n value lines up with the name rather than the middle of the taller label;\n closed (single-line) rows keep the centred read-row rhythm. */\n .readfirst-row-info-open {\n align-items: start;\n }\n /* Narrow stacks label-over-value: the value aligns flush UNDER the label (no\n indent), like the Focus prototype. */\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n padding-left: 0;\n }\n &.readfirst-narrow > *:not(.options-readfirst-card)::before {\n left: 0;\n }\n /* Touch layouts have no hover: a slot reserved for the hover-revealed edit\n pencil is permanent dead space that insets every chip from the edge \u2014\n drop it (rows are tap-to-edit; the lock/add slots stay, they're static). */\n &.readfirst-narrow .options-readfirst-trailing-hover-only {\n /* !important: the slot carries an inline display for the desktop layout. */\n display: none !important;\n }\n /* Stacked rows: keep them tight (match the Focus prototype). The min-height is\n dropped so a 2-line label+value row sizes to its content instead of being\n padded out to 38px. The in-place editor keeps zero padding (below). */\n &.readfirst-narrow .readfirst-row {\n padding-top: 2px;\n padding-bottom: 2px;\n min-height: 0;\n }\n &.readfirst-narrow .readfirst-row-editing {\n padding-top: 0;\n padding-bottom: 0;\n }\n\n"], ["\n display: flex;\n flex-flow: column;\n position: relative;\n /* Exposed as a var so the inter-field divider can centre itself in the gap\n (the gap differs wide vs narrow). */\n --readfirst-row-gap: 4px;\n gap: var(--readfirst-row-gap);\n\n /* Indent each field block under the group header by a FLUID step. The %\n resolves against this container's width (not the screen), so it tracks the\n (Field blocks no longer get a left gutter \u2014 the spine/rail that needed it are\n gone, so rows sit flush against the box, like the Focus prototype.) */\n > * {\n margin-left: 0;\n }\n\n /* No group spine: the \"Focus\" look keeps the rows flat against the box. (The\n required-group rail is a separate descendant ::after and still renders.) */\n\n .readfirst-row {\n display: grid;\n /* Fixed label column: the recessed value surface (::before below) starts at a\n constant x, so the label width can't flex or the stripe would drift off the\n value edge. The value column is minmax(0, 1fr) \u2014 a bare 1fr keeps its\n min-content width, so a long unbroken value (e.g. a URL) would force the\n grid wider than its container and produce a horizontal scrollbar. The 0\n minimum lets it shrink and the value cell's ellipsis take over instead. */\n grid-template-columns: ", " minmax(0, 1fr) auto;\n /* TOP-align cells: the label, value and status dot all start on the first\n line, so the dot sits at a consistent place no matter how tall the value\n (chips, wrapped text, message panels) makes the row. Rows size to content\n (no min-height) so the inter-field gap stays uniform. */\n align-items: start;\n gap: 14px;\n min-height: 26px;\n padding: 4px 10px;\n border-radius: 6px;\n cursor: pointer;\n transition: background 0.12s ease;\n }\n /* A dim hairline in the gap below each field so its start/end reads clearly.\n Absolutely positioned (not a border) so it stays straight + full-width and\n the row's rounded hover highlight is unaffected; sits in the inter-row gap. */\n .readfirst-row::after {\n content: '';\n position: absolute;\n /* Inset to the row's horizontal padding so the line spans the content, not\n the full box edge-to-edge. */\n left: ", "px;\n right: ", "px;\n /* Centred in the inter-field gap (which differs wide vs narrow) so the space\n above and below each line is equal. */\n bottom: calc(var(--readfirst-row-gap, 4px) / -2);\n height: 1px;\n background: ", ";\n opacity: 0.5;\n pointer-events: none;\n z-index: 0;\n }\n .readfirst-row:last-child::after {\n display: none;\n }\n .readfirst-row:hover {\n background: ", ";\n }\n .readfirst-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n background: ", ";\n }\n /* A hidden (not-yet-added) field surfaced by the search is dimmed. */\n .readfirst-row-hidden {\n opacity: 0.65;\n }\n /* A disabled field (schema disabled flag or unmet dependencies) is not a\n click target \u2014 no hover invite, not-allowed cursor; a lock replaces the\n pencil. */\n /* A disabled field reads dimmed (its name + value at 0.6) \u2014 clearly inactive. */\n .readfirst-row-disabled {\n cursor: not-allowed;\n opacity: 0.6;\n }\n .readfirst-row-disabled:hover {\n background: transparent;\n }\n /* Required-group linkage: hovering a member highlights every sibling row \u2014\n just a background tint, no left stripe (that reads as an intent edge). */\n .readfirst-row-group-highlight {\n background: ", ";\n }\n .readfirst-row-flash {\n animation: readfirstRowFlash 1.4s ease;\n }\n @keyframes readfirstRowFlash {\n 0% {\n background: ", ";\n }\n 100% {\n background: transparent;\n }\n }\n /* A scalar row being edited in place: the real editor replaces the value\n cell. The row stops being a click target (the editor owns the clicks) and\n keeps a constant active background. Vertical padding is tightened so the\n editor fits inside the same ~38px the read row occupies \u2014 switching into\n (and out of) inline editing must not shift the rows around it. */\n .readfirst-row-editing {\n cursor: default;\n /* Top-anchor the cells: with multi-line editors (e.g. allowed-values =\n input + picker), per-cell centring gives every control a different\n anchor. Instead everything aligns to the FIRST editor line \u2014 label and\n the \u2713/\u21BA cluster get small offsets to sit optically centred on it. */\n align-items: start;\n background: ", ";\n /* Zero vertical padding: the pinned min-height (captured from the read\n row at activation) owns the height; the editor centres within it. */\n padding-top: 0;\n padding-bottom: 0;\n /* Tighter column gap: the editor's trailing template \u22EE and our \u2713 should\n read as one control cluster, not two separated groups. */\n column-gap: 6px;\n }\n /* Centre each cell's content on the row's ~38px first-line band. The label\n text (+10) and the \u2713/\u21BA cluster (+3) were already nudged, but the editor\n cell was not \u2014 so a single-line input sat ~3px above the buttons. A 32px\n control needs +3 to centre in 38px, so the editor gets the same offset and\n lines up with the buttons. (A multi-line editor's first line lands on the\n band too; its extra rows grow downward.) */\n .readfirst-row-editing > div:nth-child(1) {\n padding-top: 10px;\n }\n .readfirst-row-editing > div:nth-child(2) {\n padding-top: 3px;\n }\n .readfirst-row-editing > div:nth-child(3) {\n padding-top: 3px;\n }\n .readfirst-row-editing:hover {\n background: ", ";\n }\n\n /* Narrow FORMS (phone / slim drawer): stack each row \u2014 label + actions share\n the first line, the value cell (or the inline editor) takes the full width\n beneath. The class is set from a measured wrap width (react-use useMeasure)\n rather than a viewport media query, so a slim desktop drawer stacks too.\n The 3 row children are placed explicitly:\n label (1,1) \u00B7 actions (1,2) \u00B7 value (2, span both). */\n /* Generous breathing room BETWEEN fields when stacked \u2014 far easier to scan and\n less overwhelming on a phone. */\n &.readfirst-narrow {\n --readfirst-row-gap: 18px;\n }\n &.readfirst-narrow .readfirst-row {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 2px 14px;\n position: relative;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(1) {\n grid-column: 1;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(3) {\n grid-column: 2;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n grid-column: 1 / -1;\n grid-row: 2;\n }\n /* Read (non-editing) rows: float the trailing actions (status dot + the\n hover-revealed delete/revert) out of the grid flow so a delete button can't\n inflate the first row and push the value down. They're pinned to a band the\n height of the LABEL line and vertically centred in it \u2014 so the dot always\n sits at the same place (centred on the field name), never the bare corner. */\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(3) {\n position: absolute;\n top: 2px;\n right: 10px;\n height: 22px;\n }\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(1) {\n padding-right: 46px;\n }\n\n /* Focus calm rows: NO recessed value surface and NO intent stripe. Row status\n is carried by the trailing status dot; message/preview panels keep their own\n intent backgrounds. The (now invisible) pseudo is retained only to preserve\n the block's positioning/stacking context that the required-group rail and its\n cluster nodes resolve against \u2014 removing it would unmoor them. */\n > *:not(.options-readfirst-card) {\n position: relative;\n }\n > *:not(.options-readfirst-card)::before {\n content: '';\n position: absolute;\n inset: 0;\n left: ", ";\n background: transparent;\n pointer-events: none;\n z-index: 0;\n }\n /* Content rides above the surface layer \u2014 except the cluster node, which is\n absolutely positioned in the gutter and must keep its own positioning. */\n > *:not(.options-readfirst-card) > *:not(.options-readfirst-node) {\n position: relative;\n z-index: 1;\n }\n\n /* (The required-group connection rail was removed \u2014 the \"One of the below is\n required\" box now carries the grouping.) */\n\n /* A field's short_desc renders under its NAME (revealed by the \u24D8 toggle),\n growing the label block to multiple lines. Top-anchor those open rows so the\n value lines up with the name rather than the middle of the taller label;\n closed (single-line) rows keep the centred read-row rhythm. */\n .readfirst-row-info-open {\n align-items: start;\n }\n /* Narrow stacks label-over-value: the value aligns flush UNDER the label (no\n indent), like the Focus prototype. */\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n padding-left: 0;\n }\n &.readfirst-narrow > *:not(.options-readfirst-card)::before {\n left: 0;\n }\n /* Touch layouts have no hover: a slot reserved for the hover-revealed edit\n pencil is permanent dead space that insets every chip from the edge \u2014\n drop it (rows are tap-to-edit; the lock/add slots stay, they're static). */\n &.readfirst-narrow .options-readfirst-trailing-hover-only {\n /* !important: the slot carries an inline display for the desktop layout. */\n display: none !important;\n }\n /* Stacked rows: keep them tight (match the Focus prototype). The min-height is\n dropped so a 2-line label+value row sizes to its content instead of being\n padded out to 38px. The in-place editor keeps zero padding (below). */\n &.readfirst-narrow .readfirst-row {\n padding-top: 2px;\n padding-bottom: 2px;\n min-height: 0;\n }\n &.readfirst-narrow .readfirst-row-editing {\n padding-top: 0;\n padding-bottom: 0;\n }\n\n"])), exports.LABEL_COL, exports.COMPACT_ROW_PAD_X, exports.COMPACT_ROW_PAD_X, function (_a) {
|
|
182
|
+
exports.StyledGroupBody = styled_components_1.default.div(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n display: flex;\n flex-flow: column;\n position: relative;\n /* Exposed as a var so the inter-field divider can centre itself in the gap\n (the gap differs wide vs narrow). */\n --readfirst-row-gap: 4px;\n gap: var(--readfirst-row-gap);\n\n /* Indent each field block under the group header by a FLUID step. The %\n resolves against this container's width (not the screen), so it tracks the\n (Field blocks no longer get a left gutter \u2014 the spine/rail that needed it are\n gone, so rows sit flush against the box, like the Focus prototype.) */\n > * {\n margin-left: 0;\n }\n\n /* No group spine: the \"Focus\" look keeps the rows flat against the box. (The\n required-group rail is a separate descendant ::after and still renders.) */\n\n .readfirst-row {\n display: grid;\n /* Fixed label column: the recessed value surface (::before below) starts at a\n constant x, so the label width can't flex or the stripe would drift off the\n value edge. The value column is minmax(0, 1fr) \u2014 a bare 1fr keeps its\n min-content width, so a long unbroken value (e.g. a URL) would force the\n grid wider than its container and produce a horizontal scrollbar. The 0\n minimum lets it shrink and the value cell's ellipsis take over instead. */\n grid-template-columns: ", " minmax(0, 1fr) auto;\n /* CENTRE the cells vertically: on the common single-line read row the label,\n value and status dot all sit on one centred line. Tall rows (a shown\n description, message panels or a hash preview) opt back into top-alignment\n (.readfirst-row-info-open / .readfirst-row-tall below) so the label + dot\n stay on the value's FIRST line instead of floating to the middle. */\n align-items: center;\n gap: 14px;\n /* Generous, SYMMETRIC vertical padding so a single-line row isn't cramped\n (content sits with even breathing room top + bottom); a min-height floor\n keeps the rare shorter row a comfortable tap target. */\n min-height: 40px;\n padding: 9px 10px;\n border-radius: 6px;\n cursor: pointer;\n transition: background 0.12s ease;\n }\n /* A dim hairline in the gap below each field so its start/end reads clearly.\n Absolutely positioned (not a border) so it stays straight + full-width and\n the row's rounded hover highlight is unaffected; sits in the inter-row gap. */\n .readfirst-row::after {\n content: '';\n position: absolute;\n /* Inset to the row's horizontal padding so the line spans the content, not\n the full box edge-to-edge. */\n left: ", "px;\n right: ", "px;\n /* Centred in the inter-field gap (which differs wide vs narrow) so the space\n above and below each line is equal. */\n bottom: calc(var(--readfirst-row-gap, 4px) / -2);\n height: 1px;\n background: ", ";\n opacity: 0.5;\n pointer-events: none;\n z-index: 0;\n }\n .readfirst-row:last-child::after {\n display: none;\n }\n .readfirst-row:hover {\n background: ", ";\n }\n .readfirst-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n background: ", ";\n }\n /* A hidden (not-yet-added) field surfaced by the search is dimmed. */\n .readfirst-row-hidden {\n opacity: 0.65;\n }\n /* A disabled field (schema disabled flag or unmet dependencies) is not a\n click target \u2014 no hover invite, not-allowed cursor; a lock replaces the\n pencil. */\n /* A disabled field reads dimmed (its name + value at 0.6) \u2014 clearly inactive. */\n .readfirst-row-disabled {\n cursor: not-allowed;\n opacity: 0.6;\n }\n .readfirst-row-disabled:hover {\n background: transparent;\n }\n /* Required-group linkage: hovering a member highlights every sibling row \u2014\n just a background tint, no left stripe (that reads as an intent edge). */\n .readfirst-row-group-highlight {\n background: ", ";\n }\n .readfirst-row-flash {\n animation: readfirstRowFlash 1.4s ease;\n }\n @keyframes readfirstRowFlash {\n 0% {\n background: ", ";\n }\n 100% {\n background: transparent;\n }\n }\n /* A scalar row being edited in place: the real editor replaces the value\n cell. The row stops being a click target (the editor owns the clicks) and\n keeps a constant active background. Vertical padding is tightened so the\n editor fits inside the same ~38px the read row occupies \u2014 switching into\n (and out of) inline editing must not shift the rows around it. */\n .readfirst-row-editing {\n cursor: default;\n /* Top-anchor the cells: with multi-line editors (e.g. allowed-values =\n input + picker), per-cell centring gives every control a different\n anchor. Instead everything aligns to the FIRST editor line \u2014 label and\n the \u2713/\u21BA cluster get small offsets to sit optically centred on it. */\n align-items: start;\n background: ", ";\n /* No top padding (the per-cell nudges below anchor the editor to the first\n line), but a real BOTTOM padding so the editor never sits flush against\n the row's bottom edge \u2014 a tall input used to look clipped/unfinished. */\n padding-top: 0;\n padding-bottom: 9px;\n /* Tighter column gap: the editor's trailing template \u22EE and our \u2713 should\n read as one control cluster, not two separated groups. */\n column-gap: 6px;\n }\n /* Centre each cell's content on the row's ~38px first-line band. The label\n text (+10) and the \u2713/\u21BA cluster (+3) were already nudged, but the editor\n cell was not \u2014 so a single-line input sat ~3px above the buttons. A 32px\n control needs +3 to centre in 38px, so the editor gets the same offset and\n lines up with the buttons. (A multi-line editor's first line lands on the\n band too; its extra rows grow downward.) */\n .readfirst-row-editing > div:nth-child(1) {\n padding-top: 10px;\n }\n .readfirst-row-editing > div:nth-child(2) {\n padding-top: 3px;\n }\n .readfirst-row-editing > div:nth-child(3) {\n padding-top: 3px;\n }\n .readfirst-row-editing:hover {\n background: ", ";\n }\n\n /* Narrow FORMS (phone / slim drawer): stack each row \u2014 label + actions share\n the first line, the value cell (or the inline editor) takes the full width\n beneath. The class is set from a measured wrap width (react-use useMeasure)\n rather than a viewport media query, so a slim desktop drawer stacks too.\n The 3 row children are placed explicitly:\n label (1,1) \u00B7 actions (1,2) \u00B7 value (2, span both). */\n /* Generous breathing room BETWEEN fields when stacked \u2014 far easier to scan and\n less overwhelming on a phone. */\n &.readfirst-narrow {\n --readfirst-row-gap: 18px;\n }\n &.readfirst-narrow .readfirst-row {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 2px 14px;\n position: relative;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(1) {\n grid-column: 1;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(3) {\n grid-column: 2;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n grid-column: 1 / -1;\n grid-row: 2;\n }\n /* Read (non-editing) rows: float the trailing actions (status dot + the\n hover-revealed delete/revert) out of the grid flow so a delete button can't\n inflate the first row and push the value down. They're pinned to a band the\n height of the LABEL line and vertically centred in it \u2014 so the dot always\n sits at the same place (centred on the field name), never the bare corner. */\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(3) {\n position: absolute;\n top: 2px;\n right: 10px;\n height: 22px;\n }\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(1) {\n padding-right: 46px;\n }\n\n /* Focus calm rows: NO recessed value surface and NO intent stripe. Row status\n is carried by the trailing status dot; message/preview panels keep their own\n intent backgrounds. The (now invisible) pseudo is retained only to preserve\n the block's positioning/stacking context that the required-group rail and its\n cluster nodes resolve against \u2014 removing it would unmoor them. */\n > *:not(.options-readfirst-card) {\n position: relative;\n }\n > *:not(.options-readfirst-card)::before {\n content: '';\n position: absolute;\n inset: 0;\n left: ", ";\n background: transparent;\n pointer-events: none;\n z-index: 0;\n }\n /* Content rides above the surface layer \u2014 except the cluster node, which is\n absolutely positioned in the gutter and must keep its own positioning. */\n > *:not(.options-readfirst-card) > *:not(.options-readfirst-node) {\n position: relative;\n z-index: 1;\n }\n\n /* (The required-group connection rail was removed \u2014 the \"One of the below is\n required\" box now carries the grouping.) */\n\n /* Tall rows top-anchor (overriding the row's centred default) so the label and\n dot stay on the value's FIRST line rather than floating to the vertical\n middle: .readfirst-row-info-open = a shown short_desc grows the LABEL;\n .readfirst-row-tall = message panels / a hash preview grow the VALUE cell. */\n .readfirst-row-info-open,\n .readfirst-row-tall {\n align-items: start;\n }\n /* Narrow stacks label-over-value: the value aligns flush UNDER the label (no\n indent), like the Focus prototype. */\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n padding-left: 0;\n }\n &.readfirst-narrow > *:not(.options-readfirst-card)::before {\n left: 0;\n }\n /* Touch layouts have no hover: a slot reserved for the hover-revealed edit\n pencil is permanent dead space that insets every chip from the edge \u2014\n drop it (rows are tap-to-edit; the lock/add slots stay, they're static). */\n &.readfirst-narrow .options-readfirst-trailing-hover-only {\n /* !important: the slot carries an inline display for the desktop layout. */\n display: none !important;\n }\n /* Stacked rows: keep them tight (match the Focus prototype). The min-height is\n dropped so a 2-line label+value row sizes to its content instead of being\n padded out to 38px. The in-place editor keeps zero padding (below). */\n &.readfirst-narrow .readfirst-row {\n padding-top: 2px;\n padding-bottom: 2px;\n min-height: 0;\n }\n &.readfirst-narrow .readfirst-row-editing {\n padding-top: 0;\n padding-bottom: 0;\n }\n\n"], ["\n display: flex;\n flex-flow: column;\n position: relative;\n /* Exposed as a var so the inter-field divider can centre itself in the gap\n (the gap differs wide vs narrow). */\n --readfirst-row-gap: 4px;\n gap: var(--readfirst-row-gap);\n\n /* Indent each field block under the group header by a FLUID step. The %\n resolves against this container's width (not the screen), so it tracks the\n (Field blocks no longer get a left gutter \u2014 the spine/rail that needed it are\n gone, so rows sit flush against the box, like the Focus prototype.) */\n > * {\n margin-left: 0;\n }\n\n /* No group spine: the \"Focus\" look keeps the rows flat against the box. (The\n required-group rail is a separate descendant ::after and still renders.) */\n\n .readfirst-row {\n display: grid;\n /* Fixed label column: the recessed value surface (::before below) starts at a\n constant x, so the label width can't flex or the stripe would drift off the\n value edge. The value column is minmax(0, 1fr) \u2014 a bare 1fr keeps its\n min-content width, so a long unbroken value (e.g. a URL) would force the\n grid wider than its container and produce a horizontal scrollbar. The 0\n minimum lets it shrink and the value cell's ellipsis take over instead. */\n grid-template-columns: ", " minmax(0, 1fr) auto;\n /* CENTRE the cells vertically: on the common single-line read row the label,\n value and status dot all sit on one centred line. Tall rows (a shown\n description, message panels or a hash preview) opt back into top-alignment\n (.readfirst-row-info-open / .readfirst-row-tall below) so the label + dot\n stay on the value's FIRST line instead of floating to the middle. */\n align-items: center;\n gap: 14px;\n /* Generous, SYMMETRIC vertical padding so a single-line row isn't cramped\n (content sits with even breathing room top + bottom); a min-height floor\n keeps the rare shorter row a comfortable tap target. */\n min-height: 40px;\n padding: 9px 10px;\n border-radius: 6px;\n cursor: pointer;\n transition: background 0.12s ease;\n }\n /* A dim hairline in the gap below each field so its start/end reads clearly.\n Absolutely positioned (not a border) so it stays straight + full-width and\n the row's rounded hover highlight is unaffected; sits in the inter-row gap. */\n .readfirst-row::after {\n content: '';\n position: absolute;\n /* Inset to the row's horizontal padding so the line spans the content, not\n the full box edge-to-edge. */\n left: ", "px;\n right: ", "px;\n /* Centred in the inter-field gap (which differs wide vs narrow) so the space\n above and below each line is equal. */\n bottom: calc(var(--readfirst-row-gap, 4px) / -2);\n height: 1px;\n background: ", ";\n opacity: 0.5;\n pointer-events: none;\n z-index: 0;\n }\n .readfirst-row:last-child::after {\n display: none;\n }\n .readfirst-row:hover {\n background: ", ";\n }\n .readfirst-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n background: ", ";\n }\n /* A hidden (not-yet-added) field surfaced by the search is dimmed. */\n .readfirst-row-hidden {\n opacity: 0.65;\n }\n /* A disabled field (schema disabled flag or unmet dependencies) is not a\n click target \u2014 no hover invite, not-allowed cursor; a lock replaces the\n pencil. */\n /* A disabled field reads dimmed (its name + value at 0.6) \u2014 clearly inactive. */\n .readfirst-row-disabled {\n cursor: not-allowed;\n opacity: 0.6;\n }\n .readfirst-row-disabled:hover {\n background: transparent;\n }\n /* Required-group linkage: hovering a member highlights every sibling row \u2014\n just a background tint, no left stripe (that reads as an intent edge). */\n .readfirst-row-group-highlight {\n background: ", ";\n }\n .readfirst-row-flash {\n animation: readfirstRowFlash 1.4s ease;\n }\n @keyframes readfirstRowFlash {\n 0% {\n background: ", ";\n }\n 100% {\n background: transparent;\n }\n }\n /* A scalar row being edited in place: the real editor replaces the value\n cell. The row stops being a click target (the editor owns the clicks) and\n keeps a constant active background. Vertical padding is tightened so the\n editor fits inside the same ~38px the read row occupies \u2014 switching into\n (and out of) inline editing must not shift the rows around it. */\n .readfirst-row-editing {\n cursor: default;\n /* Top-anchor the cells: with multi-line editors (e.g. allowed-values =\n input + picker), per-cell centring gives every control a different\n anchor. Instead everything aligns to the FIRST editor line \u2014 label and\n the \u2713/\u21BA cluster get small offsets to sit optically centred on it. */\n align-items: start;\n background: ", ";\n /* No top padding (the per-cell nudges below anchor the editor to the first\n line), but a real BOTTOM padding so the editor never sits flush against\n the row's bottom edge \u2014 a tall input used to look clipped/unfinished. */\n padding-top: 0;\n padding-bottom: 9px;\n /* Tighter column gap: the editor's trailing template \u22EE and our \u2713 should\n read as one control cluster, not two separated groups. */\n column-gap: 6px;\n }\n /* Centre each cell's content on the row's ~38px first-line band. The label\n text (+10) and the \u2713/\u21BA cluster (+3) were already nudged, but the editor\n cell was not \u2014 so a single-line input sat ~3px above the buttons. A 32px\n control needs +3 to centre in 38px, so the editor gets the same offset and\n lines up with the buttons. (A multi-line editor's first line lands on the\n band too; its extra rows grow downward.) */\n .readfirst-row-editing > div:nth-child(1) {\n padding-top: 10px;\n }\n .readfirst-row-editing > div:nth-child(2) {\n padding-top: 3px;\n }\n .readfirst-row-editing > div:nth-child(3) {\n padding-top: 3px;\n }\n .readfirst-row-editing:hover {\n background: ", ";\n }\n\n /* Narrow FORMS (phone / slim drawer): stack each row \u2014 label + actions share\n the first line, the value cell (or the inline editor) takes the full width\n beneath. The class is set from a measured wrap width (react-use useMeasure)\n rather than a viewport media query, so a slim desktop drawer stacks too.\n The 3 row children are placed explicitly:\n label (1,1) \u00B7 actions (1,2) \u00B7 value (2, span both). */\n /* Generous breathing room BETWEEN fields when stacked \u2014 far easier to scan and\n less overwhelming on a phone. */\n &.readfirst-narrow {\n --readfirst-row-gap: 18px;\n }\n &.readfirst-narrow .readfirst-row {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 2px 14px;\n position: relative;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(1) {\n grid-column: 1;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(3) {\n grid-column: 2;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n grid-column: 1 / -1;\n grid-row: 2;\n }\n /* Read (non-editing) rows: float the trailing actions (status dot + the\n hover-revealed delete/revert) out of the grid flow so a delete button can't\n inflate the first row and push the value down. They're pinned to a band the\n height of the LABEL line and vertically centred in it \u2014 so the dot always\n sits at the same place (centred on the field name), never the bare corner. */\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(3) {\n position: absolute;\n top: 2px;\n right: 10px;\n height: 22px;\n }\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(1) {\n padding-right: 46px;\n }\n\n /* Focus calm rows: NO recessed value surface and NO intent stripe. Row status\n is carried by the trailing status dot; message/preview panels keep their own\n intent backgrounds. The (now invisible) pseudo is retained only to preserve\n the block's positioning/stacking context that the required-group rail and its\n cluster nodes resolve against \u2014 removing it would unmoor them. */\n > *:not(.options-readfirst-card) {\n position: relative;\n }\n > *:not(.options-readfirst-card)::before {\n content: '';\n position: absolute;\n inset: 0;\n left: ", ";\n background: transparent;\n pointer-events: none;\n z-index: 0;\n }\n /* Content rides above the surface layer \u2014 except the cluster node, which is\n absolutely positioned in the gutter and must keep its own positioning. */\n > *:not(.options-readfirst-card) > *:not(.options-readfirst-node) {\n position: relative;\n z-index: 1;\n }\n\n /* (The required-group connection rail was removed \u2014 the \"One of the below is\n required\" box now carries the grouping.) */\n\n /* Tall rows top-anchor (overriding the row's centred default) so the label and\n dot stay on the value's FIRST line rather than floating to the vertical\n middle: .readfirst-row-info-open = a shown short_desc grows the LABEL;\n .readfirst-row-tall = message panels / a hash preview grow the VALUE cell. */\n .readfirst-row-info-open,\n .readfirst-row-tall {\n align-items: start;\n }\n /* Narrow stacks label-over-value: the value aligns flush UNDER the label (no\n indent), like the Focus prototype. */\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n padding-left: 0;\n }\n &.readfirst-narrow > *:not(.options-readfirst-card)::before {\n left: 0;\n }\n /* Touch layouts have no hover: a slot reserved for the hover-revealed edit\n pencil is permanent dead space that insets every chip from the edge \u2014\n drop it (rows are tap-to-edit; the lock/add slots stay, they're static). */\n &.readfirst-narrow .options-readfirst-trailing-hover-only {\n /* !important: the slot carries an inline display for the desktop layout. */\n display: none !important;\n }\n /* Stacked rows: keep them tight (match the Focus prototype). The min-height is\n dropped so a 2-line label+value row sizes to its content instead of being\n padded out to 38px. The in-place editor keeps zero padding (below). */\n &.readfirst-narrow .readfirst-row {\n padding-top: 2px;\n padding-bottom: 2px;\n min-height: 0;\n }\n &.readfirst-narrow .readfirst-row-editing {\n padding-top: 0;\n padding-bottom: 0;\n }\n\n"])), exports.LABEL_COL, exports.COMPACT_ROW_PAD_X, exports.COMPACT_ROW_PAD_X, function (_a) {
|
|
178
183
|
var $divider = _a.$divider;
|
|
179
184
|
return $divider;
|
|
180
185
|
}, function (_a) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compactRowStyles.js","sourceRoot":"","sources":["../../../../src/components/form/engine/compactRowStyles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,mDAAgE;AAChE,uEAAsF;AACtF,wEAAuC;AAEvC,8EAA8E;AAC9E,oEAAoE;AACvD,QAAA,UAAU,GAAW,KAAK,CAAC;AAExC,4EAA4E;AAC5E,gFAAgF;AAChF,8EAA8E;AAC9E,gFAAgF;AAChF,8EAA8E;AACjE,QAAA,iBAAiB,GAAG,GAAG,CAAC,CAAC,4CAA4C;AACrE,QAAA,iBAAiB,GAAG,EAAE,CAAC,CAAC,oCAAoC;AAC5D,QAAA,eAAe,GAAG,EAAE,CAAC,CAAC,kBAAkB;AACrD,gFAAgF;AACnE,QAAA,kBAAkB,GAAG,yBAAiB,GAAG,yBAAiB,GAAG,uBAAe,CAAC;AAC1F,6EAA6E;AAChE,QAAA,kBAAkB,GAAG,0BAAkB,GAAG,EAAE,CAAC;AAC1D,iFAAiF;AACjF,iFAAiF;AACjF,6EAA6E;AAChE,QAAA,YAAY,GAAG,UAAG,yBAAiB,OAAI,CAAC;AAErD,6EAA6E;AAC7E,8EAA8E;AAC9E,6EAA6E;AAC7E,iFAAiF;AACjF,iFAAiF;AACjF,2EAA2E;AAC3E,8EAA8E;AACjE,QAAA,aAAa,GAAG,GAAG,CAAC;AACpB,QAAA,aAAa,GAAG,yBAAiB,CAAC,CAAC,MAAM;AACzC,QAAA,aAAa,GAAG,uBAAuB,CAAC;AACxC,QAAA,SAAS,GAAG,cAAO,qBAAa,eAAK,yBAAiB,QAAK,CAAC;AAC5D,QAAA,cAAc,GAAG,eAAQ,iBAAS,gBAAM,yBAAiB,GAAG,uBAAe,GAAG,EAAE,QAAK,CAAC;AAEnG,+EAA+E;AAC/E,gFAAgF;AAChF,0EAA0E;AAC1E,4EAA4E;AAC5E,8EAA8E;AAC9E,gCAAgC;AACnB,QAAA,kBAAkB,GAAG,IAAA,2BAAM,EAAC,oBAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"compactRowStyles.js","sourceRoot":"","sources":["../../../../src/components/form/engine/compactRowStyles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,mDAAgE;AAChE,uEAAsF;AACtF,wEAAuC;AAEvC,8EAA8E;AAC9E,oEAAoE;AACvD,QAAA,UAAU,GAAW,KAAK,CAAC;AAExC,4EAA4E;AAC5E,gFAAgF;AAChF,8EAA8E;AAC9E,gFAAgF;AAChF,8EAA8E;AACjE,QAAA,iBAAiB,GAAG,GAAG,CAAC,CAAC,4CAA4C;AACrE,QAAA,iBAAiB,GAAG,EAAE,CAAC,CAAC,oCAAoC;AAC5D,QAAA,eAAe,GAAG,EAAE,CAAC,CAAC,kBAAkB;AACrD,gFAAgF;AACnE,QAAA,kBAAkB,GAAG,yBAAiB,GAAG,yBAAiB,GAAG,uBAAe,CAAC;AAC1F,6EAA6E;AAChE,QAAA,kBAAkB,GAAG,0BAAkB,GAAG,EAAE,CAAC;AAC1D,iFAAiF;AACjF,iFAAiF;AACjF,6EAA6E;AAChE,QAAA,YAAY,GAAG,UAAG,yBAAiB,OAAI,CAAC;AAErD,6EAA6E;AAC7E,8EAA8E;AAC9E,6EAA6E;AAC7E,iFAAiF;AACjF,iFAAiF;AACjF,2EAA2E;AAC3E,8EAA8E;AACjE,QAAA,aAAa,GAAG,GAAG,CAAC;AACpB,QAAA,aAAa,GAAG,yBAAiB,CAAC,CAAC,MAAM;AACzC,QAAA,aAAa,GAAG,uBAAuB,CAAC;AACxC,QAAA,SAAS,GAAG,cAAO,qBAAa,eAAK,yBAAiB,QAAK,CAAC;AAC5D,QAAA,cAAc,GAAG,eAAQ,iBAAS,gBAAM,yBAAiB,GAAG,uBAAe,GAAG,EAAE,QAAK,CAAC;AAEnG,+EAA+E;AAC/E,gFAAgF;AAChF,0EAA0E;AAC1E,4EAA4E;AAC5E,8EAA8E;AAC9E,gCAAgC;AACnB,QAAA,kBAAkB,GA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C,UAAU,CAAC,CAAC;IAE5C;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAEnD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB;;;GAU9B,CAAC;AAkwBF,eAAO,MAAM,aAAa,2BAA+C,CAAC"}
|
|
@@ -351,7 +351,10 @@ function AutoField(_a) {
|
|
|
351
351
|
case 'hash':
|
|
352
352
|
case 'free-hash': {
|
|
353
353
|
if (finalArgSchema) {
|
|
354
|
-
return ((0, jsx_runtime_1.jsx)(FormEngine_1.FormEngine, { wrapperPadding: 'top', flat: true, compact: compact,
|
|
354
|
+
return ((0, jsx_runtime_1.jsx)(FormEngine_1.FormEngine, { wrapperPadding: 'top', flat: true, compact: compact,
|
|
355
|
+
// Embedded sub-form: no scroll context of its own, so its toolbar
|
|
356
|
+
// isn't sticky and its header stays transparent (no dark backdrop).
|
|
357
|
+
compactNested: true, name: name, uniqueName: uniqueName, options: finalArgSchema, value: value === null ? undefined : value, templateFieldProps: {
|
|
355
358
|
level: level + 1,
|
|
356
359
|
}, allowTemplates: true, onChange: function (name, value) {
|
|
357
360
|
handleChange(name, value, 'hash');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutoFormField.js","sourceRoot":"","sources":["../../../../../src/components/form/fields/auto/AutoFormField.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6EAA6E;AAC7E,+EAA+E;AAC/E,4EAA4E;AAC5E,iEAAiE;AACjE,mDAOkC;AAIlC,iCAAuC;AACvC,+BAAsE;AACtE,uCAA4C;AAC5C,oEAA8C;AAC9C,qDAAsE;AACtE,+DAIyC;AACzC,2EAA0E;AAC1E,iDAAgD;AAChD,kDAAiD;AACjD,sDAAqE;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C9B,CAChB,KACkB,GACD,CACvB,CAAC;AACJ,CAAC;AAEY,QAAA,aAAa,GAAG,IAAA,YAAI,EAAC,SAAS,CAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"AutoFormField.js","sourceRoot":"","sources":["../../../../../src/components/form/fields/auto/AutoFormField.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6EAA6E;AAC7E,+EAA+E;AAC/E,4EAA4E;AAC5E,iEAAiE;AACjE,mDAOkC;AAIlC,iCAAuC;AACvC,+BAAsE;AACtE,uCAA4C;AAC5C,oEAA8C;AAC9C,qDAAsE;AACtE,+DAIyC;AACzC,2EAA0E;AAC1E,iDAAgD;AAChD,kDAAiD;AACjD,sDAAqE;AACrE,iEAAmG;AACnG,gDAA+C;AAC/C,+DAAkD;AAClD,kDAA0D;AAC1D,yDAA4C;AAC5C,sDAAyC;AACzC,qCAA6C;AAC7C,qCAAyE;AACzE,yEAA4D;AAC5D,kEAAqD;AACrD,6EAA4E;AAC5E,4DAA+C;AAC/C,2CAA0D;AAC1D,yEAA4D;AAC5D,kDAA0D;AAC1D,0DAA8D;AAE9D,2CAAyE;AACzE,2CAAmD;AACnD,kCAA0C;AAsE7B,QAAA,kBAAkB,GAAG;IAChC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE;IAC5C,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE;IACtC,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE;IACxC,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE;IAC1C,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE;IAC1C,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE;IACtC,EAAE,IAAI,EAAE,MAAM,EAAE,Y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AAO,EACrB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,KAA+B,EACtC,KAAK,EAAE,mBAAmB,EAC1B,QAAQ,EAAE,UAAC,KAAK;wBACd,gBAAgB,CAAC,IAAI,EAAE,KAAmB,CAAC,CAAC;oBAC9C,CAAC,GACD,CACH,EACA,WAAW,CAAC,mBAAmB,CAAC,EAChC,mBAAmB,CAAC,mBAAmB,CAAC,EACxC,SAAS,IAAI,CACZ,uBAAC,qBAAY,IACX,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAC3C,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,EAC3C,OAAO,EAAE,gBAAgB,EACzB,KAAK,kBAEJ,WAAW,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,aAAa,GAC9B,CAChB,KACkB,GACD,CACvB,CAAC;AACJ,CAAC;AAEY,QAAA,aAAa,GAAG,IAAA,YAAI,EAAC,SAAS,CAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qoretechnologies/reqraft",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.5",
|
|
4
4
|
"description": "ReQraft is a collection of React components and hooks that are used across Qore Technologies' products made using the ReQore component library from Qore.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -158,10 +158,6 @@ export const CompactRow = memo(
|
|
|
158
158
|
const availableOptions = useContextSelector(CompactRowContext, (v) => v.availableOptions);
|
|
159
159
|
const requiredGroupsInfo = useContextSelector(CompactRowContext, (v) => v.requiredGroupsInfo);
|
|
160
160
|
const handleValueChange = useContextSelector(CompactRowContext, (v) => v.handleValueChange);
|
|
161
|
-
const handleAddOptionalFieldChange = useContextSelector(
|
|
162
|
-
CompactRowContext,
|
|
163
|
-
(v) => v.handleAddOptionalFieldChange
|
|
164
|
-
);
|
|
165
161
|
const toggleExpandedOption = useContextSelector(
|
|
166
162
|
CompactRowContext,
|
|
167
163
|
(v) => v.toggleExpandedOption
|
|
@@ -993,9 +989,10 @@ export const CompactRow = memo(
|
|
|
993
989
|
if (target?.classList?.contains('readfirst-row')) {
|
|
994
990
|
readRowHeights.current[optionName] = Math.round(target.getBoundingClientRect().height);
|
|
995
991
|
}
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
992
|
+
// Optional fields aren't "added" — every one is editable in place. Opening a
|
|
993
|
+
// not-yet-set field just expands its editor (with an empty value); it joins
|
|
994
|
+
// the form's output the moment a value is set (and moves to Set / Needs
|
|
995
|
+
// attention), and drops back to Optional when cleared. No explicit add step.
|
|
999
996
|
toggleExpandedOption(optionName);
|
|
1000
997
|
};
|
|
1001
998
|
|
|
@@ -1049,8 +1046,8 @@ export const CompactRow = memo(
|
|
|
1049
1046
|
data-field={optionName}
|
|
1050
1047
|
role='button'
|
|
1051
1048
|
tabIndex={0}
|
|
1052
|
-
aria-label={
|
|
1053
|
-
className={`readfirst-row options-readfirst-value${hidden ? ' readfirst-row-hidden' : ''}${fieldDisabled ? ' readfirst-row-disabled' : ''}${isHighlighted ? ' readfirst-row-group-highlight' : ''}${isFlashed ? ' readfirst-row-flash' : ''}${showLabelDesc ? ' readfirst-row-info-open' : ''}${clusterBlockClass ? ' ' + clusterBlockClass : ''}`}
|
|
1049
|
+
aria-label={label}
|
|
1050
|
+
className={`readfirst-row options-readfirst-value${hidden ? ' readfirst-row-hidden' : ''}${fieldDisabled ? ' readfirst-row-disabled' : ''}${isHighlighted ? ' readfirst-row-group-highlight' : ''}${isFlashed ? ' readfirst-row-flash' : ''}${showLabelDesc ? ' readfirst-row-info-open' : ''}${panelMessages.length || hashEntries.length ? ' readfirst-row-tall' : ''}${clusterBlockClass ? ' ' + clusterBlockClass : ''}`}
|
|
1054
1051
|
aria-disabled={fieldDisabled || undefined}
|
|
1055
1052
|
style={stripeStyle}
|
|
1056
1053
|
onClick={activate}
|
|
@@ -1180,23 +1177,19 @@ export const CompactRow = memo(
|
|
|
1180
1177
|
{draftChip}
|
|
1181
1178
|
{/* Remove-field lives in the expanded editor's "More" (⋮) menu now — no
|
|
1182
1179
|
standalone delete button on the read row. */}
|
|
1183
|
-
{/* Lock
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
show the "Depends on" chip in the chips area instead
|
|
1188
|
-
|
|
1189
|
-
{hidden || (fieldDisabled && !dependencyEntries.length) ?
|
|
1180
|
+
{/* Lock slot BEFORE the info slot so the ⓘ keeps the same far-right x on
|
|
1181
|
+
every row — a disabled field's lock sits to the ⓘ's left rather than
|
|
1182
|
+
pushing it inward. (Not-yet-set optional fields show NO marker now —
|
|
1183
|
+
they're just editable in place, like every other row. Dependency-
|
|
1184
|
+
locked fields show the "Depends on" chip in the chips area instead.) */}
|
|
1185
|
+
{fieldDisabled && !dependencyEntries.length ?
|
|
1190
1186
|
<StyledActionSlot className='options-readfirst-trailing-slot' $width={18}>
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
<ReqoreIcon className='options-readfirst-locked' icon='LockLine' size='14px' />
|
|
1198
|
-
</span>
|
|
1199
|
-
}
|
|
1187
|
+
<span
|
|
1188
|
+
title={fieldDisabledReason}
|
|
1189
|
+
style={{ display: 'inline-flex', opacity: 0.45 }}
|
|
1190
|
+
>
|
|
1191
|
+
<ReqoreIcon className='options-readfirst-locked' icon='LockLine' size='14px' />
|
|
1192
|
+
</span>
|
|
1200
1193
|
</StyledActionSlot>
|
|
1201
1194
|
: null}
|
|
1202
1195
|
{infoToggle ?
|
|
@@ -120,7 +120,6 @@ export const CompactToolbar = memo((reqoreProps: Partial<IReqoreControlGroupProp
|
|
|
120
120
|
showAllDescriptions,
|
|
121
121
|
onToggleAllDescriptions,
|
|
122
122
|
filteredCount,
|
|
123
|
-
optionalFields,
|
|
124
123
|
canRevert,
|
|
125
124
|
onAddOptionalField,
|
|
126
125
|
onAddAll,
|
|
@@ -268,22 +267,10 @@ export const CompactToolbar = memo((reqoreProps: Partial<IReqoreControlGroupProp
|
|
|
268
267
|
disabled: !canRevert,
|
|
269
268
|
onClick: onRevertAll,
|
|
270
269
|
},
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
readOnly: true,
|
|
276
|
-
disabled: true,
|
|
277
|
-
icon: 'AddLine',
|
|
278
|
-
},
|
|
279
|
-
]
|
|
280
|
-
: []),
|
|
281
|
-
...optionalFields.map((field) => ({
|
|
282
|
-
label: field.display_name || field.value,
|
|
283
|
-
value: field.value,
|
|
284
|
-
description: field.short_desc,
|
|
285
|
-
disabled: field.disabled,
|
|
286
|
-
})),
|
|
270
|
+
// The individual not-yet-added fields are no longer listed here —
|
|
271
|
+
// they render as addable rows in the Optional box instead. The
|
|
272
|
+
// menu keeps only the bulk actions above (Select all / Default
|
|
273
|
+
// fields / filters).
|
|
287
274
|
] as TReqoreDropdownItems
|
|
288
275
|
}
|
|
289
276
|
/>
|
|
@@ -998,6 +998,32 @@ const clickFieldsMenuItem = async (text: string) => {
|
|
|
998
998
|
await fireEvent.click(item as Element);
|
|
999
999
|
};
|
|
1000
1000
|
|
|
1001
|
+
// The Optional status box now holds every not-yet-added field AND any added-but-
|
|
1002
|
+
// empty optional field, so it starts COLLAPSED (and ReqorePanel unmounts collapsed
|
|
1003
|
+
// content). Tests that assert on / interact with optional fields call this to open
|
|
1004
|
+
// it. The whole panel title bar toggles the collapse.
|
|
1005
|
+
const _expandOptionalBox = async () => {
|
|
1006
|
+
const findBox = () =>
|
|
1007
|
+
Array.from(document.querySelectorAll('.options-readfirst-group')).find((panel) =>
|
|
1008
|
+
panel.querySelector('.reqore-panel-title')?.textContent?.includes('Optional')
|
|
1009
|
+
);
|
|
1010
|
+
let box: Element | undefined;
|
|
1011
|
+
await waitFor(
|
|
1012
|
+
() => {
|
|
1013
|
+
box = findBox();
|
|
1014
|
+
expect(box).toBeTruthy();
|
|
1015
|
+
},
|
|
1016
|
+
{ timeout: 10000 }
|
|
1017
|
+
);
|
|
1018
|
+
// No `.reqore-panel-content` ⇒ the box is collapsed (content unmounted) — open it.
|
|
1019
|
+
if (box && !box.querySelector('.reqore-panel-content')) {
|
|
1020
|
+
await fireEvent.click(box.querySelector('.reqore-panel-title') as HTMLElement);
|
|
1021
|
+
await waitFor(() => expect(box!.querySelector('.reqore-panel-content')).toBeTruthy(), {
|
|
1022
|
+
timeout: 10000,
|
|
1023
|
+
});
|
|
1024
|
+
}
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1001
1027
|
// CompactSchema plus one optional (non-preselected) field, to exercise the
|
|
1002
1028
|
// "Fields" menu add / select-all / reset actions.
|
|
1003
1029
|
const CompactFieldsMenuSchema: Record<string, TCompactField> = {
|
|
@@ -1063,6 +1089,9 @@ export const CompactEmpty: Story = {
|
|
|
1063
1089
|
groups: CompactGroups,
|
|
1064
1090
|
},
|
|
1065
1091
|
play: async () => {
|
|
1092
|
+
// The four empty OPTIONAL fields live in the (collapsed) Optional box — open
|
|
1093
|
+
// it so all six empty fields are on screen.
|
|
1094
|
+
await _expandOptionalBox();
|
|
1066
1095
|
// Both required fields read as unset; the four optional ones as "Not set".
|
|
1067
1096
|
// All six empty fields read as a calm dash (the red asterisk marks required).
|
|
1068
1097
|
await _testsWaitForTextsCount('—', undefined, 6);
|
|
@@ -1083,6 +1112,9 @@ export const CompactBasic: Story = {
|
|
|
1083
1112
|
// Unresolved required/invalid fields → the header shows the Draft badge
|
|
1084
1113
|
// (the IDE restyled-hero convention).
|
|
1085
1114
|
await _testsWaitForText('Draft');
|
|
1115
|
+
// Several asserted/clicked fields (Disabled option, …) are empty optionals in
|
|
1116
|
+
// the collapsed Optional box — open it so they're on screen.
|
|
1117
|
+
await _expandOptionalBox();
|
|
1086
1118
|
// Values resolve in read-first rows: a template shows its display name (from
|
|
1087
1119
|
// the supplied templates list), colour as hex, hash as a field-count summary.
|
|
1088
1120
|
await _testsWaitForText('Test (local)');
|
|
@@ -1702,6 +1734,9 @@ export const CompactSortOrder: Story = {
|
|
|
1702
1734
|
value: {} as IOptions,
|
|
1703
1735
|
},
|
|
1704
1736
|
play: async () => {
|
|
1737
|
+
// All three fields are empty + optional, so they sit in the (collapsed)
|
|
1738
|
+
// Optional box — open it to read their order.
|
|
1739
|
+
await _expandOptionalBox();
|
|
1705
1740
|
await _testsWaitForText('First');
|
|
1706
1741
|
const order = Array.from(document.querySelectorAll('.readfirst-row[data-field]')).map(
|
|
1707
1742
|
(element) => element.getAttribute('data-field')
|
|
@@ -1757,6 +1792,61 @@ export const CompactReadFirstEditing: Story = {
|
|
|
1757
1792
|
},
|
|
1758
1793
|
};
|
|
1759
1794
|
|
|
1795
|
+
// Following a field across panels: filling an empty optional field moves it from
|
|
1796
|
+
// the Optional box to Set, and the engine scrolls to + flashes its new row so it's
|
|
1797
|
+
// easy to keep track of. The flash is the observable signal that the panel-change
|
|
1798
|
+
// locate fired (the scroll itself, scrollIntoView, isn't assertable in the runner).
|
|
1799
|
+
export const CompactPanelChangeScroll: Story = {
|
|
1800
|
+
parameters: { chromatic: { disable: true } },
|
|
1801
|
+
args: {
|
|
1802
|
+
compact: true,
|
|
1803
|
+
minColumnWidth: '300px',
|
|
1804
|
+
options: {
|
|
1805
|
+
req: {
|
|
1806
|
+
type: 'string',
|
|
1807
|
+
ui_type: 'string',
|
|
1808
|
+
display_name: 'Req',
|
|
1809
|
+
required: true,
|
|
1810
|
+
preselected: true,
|
|
1811
|
+
},
|
|
1812
|
+
opt: { type: 'string', ui_type: 'string', display_name: 'Opt', preselected: true },
|
|
1813
|
+
} as IOptionsSchema,
|
|
1814
|
+
value: {} as IOptions,
|
|
1815
|
+
},
|
|
1816
|
+
play: async () => {
|
|
1817
|
+
await _testsWaitForText('Req');
|
|
1818
|
+
// 'opt' is an empty optional → the (collapsed) Optional box. Open it, fill the
|
|
1819
|
+
// field, collapse — it jumps to Set.
|
|
1820
|
+
await _expandOptionalBox();
|
|
1821
|
+
await _testsClickText('Opt');
|
|
1822
|
+
await _testsChangeStringField({
|
|
1823
|
+
selector: '.options-readfirst-inline .reqore-textarea',
|
|
1824
|
+
value: 'hello',
|
|
1825
|
+
});
|
|
1826
|
+
await sleep(300);
|
|
1827
|
+
await _testsClickButton({ selector: '.options-readfirst-done' });
|
|
1828
|
+
// It now lives in the Set box…
|
|
1829
|
+
await waitFor(
|
|
1830
|
+
() =>
|
|
1831
|
+
expect(
|
|
1832
|
+
document
|
|
1833
|
+
.querySelector('.readfirst-row[data-field="opt"]')
|
|
1834
|
+
?.closest('.options-readfirst-group')
|
|
1835
|
+
?.querySelector('.reqore-panel-title')?.textContent
|
|
1836
|
+
).toContain('Set'),
|
|
1837
|
+
{ timeout: 5000 }
|
|
1838
|
+
);
|
|
1839
|
+
// …and flashed, signalling the engine located/scrolled to its new panel.
|
|
1840
|
+
await waitFor(
|
|
1841
|
+
() =>
|
|
1842
|
+
expect(
|
|
1843
|
+
document.querySelector('.readfirst-row[data-field="opt"]')?.className
|
|
1844
|
+
).toContain('readfirst-row-flash'),
|
|
1845
|
+
{ timeout: 4000 }
|
|
1846
|
+
);
|
|
1847
|
+
},
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1760
1850
|
export const CompactRequiredOnlyAndSearch: Story = {
|
|
1761
1851
|
parameters: { chromatic: { disable: true } },
|
|
1762
1852
|
args: {
|
|
@@ -1805,16 +1895,28 @@ export const CompactFieldsMenu: Story = {
|
|
|
1805
1895
|
},
|
|
1806
1896
|
play: async () => {
|
|
1807
1897
|
await _testsWaitForText('Tags');
|
|
1808
|
-
// 'Notes' is optional
|
|
1898
|
+
// 'Notes' is optional + unset → it lives (collapsed) in the Optional box, so
|
|
1899
|
+
// it isn't in the DOM yet.
|
|
1809
1900
|
await _testsWaitForTextToNotExist('Notes');
|
|
1810
1901
|
|
|
1811
|
-
// "Select all" adds every optional field
|
|
1902
|
+
// "Select all" adds every optional field. Reveal the (collapsed) Optional box
|
|
1903
|
+
// — Notes is now an ADDED row (the normal variant, not the hidden/addable one).
|
|
1812
1904
|
await clickFieldsMenuItem('Select all');
|
|
1905
|
+
await _expandOptionalBox();
|
|
1813
1906
|
await _testsWaitForText('Notes');
|
|
1907
|
+
await waitFor(() =>
|
|
1908
|
+
expect(
|
|
1909
|
+
document.querySelector('.readfirst-row[data-field="notes"]:not(.readfirst-row-hidden)')
|
|
1910
|
+
).toBeTruthy()
|
|
1911
|
+
);
|
|
1814
1912
|
|
|
1815
|
-
// "Default fields" drops the user-added optional fields — Notes
|
|
1913
|
+
// "Default fields" drops the user-added optional fields — Notes reverts to a
|
|
1914
|
+
// HIDDEN (addable) row in the still-open Optional box (it's always browsable
|
|
1915
|
+
// now, just not added).
|
|
1816
1916
|
await clickFieldsMenuItem('Default fields');
|
|
1817
|
-
await
|
|
1917
|
+
await waitFor(() =>
|
|
1918
|
+
expect(document.querySelector('.readfirst-row-hidden[data-field="notes"]')).toBeTruthy()
|
|
1919
|
+
);
|
|
1818
1920
|
|
|
1819
1921
|
// The delete affordance now lives in the expanded editor's "More" (⋮) menu:
|
|
1820
1922
|
// re-add Notes, open it, then Remove field via More → the confirm modal →
|
|
@@ -1822,14 +1924,14 @@ export const CompactFieldsMenu: Story = {
|
|
|
1822
1924
|
await clickFieldsMenuItem('Select all');
|
|
1823
1925
|
await _testsWaitForText('Notes');
|
|
1824
1926
|
await _testsClickText('Notes');
|
|
1927
|
+
// Only Notes is expanded, so the single More (⋮) menu in the DOM is its own.
|
|
1928
|
+
// (ReqoreDropdown's trigger isn't a DOM descendant of the row, so don't scope
|
|
1929
|
+
// the selector to [data-field].)
|
|
1825
1930
|
await waitFor(
|
|
1826
|
-
() =>
|
|
1827
|
-
expect(
|
|
1828
|
-
document.querySelector('[data-field="notes"] .options-readfirst-more')
|
|
1829
|
-
).toBeTruthy(),
|
|
1931
|
+
() => expect(document.querySelector('.options-readfirst-more')).toBeTruthy(),
|
|
1830
1932
|
{ timeout: 10000 }
|
|
1831
1933
|
);
|
|
1832
|
-
await _testsClickButton({ selector: '
|
|
1934
|
+
await _testsClickButton({ selector: '.options-readfirst-more' });
|
|
1833
1935
|
let removeItem: Element | undefined;
|
|
1834
1936
|
await waitFor(
|
|
1835
1937
|
() => {
|
|
@@ -1842,7 +1944,12 @@ export const CompactFieldsMenu: Story = {
|
|
|
1842
1944
|
);
|
|
1843
1945
|
await fireEvent.click(removeItem as Element);
|
|
1844
1946
|
await _testsClickButton({ label: 'Confirm' });
|
|
1845
|
-
|
|
1947
|
+
// Removing the field reverts it to a HIDDEN (addable) row in the still-open
|
|
1948
|
+
// Optional box (it's always browsable now, just no longer added) — and its
|
|
1949
|
+
// editor closes.
|
|
1950
|
+
await waitFor(() =>
|
|
1951
|
+
expect(document.querySelector('.readfirst-row-hidden[data-field="notes"]')).toBeTruthy()
|
|
1952
|
+
);
|
|
1846
1953
|
},
|
|
1847
1954
|
};
|
|
1848
1955
|
|