@longline/aqua-ui 1.0.238 → 1.0.240
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/package.json
CHANGED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
-
return cooked;
|
|
4
|
-
};
|
|
5
|
-
var __assign = (this && this.__assign) || function () {
|
|
6
|
-
__assign = Object.assign || function(t) {
|
|
7
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8
|
-
s = arguments[i];
|
|
9
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
10
|
-
t[p] = s[p];
|
|
11
|
-
}
|
|
12
|
-
return t;
|
|
13
|
-
};
|
|
14
|
-
return __assign.apply(this, arguments);
|
|
15
|
-
};
|
|
16
|
-
import * as React from 'react';
|
|
17
|
-
import styled from 'styled-components';
|
|
18
|
-
var HistogramSingleValueBase = function (props) {
|
|
19
|
-
return React.createElement("div", { className: props.className },
|
|
20
|
-
React.createElement("svg", { viewBox: "0 0 100 100", x: "0", y: "0" },
|
|
21
|
-
React.createElement("text", { x: "50%", y: "55", textLength: "100%", textAnchor: "middle", lengthAdjust: "spacingAndGlyphs" }, props.value)));
|
|
22
|
-
};
|
|
23
|
-
var HistogramSingleValueStyled = styled(HistogramSingleValueBase)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n &>svg {\n width: 100%;\n height: 100%;\n font-weight: 500;\n fill: #333;\n user-select: none;\n }\n"], ["\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n &>svg {\n width: 100%;\n height: 100%;\n font-weight: 500;\n fill: #333;\n user-select: none;\n }\n"])));
|
|
24
|
-
var HistogramSingleValue = function (props) { return React.createElement(HistogramSingleValueStyled, __assign({}, props)); };
|
|
25
|
-
export { HistogramSingleValue };
|
|
26
|
-
var templateObject_1;
|