pixel-react 1.21.69 → 1.21.71

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
@@ -808,6 +808,7 @@ interface InputProps {
808
808
  onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
809
809
  onClick?: (event: React.MouseEvent<HTMLInputElement>) => void;
810
810
  onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
811
+ onWheel?: (event: React.WheelEvent<HTMLInputElement>) => void;
811
812
  /**
812
813
  * id to select the input field uniquely
813
814
  */
@@ -3425,6 +3426,7 @@ interface WeightageCellRenderProps {
3425
3426
  'aria-describedby'?: string;
3426
3427
  'aria-errormessage'?: string;
3427
3428
  'aria-invalid'?: boolean;
3429
+ onWheel?: (e: React__default.WheelEvent<HTMLInputElement>) => void;
3428
3430
  };
3429
3431
  onChange: (updatedRow: WeightageRow) => void;
3430
3432
  }
@@ -3500,6 +3502,11 @@ interface WeightageTableProps {
3500
3502
  * Values above 100 are capped at 100.
3501
3503
  */
3502
3504
  maxValue?: number;
3505
+ /**
3506
+ * When true (default), prevents increasing any row's weightage input upward if the total weightage
3507
+ * has reached or would exceed maxValue / maxWeightage.
3508
+ */
3509
+ disableUpwardIncreaseOnMax?: boolean;
3503
3510
  /**
3504
3511
  * Enables expand/collapse behavior for the table content.
3505
3512
  */
@@ -5021,6 +5028,7 @@ interface AudioPlayerProps {
5021
5028
  */
5022
5029
  className?: string;
5023
5030
  style?: React__default.CSSProperties;
5031
+ showCaptions?: boolean;
5024
5032
  [key: string]: any;
5025
5033
  }
5026
5034