trepur_components 0.2.42 → 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.
- package/dist/{lib/components → components}/Accordion/index.js +0 -0
- package/dist/{lib/components → components}/AlertBar/index.js +0 -0
- package/dist/{lib/components → components}/Breadcrumbs/index.js +0 -0
- package/dist/{lib/components → components}/BreadcrumbsBordered/index.js +0 -0
- package/dist/{lib/components → components}/BreadcrumbsItem/index.css +0 -0
- package/dist/{lib/components → components}/BreadcrumbsItem/index.js +0 -0
- package/dist/{lib/components → components}/Button/index.css +0 -0
- package/dist/{lib/components → components}/Button/index.js +0 -0
- package/dist/{lib/components → components}/Card/index.js +0 -0
- package/dist/{lib/components → components}/CardWithTopImage/index.css +0 -0
- package/dist/{lib/components → components}/CardWithTopImage/index.js +0 -0
- package/dist/{lib/components → components}/Carousel/index.js +0 -0
- package/dist/{lib/components → components}/ChevronCard/index.js +0 -0
- package/dist/{lib/components → components}/Collapsible/index.js +0 -0
- package/dist/{lib/components → components}/Column/index.js +0 -0
- package/dist/{lib/components → components}/Form/index.js +0 -0
- package/dist/{lib/components → components}/FyreCard/index.js +0 -0
- package/dist/{lib/components → components}/Icon/index.js +0 -0
- package/dist/{lib/components → components}/Image/index.js +0 -0
- package/dist/{lib/components → components}/ImageLink/index.js +0 -0
- package/dist/{lib/components → components}/ImageLinkList/index.js +0 -0
- package/dist/{lib/components → components}/InformationIcon/index.js +5 -8
- package/dist/{lib/components → components}/Input/index.js +0 -0
- package/dist/{lib/components → components}/Jumbotron/index.js +0 -0
- package/dist/{lib/components → components}/Nav/index.js +0 -0
- package/dist/{lib/components → components}/NavItem/index.js +0 -0
- package/dist/{lib/components → components}/NewsCard/index.js +0 -0
- package/dist/{lib/components → components}/Profile/index.js +0 -0
- package/dist/{lib/components → components}/Row/index.js +0 -0
- package/dist/{lib/components → components}/Search/index.js +0 -0
- package/dist/{lib/components → components}/StarRating/index.css +0 -0
- package/dist/{lib/components → components}/StarRating/index.js +0 -0
- package/dist/{lib/components → components}/Testimonial/index.js +5 -3
- package/dist/{lib/components → components}/TextAndTitle/index.js +1 -1
- package/dist/{lib/components → components}/TextArea/index.js +0 -0
- package/dist/{lib/components → components}/Timeline/index.css +0 -0
- package/dist/{lib/components → components}/Timeline/index.js +0 -0
- package/dist/{lib/components → components}/Tubestops/index.css +0 -0
- package/dist/{lib/components → components}/Tubestops/index.js +0 -0
- package/dist/{lib/components → components}/UserIcon/index.js +0 -0
- package/dist/{lib/components → components}/Video/index.js +0 -0
- package/dist/{lib/components → components}/index.css +8 -8
- package/dist/{lib/index.js → index.js} +0 -0
- package/package.json +2 -4
- package/dist/lib/components/InformationIcon/index.css +0 -5
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -15,8 +15,6 @@ var _Icon = _interopRequireDefault(require("../Icon"));
|
|
|
15
15
|
|
|
16
16
|
require("../index.css");
|
|
17
17
|
|
|
18
|
-
require("./index.css");
|
|
19
|
-
|
|
20
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
19
|
|
|
22
20
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -45,14 +43,14 @@ const InformationIcon = _ref => {
|
|
|
45
43
|
let loaded = (0, _react.useRef)(false);
|
|
46
44
|
let imageClassList = 'mx-auto pt-2 ';
|
|
47
45
|
imageClassList += imageClasses ? imageClasses : '';
|
|
48
|
-
let classList = 'flex flex-col my-
|
|
46
|
+
let classList = 'flex flex-col mx-12 pt-4 hover:h-full hover:my-0 hover:mx-0 hover:text-sm ';
|
|
49
47
|
classList += bordered ? 'border ' : '';
|
|
50
48
|
classList += rounded ? 'rounded-2xl ' : '';
|
|
51
49
|
classList += classes ? classes : '';
|
|
52
|
-
const numberClass = number !== null
|
|
50
|
+
const numberClass = number !== null ? 'text-lg' : '';
|
|
53
51
|
const numberClasses = 'text-center ' + numberClass;
|
|
54
|
-
const textClass = number === null
|
|
55
|
-
const textClasses = 'text-center px-2 ' + textClass;
|
|
52
|
+
const textClass = number === null ? ' text-lg ' : '';
|
|
53
|
+
const textClasses = 'text-center px-2 text-md md:text-lg hover:pb-4 ' + textClass;
|
|
56
54
|
|
|
57
55
|
const counterAnimation = (obj, start, end, duration) => {
|
|
58
56
|
let startTimestamp = null;
|
|
@@ -106,8 +104,7 @@ const InformationIcon = _ref => {
|
|
|
106
104
|
|
|
107
105
|
|
|
108
106
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
109
|
-
id: "wrapper"
|
|
110
|
-
className: "h-48"
|
|
107
|
+
id: "wrapper"
|
|
111
108
|
}, /*#__PURE__*/_react.default.createElement("div", _extends({}, id && {
|
|
112
109
|
id: id
|
|
113
110
|
}, {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -51,9 +51,11 @@ const Testimonial = _ref => {
|
|
|
51
51
|
src: image,
|
|
52
52
|
alt: altText
|
|
53
53
|
}), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("p", {
|
|
54
|
-
className: "text-
|
|
55
|
-
}, companyName, "
|
|
56
|
-
className: "text-
|
|
54
|
+
className: "text-md md:text-lg"
|
|
55
|
+
}, companyName, " "), /*#__PURE__*/_react.default.createElement("p", {
|
|
56
|
+
className: "text-md md:text-lg"
|
|
57
|
+
}, position), /*#__PURE__*/_react.default.createElement("p", null, positionStartDate, " - ", positionEndDate), /*#__PURE__*/_react.default.createElement("p", null, text), /*#__PURE__*/_react.default.createElement("p", {
|
|
58
|
+
className: "text-grey"
|
|
57
59
|
}, authorsName, " - ", authorsPosition, ": ", date)));
|
|
58
60
|
};
|
|
59
61
|
|
|
@@ -31,7 +31,7 @@ const TextAndTitle = _ref => {
|
|
|
31
31
|
titleCenter
|
|
32
32
|
} = _ref;
|
|
33
33
|
let classList = classes ? classes : '';
|
|
34
|
-
let titleClassList = 'text-
|
|
34
|
+
let titleClassList = 'text-md sm:text-lg ';
|
|
35
35
|
titleClassList += titleBold ? 'font-bold ' : '';
|
|
36
36
|
titleClassList += titleCenter ? 'text-center ' : '';
|
|
37
37
|
titleClassList += titleClasses ? titleClasses : '';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -5,56 +5,56 @@
|
|
|
5
5
|
|
|
6
6
|
@font-face {
|
|
7
7
|
font-family: "Sora";
|
|
8
|
-
src: url("
|
|
8
|
+
src: url("../fonts/Sora/static/Sora-Thin.ttf") format("truetype");
|
|
9
9
|
font-weight: 100;
|
|
10
10
|
font-style: normal;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@font-face {
|
|
14
14
|
font-family: "Sora";
|
|
15
|
-
src: url("
|
|
15
|
+
src: url("../fonts/Sora/static/Sora-ExtraLight.ttf") format("truetype");
|
|
16
16
|
font-weight: 200;
|
|
17
17
|
font-style: normal;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
@font-face {
|
|
21
21
|
font-family: "Sora";
|
|
22
|
-
src: url("
|
|
22
|
+
src: url("../fonts/Sora/static/Sora-Light.ttf") format("truetype");
|
|
23
23
|
font-weight: 300;
|
|
24
24
|
font-style: normal;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
@font-face {
|
|
28
28
|
font-family: "Sora";
|
|
29
|
-
src: url("
|
|
29
|
+
src: url("../fonts/Sora/static/Sora-Regular.ttf") format("truetype");
|
|
30
30
|
font-weight: 400;
|
|
31
31
|
font-style: normal;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
@font-face {
|
|
35
35
|
font-family: "Sora";
|
|
36
|
-
src: url("
|
|
36
|
+
src: url("../fonts/Sora/static/Sora-Medium.ttf") format("truetype");
|
|
37
37
|
font-weight: 500;
|
|
38
38
|
font-style: normal;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
@font-face {
|
|
42
42
|
font-family: "Sora";
|
|
43
|
-
src: url("
|
|
43
|
+
src: url("../fonts/Sora/static/Sora-SemiBold.ttf") format("truetype");
|
|
44
44
|
font-weight: 600;
|
|
45
45
|
font-style: normal;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
@font-face {
|
|
49
49
|
font-family: "Sora";
|
|
50
|
-
src: url("
|
|
50
|
+
src: url("../fonts/Sora/static/Sora-Bold.ttf") format("truetype");
|
|
51
51
|
font-weight: 700;
|
|
52
52
|
font-style: normal;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
@font-face {
|
|
56
56
|
font-family: "Sora";
|
|
57
|
-
src: url("
|
|
57
|
+
src: url("../fonts/Sora/static/Sora-ExtraBold.ttf") format("truetype");
|
|
58
58
|
font-weight: 800;
|
|
59
59
|
font-style: normal;
|
|
60
60
|
}
|
|
File without changes
|
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.
|
|
5
|
+
"version": "0.2.45",
|
|
6
6
|
"private": false,
|
|
7
7
|
"keywords": [
|
|
8
8
|
"react",
|
|
@@ -29,9 +29,7 @@
|
|
|
29
29
|
"web-vitals": "^2.1.4"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
|
-
"build
|
|
33
|
-
"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",
|
|
34
|
-
"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",
|
|
35
33
|
"eject": "react-scripts eject",
|
|
36
34
|
"storybook": "start-storybook -p 6006",
|
|
37
35
|
"build-storybook": "build-storybook -s public"
|