@longline/aqua-ui 1.0.154 → 1.0.156
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.
|
@@ -35,14 +35,14 @@ var ContentBase = function (props) {
|
|
|
35
35
|
};
|
|
36
36
|
var Padding = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (p) { return p.$padded == true && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 10px 22px 10px 22px;\n "], ["\n padding: 10px 22px 10px 22px;\n "]))); });
|
|
37
37
|
var PaneContent = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: relative;\n flex: 1;\n box-sizing: border-box;\n"], ["\n position: relative;\n flex: 1;\n box-sizing: border-box;\n"])));
|
|
38
|
-
var ContentStyled = styled(ContentBase)(
|
|
38
|
+
var ContentStyled = styled(ContentBase)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n // Size:\n position: relative;\n box-sizing: border-box;\n ", "\n flex: 1;\n\n // Content:\n display: flex;\n\n // Appearance:\n color: ", ";\n font: ", ";\n\n // Behavior:\n pointer-events: all; // undo InfoBox's events blocking.\n"], ["\n // Size:\n position: relative;\n box-sizing: border-box;\n ", "\n flex: 1;\n\n // Content:\n display: flex;\n\n // Appearance:\n color: ", ";\n font: ", ";\n\n // Behavior:\n pointer-events: all; // undo InfoBox's events blocking.\n"
|
|
39
39
|
/**
|
|
40
40
|
* InfoBox.Content fills up all vertical space it can get.
|
|
41
41
|
*/
|
|
42
|
-
])), function (p) { return p.minHeight
|
|
42
|
+
])), function (p) { return p.minHeight && css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n min-height: ", "px;\n "], ["\n min-height: ", "px;\n "])), p.minHeight); }, function (p) { return p.theme.colors.neutral[100]; }, function (p) { return p.theme.font.bodyMedium; });
|
|
43
43
|
/**
|
|
44
44
|
* InfoBox.Content fills up all vertical space it can get.
|
|
45
45
|
*/
|
|
46
46
|
var Content = function (props) { return React.createElement(ContentStyled, __assign({}, props)); };
|
|
47
47
|
export { Content };
|
|
48
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
|
48
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
@@ -19,7 +19,7 @@ var HEIGHT = 24; // Hint height (px)
|
|
|
19
19
|
var HintBase = React.forwardRef(function (props, ref) {
|
|
20
20
|
return React.createElement("div", __assign({ ref: ref, style: props.styles }, props.attributes, { className: props.className }), props.children);
|
|
21
21
|
});
|
|
22
|
-
var HintStyled = styled(HintBase)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: absolute;\n height: ", "px;\n padding: 0 12px 0 12px;\n margin: 0
|
|
22
|
+
var HintStyled = styled(HintBase)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: absolute;\n height: ", "px;\n padding: 0 12px 0 12px;\n margin: 0 12px 0 12px;\n font: ", ";\n z-index: 1000;\n\n // Border:\n border-radius: ", "px;\n\n // Color:\n background-color: ", ";\n color: ", ";\n white-space: nowrap;\n pointer-events: none;\n user-select: none;\n transition: opacity ease-in-out ", "ms;\n opacity: 0;\n\n // Content:\n display: flex;\n align-items: center;\n gap: 4px;\n"], ["\n position: absolute;\n height: ", "px;\n padding: 0 12px 0 12px;\n margin: 0 12px 0 12px;\n font: ", ";\n z-index: 1000;\n\n // Border:\n border-radius: ", "px;\n\n // Color:\n background-color: ", ";\n color: ", ";\n white-space: nowrap;\n pointer-events: none;\n user-select: none;\n transition: opacity ease-in-out ", "ms;\n opacity: 0;\n\n // Content:\n display: flex;\n align-items: center;\n gap: 4px;\n"
|
|
23
23
|
/**
|
|
24
24
|
* A Hint appears next to a parent control, at the specified side (left or
|
|
25
25
|
* right), with an optional offset.
|