powr-sdk-web 3.4.3 → 3.4.4

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.
@@ -288,12 +288,27 @@ var CreatePost = function CreatePost(_ref) {
288
288
  }), /*#__PURE__*/_react["default"].createElement("p", {
289
289
  className: "text-xs text-gray-500 mt-1"
290
290
  }, "Supported: Images, PDF, DOC, DOCX, TXT")), /*#__PURE__*/_react["default"].createElement("div", {
291
- className: "flex justify-end mt-4",
291
+ className: "flex justify-end mt-4 gap-2",
292
292
  style: {
293
293
  position: 'relative',
294
294
  zIndex: 10
295
295
  }
296
296
  }, /*#__PURE__*/_react["default"].createElement("button", {
297
+ type: "button",
298
+ onClick: function onClick() {
299
+ return alert('Test button works!');
300
+ },
301
+ style: {
302
+ padding: '12px 24px',
303
+ backgroundColor: 'red',
304
+ color: 'white',
305
+ border: 'none',
306
+ borderRadius: '8px',
307
+ fontSize: '16px',
308
+ fontWeight: 'bold',
309
+ cursor: 'pointer'
310
+ }
311
+ }, "Test Button"), /*#__PURE__*/_react["default"].createElement("button", {
297
312
  type: "submit",
298
313
  disabled: isSubmitting,
299
314
  className: "px-8 py-3 bg-green-600 text-white rounded-lg hover:bg-green-700 disabled:opacity-50 disabled:cursor-not-allowed text-lg font-semibold border-2 border-green-600 shadow-lg",
@@ -302,8 +317,12 @@ var CreatePost = function CreatePost(_ref) {
302
317
  minHeight: '48px',
303
318
  position: 'relative',
304
319
  zIndex: 5,
305
- opacity: 1,
306
- visibility: 'visible'
320
+ opacity: '1 !important',
321
+ visibility: 'visible !important',
322
+ display: 'block !important',
323
+ backgroundColor: '#16a34a !important',
324
+ color: 'white !important',
325
+ border: '2px solid #16a34a !important'
307
326
  }
308
327
  }, isSubmitting ? 'Posting...' : 'Post'))));
309
328
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powr-sdk-web",
3
- "version": "3.4.3",
3
+ "version": "3.4.4",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "babel src -d dist --copy-files",