trepur_components 0.2.45 → 0.2.48
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.
|
@@ -43,14 +43,15 @@ const InformationIcon = _ref => {
|
|
|
43
43
|
let loaded = (0, _react.useRef)(false);
|
|
44
44
|
let imageClassList = 'mx-auto pt-2 ';
|
|
45
45
|
imageClassList += imageClasses ? imageClasses : '';
|
|
46
|
-
|
|
46
|
+
const wrapperClasses = 'h-96 flex items-center justify-center text-center py-12 hover:py-0 ease-out duration-300';
|
|
47
|
+
let classList = 'flex flex-col items-center justify-center text-center w-full h-full mx-12 my-12 ease-out duration-300 hover:m-0 hover:text-sm ';
|
|
47
48
|
classList += bordered ? 'border ' : '';
|
|
48
49
|
classList += rounded ? 'rounded-2xl ' : '';
|
|
49
50
|
classList += classes ? classes : '';
|
|
50
51
|
const numberClass = number !== null ? 'text-lg' : '';
|
|
51
52
|
const numberClasses = 'text-center ' + numberClass;
|
|
52
53
|
const textClass = number === null ? ' text-lg ' : '';
|
|
53
|
-
const textClasses = 'text-center px-2 text-md md:text-lg
|
|
54
|
+
const textClasses = 'h-24 flex items-center justify-center text-center px-2 text-md md:text-lg ' + textClass;
|
|
54
55
|
|
|
55
56
|
const counterAnimation = (obj, start, end, duration) => {
|
|
56
57
|
let startTimestamp = null;
|
|
@@ -104,7 +105,8 @@ const InformationIcon = _ref => {
|
|
|
104
105
|
|
|
105
106
|
|
|
106
107
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
107
|
-
id: "wrapper"
|
|
108
|
+
id: "wrapper",
|
|
109
|
+
className: wrapperClasses
|
|
108
110
|
}, /*#__PURE__*/_react.default.createElement("div", _extends({}, id && {
|
|
109
111
|
id: id
|
|
110
112
|
}, {
|