pixel-react 1.15.1 → 1.15.3

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/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>>;
@@ -5195,6 +5217,29 @@ interface VariableSuggestionInputDropDownProps {
5195
5217
  */
5196
5218
  inputTitle?: string;
5197
5219
  helperTextWidth?: number | string;
5220
+ iconProps?: {
5221
+ /**
5222
+ * Flag to determine if icon should be shown
5223
+ */
5224
+ isShowIcon?: boolean;
5225
+ /**
5226
+ * Function triggered when icon is clicked
5227
+ */
5228
+ onIconClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
5229
+ /**
5230
+ * Name of the icon to display
5231
+ */
5232
+ iconName?: string;
5233
+ /**
5234
+ * Tooltip title shown when hovering over icon
5235
+ */
5236
+ iconToolTipTitle?: string;
5237
+ /**
5238
+ * Flag to disable the icon
5239
+ */
5240
+ isIconDisable?: boolean;
5241
+ iconColor?: string;
5242
+ };
5198
5243
  }
5199
5244
 
5200
5245
  declare const VariableSuggestionInputDropDown: React$1.ForwardRefExoticComponent<VariableSuggestionInputDropDownProps & React$1.RefAttributes<HTMLInputElement>>;
@@ -1,4 +1,4 @@
1
- import { __exports as beautifier } from '../../../../../_virtual/beautifier2.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier.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/options2.js';
1
+ import { __exports as options } from '../../../../../_virtual/options.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/beautifier.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier2.js';
2
2
  import { __require as requireOutput } from '../core/output.js';
3
3
  import { __require as requireToken } from '../core/token.js';
4
4
  import { __require as requireAcorn } from './acorn.js';
@@ -1,4 +1,4 @@
1
- import { __exports as options } from '../../../../../_virtual/options.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 */