px-react-ui-components 1.1.26 → 1.1.27

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.
@@ -271,10 +271,10 @@ function MyFileUpload({
271
271
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
272
272
  style: {
273
273
  display: 'flex',
274
- flexDirection: 'row',
274
+ flexDirection: 'column',
275
275
  gap: '1px'
276
276
  },
277
- children: [label && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
277
+ children: [label && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
278
278
  style: {
279
279
  display: "block",
280
280
  fontSize: 11,
@@ -286,12 +286,21 @@ function MyFileUpload({
286
286
  letterSpacing: "0.05em"
287
287
  },
288
288
  className: labelClassName ? labelClassName : '',
289
- children: [label, " ", required && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
289
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
290
290
  style: {
291
- color: 'red'
291
+ display: 'flex',
292
+ flexDirection: 'row',
293
+ gap: '5px'
292
294
  },
293
- children: "*"
294
- })]
295
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
296
+ children: label
297
+ }), required && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
298
+ style: {
299
+ color: 'red'
300
+ },
301
+ children: "*"
302
+ })]
303
+ })
295
304
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
296
305
  className: _MyFileUploadModule.default.myFileUploadContainer + (className != null ? " " + className : ''),
297
306
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "px-react-ui-components",
3
- "version": "1.1.26",
3
+ "version": "1.1.27",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "commonjs",