trepur_components 0.2.44 → 0.2.45

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.
@@ -47,10 +47,10 @@ const InformationIcon = _ref => {
47
47
  classList += bordered ? 'border ' : '';
48
48
  classList += rounded ? 'rounded-2xl ' : '';
49
49
  classList += classes ? classes : '';
50
- const numberClass = number !== null && 'text-lg';
50
+ const numberClass = number !== null ? 'text-lg' : '';
51
51
  const numberClasses = 'text-center ' + numberClass;
52
- const textClass = number === null && ' text-lg ';
53
- const textClasses = 'text-center px-2 text-md md:text-lg ' + textClass;
52
+ const textClass = number === null ? ' text-lg ' : '';
53
+ const textClasses = 'text-center px-2 text-md md:text-lg hover:pb-4 ' + textClass;
54
54
 
55
55
  const counterAnimation = (obj, start, end, duration) => {
56
56
  let startTimestamp = null;
@@ -104,8 +104,7 @@ const InformationIcon = _ref => {
104
104
 
105
105
 
106
106
  return /*#__PURE__*/_react.default.createElement("div", {
107
- id: "wrapper",
108
- className: "h-56"
107
+ id: "wrapper"
109
108
  }, /*#__PURE__*/_react.default.createElement("div", _extends({}, id && {
110
109
  id: id
111
110
  }, {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "trepur_components",
3
3
  "description": "component lib",
4
4
  "author": "trepur_ttenneb",
5
- "version": "0.2.44",
5
+ "version": "0.2.45",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "react",
@@ -29,10 +29,7 @@
29
29
  "web-vitals": "^2.1.4"
30
30
  },
31
31
  "scripts": {
32
- "build-old": "NODE_ENV=production babel src/lib --out-dir dist --ignore src/**/*.stories.js --copy-files --no-copy-ignored && rm -rf dist/utils dist/assets",
33
- "build-test": "NODE_ENV=production babel src/lib --out-dir dist --ignore src/**/*.stories.js --copy-files --no-copy-ignored && rm -rf dist/utils dist/assets && rm -rf dist/typography",
34
- "build-working": "NODE_ENV=production babel src --out-dir dist --ignore src/**/*.stories.js --copy-files --no-copy-ignored && rm -rf dist/utils dist/assets && rm -rf dist/lib && rm -rf dist/typography",
35
- "build": "NODE_ENV=production babel src --out-dir dist --ignore src/**/*.stories.js --copy-files --no-copy-ignored && rm -rf dist/lib/utils dist/lib/assets && rm -rf dist/lib/typography",
32
+ "build": "NODE_ENV=production babel src/lib --out-dir dist --ignore src/**/*.stories.js --copy-files --no-copy-ignored && rm -rf dist/utils dist/assets && rm -rf dist/typography",
36
33
  "eject": "react-scripts eject",
37
34
  "storybook": "start-storybook -p 6006",
38
35
  "build-storybook": "build-storybook -s public"
@@ -1,5 +0,0 @@
1
- #wrapper:hover div {
2
- margin: 5px;
3
- margin-bottom: 5px;
4
- font-size: 24px
5
- }