powr-sdk-web 3.4.5 → 3.4.7

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.
@@ -177,11 +177,11 @@ var PowrBaseFeedsAdmin = function PowrBaseFeedsAdmin(_ref) {
177
177
  className: "flex items-center"
178
178
  }, /*#__PURE__*/_react["default"].createElement("div", {
179
179
  className: "w-8 h-8 bg-blue-500 rounded-full flex items-center justify-center text-white text-sm font-semibold"
180
- }, ((_post$author = post.author) === null || _post$author === void 0 || (_post$author = _post$author.name) === null || _post$author === void 0 ? void 0 : _post$author.charAt(0)) || 'U'), /*#__PURE__*/_react["default"].createElement("div", {
180
+ }, ((_post$author = post.author) === null || _post$author === void 0 || (_post$author = _post$author.fullName) === null || _post$author === void 0 ? void 0 : _post$author.charAt(0)) || 'U'), /*#__PURE__*/_react["default"].createElement("div", {
181
181
  className: "ml-3"
182
182
  }, /*#__PURE__*/_react["default"].createElement("div", {
183
183
  className: "text-sm font-medium text-gray-900"
184
- }, ((_post$author2 = post.author) === null || _post$author2 === void 0 ? void 0 : _post$author2.name) || 'Unknown User'), /*#__PURE__*/_react["default"].createElement("div", {
184
+ }, ((_post$author2 = post.author) === null || _post$author2 === void 0 ? void 0 : _post$author2.fullName) || 'Unknown User'), /*#__PURE__*/_react["default"].createElement("div", {
185
185
  className: "text-sm text-gray-500"
186
186
  }, (_post$author3 = post.author) === null || _post$author3 === void 0 ? void 0 : _post$author3.email)))), /*#__PURE__*/_react["default"].createElement("td", {
187
187
  className: "px-6 py-4"
@@ -301,9 +301,9 @@ var CreatePost = function CreatePost(_ref) {
301
301
  disabled: isSubmitting || !content.trim() && media.length === 0,
302
302
  style: {
303
303
  padding: '12px 24px',
304
- backgroundColor: !content.trim() && media.length === 0 ? '#9ca3af' : '#16a34a',
304
+ backgroundColor: !content.trim() && media.length === 0 ? '#9ca3af' : 'hsl(24, 100%, 50%)',
305
305
  color: 'white',
306
- border: "2px solid ".concat(!content.trim() && media.length === 0 ? '#9ca3af' : '#16a34a'),
306
+ border: "2px solid ".concat(!content.trim() && media.length === 0 ? '#9ca3af' : 'hsl(24, 100%, 50%)'),
307
307
  borderRadius: '8px',
308
308
  fontSize: '16px',
309
309
  fontWeight: 'bold',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powr-sdk-web",
3
- "version": "3.4.5",
3
+ "version": "3.4.7",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "babel src -d dist --copy-files",