px-react-ui-components 1.0.10 → 1.0.12

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/README.md CHANGED
@@ -20,7 +20,7 @@ A modern, customizable React UI components library designed to simplify web deve
20
20
  npm install px-react-ui-components
21
21
 
22
22
  # Install required peer dependencies
23
- npm install react@^18.3.1 react-dom@^18.3.1 katex@^0.16.21 quill@^2.0.3 quill-image-resize-module-react@^3.0.0 quill-table-ui@^1.0.7 react-confirm-alert@^3.0.6 react-icons@^5.5.0 react-image-crop@^11.0.7 react-loader-spinner@^6.1.6 react-zoom-pan-pinch@^3.7.0
23
+ npm install react@^18.3.1 react-dom@^18.3.1 katex@^0.16.21 quill@^1.3.7 quill-image-resize-module-react@^3.0.0 quill-table-ui@^1.0.7 react-confirm-alert@^3.0.6 react-icons@^5.5.0 react-image-crop@^11.0.7 react-loader-spinner@^6.1.6 react-zoom-pan-pinch@^3.7.0
24
24
  ```
25
25
 
26
26
  ## Peer Dependencies
@@ -32,7 +32,7 @@ This library requires the following peer dependencies to be installed in your pr
32
32
  "react": "^18.3.1",
33
33
  "react-dom": "^18.3.1",
34
34
  "katex": "^0.16.21",
35
- "quill": "^2.0.3",
35
+ "quill": "^1.3.7",
36
36
  "quill-image-resize-module-react": "^3.0.0",
37
37
  "quill-table-ui": "^1.0.7",
38
38
  "react-confirm-alert": "^3.0.6",
@@ -38,7 +38,7 @@ function MyInput({
38
38
  id = null,
39
39
  ref = null,
40
40
  title = "",
41
- placeholder = "",
41
+ placeholder = null,
42
42
  placeholdersearchtext = "",
43
43
  description = null,
44
44
  type = MyInputType.TEXT,
@@ -393,7 +393,7 @@ function MyInput({
393
393
  type: "text",
394
394
  value: myValue || '',
395
395
  onChange: handleChange,
396
- placeholder: placeholder || myTitleLite,
396
+ placeholder: placeholder,
397
397
  autoComplete: "off",
398
398
  style: style,
399
399
  maxLength: maxlength,
@@ -421,7 +421,7 @@ function MyInput({
421
421
  value: e.target.value.toLowerCase().replace(/\s/g, '')
422
422
  }
423
423
  }),
424
- placeholder: placeholder || myTitleLite,
424
+ placeholder: placeholder,
425
425
  autoComplete: "off",
426
426
  style: style,
427
427
  onBlur: onMyBlur,
@@ -451,7 +451,7 @@ function MyInput({
451
451
  }
452
452
  });
453
453
  },
454
- placeholder: placeholder || myTitleLite,
454
+ placeholder: placeholder,
455
455
  autoComplete: "off",
456
456
  style: style,
457
457
  onBlur: onMyBlur,
@@ -472,7 +472,7 @@ function MyInput({
472
472
  type: "text",
473
473
  value: moneyFormat(myValue),
474
474
  onChange: handleChange,
475
- placeholder: placeholder || myTitleLite,
475
+ placeholder: placeholder,
476
476
  autoComplete: "off",
477
477
  style: style,
478
478
  onBlur: onMyBlur,
@@ -493,7 +493,7 @@ function MyInput({
493
493
  type: "number",
494
494
  value: myValue,
495
495
  onChange: handleChange,
496
- placeholder: placeholder || myTitleLite,
496
+ placeholder: placeholder,
497
497
  autoComplete: "off",
498
498
  style: style,
499
499
  onBlur: onMyBlur,
@@ -514,7 +514,7 @@ function MyInput({
514
514
  id: "myDate" + myInputId,
515
515
  value: myValue || '',
516
516
  onChange: handleChange,
517
- placeholder: placeholder || myTitleLite,
517
+ placeholder: placeholder,
518
518
  min: minDate,
519
519
  max: maxDate,
520
520
  style: style,
@@ -536,7 +536,7 @@ function MyInput({
536
536
  id: "myDateTime" + myInputId,
537
537
  value: myValue || '',
538
538
  onChange: handleChange,
539
- placeholder: placeholder || myTitleLite,
539
+ placeholder: placeholder,
540
540
  min: minDate,
541
541
  max: maxDate,
542
542
  style: style,
@@ -558,7 +558,7 @@ function MyInput({
558
558
  id: "myTime" + myInputId,
559
559
  value: myValue || '',
560
560
  onChange: handleChange,
561
- placeholder: placeholder || myTitleLite,
561
+ placeholder: placeholder,
562
562
  style: style,
563
563
  onBlur: onMyBlur,
564
564
  onFocus: onMyFocus,
@@ -578,7 +578,7 @@ function MyInput({
578
578
  type: myEyeView ? "text" : "password",
579
579
  value: myValue,
580
580
  onChange: handleChange,
581
- placeholder: placeholder || myTitleLite,
581
+ placeholder: placeholder,
582
582
  autoComplete: "new-password",
583
583
  style: style,
584
584
  maxLength: maxlength,
@@ -605,7 +605,7 @@ function MyInput({
605
605
  type: "color",
606
606
  value: myValue,
607
607
  onChange: handleChange,
608
- placeholder: placeholder || myTitleLite,
608
+ placeholder: placeholder,
609
609
  style: style,
610
610
  onBlur: onMyBlur,
611
611
  onFocus: onMyFocus,
@@ -623,7 +623,7 @@ function MyInput({
623
623
  id: id,
624
624
  onChange: handleChange,
625
625
  rows: rows,
626
- placeholder: placeholder || myTitleLite,
626
+ placeholder: placeholder,
627
627
  value: myValue,
628
628
  style: style,
629
629
  maxLength: maxlength,
@@ -782,7 +782,7 @@ function MyInput({
782
782
  type: "file",
783
783
  ref: fileInputRef,
784
784
  onChange: handleChange,
785
- placeholder: placeholder || myTitleLite,
785
+ placeholder: placeholder,
786
786
  style: {
787
787
  display: "none"
788
788
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "px-react-ui-components",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "commonjs",