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/components/AudioPlayer/AudioPlayer.js +39 -26
- package/lib/components/AudioPlayer/AudioPlayer.js.map +1 -1
- package/lib/components/AudioPlayer/types.d.ts +1 -0
- package/lib/components/Charts/ScoreChart/ScoreGaugeChart.js +6 -1
- package/lib/components/Charts/ScoreChart/ScoreGaugeChart.js.map +1 -1
- package/lib/components/Icon/Icon.js +1 -1
- package/lib/components/Icon/Icon.js.map +1 -1
- package/lib/components/Input/Input.js +5 -1
- package/lib/components/Input/Input.js.map +1 -1
- package/lib/components/Input/types.d.ts +1 -0
- package/lib/components/Table/Table.js +40 -12
- package/lib/components/Table/Table.js.map +1 -1
- package/lib/components/Weightagetable/Weightagetable.js +11 -3
- package/lib/components/Weightagetable/Weightagetable.js.map +1 -1
- package/lib/components/Weightagetable/types.d.ts +6 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +4 -4
- package/lib/styles.css +1 -1
- package/package.json +1 -1
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
|
|