trepur_components 0.2.49 → 0.2.52

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.
@@ -39,7 +39,6 @@ const Nav = _ref => {
39
39
  hoverMobileNavButtonBgColor,
40
40
  hoverMobileNavButtonColor,
41
41
  asSideBar,
42
- logo,
43
42
  mobileNavCloseColor,
44
43
  sideBarWidth,
45
44
  dropdownNavHeight,
@@ -78,7 +77,7 @@ const Nav = _ref => {
78
77
 
79
78
  const openSideNav = () => {
80
79
  setSideNavWidth({
81
- 'width': "".concat(sideBarWidth, "px"),
80
+ 'width': "".concat(sideBarWidth),
82
81
  'backgroundColor': mobileBgColor ? mobileBgColor : bgColor,
83
82
  'padding-right': '10px'
84
83
  });
@@ -190,7 +189,7 @@ const Nav = _ref => {
190
189
  className: 'flex ' + firstRowClasses
191
190
  }, firstRow && firstRow.map(rowItem => {
192
191
  return /*#__PURE__*/_react.default.createElement(_Column.default, {
193
- classes: 'h-16 ' + rowItem.columnClasses,
192
+ classes: 'h-16' + rowItem.columnClasses ? " ".concat(rowItem.columnClasses) : '',
194
193
  sm: rowItem.smColumnWidth,
195
194
  md: rowItem.columnWidth,
196
195
  lg: rowItem.lgColumnWidth,
@@ -202,7 +201,7 @@ const Nav = _ref => {
202
201
  className: 'flex ' + secondRowClasses
203
202
  }, secondRow && secondRow.map(rowItem => {
204
203
  return /*#__PURE__*/_react.default.createElement(_Column.default, {
205
- classes: "h-16 ",
204
+ classes: "h-16",
206
205
  sm: rowItem.smColumnWidth,
207
206
  md: rowItem.columnWidth,
208
207
  lg: rowItem.lgColumnWidth,
@@ -21,7 +21,7 @@ const TextAndTitle = _ref => {
21
21
  classes,
22
22
  titleClasses,
23
23
  textClasses,
24
- text,
24
+ children,
25
25
  title,
26
26
  titleBold,
27
27
  bgColor,
@@ -55,10 +55,10 @@ const TextAndTitle = _ref => {
55
55
  }), /*#__PURE__*/_react.default.createElement("p", {
56
56
  style: titleStyles,
57
57
  className: titleClassList
58
- }, title), /*#__PURE__*/_react.default.createElement("p", {
58
+ }, title), /*#__PURE__*/_react.default.createElement("div", {
59
59
  style: textStyles,
60
60
  className: textClassList
61
- }, text));
61
+ }, children));
62
62
  };
63
63
 
64
64
  var _default = TextAndTitle;
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.49",
5
+ "version": "0.2.52",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "react",