@qoretechnologies/reqore 0.78.6-pr.715.g74ed5eb → 0.78.6-pr.715.gad84209
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/components/SeverityRow/index.d.ts.map +1 -1
- package/dist/components/SeverityRow/index.js +19 -6
- package/dist/components/SeverityRow/index.js.map +1 -1
- package/dist/components/Table/cell.d.ts.map +1 -1
- package/dist/components/Table/cell.js +7 -6
- package/dist/components/Table/cell.js.map +1 -1
- package/dist/components/Table/row.js +1 -1
- package/dist/components/Table/row.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SeverityRow/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAwD,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAQrG,OAAO,EAGL,aAAa,EAEd,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EACL,eAAe,EACf,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAqB,EAAe,kBAAkB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAExF,OAAO,EAAE,aAAa,EAAgB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SeverityRow/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAwD,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAQrG,OAAO,EAGL,aAAa,EAEd,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EACL,eAAe,EACf,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAqB,EAAe,kBAAkB,EAAE,YAAY,EAAE,MAAM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C;IACf;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AA4OD,QAAA,MAAM,iBAAiB,8JAgMtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -85,6 +85,7 @@ var styles_1 = require("../../styles");
|
|
|
85
85
|
var Button_1 = __importStar(require("../Button"));
|
|
86
86
|
var ControlGroup_1 = __importDefault(require("../ControlGroup"));
|
|
87
87
|
var Effect_1 = require("../Effect");
|
|
88
|
+
var typeScale_1 = require("../../helpers/typeScale");
|
|
88
89
|
var Paragraph_1 = require("../Paragraph");
|
|
89
90
|
var Span_1 = require("../Span");
|
|
90
91
|
var RowActionsMenu_1 = __importStar(require("../RowActionsMenu"));
|
|
@@ -130,7 +131,7 @@ var StyledRow = (0, styled_1.default)(Effect_1.StyledEffect).withConfig({
|
|
|
130
131
|
shouldForwardProp: styled_1.omitStyleProps.apply(void 0, __spreadArray(['disabled',
|
|
131
132
|
'inheritCustomTheme',
|
|
132
133
|
'radiusSize'], styled_1.REQORE_CONTROL_GROUP_CHILD_PROPS, false)),
|
|
133
|
-
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: grid;\n grid-template-columns: ", "px 1fr auto;\n gap: ", "px;\n padding: ", ";\n border-radius: ", ";\n background-color: ", ";\n border: ", ";\n align-items: center;\n width: ", ";\n color: ", ";\n transition: background-color 0.15s ease-out;\n\n /* Narrow-container layout \u2014 driven by a data-narrow attribute\n stamped on the row by a ResizeObserver on the wrapper. See the\n StyledContainer docstring for why we don't use CSS container\n queries here.\n\n row-gap is deliberately tighter than the (horizontal) column gap:\n when the actions wrap under the label the row already has extra\n visual breathing room from the description above it, so a full\n column-gap between description and buttons reads as a dead band.\n Uses PADDING_FROM_SIZE[size] directly (half the column gap) so it\n scales with the row's size scale. */\n &[data-narrow='true'] {\n grid-template-columns: ", "px 1fr;\n grid-auto-rows: max-content;\n row-gap: ", "px;\n }\n &[data-narrow='true'] > .reqore-severity-row-actions {\n grid-column: 2 / -1;\n grid-row: 2;\n max-width: 100%;\n justify-content: flex-start;\n }\n\n /* Narrow, the actions stack under the label, one to a line, each the row's width, with its label\n whole (qorus#646): kept on one line that does not wrap, two labelled actions reached past the row on\n a phone. An icon's tooltip is its label there, and a finger gets a target it can hit. */\n @media (pointer: coarse) {\n &[data-narrow='true'] > .reqore-severity-row-actions > .reqore-button {\n min-height: ", "px;\n }\n }\n\n /* Narrow, two or more actions are one menu button at the end of the label's line (qorus#646), not\n a line each under it: the label keeps its width, and a list of rows does not grow by a line per\n action. */\n &[data-narrow='true'][data-actions='menu'] {\n grid-template-columns: ", "px 1fr auto;\n }\n /* The last column, named: an item placed in a row with its column left to the grid is placed before\n the items around it, in the first column. */\n &[data-narrow='true'][data-actions='menu'] > .reqore-severity-row-actions {\n grid-column: -2 / -1;\n grid-row: 1;\n align-self: start;\n }\n\n ", "\n\n ", "\n\n ", "\n"], ["\n display: grid;\n grid-template-columns: ", "px 1fr auto;\n gap: ", "px;\n padding: ", ";\n border-radius: ", ";\n background-color: ", ";\n border: ", ";\n align-items: center;\n width: ", ";\n color: ", ";\n transition: background-color 0.15s ease-out;\n\n /* Narrow-container layout \u2014 driven by a data-narrow attribute\n stamped on the row by a ResizeObserver on the wrapper. See the\n StyledContainer docstring for why we don't use CSS container\n queries here.\n\n row-gap is deliberately tighter than the (horizontal) column gap:\n when the actions wrap under the label the row already has extra\n visual breathing room from the description above it, so a full\n column-gap between description and buttons reads as a dead band.\n Uses PADDING_FROM_SIZE[size] directly (half the column gap) so it\n scales with the row's size scale. */\n &[data-narrow='true'] {\n grid-template-columns: ", "px 1fr;\n grid-auto-rows: max-content;\n row-gap: ", "px;\n }\n &[data-narrow='true'] > .reqore-severity-row-actions {\n grid-column: 2 / -1;\n grid-row: 2;\n max-width: 100%;\n justify-content: flex-start;\n }\n\n /* Narrow, the actions stack under the label, one to a line, each the row's width, with its label\n whole (qorus#646): kept on one line that does not wrap, two labelled actions reached past the row on\n a phone. An icon's tooltip is its label there, and a finger gets a target it can hit. */\n @media (pointer: coarse) {\n &[data-narrow='true'] > .reqore-severity-row-actions > .reqore-button {\n min-height: ", "px;\n }\n }\n\n /* Narrow, two or more actions are one menu button at the end of the label's line (qorus#646), not\n a line each under it: the label keeps its width, and a list of rows does not grow by a line per\n action. */\n &[data-narrow='true'][data-actions='menu'] {\n grid-template-columns: ", "px 1fr auto;\n }\n /* The last column, named: an item placed in a row with its column left to the grid is placed before\n the items around it, in the first column. */\n &[data-narrow='true'][data-actions='menu'] > .reqore-severity-row-actions {\n grid-column: -2 / -1;\n grid-row: 1;\n align-self: start;\n }\n\n ", "\n\n ", "\n\n ", "\n"])), STRIP_WIDTH_PX, function (_a) {
|
|
134
|
+
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: grid;\n grid-template-columns: ", "px 1fr auto;\n gap: ", "px;\n padding: ", ";\n border-radius: ", ";\n background-color: ", ";\n border: ", ";\n align-items: center;\n width: ", ";\n color: ", ";\n transition: background-color 0.15s ease-out;\n\n /* Narrow-container layout \u2014 driven by a data-narrow attribute\n stamped on the row by a ResizeObserver on the wrapper. See the\n StyledContainer docstring for why we don't use CSS container\n queries here.\n\n row-gap is deliberately tighter than the (horizontal) column gap:\n when the actions wrap under the label the row already has extra\n visual breathing room from the description above it, so a full\n column-gap between description and buttons reads as a dead band.\n Uses PADDING_FROM_SIZE[size] directly (half the column gap) so it\n scales with the row's size scale. */\n &[data-narrow='true'] {\n grid-template-columns: ", "px 1fr;\n grid-auto-rows: max-content;\n row-gap: ", "px;\n }\n &[data-narrow='true'] > .reqore-severity-row-actions {\n grid-column: 2 / -1;\n grid-row: 2;\n max-width: 100%;\n justify-content: flex-start;\n }\n\n /* Narrow, the actions stack under the label, one to a line, each the row's width, with its label\n whole (qorus#646): kept on one line that does not wrap, two labelled actions reached past the row on\n a phone. An icon's tooltip is its label there, and a finger gets a target it can hit. */\n @media (pointer: coarse) {\n &[data-narrow='true'] > .reqore-severity-row-actions > .reqore-button {\n min-height: ", "px;\n }\n }\n\n /* Narrow, two or more actions are one menu button at the end of the label's line (qorus#646), not\n a line each under it: the label keeps its width, and a list of rows does not grow by a line per\n action. */\n &[data-narrow='true'][data-actions='menu'] {\n grid-template-columns: ", "px 1fr auto;\n }\n /* A row without a strip whose `leading` mark (a status dot) takes the strip's column: the mark\n sits in the gutter, level with the label's first line, and the label and description wrap\n beside it. It used to be the first item of the label's WRAPPING line, so a label too long for\n the rest of that line moved down whole and left the mark alone on a line of its own. */\n &[data-leading-column='true'] {\n grid-template-columns: auto 1fr auto;\n }\n &[data-leading-column='true'][data-narrow='true'] {\n grid-template-columns: auto 1fr;\n }\n &[data-leading-column='true'][data-narrow='true'][data-actions='menu'] {\n grid-template-columns: auto 1fr auto;\n }\n\n /* The last column, named: an item placed in a row with its column left to the grid is placed before\n the items around it, in the first column. */\n &[data-narrow='true'][data-actions='menu'] > .reqore-severity-row-actions {\n grid-column: -2 / -1;\n grid-row: 1;\n align-self: start;\n }\n\n ", "\n\n ", "\n\n ", "\n"], ["\n display: grid;\n grid-template-columns: ", "px 1fr auto;\n gap: ", "px;\n padding: ", ";\n border-radius: ", ";\n background-color: ", ";\n border: ", ";\n align-items: center;\n width: ", ";\n color: ", ";\n transition: background-color 0.15s ease-out;\n\n /* Narrow-container layout \u2014 driven by a data-narrow attribute\n stamped on the row by a ResizeObserver on the wrapper. See the\n StyledContainer docstring for why we don't use CSS container\n queries here.\n\n row-gap is deliberately tighter than the (horizontal) column gap:\n when the actions wrap under the label the row already has extra\n visual breathing room from the description above it, so a full\n column-gap between description and buttons reads as a dead band.\n Uses PADDING_FROM_SIZE[size] directly (half the column gap) so it\n scales with the row's size scale. */\n &[data-narrow='true'] {\n grid-template-columns: ", "px 1fr;\n grid-auto-rows: max-content;\n row-gap: ", "px;\n }\n &[data-narrow='true'] > .reqore-severity-row-actions {\n grid-column: 2 / -1;\n grid-row: 2;\n max-width: 100%;\n justify-content: flex-start;\n }\n\n /* Narrow, the actions stack under the label, one to a line, each the row's width, with its label\n whole (qorus#646): kept on one line that does not wrap, two labelled actions reached past the row on\n a phone. An icon's tooltip is its label there, and a finger gets a target it can hit. */\n @media (pointer: coarse) {\n &[data-narrow='true'] > .reqore-severity-row-actions > .reqore-button {\n min-height: ", "px;\n }\n }\n\n /* Narrow, two or more actions are one menu button at the end of the label's line (qorus#646), not\n a line each under it: the label keeps its width, and a list of rows does not grow by a line per\n action. */\n &[data-narrow='true'][data-actions='menu'] {\n grid-template-columns: ", "px 1fr auto;\n }\n /* A row without a strip whose \\`leading\\` mark (a status dot) takes the strip's column: the mark\n sits in the gutter, level with the label's first line, and the label and description wrap\n beside it. It used to be the first item of the label's WRAPPING line, so a label too long for\n the rest of that line moved down whole and left the mark alone on a line of its own. */\n &[data-leading-column='true'] {\n grid-template-columns: auto 1fr auto;\n }\n &[data-leading-column='true'][data-narrow='true'] {\n grid-template-columns: auto 1fr;\n }\n &[data-leading-column='true'][data-narrow='true'][data-actions='menu'] {\n grid-template-columns: auto 1fr auto;\n }\n\n /* The last column, named: an item placed in a row with its column left to the grid is placed before\n the items around it, in the first column. */\n &[data-narrow='true'][data-actions='menu'] > .reqore-severity-row-actions {\n grid-column: -2 / -1;\n grid-row: 1;\n align-self: start;\n }\n\n ", "\n\n ", "\n\n ", "\n"])), STRIP_WIDTH_PX, function (_a) {
|
|
134
135
|
var size = _a.size;
|
|
135
136
|
return sizes_1.PADDING_FROM_SIZE[size] * 2;
|
|
136
137
|
}, function (_a) {
|
|
@@ -183,7 +184,16 @@ var StyledStrip = styled_1.default.div(templateObject_4 || (templateObject_4 = _
|
|
|
183
184
|
return (0, polished_1.rgba)(stripColorFor(theme, $intent), 0.3);
|
|
184
185
|
});
|
|
185
186
|
var StyledBody = styled_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n flex-flow: column;\n gap: 4px;\n min-width: 0;\n"], ["\n display: flex;\n flex-flow: column;\n gap: 4px;\n min-width: 0;\n"])));
|
|
186
|
-
|
|
187
|
+
/** The strip's column, holding the `leading` mark instead: one line tall at the label's own size,
|
|
188
|
+
* so the mark is centred on the label's first line however many lines the text runs to. */
|
|
189
|
+
var StyledLeadingCell = styled_1.default.span(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-self: start;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ", "px;\n font-weight: 500;\n height: 1.2em;\n height: 1lh;\n"], ["\n align-self: start;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ", "px;\n font-weight: 500;\n height: 1.2em;\n height: 1lh;\n"])), function (_a) {
|
|
190
|
+
var theme = _a.theme, $size = _a.$size;
|
|
191
|
+
return (0, typeScale_1.getTextSize)(theme, $size);
|
|
192
|
+
});
|
|
193
|
+
/** A mark kept on the label's line (a row WITH a strip): the mark and the label never part. The
|
|
194
|
+
* label shrinks and wraps its own words beside the mark rather than moving below it. */
|
|
195
|
+
var StyledLeadingGroup = styled_1.default.span(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n flex: 0 1 auto;\n"], ["\n display: flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n flex: 0 1 auto;\n"])));
|
|
196
|
+
var StyledLabelLine = styled_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n flex-wrap: ", ";\n min-width: 0;\n font-weight: 500;\n"], ["\n display: flex;\n align-items: center;\n gap: 8px;\n flex-wrap: ", ";\n min-width: 0;\n font-weight: 500;\n"])), function (_a) {
|
|
187
197
|
var $wrap = _a.$wrap;
|
|
188
198
|
return ($wrap ? 'wrap' : 'nowrap');
|
|
189
199
|
});
|
|
@@ -191,9 +201,9 @@ var StyledLabelLine = styled_1.default.div(templateObject_6 || (templateObject_6
|
|
|
191
201
|
// not its wrapper. Cascade the ellipsis CSS into the child <ReqoreP>/<ReqoreSpan>
|
|
192
202
|
// so the `…` glyph actually appears, while keeping the wrapper itself a flex
|
|
193
203
|
// item that can shrink (`min-width: 0; flex: 1 1 auto`) inside its parent.
|
|
194
|
-
var StyledTextSlot = styled_1.default.div(
|
|
204
|
+
var StyledTextSlot = styled_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n min-width: 0;\n ", "\n"], ["\n min-width: 0;\n ", "\n"])), function (_a) {
|
|
195
205
|
var $wrap = _a.$wrap;
|
|
196
|
-
return !$wrap && (0, styled_components_1.css)(
|
|
206
|
+
return !$wrap && (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n flex: 1 1 auto;\n overflow: hidden;\n\n & > * {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: block;\n max-width: 100%;\n }\n "], ["\n flex: 1 1 auto;\n overflow: hidden;\n\n & > * {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: block;\n max-width: 100%;\n }\n "])));
|
|
197
207
|
});
|
|
198
208
|
var ReqoreSeverityRow = (0, react_1.memo)((0, react_1.forwardRef)(function (_a, ref) {
|
|
199
209
|
var _b;
|
|
@@ -210,11 +220,14 @@ var ReqoreSeverityRow = (0, react_1.memo)((0, react_1.forwardRef)(function (_a,
|
|
|
210
220
|
var _m = (0, useNarrowContainer_1.useNarrowContainer)(useNarrowContainer_1.SEVERITY_ROW_NARROW_BREAKPOINT_PX), containerRef = _m[0], isNarrow = _m[1];
|
|
211
221
|
// Narrow, two or more actions are one menu button, unless the caller wants them stacked.
|
|
212
222
|
var actionsAsMenu = isNarrow && narrowActions === 'menu' && ((_b = actions === null || actions === void 0 ? void 0 : actions.length) !== null && _b !== void 0 ? _b : 0) > 1;
|
|
223
|
+
var hasLeading = leading !== undefined && leading !== null && leading !== false;
|
|
224
|
+
// Without a strip, the mark takes the strip's column (see StyledRow).
|
|
225
|
+
var leadingColumn = hasLeading && !showStrip;
|
|
213
226
|
return ((0, jsx_runtime_1.jsx)(StyledContainer, { ref: containerRef, "$fluid": fluid, className: 'reqore-severity-row-container', children: (0, jsx_runtime_1.jsxs)(TooltipComponent_1.ReqoreTooltipComponent
|
|
214
227
|
// A div, not the effect's span: the row holds blocks, which a span may not.
|
|
215
228
|
, __assign({
|
|
216
229
|
// A div, not the effect's span: the row holds blocks, which a span may not.
|
|
217
|
-
as: 'div', "data-narrow": isNarrow || undefined, "data-actions": actionsAsMenu ? 'menu' : undefined }, rest, { Component: StyledRow, tooltip: tooltip, ref: ref, theme: theme, "$intent": intent, "$transparent": transparent, size: size, "$fluid": fluid, flat: flat, rounded: rounded, "$raised": raised, "$clickable": interactive, "$padded": padded, "$paddingSize": paddingSize !== null && paddingSize !== void 0 ? paddingSize : size, disabled: disabled, effect: effect, className: "".concat(className || '', " reqore-severity-row"), children: [showStrip ? ((0, jsx_runtime_1.jsx)(StyledStrip, { theme: theme, "$intent": intent, className: 'reqore-severity-row-strip', "aria-hidden": true })) : ((0, jsx_runtime_1.jsx)("span", { "aria-hidden": true, style: { width: STRIP_WIDTH_PX } })), (0, jsx_runtime_1.jsxs)(StyledBody, { className: 'reqore-severity-row-body', children: [(0, jsx_runtime_1.jsxs)(StyledLabelLine, { "$wrap": wrap, className: 'reqore-severity-row-label', children: [leading, (0, jsx_runtime_1.jsx)(StyledTextSlot, { "$wrap": wrap, children: (0, jsx_runtime_1.jsx)(Span_1.ReqoreSpan, { size: size, effect: labelEffect, children: label }) }), hasBadge && ((0, jsx_runtime_1.jsx)(Button_1.ButtonBadge, { size: size, content: badge, margin: 'none' }))] }), description && ((0, jsx_runtime_1.jsx)(StyledTextSlot, { "$wrap": wrap, children: (0, jsx_runtime_1.jsx)(Paragraph_1.ReqoreP, { as: (0, Paragraph_1.getReqoreTextElement)(description), size: secondarySize, effect: __assign({ opacity: 0.6 }, descriptionEffect), className: 'reqore-severity-row-description', children: description }) }))] }), actionsAsMenu && ((0, jsx_runtime_1.jsx)(RowActionsMenu_1.default, { className: 'reqore-severity-row-actions', actions: actions, size: size, intent: intent, label: actionsMenuLabel })), !actionsAsMenu && actions && actions.length > 0 && ((0, jsx_runtime_1.jsx)(ControlGroup_1.default, { gapSize: 'small', className: 'reqore-severity-row-actions',
|
|
230
|
+
as: 'div', "data-narrow": isNarrow || undefined, "data-actions": actionsAsMenu ? 'menu' : undefined, "data-leading-column": leadingColumn || undefined }, rest, { Component: StyledRow, tooltip: tooltip, ref: ref, theme: theme, "$intent": intent, "$transparent": transparent, size: size, "$fluid": fluid, flat: flat, rounded: rounded, "$raised": raised, "$clickable": interactive, "$padded": padded, "$paddingSize": paddingSize !== null && paddingSize !== void 0 ? paddingSize : size, disabled: disabled, effect: effect, className: "".concat(className || '', " reqore-severity-row"), children: [showStrip ? ((0, jsx_runtime_1.jsx)(StyledStrip, { theme: theme, "$intent": intent, className: 'reqore-severity-row-strip', "aria-hidden": true })) : leadingColumn ? ((0, jsx_runtime_1.jsx)(StyledLeadingCell, { theme: theme, "$size": size, className: 'reqore-severity-row-leading', children: leading })) : ((0, jsx_runtime_1.jsx)("span", { "aria-hidden": true, style: { width: STRIP_WIDTH_PX } })), (0, jsx_runtime_1.jsxs)(StyledBody, { className: 'reqore-severity-row-body', children: [(0, jsx_runtime_1.jsxs)(StyledLabelLine, { "$wrap": wrap, className: 'reqore-severity-row-label', children: [hasLeading && !leadingColumn ? ((0, jsx_runtime_1.jsxs)(StyledLeadingGroup, { className: 'reqore-severity-row-leading', children: [leading, (0, jsx_runtime_1.jsx)(StyledTextSlot, { "$wrap": wrap, children: (0, jsx_runtime_1.jsx)(Span_1.ReqoreSpan, { size: size, effect: labelEffect, children: label }) })] })) : ((0, jsx_runtime_1.jsx)(StyledTextSlot, { "$wrap": wrap, children: (0, jsx_runtime_1.jsx)(Span_1.ReqoreSpan, { size: size, effect: labelEffect, children: label }) })), hasBadge && ((0, jsx_runtime_1.jsx)(Button_1.ButtonBadge, { size: size, content: badge, margin: 'none' }))] }), description && ((0, jsx_runtime_1.jsx)(StyledTextSlot, { "$wrap": wrap, children: (0, jsx_runtime_1.jsx)(Paragraph_1.ReqoreP, { as: (0, Paragraph_1.getReqoreTextElement)(description), size: secondarySize, effect: __assign({ opacity: 0.6 }, descriptionEffect), className: 'reqore-severity-row-description', children: description }) }))] }), actionsAsMenu && ((0, jsx_runtime_1.jsx)(RowActionsMenu_1.default, { className: 'reqore-severity-row-actions', actions: actions, size: size, intent: intent, label: actionsMenuLabel })), !actionsAsMenu && actions && actions.length > 0 && ((0, jsx_runtime_1.jsx)(ControlGroup_1.default, { gapSize: 'small', className: 'reqore-severity-row-actions',
|
|
218
231
|
// narrow: one to a line, each the row's width (see the narrow rules above)
|
|
219
232
|
vertical: isNarrow, fluid: isNarrow, children: actions.map(function (action, idx) {
|
|
220
233
|
var _a;
|
|
@@ -234,5 +247,5 @@ var ReqoreSeverityRow = (0, react_1.memo)((0, react_1.forwardRef)(function (_a,
|
|
|
234
247
|
}) }))] })) }));
|
|
235
248
|
}));
|
|
236
249
|
exports.default = ReqoreSeverityRow;
|
|
237
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
250
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
|
|
238
251
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SeverityRow/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAgC;AAChC,+BAAkD;AAClD,uDAAwC;AACxC,6DAAgG;AAChG,+CAAqG;AAErG,+CAK8B;AAC9B,6CAK6B;AAC7B,qEAGwC;AACxC,iDAAsD;AACtD,uCAA8D;AAW9D,kDAAwF;AACxF,iEAAiD;AACjD,oCAAwD;AACxD,0CA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sources":["../../../src/components/Table/cell.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,GAAG,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAW/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAqB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAM7D,MAAM,WAAW,+BAAgC,SAAQ,yBAAyB;CAAG;AACrF,MAAM,WAAW,0BAA2B,SAAQ,KAAK,CAAC,EAAE,CAAC,+BAA+B,CAAC;CAAG;AAChG,MAAM,WAAW,yBACf,SAAQ,OAAO,CAAC,kBAAkB,CAAC,EACjC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpC,kBAAkB;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uBAAuB,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACvD;AAED,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/components/Table/cell.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,GAAG,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAW/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAqB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAM7D,MAAM,WAAW,+BAAgC,SAAQ,yBAAyB;CAAG;AACrF,MAAM,WAAW,0BAA2B,SAAQ,KAAK,CAAC,EAAE,CAAC,+BAA+B,CAAC;CAAG;AAChG,MAAM,WAAW,yBACf,SAAQ,OAAO,CAAC,kBAAkB,CAAC,EACjC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpC,kBAAkB;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uBAAuB,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACvD;AAED,eAAO,MAAM,eAAe,KAqS3B,CAAC;AAwBF,eAAO,MAAM,mBAAmB,gKA+E/B,CAAC"}
|
|
@@ -78,7 +78,7 @@ exports.StyledTableCell = styled_1.default.div.withConfig({
|
|
|
78
78
|
// `wrap` drives the cell's white-space rule and `width` its CSS width; neither is a DOM
|
|
79
79
|
// attribute of a `div`.
|
|
80
80
|
shouldForwardProp: (0, styled_1.omitStyleProps)('wrap', 'width'),
|
|
81
|
-
})(
|
|
81
|
+
})(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n"])), function (_a) {
|
|
82
82
|
var width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, grow = _a.grow;
|
|
83
83
|
return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: ", "px;\n min-width: ", "px;\n max-width: ", "px;\n\n flex-grow: ", ";\n "], ["\n width: ", "px;\n min-width: ", "px;\n max-width: ", "px;\n\n flex-grow: ", ";\n "])), width, minWidth, maxWidth, grow || (width ? undefined : 1));
|
|
84
84
|
}, function (_a) {
|
|
@@ -137,11 +137,12 @@ exports.StyledTableCell = styled_1.default.div.withConfig({
|
|
|
137
137
|
var pinnedBackground = pin
|
|
138
138
|
? "linear-gradient(".concat(displayedBackgroundColor, ", ").concat(displayedBackgroundColor, "), ").concat((0, colors_1.getPanelBackgroundColor)(theme))
|
|
139
139
|
: undefined;
|
|
140
|
-
return (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: ", ";\n justify-content: ", ";\n flex-shrink: 0;\n align-self: stretch;\n border-bottom: ", ";\n\n ", "\n\n padding: ", "\n ", ";\n font-size: ", "px;\n background: ", ";\n color: ", ";\n border-color: ", ";\n transition: background-color 0.2s ease-out;\n opacity: ", ";\n pointer-events: ", ";\n cursor: ", ";\n\n ", "\n\n ", "\n\n /* ------------------------------------------------------------------\n A cell contains what it is given.\n\n These rules used to name p.reqore-table-text \u2014 the paragraph the\n table's own 'text' / 'number' / 'time-ago' cell renderers produce \u2014 so\n they reached exactly the content the table had written itself.\n Everything else got nothing: the 'title' renderer (a heading), the\n 'tag' renderer, and every element a caller's own cell content function\n returns, which is how a real table fills a cell. Those elements laid\n themselves out at their natural size, and since a body row is drawn at\n ONE height \u2014 decided before any of this is laid out, because a\n virtualised list has to know it up front \u2014 a paragraph of prose simply\n painted over the rows beneath it. Two and three descriptions\n overprinted each other and none of them could be read.\n\n So the rules are about the cell's content, whatever that content is:\n\n - min-width 0, because a flex item's automatic minimum size is its\n MIN-CONTENT width, which for one long unbreakable token (a URL, an\n id) is the whole token. That minimum beats max-width, which is why\n capping a link's width at the call site did not hold it: the address\n of one row printed across the next column's chips.\n - max-width and max-height of 100%, so the content is bounded by the\n box it is in, on both axes, whatever it is.\n - and, when the cell does not wrap, one line ending in an ellipsis.\n\n Wrapping is the other honest answer: wrap turns virtualisation off (see\n IReqoreTableProps), every row is then drawn at the height of its own\n content, and the whole value is on screen instead of a line of it. A\n wrapped cell still needs a break opportunity inside a long token, or it\n overflows sideways for the same reason as above. ----------------- */\n > * {\n min-width: 0;\n max-width: 100%;\n }\n\n ", "\n\n ", "\n\n p.reqore-table-text {\n margin: 0;\n padding: 0;\n }\n "], ["\n box-sizing: border-box;\n display: flex;\n align-items: ", ";\n justify-content: ", ";\n flex-shrink: 0;\n align-self: stretch;\n border-bottom: ", ";\n\n ", "\n\n padding: ", "\n ", ";\n font-size: ", "px;\n background: ", ";\n color: ", ";\n border-color: ", ";\n transition: background-color 0.2s ease-out;\n opacity: ", ";\n pointer-events: ", ";\n cursor: ", ";\n\n ", "\n\n ", "\n\n /* ------------------------------------------------------------------\n A cell contains what it is given.\n\n These rules used to name p.reqore-table-text \u2014 the paragraph the\n table's own 'text' / 'number' / 'time-ago' cell renderers produce \u2014 so\n they reached exactly the content the table had written itself.\n Everything else got nothing: the 'title' renderer (a heading), the\n 'tag' renderer, and every element a caller's own cell content function\n returns, which is how a real table fills a cell. Those elements laid\n themselves out at their natural size, and since a body row is drawn at\n ONE height \u2014 decided before any of this is laid out, because a\n virtualised list has to know it up front \u2014 a paragraph of prose simply\n painted over the rows beneath it. Two and three descriptions\n overprinted each other and none of them could be read.\n\n So the rules are about the cell's content, whatever that content is:\n\n - min-width 0, because a flex item's automatic minimum size is its\n MIN-CONTENT width, which for one long unbreakable token (a URL, an\n id) is the whole token. That minimum beats max-width, which is why\n capping a link's width at the call site did not hold it: the address\n of one row printed across the next column's chips.\n - max-width and max-height of 100%, so the content is bounded by the\n box it is in, on both axes, whatever it is.\n - and, when the cell does not wrap, one line ending in an ellipsis.\n\n Wrapping is the other honest answer: wrap turns virtualisation off (see\n IReqoreTableProps), every row is then drawn at the height of its own\n content, and the whole value is on screen instead of a line of it. A\n wrapped cell still needs a break opportunity inside a long token, or it\n overflows sideways for the same reason as above. ----------------- */\n > * {\n min-width: 0;\n max-width: 100%;\n }\n\n ", "\n\n ", "\n\n p.reqore-table-text {\n margin: 0;\n padding: 0;\n }\n "])), maxHeight ? 'flex-start' : 'center', align ? (0, utils_1.alignToFlexAlign)(align) : 'flex-start', !flat ? '1px solid ' : undefined, maxHeight && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n max-height: ", "px;\n overflow: hidden;\n "], ["\n position: relative;\n max-height: ", "px;\n overflow: hidden;\n "])), maxHeight), !padded || padded === 'both' || padded === 'vertical' ? (wrap ? '6px' : 0) : undefined, !padded || padded === 'both' || padded === 'horizontal' ? '10px' : undefined, (0, typeScale_1.getTextSize)(theme, size), pinnedBackground !== null && pinnedBackground !== void 0 ? pinnedBackground : (backgroundColor === 'transparent' ? 'transparent' : displayedBackgroundColor), (0, colors_1.getReadableColorFrom)(getOriginalBackgroundColor(), !hovered), cellBorderColor, disabled ? 0.2 : 1, disabled ? 'none' : undefined, interactive || interactiveCell ? 'pointer' : 'default', pin && (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n position: sticky;\n ", "\n z-index: 2;\n ", "\n "], ["\n position: sticky;\n ", "\n z-index: 2;\n ", "\n "])), pin === 'left' ? "left: ".concat(pinOffset || 0, "px;") : "right: ".concat(pinOffset || 0, "px;"), pinEdge && (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n /* Use a pseudo-element instead of box-shadow so the shadow is strictly bounded to\n the cell's height \u2014 a blurred box-shadow bleeds vertically and stacks across\n neighboring pinned cells, producing dark bands between rows.\n\n Drawn only while a column really is hidden under this edge (the body marks\n its scroll containers, see TABLE_OVERFLOW_ATTRIBUTE): a table whose columns\n all fit has nothing to announce, and a permanent dark band beside the\n actions column was the one thing that made a pinned column look different. */\n &::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n width: 12px;\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.12s ease;\n ", "\n background: linear-gradient(\n to ", ",\n rgba(0, 0, 0, 0.35),\n rgba(0, 0, 0, 0)\n );\n }\n ", " {\n opacity: 1;\n }\n "], ["\n /* Use a pseudo-element instead of box-shadow so the shadow is strictly bounded to\n the cell's height \u2014 a blurred box-shadow bleeds vertically and stacks across\n neighboring pinned cells, producing dark bands between rows.\n\n Drawn only while a column really is hidden under this edge (the body marks\n its scroll containers, see TABLE_OVERFLOW_ATTRIBUTE): a table whose columns\n all fit has nothing to announce, and a permanent dark band beside the\n actions column was the one thing that made a pinned column look different. */\n &::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n width: 12px;\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.12s ease;\n ", "\n background: linear-gradient(\n to ", ",\n rgba(0, 0, 0, 0.35),\n rgba(0, 0, 0, 0)\n );\n }\n ", " {\n opacity: 1;\n }\n "])), pin === 'left' ? 'right: -12px;' : 'left: -12px;', pin === 'left' ? 'right' : 'left', (0, helpers_1.pinnedEdgeShadowSelector)(pin))), interactiveCell && (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n &:hover {\n /* Pinned cells rely on the layered background shorthand for their opaque base \u2014\n overriding just background-color would lose theme.main and let the non-pinned\n cells scrolling underneath show through on hover. */\n ", "\n }\n "], ["\n &:hover {\n /* Pinned cells rely on the layered background shorthand for their opaque base \u2014\n overriding just background-color would lose theme.main and let the non-pinned\n cells scrolling underneath show through on hover. */\n ", "\n }\n "])), pin
|
|
141
|
-
? (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background: linear-gradient(\n ", ",\n ", "\n ),\n ", ";\n "], ["\n background: linear-gradient(\n ", ",\n ", "\n ),\n ", ";\n "])), (0, polished_1.lighten)(0.1, displayedBackgroundColor), (0, polished_1.lighten)(0.1, displayedBackgroundColor), (0, colors_1.getPanelBackgroundColor)(theme)) : (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), (0, polished_1.lighten)(0.1, displayedBackgroundColor))),
|
|
142
|
-
? (0, styled_components_1.css)(
|
|
140
|
+
return (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: ", ";\n justify-content: ", ";\n flex-shrink: 0;\n align-self: stretch;\n border-bottom: ", ";\n\n ", "\n\n /* Each side is a length, never `undefined`: `padding: undefined 10px` drops to\n `padding: 10px`, so a `padded: 'horizontal'` cell got 10px top and bottom too and\n clipped its text once the line was taller than the 12px left between them. */\n padding: ", "\n ", ";\n font-size: ", "px;\n background: ", ";\n color: ", ";\n border-color: ", ";\n transition: background-color 0.2s ease-out;\n opacity: ", ";\n pointer-events: ", ";\n cursor: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n /* ------------------------------------------------------------------\n A cell contains what it is given.\n\n These rules used to name p.reqore-table-text \u2014 the paragraph the\n table's own 'text' / 'number' / 'time-ago' cell renderers produce \u2014 so\n they reached exactly the content the table had written itself.\n Everything else got nothing: the 'title' renderer (a heading), the\n 'tag' renderer, and every element a caller's own cell content function\n returns, which is how a real table fills a cell. Those elements laid\n themselves out at their natural size, and since a body row is drawn at\n ONE height \u2014 decided before any of this is laid out, because a\n virtualised list has to know it up front \u2014 a paragraph of prose simply\n painted over the rows beneath it. Two and three descriptions\n overprinted each other and none of them could be read.\n\n So the rules are about the cell's content, whatever that content is:\n\n - min-width 0, because a flex item's automatic minimum size is its\n MIN-CONTENT width, which for one long unbreakable token (a URL, an\n id) is the whole token. That minimum beats max-width, which is why\n capping a link's width at the call site did not hold it: the address\n of one row printed across the next column's chips.\n - max-width and max-height of 100%, so the content is bounded by the\n box it is in, on both axes, whatever it is.\n - and, when the cell does not wrap, one line ending in an ellipsis.\n\n Wrapping is the other honest answer: wrap turns virtualisation off (see\n IReqoreTableProps), every row is then drawn at the height of its own\n content, and the whole value is on screen instead of a line of it. A\n wrapped cell still needs a break opportunity inside a long token, or it\n overflows sideways for the same reason as above. ----------------- */\n > * {\n min-width: 0;\n max-width: 100%;\n }\n\n ", "\n\n ", "\n\n p.reqore-table-text {\n margin: 0;\n padding: 0;\n }\n "], ["\n box-sizing: border-box;\n display: flex;\n align-items: ", ";\n justify-content: ", ";\n flex-shrink: 0;\n align-self: stretch;\n border-bottom: ", ";\n\n ", "\n\n /* Each side is a length, never \\`undefined\\`: \\`padding: undefined 10px\\` drops to\n \\`padding: 10px\\`, so a \\`padded: 'horizontal'\\` cell got 10px top and bottom too and\n clipped its text once the line was taller than the 12px left between them. */\n padding: ", "\n ", ";\n font-size: ", "px;\n background: ", ";\n color: ", ";\n border-color: ", ";\n transition: background-color 0.2s ease-out;\n opacity: ", ";\n pointer-events: ", ";\n cursor: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n /* ------------------------------------------------------------------\n A cell contains what it is given.\n\n These rules used to name p.reqore-table-text \u2014 the paragraph the\n table's own 'text' / 'number' / 'time-ago' cell renderers produce \u2014 so\n they reached exactly the content the table had written itself.\n Everything else got nothing: the 'title' renderer (a heading), the\n 'tag' renderer, and every element a caller's own cell content function\n returns, which is how a real table fills a cell. Those elements laid\n themselves out at their natural size, and since a body row is drawn at\n ONE height \u2014 decided before any of this is laid out, because a\n virtualised list has to know it up front \u2014 a paragraph of prose simply\n painted over the rows beneath it. Two and three descriptions\n overprinted each other and none of them could be read.\n\n So the rules are about the cell's content, whatever that content is:\n\n - min-width 0, because a flex item's automatic minimum size is its\n MIN-CONTENT width, which for one long unbreakable token (a URL, an\n id) is the whole token. That minimum beats max-width, which is why\n capping a link's width at the call site did not hold it: the address\n of one row printed across the next column's chips.\n - max-width and max-height of 100%, so the content is bounded by the\n box it is in, on both axes, whatever it is.\n - and, when the cell does not wrap, one line ending in an ellipsis.\n\n Wrapping is the other honest answer: wrap turns virtualisation off (see\n IReqoreTableProps), every row is then drawn at the height of its own\n content, and the whole value is on screen instead of a line of it. A\n wrapped cell still needs a break opportunity inside a long token, or it\n overflows sideways for the same reason as above. ----------------- */\n > * {\n min-width: 0;\n max-width: 100%;\n }\n\n ", "\n\n ", "\n\n p.reqore-table-text {\n margin: 0;\n padding: 0;\n }\n "])), maxHeight ? 'flex-start' : 'center', align ? (0, utils_1.alignToFlexAlign)(align) : 'flex-start', !flat ? '1px solid ' : undefined, maxHeight && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n max-height: ", "px;\n overflow: hidden;\n "], ["\n position: relative;\n max-height: ", "px;\n overflow: hidden;\n "])), maxHeight), !padded || padded === 'both' || padded === 'vertical' ? (wrap ? '6px' : '0') : '0', !padded || padded === 'both' || padded === 'horizontal' ? '10px' : '0', (0, typeScale_1.getTextSize)(theme, size), pinnedBackground !== null && pinnedBackground !== void 0 ? pinnedBackground : (backgroundColor === 'transparent' ? 'transparent' : displayedBackgroundColor), (0, colors_1.getReadableColorFrom)(getOriginalBackgroundColor(), !hovered), cellBorderColor, disabled ? 0.2 : 1, disabled ? 'none' : undefined, interactive || interactiveCell ? 'pointer' : 'default', pin && (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n position: sticky;\n ", "\n z-index: 2;\n ", "\n "], ["\n position: sticky;\n ", "\n z-index: 2;\n ", "\n "])), pin === 'left' ? "left: ".concat(pinOffset || 0, "px;") : "right: ".concat(pinOffset || 0, "px;"), pinEdge && (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n /* Use a pseudo-element instead of box-shadow so the shadow is strictly bounded to\n the cell's height \u2014 a blurred box-shadow bleeds vertically and stacks across\n neighboring pinned cells, producing dark bands between rows.\n\n Drawn only while a column really is hidden under this edge (the body marks\n its scroll containers, see TABLE_OVERFLOW_ATTRIBUTE): a table whose columns\n all fit has nothing to announce, and a permanent dark band beside the\n actions column was the one thing that made a pinned column look different. */\n &::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n width: 12px;\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.12s ease;\n ", "\n background: linear-gradient(\n to ", ",\n rgba(0, 0, 0, 0.35),\n rgba(0, 0, 0, 0)\n );\n }\n ", " {\n opacity: 1;\n }\n "], ["\n /* Use a pseudo-element instead of box-shadow so the shadow is strictly bounded to\n the cell's height \u2014 a blurred box-shadow bleeds vertically and stacks across\n neighboring pinned cells, producing dark bands between rows.\n\n Drawn only while a column really is hidden under this edge (the body marks\n its scroll containers, see TABLE_OVERFLOW_ATTRIBUTE): a table whose columns\n all fit has nothing to announce, and a permanent dark band beside the\n actions column was the one thing that made a pinned column look different. */\n &::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n width: 12px;\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.12s ease;\n ", "\n background: linear-gradient(\n to ", ",\n rgba(0, 0, 0, 0.35),\n rgba(0, 0, 0, 0)\n );\n }\n ", " {\n opacity: 1;\n }\n "])), pin === 'left' ? 'right: -12px;' : 'left: -12px;', pin === 'left' ? 'right' : 'left', (0, helpers_1.pinnedEdgeShadowSelector)(pin))), interactive && (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n /* A row that does something on a click says so under the pointer: the whole row lights,\n the way a cell with its own click already did. Row hover was dropped with the row's\n hover STATE (a re-render per mouse move); it is plain CSS on the row now, free. */\n .reqore-table-row:hover > & {\n ", "\n }\n "], ["\n /* A row that does something on a click says so under the pointer: the whole row lights,\n the way a cell with its own click already did. Row hover was dropped with the row's\n hover STATE (a re-render per mouse move); it is plain CSS on the row now, free. */\n .reqore-table-row:hover > & {\n ", "\n }\n "])), pin
|
|
141
|
+
? (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background: linear-gradient(\n ", ",\n ", "\n ),\n ", ";\n "], ["\n background: linear-gradient(\n ", ",\n ", "\n ),\n ", ";\n "])), (0, polished_1.lighten)(0.1, displayedBackgroundColor), (0, polished_1.lighten)(0.1, displayedBackgroundColor), (0, colors_1.getPanelBackgroundColor)(theme)) : (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), (0, polished_1.lighten)(0.1, displayedBackgroundColor))), interactiveCell && (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n &:hover {\n /* Pinned cells rely on the layered background shorthand for their opaque base \u2014\n overriding just background-color would lose theme.main and let the non-pinned\n cells scrolling underneath show through on hover. */\n ", "\n }\n "], ["\n &:hover {\n /* Pinned cells rely on the layered background shorthand for their opaque base \u2014\n overriding just background-color would lose theme.main and let the non-pinned\n cells scrolling underneath show through on hover. */\n ", "\n }\n "])), pin
|
|
142
|
+
? (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background: linear-gradient(\n ", ",\n ", "\n ),\n ", ";\n "], ["\n background: linear-gradient(\n ", ",\n ", "\n ),\n ", ";\n "])), (0, polished_1.lighten)(0.1, displayedBackgroundColor), (0, polished_1.lighten)(0.1, displayedBackgroundColor), (0, colors_1.getPanelBackgroundColor)(theme)) : (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), (0, polished_1.lighten)(0.1, displayedBackgroundColor))), !maxHeight && (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n /* Bound the content to the cell's own height.\n\n Left to a cell that clips itself \u2014 the maxHeight clamp above \u2014 this\n would take its job away rather than help: that clamp shows a Show\n more button, and it knows to show it by asking whether its content is\n TALLER than it is. Content pre-shrunk to fit is content with nothing\n more to show, so the button never appeared and the rest of the value\n became unreachable.\n\n Everywhere else the bound is what holds a cell's content to its row.\n It is inert while wrapping does what it says, because the row is then\n as tall as its tallest cell and that cell's content is already\n exactly that tall. It bites where wrapping CANNOT make the row taller\n \u2014 wrap together with an explicit virtualized, which the table warns\n about \u2014 and in the ordinary case below, where it holds anything the\n ellipsis does not reach: a group of chips that wrapped, an image. */\n > * {\n max-height: 100%;\n overflow: hidden;\n }\n "], ["\n /* Bound the content to the cell's own height.\n\n Left to a cell that clips itself \u2014 the maxHeight clamp above \u2014 this\n would take its job away rather than help: that clamp shows a Show\n more button, and it knows to show it by asking whether its content is\n TALLER than it is. Content pre-shrunk to fit is content with nothing\n more to show, so the button never appeared and the rest of the value\n became unreachable.\n\n Everywhere else the bound is what holds a cell's content to its row.\n It is inert while wrapping does what it says, because the row is then\n as tall as its tallest cell and that cell's content is already\n exactly that tall. It bites where wrapping CANNOT make the row taller\n \u2014 wrap together with an explicit virtualized, which the table warns\n about \u2014 and in the ordinary case below, where it holds anything the\n ellipsis does not reach: a group of chips that wrapped, an image. */\n > * {\n max-height: 100%;\n overflow: hidden;\n }\n "]))), wrap
|
|
143
|
+
? (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n > * {\n word-break: break-word;\n overflow-wrap: anywhere;\n }\n\n p.reqore-table-text {\n white-space: normal;\n }\n "], ["\n > * {\n word-break: break-word;\n overflow-wrap: anywhere;\n }\n\n p.reqore-table-text {\n white-space: normal;\n }\n "]))) : (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n > * {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n "], ["\n > * {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n "]))));
|
|
143
144
|
});
|
|
144
|
-
var StyledCellExpandOverlay = styled_1.default.div(
|
|
145
|
+
var StyledCellExpandOverlay = styled_1.default.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: flex-end;\n justify-content: center;\n padding: 4px 6px;\n pointer-events: none;\n z-index: 1;\n height: 36px;\n background: ", ";\n\n > * {\n pointer-events: auto;\n }\n"], ["\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: flex-end;\n justify-content: center;\n padding: 4px 6px;\n pointer-events: none;\n z-index: 1;\n height: 36px;\n background: ", ";\n\n > * {\n pointer-events: auto;\n }\n"])), function (_a) {
|
|
145
146
|
var theme = _a.theme;
|
|
146
147
|
return "linear-gradient(to bottom, ".concat((0, polished_1.rgba)(theme.main, 0), " 0%, ").concat(theme.main, " 80%)");
|
|
147
148
|
});
|
|
@@ -190,5 +191,5 @@ exports.ReqoreTableBodyCell = (0, react_1.memo)((0, react_1.forwardRef)(function
|
|
|
190
191
|
setExpanded(true);
|
|
191
192
|
}, children: (_b = expandHeightButtonProps === null || expandHeightButtonProps === void 0 ? void 0 : expandHeightButtonProps.children) !== null && _b !== void 0 ? _b : 'Show more' })) }))], _a))));
|
|
192
193
|
}));
|
|
193
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
|
|
194
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16;
|
|
194
195
|
//# sourceMappingURL=cell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell.js","sourceRoot":"","sources":["../../../src/components/Table/cell.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAyC;AACzC,+BAAyF;AACzF,uDAAwC;AAGxC,qDAAsD;AAEtD,+CAK8B;AAC9B,6DAA8D;AAC9D,6CAAuD;AAEvD,qDAA6D;AAC7D,qCAA0E;AAE1E,wDAA6D;AAmBhD,QAAA,eAAe,GAAG,gBAAM,CAAC,GAAG,CAAC,UAAU,CAAC;IACnD,wFAAwF;IACxF,wBAAwB;IACxB,iBAAiB,EAAE,IAAA,uBAAc,EAAC,MAAM,EAAE,OAAO,CAAC;CACnD,CAAC,2FAAuB,MACrB,EAOC,QAED,
|
|
1
|
+
{"version":3,"file":"cell.js","sourceRoot":"","sources":["../../../src/components/Table/cell.tsx"],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 0 : pinInfo.isEdge,
|
|
358
358
|
even: index % 2 === 0 ? true : false,
|
|
359
359
|
intent: (cell === null || cell === void 0 ? void 0 : cell.intent) || data[index]._intent || intent,
|
|
360
|
-
interactive: (!!(cell === null || cell === void 0 ? void 0 : cell.onClick) || !!onRowClick) && !isStatic,
|
|
360
|
+
interactive: (!!(cell === null || cell === void 0 ? void 0 : cell.onClick) || !!onRowClick || canExpand) && !isStatic,
|
|
361
361
|
interactiveCell: !!(cell === null || cell === void 0 ? void 0 : cell.onClick) && !isStatic,
|
|
362
362
|
onClick: function (e) {
|
|
363
363
|
if (isStatic) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row.js","sourceRoot":"","sources":["../../../src/components/Table/row.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,WAAW;AACX,iCAAmD;AACnD,6CAAwE;AACxE,uDAAwC;AAQxC,2BAAqE;AACrE,+CAA2D;AAE3D,6DAA8D;AAI9D,oCAAqC;AACrC,0CAAuC;AACvC,+CAA+B;AAC/B,sCAAqC;AAErC,+BAA0C;AAC1C,+BAAyE;AACzE,qCAQmB;AACnB,kEAA+F;AAmG/F;;;;;;;;;;;;;;GAcG;AACH,IAAM,mBAAmB,GAAG,gBAAM,CAAC,GAAG,kIAAA,+DAIrC,IAAA,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,IAAM,iBAAiB,GAAG,gBAAM,CAAC,GAAG,iKAAA,8FAMnC,IAAA,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACU,QAAA,cAAc,GAAG,gBAAM,CAAC,GAAG,CAAC,UAAU,CAAC;IAClD,qEAAqE;IACrE,iBAAiB,EAAE,IAAA,uBAAc,EAAC,MAAM,CAAC;CAC1C,CAAC,+EAAsB,MACpB,EAeD,IACF,KAhBG,UAAC,EAAmC;QAAjC,IAAI,UAAA,E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