pixel-react 1.15.0 → 1.15.2

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.
Files changed (54) hide show
  1. package/lib/assets/icons/view_script.svg.js +6 -0
  2. package/lib/assets/icons/view_script.svg.js.map +1 -0
  3. package/lib/components/AppHeader/AppHeader.js +1 -1
  4. package/lib/components/ConditionalDropdown/ConditionalDropdown.js +10 -2
  5. package/lib/components/ConditionalDropdown/ConditionalDropdown.js.map +1 -1
  6. package/lib/components/Icon/iconList.js +2 -0
  7. package/lib/components/Icon/iconList.js.map +1 -1
  8. package/lib/components/Input/Input.js +61 -16
  9. package/lib/components/Input/Input.js.map +1 -1
  10. package/lib/components/Input/types.d.ts +27 -5
  11. package/lib/index.cjs +95 -5238
  12. package/lib/index.cjs.map +1 -1
  13. package/lib/index.d.ts +28 -6
  14. package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
  15. package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
  16. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  17. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  18. package/lib/styles.css +1 -1
  19. package/lib/styles.css.map +1 -1
  20. package/lib/utils/getEncryptedData/getEncryptedData.d.ts +1 -1
  21. package/lib/utils/getEncryptedData/getEncryptedData.js +17 -8
  22. package/lib/utils/getEncryptedData/getEncryptedData.js.map +1 -1
  23. package/lib/validations/regex.d.ts +2 -1
  24. package/package.json +1 -2
  25. package/lib/node_modules/jsencrypt/lib/JSEncrypt.js +0 -189
  26. package/lib/node_modules/jsencrypt/lib/JSEncrypt.js.map +0 -1
  27. package/lib/node_modules/jsencrypt/lib/JSEncryptRSAKey.js +0 -323
  28. package/lib/node_modules/jsencrypt/lib/JSEncryptRSAKey.js.map +0 -1
  29. package/lib/node_modules/jsencrypt/lib/index.js +0 -6
  30. package/lib/node_modules/jsencrypt/lib/index.js.map +0 -1
  31. package/lib/node_modules/jsencrypt/lib/lib/asn1js/asn1.js +0 -570
  32. package/lib/node_modules/jsencrypt/lib/lib/asn1js/asn1.js.map +0 -1
  33. package/lib/node_modules/jsencrypt/lib/lib/asn1js/base64.js +0 -88
  34. package/lib/node_modules/jsencrypt/lib/lib/asn1js/base64.js.map +0 -1
  35. package/lib/node_modules/jsencrypt/lib/lib/asn1js/hex.js +0 -66
  36. package/lib/node_modules/jsencrypt/lib/lib/asn1js/hex.js.map +0 -1
  37. package/lib/node_modules/jsencrypt/lib/lib/asn1js/int10.js +0 -87
  38. package/lib/node_modules/jsencrypt/lib/lib/asn1js/int10.js.map +0 -1
  39. package/lib/node_modules/jsencrypt/lib/lib/jsbn/base64.js +0 -65
  40. package/lib/node_modules/jsencrypt/lib/lib/jsbn/base64.js.map +0 -1
  41. package/lib/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js +0 -1700
  42. package/lib/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js.map +0 -1
  43. package/lib/node_modules/jsencrypt/lib/lib/jsbn/prng4.js +0 -48
  44. package/lib/node_modules/jsencrypt/lib/lib/jsbn/prng4.js.map +0 -1
  45. package/lib/node_modules/jsencrypt/lib/lib/jsbn/rng.js +0 -77
  46. package/lib/node_modules/jsencrypt/lib/lib/jsbn/rng.js.map +0 -1
  47. package/lib/node_modules/jsencrypt/lib/lib/jsbn/rsa.js +0 -371
  48. package/lib/node_modules/jsencrypt/lib/lib/jsbn/rsa.js.map +0 -1
  49. package/lib/node_modules/jsencrypt/lib/lib/jsbn/util.js +0 -61
  50. package/lib/node_modules/jsencrypt/lib/lib/jsbn/util.js.map +0 -1
  51. package/lib/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js +0 -1547
  52. package/lib/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js.map +0 -1
  53. package/lib/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js +0 -71
  54. package/lib/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js.map +0 -1
package/lib/index.d.ts CHANGED
@@ -859,11 +859,33 @@ interface InputProps {
859
859
  disableAfterMaxValueReached?: boolean;
860
860
  helperTextWidth?: string | number;
861
861
  fixedLabel?: boolean;
862
- isShowIcon?: boolean;
863
- onIconClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
864
- iconName?: string;
865
- iconToolTipTitle?: string;
866
- isIconDisable?: boolean;
862
+ iconProps?: {
863
+ /**
864
+ * Flag to determine if icon should be shown
865
+ */
866
+ isShowIcon?: boolean;
867
+ /**
868
+ * Function triggered when icon is clicked
869
+ */
870
+ onIconClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
871
+ /**
872
+ * Name of the icon to display
873
+ */
874
+ iconName?: string;
875
+ /**
876
+ * Tooltip title shown when hovering over icon
877
+ */
878
+ iconToolTipTitle?: string;
879
+ /**
880
+ * Flag to disable the icon
881
+ */
882
+ isIconDisable?: boolean;
883
+ iconColor?: string;
884
+ /**
885
+ * Show clear icon if true
886
+ */
887
+ isClearIcon?: boolean;
888
+ };
867
889
  }
868
890
 
869
891
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
@@ -4585,7 +4607,7 @@ declare const compareArrays: (arr1: unknown[], arr2: unknown[]) => boolean;
4585
4607
  type AnyObject = Record<string, unknown>;
4586
4608
  declare const compareObjects: (obj1: AnyObject | null, obj2: AnyObject | null) => boolean;
4587
4609
 
4588
- declare const getEncryptedData: (data: string, publicKey: string) => string | false;
4610
+ declare function getEncryptedData(data: string, base64PublicKey: string): Promise<string>;
4589
4611
 
4590
4612
  type Callback = (...args: any[]) => void;
4591
4613
  interface ThrottledFunction extends Function {
@@ -1,4 +1,4 @@
1
- import { __exports as beautifier } from '../../../../../_virtual/beautifier3.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier2.js';
2
2
  import { __require as requireOptions } from './options.js';
3
3
  import { __require as requireOutput } from '../core/output.js';
4
4
  import { __require as requireInputscanner } from '../core/inputscanner.js';
@@ -1,4 +1,4 @@
1
- import { __exports as options } from '../../../../../_virtual/options3.js';
1
+ import { __exports as options } from '../../../../../_virtual/options2.js';
2
2
  import { __require as requireOptions$1 } from '../core/options.js';
3
3
 
4
4
  /*jshint node:true */
@@ -1,4 +1,4 @@
1
- import { __exports as beautifier } from '../../../../../_virtual/beautifier2.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier3.js';
2
2
  import { __require as requireOptions } from './options.js';
3
3
  import { __require as requireOutput } from '../core/output.js';
4
4
  import { __require as requireTokenizer } from './tokenizer.js';
@@ -1,4 +1,4 @@
1
- import { __exports as options } from '../../../../../_virtual/options2.js';
1
+ import { __exports as options } from '../../../../../_virtual/options3.js';
2
2
  import { __require as requireOptions$1 } from '../core/options.js';
3
3
 
4
4
  /*jshint node:true */