@qoretechnologies/reqore 0.78.24 → 0.78.25-pr.715.g34eb069
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/Accordion/index.d.ts.map +1 -1
- package/dist/components/Accordion/index.js +28 -19
- package/dist/components/Accordion/index.js.map +1 -1
- package/dist/components/Bubble/index.d.ts.map +1 -1
- package/dist/components/Bubble/index.js +3 -2
- package/dist/components/Bubble/index.js.map +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +56 -16
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Callout/index.d.ts.map +1 -1
- package/dist/components/Callout/index.js +24 -12
- package/dist/components/Callout/index.js.map +1 -1
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js +39 -16
- package/dist/components/Checkbox/index.js.map +1 -1
- package/dist/components/CollapsibleContent/index.d.ts +12 -0
- package/dist/components/CollapsibleContent/index.d.ts.map +1 -1
- package/dist/components/CollapsibleContent/index.js +37 -16
- package/dist/components/CollapsibleContent/index.js.map +1 -1
- package/dist/components/Collection/index.d.ts +8 -1
- package/dist/components/Collection/index.d.ts.map +1 -1
- package/dist/components/Collection/index.js +34 -21
- package/dist/components/Collection/index.js.map +1 -1
- package/dist/components/Collection/item.js +1 -1
- package/dist/components/Collection/item.js.map +1 -1
- package/dist/components/DataView/index.d.ts +11 -0
- package/dist/components/DataView/index.d.ts.map +1 -1
- package/dist/components/DataView/index.js +40 -22
- package/dist/components/DataView/index.js.map +1 -1
- package/dist/components/DescriptionList/index.d.ts +7 -0
- package/dist/components/DescriptionList/index.d.ts.map +1 -1
- package/dist/components/DescriptionList/index.js +6 -2
- package/dist/components/DescriptionList/index.js.map +1 -1
- package/dist/components/Drawer/backdrop.d.ts.map +1 -1
- package/dist/components/Drawer/backdrop.js +3 -1
- package/dist/components/Drawer/backdrop.js.map +1 -1
- package/dist/components/Drawer/index.d.ts +10 -0
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.js +46 -12
- package/dist/components/Drawer/index.js.map +1 -1
- package/dist/components/Dropdown/index.d.ts +6 -0
- package/dist/components/Dropdown/index.d.ts.map +1 -1
- package/dist/components/Dropdown/index.js +10 -3
- package/dist/components/Dropdown/index.js.map +1 -1
- package/dist/components/Dropdown/list.d.ts +2 -2
- package/dist/components/Dropdown/list.d.ts.map +1 -1
- package/dist/components/Dropdown/list.js +7 -7
- package/dist/components/Dropdown/list.js.map +1 -1
- package/dist/components/Effect/index.d.ts +6 -0
- package/dist/components/Effect/index.d.ts.map +1 -1
- package/dist/components/Effect/index.js +26 -21
- package/dist/components/Effect/index.js.map +1 -1
- package/dist/components/EntityRow/index.d.ts.map +1 -1
- package/dist/components/EntityRow/index.js +2 -2
- package/dist/components/EntityRow/index.js.map +1 -1
- package/dist/components/FeatureCard/index.d.ts.map +1 -1
- package/dist/components/FeatureCard/index.js +10 -5
- package/dist/components/FeatureCard/index.js.map +1 -1
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/index.js +10 -5
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Input/index.js +5 -4
- package/dist/components/Input/index.js.map +1 -1
- package/dist/components/InternalPopover/index.d.ts.map +1 -1
- package/dist/components/InternalPopover/index.js +69 -9
- package/dist/components/InternalPopover/index.js.map +1 -1
- package/dist/components/KeyboardShortcut/index.d.ts.map +1 -1
- package/dist/components/KeyboardShortcut/index.js +3 -2
- package/dist/components/KeyboardShortcut/index.js.map +1 -1
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Layout/index.js +6 -2
- package/dist/components/Layout/index.js.map +1 -1
- package/dist/components/Link/index.d.ts.map +1 -1
- package/dist/components/Link/index.js +7 -2
- package/dist/components/Link/index.js.map +1 -1
- package/dist/components/Menu/divider.d.ts.map +1 -1
- package/dist/components/Menu/divider.js +4 -1
- package/dist/components/Menu/divider.js.map +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/index.js.map +1 -1
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/Message/index.js +9 -1
- package/dist/components/Message/index.js.map +1 -1
- package/dist/components/Modal/index.d.ts +24 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.js +3 -2
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/NavRail/index.d.ts.map +1 -1
- package/dist/components/NavRail/index.js +5 -3
- package/dist/components/NavRail/index.js.map +1 -1
- package/dist/components/Notifications/notification.d.ts.map +1 -1
- package/dist/components/Notifications/notification.js +3 -2
- package/dist/components/Notifications/notification.js.map +1 -1
- package/dist/components/Notifications/styles.d.ts +2 -0
- package/dist/components/Notifications/styles.d.ts.map +1 -1
- package/dist/components/Notifications/styles.js +65 -24
- package/dist/components/Notifications/styles.js.map +1 -1
- package/dist/components/Panel/TitleAndBadges.d.ts +31 -0
- package/dist/components/Panel/TitleAndBadges.d.ts.map +1 -0
- package/dist/components/Panel/TitleAndBadges.js +81 -0
- package/dist/components/Panel/TitleAndBadges.js.map +1 -0
- package/dist/components/Panel/index.d.ts +37 -0
- package/dist/components/Panel/index.d.ts.map +1 -1
- package/dist/components/Panel/index.js +197 -90
- package/dist/components/Panel/index.js.map +1 -1
- package/dist/components/Paragraph/index.d.ts.map +1 -1
- package/dist/components/Paragraph/index.js +3 -3
- package/dist/components/Paragraph/index.js.map +1 -1
- package/dist/components/Progress/index.d.ts.map +1 -1
- package/dist/components/Progress/index.js +11 -4
- package/dist/components/Progress/index.js.map +1 -1
- package/dist/components/SegmentedControl/index.d.ts +24 -1
- package/dist/components/SegmentedControl/index.d.ts.map +1 -1
- package/dist/components/SegmentedControl/index.js +136 -59
- package/dist/components/SegmentedControl/index.js.map +1 -1
- package/dist/components/Select/valuePreview.js +5 -2
- package/dist/components/Select/valuePreview.js.map +1 -1
- package/dist/components/SeverityRow/index.d.ts +12 -4
- package/dist/components/SeverityRow/index.d.ts.map +1 -1
- package/dist/components/SeverityRow/index.js +37 -15
- package/dist/components/SeverityRow/index.js.map +1 -1
- package/dist/components/Spacer/index.js +1 -1
- package/dist/components/Spacer/index.js.map +1 -1
- package/dist/components/Span/index.d.ts.map +1 -1
- package/dist/components/Span/index.js +3 -3
- package/dist/components/Span/index.js.map +1 -1
- package/dist/components/StackedBar/index.d.ts.map +1 -1
- package/dist/components/StackedBar/index.js +8 -2
- package/dist/components/StackedBar/index.js.map +1 -1
- package/dist/components/Statistic/index.d.ts +16 -1
- package/dist/components/Statistic/index.d.ts.map +1 -1
- package/dist/components/Statistic/index.js +7 -5
- package/dist/components/Statistic/index.js.map +1 -1
- package/dist/components/Table/body.d.ts.map +1 -1
- package/dist/components/Table/body.js +36 -4
- package/dist/components/Table/body.js.map +1 -1
- package/dist/components/Table/cell.d.ts.map +1 -1
- package/dist/components/Table/cell.js +42 -22
- package/dist/components/Table/cell.js.map +1 -1
- package/dist/components/Table/header.d.ts +10 -1
- package/dist/components/Table/header.d.ts.map +1 -1
- package/dist/components/Table/header.js +5 -5
- package/dist/components/Table/header.js.map +1 -1
- package/dist/components/Table/headerCell.d.ts +10 -1
- package/dist/components/Table/headerCell.d.ts.map +1 -1
- package/dist/components/Table/headerCell.js +37 -24
- package/dist/components/Table/headerCell.js.map +1 -1
- package/dist/components/Table/helpers.d.ts +32 -2
- package/dist/components/Table/helpers.d.ts.map +1 -1
- package/dist/components/Table/helpers.js +68 -5
- package/dist/components/Table/helpers.js.map +1 -1
- package/dist/components/Table/index.d.ts +56 -1
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +72 -79
- package/dist/components/Table/index.js.map +1 -1
- package/dist/components/Table/row.d.ts +5 -1
- package/dist/components/Table/row.d.ts.map +1 -1
- package/dist/components/Table/row.js +7 -5
- package/dist/components/Table/row.js.map +1 -1
- package/dist/components/Tabs/item.d.ts.map +1 -1
- package/dist/components/Tabs/item.js +1 -1
- package/dist/components/Tabs/item.js.map +1 -1
- package/dist/components/Tabs/list.d.ts +7 -2
- package/dist/components/Tabs/list.d.ts.map +1 -1
- package/dist/components/Tabs/list.js +28 -16
- package/dist/components/Tabs/list.js.map +1 -1
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.js +5 -4
- package/dist/components/Tag/index.js.map +1 -1
- package/dist/components/Testimonial/index.d.ts.map +1 -1
- package/dist/components/Testimonial/index.js +10 -5
- package/dist/components/Testimonial/index.js.map +1 -1
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/Textarea/index.js +5 -4
- package/dist/components/Textarea/index.js.map +1 -1
- package/dist/components/Tier/index.d.ts +7 -1
- package/dist/components/Tier/index.d.ts.map +1 -1
- package/dist/components/Tier/index.js +10 -9
- package/dist/components/Tier/index.js.map +1 -1
- package/dist/components/Timeline/index.d.ts.map +1 -1
- package/dist/components/Timeline/index.js +3 -2
- package/dist/components/Timeline/index.js.map +1 -1
- package/dist/components/Tree/index.d.ts +7 -1
- package/dist/components/Tree/index.d.ts.map +1 -1
- package/dist/components/Tree/index.js +23 -14
- package/dist/components/Tree/index.js.map +1 -1
- package/dist/components/Tree/modal.d.ts.map +1 -1
- package/dist/components/Tree/modal.js +8 -4
- package/dist/components/Tree/modal.js.map +1 -1
- package/dist/constants/sizes.d.ts +26 -0
- package/dist/constants/sizes.d.ts.map +1 -1
- package/dist/constants/sizes.js +33 -1
- package/dist/constants/sizes.js.map +1 -1
- package/dist/constants/theme.d.ts +120 -0
- package/dist/constants/theme.d.ts.map +1 -1
- package/dist/constants/theme.js.map +1 -1
- package/dist/containers/ReqoreProvider.d.ts +23 -0
- package/dist/containers/ReqoreProvider.d.ts.map +1 -1
- package/dist/containers/ReqoreProvider.js +41 -12
- package/dist/containers/ReqoreProvider.js.map +1 -1
- package/dist/containers/UIProvider.d.ts +4 -1
- package/dist/containers/UIProvider.d.ts.map +1 -1
- package/dist/containers/UIProvider.js +6 -2
- package/dist/containers/UIProvider.js.map +1 -1
- package/dist/context/ReqoreContext.d.ts +16 -0
- package/dist/context/ReqoreContext.d.ts.map +1 -1
- package/dist/context/ReqoreContext.js +3 -0
- package/dist/context/ReqoreContext.js.map +1 -1
- package/dist/helpers/colors.d.ts +11 -1
- package/dist/helpers/colors.d.ts.map +1 -1
- package/dist/helpers/colors.js +24 -3
- package/dist/helpers/colors.js.map +1 -1
- package/dist/helpers/typeScale.d.ts +25 -0
- package/dist/helpers/typeScale.d.ts.map +1 -0
- package/dist/helpers/typeScale.js +28 -0
- package/dist/helpers/typeScale.js.map +1 -0
- package/dist/helpers/utils.d.ts +5 -1
- package/dist/helpers/utils.d.ts.map +1 -1
- package/dist/helpers/utils.js +5 -2
- package/dist/helpers/utils.js.map +1 -1
- package/dist/hooks/useColorDataByType.d.ts +6 -0
- package/dist/hooks/useColorDataByType.d.ts.map +1 -0
- package/dist/hooks/useColorDataByType.js +11 -0
- package/dist/hooks/useColorDataByType.js.map +1 -0
- package/dist/hooks/useUppercaseLabels.d.ts +8 -0
- package/dist/hooks/useUppercaseLabels.d.ts.map +1 -0
- package/dist/hooks/useUppercaseLabels.js +13 -0
- package/dist/hooks/useUppercaseLabels.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/docs/docs/guides/theming.mdx +15 -0
- package/package.json +1 -1
- package/tests.json +0 -1
|
@@ -3,6 +3,17 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
4
|
return cooked;
|
|
5
5
|
};
|
|
6
|
+
var __assign = (this && this.__assign) || function () {
|
|
7
|
+
__assign = Object.assign || function(t) {
|
|
8
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
+
s = arguments[i];
|
|
10
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
+
t[p] = s[p];
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
};
|
|
15
|
+
return __assign.apply(this, arguments);
|
|
16
|
+
};
|
|
6
17
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
18
|
if (k2 === undefined) k2 = k;
|
|
8
19
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -37,10 +48,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
37
48
|
};
|
|
38
49
|
})();
|
|
39
50
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.typeToIcon = exports.StyledNotificationContent = exports.StyledNotificationTitle = exports.StyledNotificationContentWrapper = exports.StyledNotificationInnerContent = exports.StyledIconWrapper = exports.StyledReqoreNotification = void 0;
|
|
51
|
+
exports.typeToIcon = exports.StyledNotificationContent = exports.StyledNotificationTitle = exports.StyledNotificationContentWrapper = exports.StyledNotificationInnerContent = exports.StyledIconWrapper = exports.StyledReqoreNotification = exports.isPanelSurfaceMessage = void 0;
|
|
41
52
|
var polished_1 = require("polished");
|
|
42
53
|
var styled_components_1 = require("styled-components");
|
|
43
54
|
var sizes_1 = require("../../constants/sizes");
|
|
55
|
+
var typeScale_1 = require("../../helpers/typeScale");
|
|
44
56
|
var animations_1 = require("../../helpers/animations");
|
|
45
57
|
var colors_1 = require("../../helpers/colors");
|
|
46
58
|
var styled_1 = __importStar(require("../../helpers/styled"));
|
|
@@ -48,6 +60,28 @@ var utils_1 = require("../../helpers/utils");
|
|
|
48
60
|
var styles_1 = require("../../styles");
|
|
49
61
|
var Effect_1 = require("../Effect");
|
|
50
62
|
var timeoutAnimation = (0, styled_components_1.keyframes)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n 0% {\n width: 100%;\n }\n 100% {\n width: 0;\n }\n"], ["\n 0% {\n width: 100%;\n }\n 100% {\n width: 0;\n }\n"])));
|
|
63
|
+
/**
|
|
64
|
+
* A message on the panel surface (`theme.messageSurface: 'panel'`): the surface and hairline
|
|
65
|
+
* of `theme.panel`, or what a panel derives from the theme's own main colour — never the
|
|
66
|
+
* intent's, which the message's theme carries as its `main`.
|
|
67
|
+
*/
|
|
68
|
+
var getMessagePanelColors = function (theme) {
|
|
69
|
+
var _a, _b, _c, _d, _e;
|
|
70
|
+
var base = __assign(__assign({}, theme), { main: (_a = theme.originalMain) !== null && _a !== void 0 ? _a : theme.main });
|
|
71
|
+
var surface = (_c = (_b = theme.panel) === null || _b === void 0 ? void 0 : _b.main) !== null && _c !== void 0 ? _c : (0, colors_1.changeDarkness)((0, colors_1.getMainBackgroundColor)(base), 0.03);
|
|
72
|
+
return {
|
|
73
|
+
surface: surface,
|
|
74
|
+
hairline: (_e = (_d = theme.panel) === null || _d === void 0 ? void 0 : _d.border) !== null && _e !== void 0 ? _e : (0, colors_1.changeLightness)((0, colors_1.getMainBackgroundColor)(base), 0.08),
|
|
75
|
+
text: (0, colors_1.getReadableColorFrom)(surface, true),
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
/** The intents that need a person: their panel-surface message glows in its corner. */
|
|
79
|
+
var GLOWING_MESSAGE_INTENTS = ['danger', 'warning'];
|
|
80
|
+
/** Whether a message is drawn on the panel surface rather than tinted with its intent. */
|
|
81
|
+
var isPanelSurfaceMessage = function (theme, asMessage) {
|
|
82
|
+
return !!asMessage && theme.messageSurface === 'panel';
|
|
83
|
+
};
|
|
84
|
+
exports.isPanelSurfaceMessage = isPanelSurfaceMessage;
|
|
51
85
|
exports.StyledReqoreNotification = (0, styled_1.default)(Effect_1.StyledEffect).withConfig({
|
|
52
86
|
// The notification renders as `animated.div` (see `as` below), so styled-components
|
|
53
87
|
// treats it as a component target and forwards everything not listed here — react-spring
|
|
@@ -57,7 +91,7 @@ exports.StyledReqoreNotification = (0, styled_1.default)(Effect_1.StyledEffect).
|
|
|
57
91
|
shouldForwardProp: (0, styled_1.omitStyleProps)('asMessage', 'backgroundBlur', 'blur', 'clickable',
|
|
58
92
|
// Handed to popover content.
|
|
59
93
|
'closePopover', 'customTheme', 'fill', 'fixed', 'flat', 'fluid', 'hasShadow', 'margin', 'maxWidth', 'minimal', 'opaque', 'raised', 'size', 'spaceBetween', 'stack', 'timeout', 'tooltip'),
|
|
60
|
-
})(
|
|
94
|
+
})(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n min-width: ", ";\n max-width: ", ";\n border-radius: 5px;\n display: flex;\n flex: ", ";\n align-self: ", ";\n overflow: hidden;\n position: relative;\n transition: all 0.2s ease-out;\n\n ", ";\n\n // Do not fade in the component if it's a message\n ", "\n\n &:not(:first-child) {\n margin-top: ", ";\n }\n\n ", "\n"], ["\n min-width: ", ";\n max-width: ", ";\n border-radius: 5px;\n display: flex;\n flex: ", ";\n align-self: ", ";\n overflow: hidden;\n position: relative;\n transition: all 0.2s ease-out;\n\n ", ";\n\n // Do not fade in the component if it's a message\n ", "\n\n &:not(:first-child) {\n margin-top: ", ";\n }\n\n ", "\n"])), function (_a) {
|
|
61
95
|
var fluid = _a.fluid;
|
|
62
96
|
return (!fluid ? '30px' : undefined);
|
|
63
97
|
}, function (_a) {
|
|
@@ -86,25 +120,32 @@ exports.StyledReqoreNotification = (0, styled_1.default)(Effect_1.StyledEffect).
|
|
|
86
120
|
var asMessage = _a.asMessage, size = _a.size;
|
|
87
121
|
return asMessage ? undefined : "".concat(sizes_1.PADDING_FROM_SIZE[size], "px");
|
|
88
122
|
}, function (_a) {
|
|
89
|
-
var theme = _a.theme, type = _a.type, intent = _a.intent, clickable = _a.clickable, timeout = _a.timeout, hasShadow = _a.hasShadow, flat = _a.flat, minimal = _a.minimal, _b = _a.opaque, opaque = _b === void 0 ? true : _b, backgroundBlur = _a.backgroundBlur, raised = _a.raised;
|
|
90
|
-
return (0,
|
|
91
|
-
?
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
123
|
+
var theme = _a.theme, type = _a.type, intent = _a.intent, clickable = _a.clickable, timeout = _a.timeout, hasShadow = _a.hasShadow, flat = _a.flat, minimal = _a.minimal, _b = _a.opaque, opaque = _b === void 0 ? true : _b, backgroundBlur = _a.backgroundBlur, raised = _a.raised, asMessage = _a.asMessage;
|
|
124
|
+
return (0, exports.isPanelSurfaceMessage)(theme, asMessage)
|
|
125
|
+
? (function () {
|
|
126
|
+
var colors = getMessagePanelColors(theme);
|
|
127
|
+
var glow = intent && GLOWING_MESSAGE_INTENTS.includes(intent);
|
|
128
|
+
return (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n ", "\n border: ", ";\n border-color: ", ";\n color: ", ";\n\n ", "\n "], ["\n background-color: ", ";\n ", "\n border: ", ";\n border-color: ", ";\n color: ", ";\n\n ", "\n "])), minimal ? 'transparent' : colors.surface, glow &&
|
|
129
|
+
!minimal && (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-image: radial-gradient(\n circle 320px at 0% 0%,\n ", ",\n transparent\n );\n "], ["\n background-image: radial-gradient(\n circle 320px at 0% 0%,\n ", ",\n transparent\n );\n "])), (0, polished_1.rgba)((0, colors_1.getNotificationIntent)(theme, intent), 0.22)), flat ? 0 : '1px solid', colors.hairline, minimal ? 'inherit' : colors.text, clickable && (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n cursor: pointer;\n &:hover {\n background-color: ", ";\n }\n "], ["\n cursor: pointer;\n &:hover {\n background-color: ", ";\n }\n "])), minimal ? 'transparent' : (0, colors_1.changeLightness)(colors.surface, 0.02)));
|
|
130
|
+
})()
|
|
131
|
+
: (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background-color: ", ";\n border: ", ";\n border-color: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n color: ", ";\n\n ", "\n "], ["\n background-color: ", ";\n border: ", ";\n border-color: ", ";\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n color: ", ";\n\n ", "\n "])), minimal
|
|
132
|
+
? 'transparent'
|
|
133
|
+
: opaque
|
|
134
|
+
? (0, colors_1.changeLightness)(theme.main, 0.1)
|
|
135
|
+
: (0, polished_1.rgba)((0, colors_1.getNotificationIntent)(theme, intent || type), 0.3), flat ? 0 : '1px solid', (0, colors_1.changeLightness)((0, colors_1.getNotificationIntent)(theme, intent || type), 0.2), backgroundBlur && (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n backdrop-filter: blur(", "px);\n "], ["\n backdrop-filter: blur(", "px);\n "])), backgroundBlur), hasShadow && (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n box-shadow: 0px 0px 30px 10px ", ";\n "], ["\n box-shadow: 0px 0px 30px 10px ", ";\n "])), (0, polished_1.rgba)('#000000', 0.3)), raised && flat && !minimal && styles_1.RaisedElement, timeout && (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n &::before {\n content: '';\n position: absolute;\n display: block;\n top: 0;\n height: 3px;\n background-color: ", ";\n animation-name: ", ";\n animation-duration: ", "ms;\n }\n "], ["\n &::before {\n content: '';\n position: absolute;\n display: block;\n top: 0;\n height: 3px;\n background-color: ", ";\n animation-name: ", ";\n animation-duration: ", "ms;\n }\n "])), (0, colors_1.changeLightness)((0, colors_1.getNotificationIntent)(theme, intent || type), 0.2), timeoutAnimation, timeout), minimal || !opaque
|
|
136
|
+
? 'inherit'
|
|
137
|
+
: (0, colors_1.getReadableColor)(theme, null, null, true, minimal ? theme.originalMain : undefined), clickable && (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n cursor: pointer;\n &:hover {\n background-color: ", ";\n border-color: ", ";\n }\n "], ["\n cursor: pointer;\n &:hover {\n background-color: ", ";\n border-color: ", ";\n }\n "])), minimal
|
|
138
|
+
? 'transparent'
|
|
139
|
+
: opaque
|
|
140
|
+
? (0, colors_1.changeDarkness)(theme.main, 0.002)
|
|
141
|
+
: (0, polished_1.rgba)((0, colors_1.getNotificationIntent)(theme, intent || type), 0.4), (0, colors_1.changeLightness)((0, colors_1.getNotificationIntent)(theme, intent || type), 0.25)));
|
|
101
142
|
});
|
|
102
|
-
exports.StyledIconWrapper = styled_1.default.div(
|
|
143
|
+
exports.StyledIconWrapper = styled_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n flex: 0 1 auto;\n flex-shrink: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease-out;\n\n ", "\n"], ["\n flex: 0 1 auto;\n flex-shrink: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease-out;\n\n ", "\n"])), function (_a) {
|
|
103
144
|
var clickable = _a.clickable, theme = _a.theme, intent = _a.intent, type = _a.type;
|
|
104
|
-
return clickable && (0, styled_components_1.css)(
|
|
145
|
+
return clickable && (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n margin-top: unset;\n height: unset;\n\n .reqore-icon {\n transform: scale(0.85);\n }\n\n &:hover {\n cursor: pointer;\n background-color: ", ";\n .reqore-icon {\n transform: scale(1);\n }\n }\n "], ["\n margin-top: unset;\n height: unset;\n\n .reqore-icon {\n transform: scale(0.85);\n }\n\n &:hover {\n cursor: pointer;\n background-color: ", ";\n .reqore-icon {\n transform: scale(1);\n }\n }\n "])), (0, colors_1.changeLightness)((0, colors_1.getNotificationIntent)(theme, intent || type), 0.02));
|
|
105
146
|
});
|
|
106
|
-
exports.StyledNotificationInnerContent = styled_1.default.div(
|
|
107
|
-
exports.StyledNotificationContentWrapper = styled_1.default.div(
|
|
147
|
+
exports.StyledNotificationInnerContent = styled_1.default.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-flow: column;\n justify-content: center;\n\n .reqore-heading {\n line-height: 1;\n }\n"], ["\n flex: 1;\n display: flex;\n flex-flow: column;\n justify-content: center;\n\n .reqore-heading {\n line-height: 1;\n }\n"])));
|
|
148
|
+
exports.StyledNotificationContentWrapper = styled_1.default.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n flex: 1;\n display: flex;\n justify-content: center;\n padding: ", ";\n"], ["\n flex: 1;\n display: flex;\n justify-content: center;\n padding: ", ";\n"])), function (_a) {
|
|
108
149
|
var _b = _a.size, size = _b === void 0 ? 'normal' : _b, _c = _a.$padded, $padded = _c === void 0 ? true : _c, $paddingSize = _a.$paddingSize;
|
|
109
150
|
return (0, utils_1.resolvePadding)({
|
|
110
151
|
padded: $padded,
|
|
@@ -113,13 +154,13 @@ exports.StyledNotificationContentWrapper = styled_1.default.div(templateObject_1
|
|
|
113
154
|
horizontalMultiplier: 1,
|
|
114
155
|
});
|
|
115
156
|
});
|
|
116
|
-
exports.StyledNotificationTitle = styled_1.default.h4(
|
|
117
|
-
exports.StyledNotificationContent = styled_1.default.div(
|
|
118
|
-
var _b = _a.size, size = _b === void 0 ? 'normal' : _b;
|
|
119
|
-
return
|
|
157
|
+
exports.StyledNotificationTitle = styled_1.default.h4(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n margin: 0 0 5px 0;\n padding: 0;\n display: flex;\n align-items: center;\n"], ["\n margin: 0 0 5px 0;\n padding: 0;\n display: flex;\n align-items: center;\n"])));
|
|
158
|
+
exports.StyledNotificationContent = styled_1.default.div(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n margin: 0;\n padding: 0;\n flex: 1;\n font-size: ", "px;\n overflow-wrap: anywhere;\n display: flex;\n flex-flow: column;\n justify-content: center;\n\n ", "\n"], ["\n margin: 0;\n padding: 0;\n flex: 1;\n font-size: ", "px;\n overflow-wrap: anywhere;\n display: flex;\n flex-flow: column;\n justify-content: center;\n\n ", "\n"])), function (_a) {
|
|
159
|
+
var _b = _a.size, size = _b === void 0 ? 'normal' : _b, theme = _a.theme;
|
|
160
|
+
return (0, typeScale_1.getTextSize)(theme, size);
|
|
120
161
|
}, function (_a) {
|
|
121
162
|
var hasTitle = _a.hasTitle, _b = _a.size, size = _b === void 0 ? 'normal' : _b;
|
|
122
|
-
return hasTitle && (0, styled_components_1.css)(
|
|
163
|
+
return hasTitle && (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n padding-top: ", "px;\n "], ["\n padding-top: ", "px;\n "])), sizes_1.PADDING_FROM_SIZE[size]);
|
|
123
164
|
});
|
|
124
165
|
exports.typeToIcon = {
|
|
125
166
|
info: 'InformationLine',
|
|
@@ -129,5 +170,5 @@ exports.typeToIcon = {
|
|
|
129
170
|
success: 'CheckFill',
|
|
130
171
|
muted: 'Forbid2Line',
|
|
131
172
|
};
|
|
132
|
-
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;
|
|
173
|
+
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, templateObject_17, templateObject_18, templateObject_19;
|
|
133
174
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Notifications/styles.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Notifications/styles.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAgC;AAChC,uDAAmD;AACnD,+CAAkE;AAClE,qDAAsD;AAEtD,uDAAkD;AAClD,+CAO8B;AAC9B,6DAA8D;AAC9D,6CAAoE;AACpE,uCAA6C;AAG7C,oCAAyC;AA+BzC,IAAM,gBAAgB,OAAG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
|
|
2
|
+
import { TSizes } from '../../constants/sizes';
|
|
3
|
+
import { TReqoreBadge } from '../Button';
|
|
4
|
+
/** The class of the line a title shares with its badges. */
|
|
5
|
+
export declare const TITLE_AND_BADGES_CLASS = "reqore-panel-title-label-and-badges";
|
|
6
|
+
/**
|
|
7
|
+
* How far a text badge's words sit inside its box: the tag's side padding. Zero when the first
|
|
8
|
+
* badge on the left draws a box of its own (a chip), whose edge is then the badge's edge.
|
|
9
|
+
*
|
|
10
|
+
* Only the first badge on the left counts, because it is the one that starts the badges' line
|
|
11
|
+
* when they move under the title. A badge given `align: 'center'` or `'right'` is placed by that
|
|
12
|
+
* instead.
|
|
13
|
+
*/
|
|
14
|
+
export declare const getTextBadgeLead: (badge: TReqoreBadge | TReqoreBadge[] | undefined, badgeSize: TSizes) => number;
|
|
15
|
+
export interface IReqoreTitleAndBadgesProps {
|
|
16
|
+
/** The title: a heading, or whatever the caller draws. Always first on the line. */
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
badge?: TReqoreBadge | TReqoreBadge[];
|
|
19
|
+
/** The badges' size, as `ButtonBadge` takes it. */
|
|
20
|
+
badgeSize: TSizes;
|
|
21
|
+
/** The room between the title and its badges, in px, when they share a line. */
|
|
22
|
+
gap: number;
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A title and its badges, the badges moving under the title before any of it is cut. The one
|
|
27
|
+
* home for every heading that carries badges: the panel's title bar (and so every drawer, dialog
|
|
28
|
+
* and card built on it) and the accordion's headers.
|
|
29
|
+
*/
|
|
30
|
+
export declare const ReqoreTitleAndBadges: import("react").MemoExoticComponent<({ children, badge, badgeSize, gap, className }: IReqoreTitleAndBadgesProps) => import("react/jsx-runtime").JSX.Element>;
|
|
31
|
+
//# sourceMappingURL=TitleAndBadges.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TitleAndBadges.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/TitleAndBadges.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAW,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAoC,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGjF,OAAO,EAAe,YAAY,EAAE,MAAM,WAAW,CAAC;AAEtD,4DAA4D;AAC5D,eAAO,MAAM,sBAAsB,wCAAwC,CAAC;AAE5E;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAC3B,OAAO,YAAY,GAAG,YAAY,EAAE,GAAG,SAAS,EAChD,WAAW,MAAM,KAChB,MAQF,CAAC;AA0CF,MAAM,WAAW,0BAA0B;IACzC,oFAAoF;IACpF,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC;IACtC,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAC;IAClB,gFAAgF;IAChF,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,uFACkB,0BAA0B,6CA4B5E,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ReqoreTitleAndBadges = exports.getTextBadgeLead = exports.TITLE_AND_BADGES_CLASS = void 0;
|
|
11
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
12
|
+
var react_1 = require("react");
|
|
13
|
+
var styled_components_1 = require("styled-components");
|
|
14
|
+
var sizes_1 = require("../../constants/sizes");
|
|
15
|
+
var styled_1 = __importDefault(require("../../helpers/styled"));
|
|
16
|
+
var utils_1 = require("../../helpers/utils");
|
|
17
|
+
var Button_1 = require("../Button");
|
|
18
|
+
/** The class of the line a title shares with its badges. */
|
|
19
|
+
exports.TITLE_AND_BADGES_CLASS = 'reqore-panel-title-label-and-badges';
|
|
20
|
+
/**
|
|
21
|
+
* How far a text badge's words sit inside its box: the tag's side padding. Zero when the first
|
|
22
|
+
* badge on the left draws a box of its own (a chip), whose edge is then the badge's edge.
|
|
23
|
+
*
|
|
24
|
+
* Only the first badge on the left counts, because it is the one that starts the badges' line
|
|
25
|
+
* when they move under the title. A badge given `align: 'center'` or `'right'` is placed by that
|
|
26
|
+
* instead.
|
|
27
|
+
*/
|
|
28
|
+
var getTextBadgeLead = function (badge, badgeSize) {
|
|
29
|
+
var first = (Array.isArray(badge) ? badge : [badge]).find(function (item) { return typeof item !== 'object' || !(item === null || item === void 0 ? void 0 : item.align); });
|
|
30
|
+
return typeof first === 'object' && (first === null || first === void 0 ? void 0 : first.appearance) === 'text'
|
|
31
|
+
? sizes_1.TAG_HORIZONTAL_PADDING_FROM_SIZE[(0, utils_1.getOneLessSize)(badgeSize)]
|
|
32
|
+
: 0;
|
|
33
|
+
};
|
|
34
|
+
exports.getTextBadgeLead = getTextBadgeLead;
|
|
35
|
+
/**
|
|
36
|
+
* The title and its badges: on one line while both fit, and the badges on a line of their own
|
|
37
|
+
* under the title, on its left edge, the moment they do not.
|
|
38
|
+
*
|
|
39
|
+
* The badges give way first. A bar used to give them their own width and the title what was
|
|
40
|
+
* left, then cut the title: a 218px tile left its title 31px beside "Last 30 days" and two
|
|
41
|
+
* buttons, so it read "De…". The title is what names the thing and a badge says something about
|
|
42
|
+
* it, so the badges move before the title wraps, and the title then wraps before it shrinks and
|
|
43
|
+
* shrinks before it is cut (Filip, 2026-11-16; instruction-files decision 029).
|
|
44
|
+
*
|
|
45
|
+
* A wrapping flex line does exactly that: a line takes its items at their full width, so the
|
|
46
|
+
* badges stay beside the title only while the title's whole one-line width and theirs fit, and
|
|
47
|
+
* the title, always first, is never the item that moves. An icon stays outside it, so badges
|
|
48
|
+
* under the title line up with the title rather than the icon. `column-gap` is the room between
|
|
49
|
+
* the title and its badges, and a gap is only drawn between items on one line, so badges on their
|
|
50
|
+
* own line start on the title's edge.
|
|
51
|
+
*
|
|
52
|
+
* A text badge ("Last 30 days") draws no box, so its edge is its words, which sit the tag's
|
|
53
|
+
* padding inside it: the badges are pulled back by that much (`$textLead`) and the gap widened by
|
|
54
|
+
* as much, so beside the title the room is what it always was and under it the words start where
|
|
55
|
+
* the title's do (Filip, 2026-11-17).
|
|
56
|
+
*/
|
|
57
|
+
var StyledTitleAndBadges = styled_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n column-gap: ", "px;\n row-gap: 3px;\n min-width: 0;\n flex: 0 1 auto;\n\n ", "\n"], ["\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n column-gap: ", "px;\n row-gap: 3px;\n min-width: 0;\n flex: 0 1 auto;\n\n ", "\n"])), function (_a) {
|
|
58
|
+
var $gap = _a.$gap, $textLead = _a.$textLead;
|
|
59
|
+
return $gap + $textLead;
|
|
60
|
+
}, function (_a) {
|
|
61
|
+
var $textLead = _a.$textLead;
|
|
62
|
+
return $textLead > 0 && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n & > .reqore-tag-group:not(.reqore-tag-group ~ .reqore-tag-group) {\n margin-left: -", "px;\n }\n "], ["\n & > .reqore-tag-group:not(.reqore-tag-group ~ .reqore-tag-group) {\n margin-left: -", "px;\n }\n "])), $textLead);
|
|
63
|
+
});
|
|
64
|
+
/**
|
|
65
|
+
* A title and its badges, the badges moving under the title before any of it is cut. The one
|
|
66
|
+
* home for every heading that carries badges: the panel's title bar (and so every drawer, dialog
|
|
67
|
+
* and card built on it) and the accordion's headers.
|
|
68
|
+
*/
|
|
69
|
+
exports.ReqoreTitleAndBadges = (0, react_1.memo)(function (_a) {
|
|
70
|
+
var children = _a.children, badge = _a.badge, badgeSize = _a.badgeSize, gap = _a.gap, className = _a.className;
|
|
71
|
+
var hasBadge = !!badge || badge === 0;
|
|
72
|
+
var textLead = (0, react_1.useMemo)(function () { return (hasBadge ? (0, exports.getTextBadgeLead)(badge, badgeSize) : 0); }, [hasBadge, badge, badgeSize]);
|
|
73
|
+
return ((0, jsx_runtime_1.jsxs)(StyledTitleAndBadges, { className: "".concat(exports.TITLE_AND_BADGES_CLASS, " ").concat(className || '').trim(), "$gap": gap, "$textLead": textLead, children: [children, hasBadge ? ((0, jsx_runtime_1.jsx)(Button_1.ButtonBadge, { size: badgeSize, content: badge,
|
|
74
|
+
// A group sits beside the title only at its full width, so it wraps only on a line
|
|
75
|
+
// of its own, where badges wider than the line fold onto another rather than run
|
|
76
|
+
// past the bar.
|
|
77
|
+
wrapGroup: true, margin: 'none' })) : null] }));
|
|
78
|
+
});
|
|
79
|
+
exports.ReqoreTitleAndBadges.displayName = 'ReqoreTitleAndBadges';
|
|
80
|
+
var templateObject_1, templateObject_2;
|
|
81
|
+
//# sourceMappingURL=TitleAndBadges.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TitleAndBadges.js","sourceRoot":"","sources":["../../../src/components/Panel/TitleAndBadges.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,+BAAiD;AACjD,uDAAwC;AACxC,+CAAiF;AACjF,gEAA0C;AAC1C,6CAAqD;AACrD,oCAAsD;AAEtD,4DAA4D;AAC/C,QAAA,sBAAsB,GAAG,qCAAqC,CAAC;AAE5E;;;;;;;GAOG;AACI,IAAM,gBAAgB,GAAG,UAC9B,KAAgD,EAChD,SAAiB;IAEjB,IAAM,KAAK,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,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,EAAnD,CAAmD,EACzD,CAAC,QAAQ,EAAE,KAAK,EAAE,SAAS,CAAC,CAC7B,CAAC;IAEF,OAAO,CACL,wBAAC,oBAAoB,IACnB,SAAS,EAAE,UAAG,8BAAsB,cAAI,SAAS,IAAI,EAAE,CAAE,CAAC,IAAI,EAAE,UAC1D,GAAG,eACE,QAAQ,aAElB,QAAQ,EACR,QAAQ,CAAC,CAAC,CAAC,CACV,uBAAC,oBAAW,IACV,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,KAAK;gBACd,mFAAmF;gBACnF,iFAAiF;gBACjF,gBAAgB;gBAChB,SAAS,QACT,MAAM,EAAC,MAAM,GACb,CACH,CAAC,CAAC,CAAC,IAAI,IACa,CACxB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,4BAAoB,CAAC,WAAW,GAAG,sBAAsB,CAAC"}
|
|
@@ -146,6 +146,22 @@ export interface IReqorePanelProps extends IReqoreComponent, IWithReqoreSize, IW
|
|
|
146
146
|
* @default 2
|
|
147
147
|
*/
|
|
148
148
|
descriptionMaxLines?: number;
|
|
149
|
+
/**
|
|
150
|
+
* The most height a description that is not clamped (`descriptionMaxLines={0}`, or a clamped
|
|
151
|
+
* one opened by a click) takes — any CSS length — before it scrolls in its own box, with the
|
|
152
|
+
* title above it and the actions below it left where they are. For a panel whose height is
|
|
153
|
+
* bounded, a dialog above all: there a message longer than the screen pushed the panel's own
|
|
154
|
+
* buttons out of reach. Unset, the description is as tall as its text. `ReqoreModal` sets
|
|
155
|
+
* `'50vh'`.
|
|
156
|
+
*/
|
|
157
|
+
descriptionMaxHeight?: string;
|
|
158
|
+
/**
|
|
159
|
+
* The corner radius, in px, of a rounded container the panel sits flush in — a stacked
|
|
160
|
+
* `ReqoreCollection`, which clips its square rows into one rounded block. The title bar, the
|
|
161
|
+
* padded content and the bottom actions clear that corner as they clear the panel's own
|
|
162
|
+
* (`clearCorner`). Unset, only the panel's own corner counts.
|
|
163
|
+
*/
|
|
164
|
+
enclosingRadius?: number;
|
|
149
165
|
/**
|
|
150
166
|
* How many lines the title may wrap to before it is ellipsized. `1` (the default) is today's
|
|
151
167
|
* behaviour: one line, cut with an ellipsis the moment it runs out of room.
|
|
@@ -254,11 +270,16 @@ export interface IStyledPanel extends Omit<IReqorePanelProps, 'accentSize'> {
|
|
|
254
270
|
* its visible top edge. Internal — the component measures it; callers use
|
|
255
271
|
* `stickyHeaderOffset` to shift a header deliberately. */
|
|
256
272
|
stickyHeaderInset?: number;
|
|
273
|
+
/** The header is actually pinned: `stickyHeader` is on AND the panel is more than
|
|
274
|
+
* `STICKY_HEADER_TALL_SCREENS` times the height of its scroll area. */
|
|
275
|
+
$pins?: boolean;
|
|
257
276
|
/** True when the description is rendered as its own full-width row under the bar. The bar
|
|
258
277
|
* must wrap for that row to exist at all. */
|
|
259
278
|
$descriptionBelow?: boolean;
|
|
260
279
|
/** Resolved line cap for the description, or 0 for "no cap". */
|
|
261
280
|
$descriptionMaxLines?: number;
|
|
281
|
+
/** The height an unclamped description scrolls past, or unset for none. */
|
|
282
|
+
$descriptionMaxHeight?: string;
|
|
262
283
|
/** Description size in px once the title has been fitted, or 0 to leave it at its own. */
|
|
263
284
|
$descriptionFontPx?: number;
|
|
264
285
|
/** Always a resolved pixel number — the component maps `TSizes` names before
|
|
@@ -271,7 +292,23 @@ export interface IStyledPanel extends Omit<IReqorePanelProps, 'accentSize'> {
|
|
|
271
292
|
/** True when `media` sits above the title bar: the bar is not the panel's top edge, so a
|
|
272
293
|
* sticky header has no top corners to round. */
|
|
273
294
|
$mediaAbove?: boolean;
|
|
295
|
+
/** The panel's inner corner radius (its radius less its border), or 0 when it draws no
|
|
296
|
+
* corner. The title bar, the padded content and the bottom actions pad their sides by at
|
|
297
|
+
* least this, so what they hold starts clear of the curve and on one left edge
|
|
298
|
+
* (`clearCorner`). */
|
|
299
|
+
$cornerInset?: number;
|
|
274
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* How many screens of its scroll area a panel must span before a `stickyHeader` pins.
|
|
303
|
+
*
|
|
304
|
+
* A pinned header is for finding your place in a long panel whose header has scrolled away. A
|
|
305
|
+
* panel that fits on the screen, or nearly does, never puts you there: its header pinned for
|
|
306
|
+
* the few pixels it overhung and drew a band with nothing under it to label (Filip,
|
|
307
|
+
* 2026-11-16: "it looks really dumb"). Just over one screen is not enough - a 311px card in a
|
|
308
|
+
* 264px area pinned for its 47px of overhang - so the line is one and a half. The rule is
|
|
309
|
+
* shared by every Qore app (instruction-files decision 028).
|
|
310
|
+
*/
|
|
311
|
+
export declare const STICKY_HEADER_TALL_SCREENS = 1.5;
|
|
275
312
|
export declare const StyledPanelTitleHeader: any;
|
|
276
313
|
export declare const StyledPanelTitleHeaderContent: any;
|
|
277
314
|
export declare const StyledPanelTitleHeaderLabelAndDescription: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAa,cAAc,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAGL,YAAY,EAOb,MAAM,OAAO,CAAC;AAMf,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAa,cAAc,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAGL,YAAY,EAOb,MAAM,OAAO,CAAC;AAMf,OAAO,EAWL,MAAM,EACP,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AASpE,OAAe,EAIb,oBAAoB,EACrB,MAAM,sBAAsB,CAAC;AAa9B,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,sBAAsB,EACtB,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,oBAAoB,CAA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