@progress/kendo-react-inputs 9.3.1 → 9.4.0-develop.10

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 (104) hide show
  1. package/checkbox/Checkbox.js +1 -1
  2. package/checkbox/Checkbox.mjs +0 -1
  3. package/colors/ColorContrastLabels.js +1 -1
  4. package/colors/ColorContrastLabels.mjs +2 -3
  5. package/colors/ColorContrastSvg.js +1 -1
  6. package/colors/ColorContrastSvg.mjs +11 -12
  7. package/colors/ColorGradient.js +1 -1
  8. package/colors/ColorGradient.mjs +85 -75
  9. package/colors/ColorInput.js +1 -1
  10. package/colors/ColorInput.mjs +55 -45
  11. package/colors/ColorPalette.js +1 -1
  12. package/colors/ColorPalette.mjs +55 -47
  13. package/colors/ColorPicker.js +1 -1
  14. package/colors/ColorPicker.mjs +312 -183
  15. package/colors/FlatColorPicker.js +1 -1
  16. package/colors/FlatColorPicker.mjs +224 -139
  17. package/colors/HexInput.js +1 -1
  18. package/colors/HexInput.mjs +10 -9
  19. package/colors/Picker.js +1 -1
  20. package/colors/Picker.mjs +22 -23
  21. package/colors/models/palette-presets.js +1 -1
  22. package/colors/models/palette-presets.mjs +1 -2
  23. package/colors/utils/color-cache.js +1 -1
  24. package/colors/utils/color-cache.mjs +12 -13
  25. package/colors/utils/color-palette.service.js +1 -1
  26. package/colors/utils/color-palette.service.mjs +0 -1
  27. package/colors/utils/color-parser.js +1 -1
  28. package/colors/utils/color-parser.mjs +5 -6
  29. package/colors/utils/misc.js +1 -1
  30. package/colors/utils/misc.mjs +0 -1
  31. package/colors/utils/svg-calc.js +1 -1
  32. package/colors/utils/svg-calc.mjs +9 -10
  33. package/common/AdaptiveMode.js +8 -0
  34. package/common/AdaptiveMode.mjs +73 -0
  35. package/dist/cdn/js/kendo-react-inputs.js +8 -1
  36. package/index.d.mts +118 -10
  37. package/index.d.ts +118 -10
  38. package/index.js +2 -1
  39. package/index.mjs +4 -4
  40. package/input/Input.js +1 -1
  41. package/input/Input.mjs +8 -9
  42. package/input/InputClearValue.js +1 -1
  43. package/input/InputClearValue.mjs +3 -4
  44. package/input/InputPrefix.js +1 -1
  45. package/input/InputPrefix.mjs +4 -5
  46. package/input/InputSeparator.js +1 -1
  47. package/input/InputSeparator.mjs +8 -9
  48. package/input/InputSuffix.js +1 -1
  49. package/input/InputSuffix.mjs +4 -5
  50. package/input/InputValidationIcon.js +1 -1
  51. package/input/InputValidationIcon.mjs +3 -4
  52. package/maskedtextbox/MaskedTextBox.js +1 -1
  53. package/maskedtextbox/MaskedTextBox.mjs +0 -1
  54. package/maskedtextbox/masking.service.js +1 -1
  55. package/maskedtextbox/masking.service.mjs +0 -1
  56. package/maskedtextbox/parsing/combinators.js +1 -1
  57. package/maskedtextbox/parsing/combinators.mjs +8 -9
  58. package/maskedtextbox/parsing/parsers.js +1 -1
  59. package/maskedtextbox/parsing/parsers.mjs +0 -1
  60. package/maskedtextbox/parsing/result.js +1 -1
  61. package/maskedtextbox/parsing/result.mjs +7 -8
  62. package/maskedtextbox/parsing/stream.js +1 -1
  63. package/maskedtextbox/parsing/stream.mjs +0 -1
  64. package/maskedtextbox/utils.js +1 -1
  65. package/maskedtextbox/utils.mjs +11 -12
  66. package/messages/index.js +1 -1
  67. package/messages/index.mjs +39 -38
  68. package/numerictextbox/NumericTextBox.js +1 -1
  69. package/numerictextbox/NumericTextBox.mjs +0 -1
  70. package/numerictextbox/utils/index.js +1 -1
  71. package/numerictextbox/utils/index.mjs +0 -1
  72. package/package-metadata.js +1 -1
  73. package/package-metadata.mjs +2 -3
  74. package/package.json +9 -9
  75. package/radiobutton/RadioButton.js +1 -1
  76. package/radiobutton/RadioButton.mjs +0 -1
  77. package/radiobutton/RadioGroup.js +1 -1
  78. package/radiobutton/RadioGroup.mjs +0 -1
  79. package/range-slider/RangeSlider.js +1 -1
  80. package/range-slider/RangeSlider.mjs +0 -1
  81. package/range-slider/range-raducer.js +1 -1
  82. package/range-slider/range-raducer.mjs +2 -3
  83. package/rating/Rating.js +1 -1
  84. package/rating/Rating.mjs +0 -1
  85. package/rating/RatingItem.js +1 -1
  86. package/rating/RatingItem.mjs +0 -1
  87. package/rating/rating-reducer.js +1 -1
  88. package/rating/rating-reducer.mjs +0 -1
  89. package/rating/utils/index.js +1 -1
  90. package/rating/utils/index.mjs +0 -1
  91. package/signature/Signature.js +1 -1
  92. package/signature/Signature.mjs +0 -1
  93. package/signature/utils/index.js +1 -1
  94. package/signature/utils/index.mjs +3 -4
  95. package/slider/Slider.js +1 -1
  96. package/slider/Slider.mjs +0 -1
  97. package/slider/SliderLabel.js +1 -1
  98. package/slider/SliderLabel.mjs +3 -4
  99. package/switch/Switch.js +1 -1
  100. package/switch/Switch.mjs +0 -1
  101. package/textarea/TextArea.js +1 -1
  102. package/textarea/TextArea.mjs +0 -1
  103. package/textbox/Textbox.js +1 -1
  104. package/textbox/Textbox.mjs +7 -8
package/index.d.mts CHANGED
@@ -344,6 +344,26 @@ export declare interface ColorGradientProps {
344
344
  * Represents the focus event.
345
345
  */
346
346
  onFocus?: (event: any) => void;
347
+ /**
348
+ * Configures the `size` of the ColorGradient.
349
+ *
350
+ * The available options are:
351
+ * - `small`
352
+ * - `medium`
353
+ * - `large`
354
+ * - `null`—This option removes the the built-in size styles of the ColorGradient. Allows for custom `padding`.
355
+ *
356
+ * @default `medium`
357
+ */
358
+ size?: null | 'small' | 'medium' | 'large';
359
+ /**
360
+ * @hidden
361
+ */
362
+ fillMode?: null | 'solid' | 'flat' | 'outline';
363
+ /**
364
+ * @hidden
365
+ */
366
+ _adaptive?: boolean;
347
367
  }
348
368
 
349
369
  /**
@@ -388,6 +408,7 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
388
408
  ariaLabelledBy: default_2.Requireable<string>;
389
409
  ariaDescribedBy: default_2.Requireable<string>;
390
410
  className: default_2.Requireable<string>;
411
+ size: default_2.Requireable<string | null>;
391
412
  };
392
413
  /**
393
414
  * @hidden
@@ -396,6 +417,7 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
396
417
  opacity: boolean;
397
418
  role: string;
398
419
  format: "hex" | "rgba" | "rgb";
420
+ size: string;
399
421
  };
400
422
  /**
401
423
  * @hidden
@@ -550,6 +572,8 @@ declare interface ColorInputProps {
550
572
  opacity: boolean;
551
573
  disabled?: boolean;
552
574
  defaultInputMode?: 'rgba' | 'rgb' | 'hex';
575
+ size?: 'small' | 'medium' | 'large' | null;
576
+ fillMode?: 'solid' | 'outline' | 'flat' | null;
553
577
  }
554
578
 
555
579
  /** @hidden */
@@ -672,6 +696,18 @@ export declare interface ColorPaletteProps {
672
696
  * Sets additional classes to the ColorPalette.
673
697
  */
674
698
  className?: string;
699
+ /**
700
+ * Configures the `size` of the ColorPalette.
701
+ *
702
+ * The available options are:
703
+ * - `small`
704
+ * - `medium`
705
+ * - `large`
706
+ * - `null`&mdash;This option removes the the built-in size styles of the ColorPalette. Allows for custom `padding`.
707
+ *
708
+ * @default `medium`
709
+ */
710
+ size?: null | 'small' | 'medium' | 'large';
675
711
  }
676
712
 
677
713
  /**
@@ -711,6 +747,7 @@ export declare class ColorPaletteWithoutContext extends React_2.Component<ColorP
711
747
  ariaLabelledBy: default_2.Requireable<string>;
712
748
  ariaDescribedBy: default_2.Requireable<string>;
713
749
  className: default_2.Requireable<string>;
750
+ size: default_2.Requireable<string | null>;
714
751
  };
715
752
  /**
716
753
  * @hidden
@@ -718,6 +755,7 @@ export declare class ColorPaletteWithoutContext extends React_2.Component<ColorP
718
755
  static defaultProps: {
719
756
  palette: string;
720
757
  tileSize: number;
758
+ size: string;
721
759
  };
722
760
  /**
723
761
  * @hidden
@@ -793,6 +831,10 @@ declare interface ColorPickerActiveColorClick {
793
831
  * A native DOM event.
794
832
  */
795
833
  nativeEvent: any;
834
+ /**
835
+ * The event target.
836
+ */
837
+ target: ColorPickerHandle;
796
838
  }
797
839
 
798
840
  /**
@@ -825,6 +867,10 @@ export declare interface ColorPickerChangeEvent {
825
867
  * A native DOM event.
826
868
  */
827
869
  nativeEvent: any;
870
+ /**
871
+ * The event target.
872
+ */
873
+ target: ColorPickerHandle;
828
874
  }
829
875
 
830
876
  /**
@@ -858,6 +904,10 @@ export declare interface ColorPickerGradientSettings {
858
904
  * Currently, only the RGBA format is supported.
859
905
  */
860
906
  backgroundColor?: string;
907
+ /**
908
+ * @hidden
909
+ */
910
+ _adaptive?: boolean;
861
911
  }
862
912
 
863
913
  /**
@@ -949,10 +999,24 @@ export declare interface ColorPickerProps {
949
999
  */
950
1000
  title?: string;
951
1001
  /**
952
- * Sets the view which the ColorPicker will render in the popup
953
- * ([see example]({% slug combinedview_colorpicker %})).
1002
+ * **Deprecated**. Use `views` prop instead.
1003
+ *
1004
+ * @deprecated
954
1005
  */
955
1006
  view?: ColorPickerView;
1007
+ /**
1008
+ * Specifies the views that will be rendered in the popup. By default both the gradient and palette views will be rendered.
1009
+ *
1010
+ * @default ['gradient', 'palette']`
1011
+ */
1012
+ views?: ColorPickerView[];
1013
+ /**
1014
+ * Sets the initially active view in the popup when both 'gradient' and 'palette' views are rendered.
1015
+ * Use with the `views` property.
1016
+ *
1017
+ * @default 'gradient''
1018
+ */
1019
+ activeView?: ColorPickerView;
956
1020
  /**
957
1021
  * Represents the `dir` HTML attribute.
958
1022
  */
@@ -983,6 +1047,10 @@ export declare interface ColorPickerProps {
983
1047
  * ([see example]({% slug customizecolorpicker_colorpicker %}#toc-customizing-the-palette-popup)).
984
1048
  */
985
1049
  paletteSettings?: ColorPickerPaletteSettings;
1050
+ /**
1051
+ * Configures the FlatColorPicker that is displayed in the ColorPicker popup via `views` property.
1052
+ */
1053
+ flatColorPickerSettings?: FlatColorPickerProps;
986
1054
  /**
987
1055
  * Configures the popup of the ColorPicker.
988
1056
  */
@@ -1028,10 +1096,10 @@ export declare interface ColorPickerProps {
1028
1096
  * Configures the `size` of the ColorPicker.
1029
1097
  *
1030
1098
  * The available options are:
1031
- * - small
1032
- * - medium
1033
- * - large
1034
- * - null&mdash;Does not set a size `className`.
1099
+ * - `small`
1100
+ * - `medium`
1101
+ * - `large`
1102
+ * - `null`&mdash;This option removes the the built-in size styles of the ColorPicker. Allows for custom `padding`.
1035
1103
  *
1036
1104
  * @default `medium`
1037
1105
  */
@@ -1065,6 +1133,14 @@ export declare interface ColorPickerProps {
1065
1133
  * Sets additional classes to the ColorPicker.
1066
1134
  */
1067
1135
  className?: string;
1136
+ /**
1137
+ * Providing different rendering of the popup element based on the screen dimensions.
1138
+ */
1139
+ adaptive?: boolean;
1140
+ /**
1141
+ * Specifies the text that is rendered as title in the adaptive popup.
1142
+ */
1143
+ adaptiveTitle?: string;
1068
1144
  }
1069
1145
 
1070
1146
  /**
@@ -1077,12 +1153,12 @@ export declare const ColorPickerPropsContext: React_2.Context<(p: ColorPickerPro
1077
1153
 
1078
1154
  /**
1079
1155
  * Specifies the view which the ColorPicker will render in the popup
1080
- * ([see example]({% slug combinedview_colorpicker %})).
1156
+ * ([see example]({% slug views_colorpicker %})).
1081
1157
  *
1082
1158
  * The possible values are:
1083
- * * (Default) `palette`
1159
+ * * `palette`
1084
1160
  * * `gradient`
1085
- * * `combo`
1161
+ * * **Deprecated** `combo`
1086
1162
  */
1087
1163
  export declare type ColorPickerView = 'gradient' | 'palette' | 'combo';
1088
1164
 
@@ -1205,9 +1281,24 @@ export declare interface FlatColorPickerProps {
1205
1281
  */
1206
1282
  disabled?: boolean;
1207
1283
  /**
1208
- * Sets the FlatColorPicker view. The default is `ColorGradient`.
1284
+ * **Deprecated**. Use `views` prop instead.
1285
+ *
1286
+ * @deprecated
1209
1287
  */
1210
1288
  view?: 'ColorGradient' | 'ColorPalette' | undefined;
1289
+ /**
1290
+ * Specifies the views that will be rendered. By default both the gradient and palette views will be rendered.
1291
+ *
1292
+ * @default ['gradient', 'palette']`
1293
+ */
1294
+ views?: ColorPickerView[];
1295
+ /**
1296
+ * Sets the initially active view when both 'gradient' and 'palette' views are rendered.
1297
+ * Use with the `views` property.
1298
+ *
1299
+ * @default 'gradient''
1300
+ */
1301
+ activeView?: ColorPickerView;
1211
1302
  /**
1212
1303
  * Sets custom header component.
1213
1304
  */
@@ -1224,6 +1315,22 @@ export declare interface FlatColorPickerProps {
1224
1315
  * Specifies whether action buttons will be rendered in the footer.
1225
1316
  */
1226
1317
  showButtons?: boolean;
1318
+ /**
1319
+ * Configures the `size` of the FlatColorPicker.
1320
+ *
1321
+ * The available options are:
1322
+ * - `small`
1323
+ * - `medium`
1324
+ * - `large`
1325
+ * - `null`&mdash;This option removes the the built-in size styles of the FlatColorPicker. Allows for custom `padding`.
1326
+ *
1327
+ * @default `medium`
1328
+ */
1329
+ size?: null | 'small' | 'medium' | 'large';
1330
+ /**
1331
+ * @hidden
1332
+ */
1333
+ _gradientSettings?: ColorPickerGradientSettings;
1227
1334
  }
1228
1335
 
1229
1336
  export { FormComponentValidity }
@@ -1443,6 +1550,7 @@ export declare const inputsMessages: {
1443
1550
  "flatColorPicker.colorGradientBtn": string;
1444
1551
  "flatColorPicker.colorPaletteBtn": string;
1445
1552
  "flatColorPicker.clearBtn": string;
1553
+ "colorPicker.adaptiveTitle": string;
1446
1554
  "checkbox.validation": string;
1447
1555
  "checkbox.optionalText": string;
1448
1556
  "radioButton.validation": string;
package/index.d.ts CHANGED
@@ -344,6 +344,26 @@ export declare interface ColorGradientProps {
344
344
  * Represents the focus event.
345
345
  */
346
346
  onFocus?: (event: any) => void;
347
+ /**
348
+ * Configures the `size` of the ColorGradient.
349
+ *
350
+ * The available options are:
351
+ * - `small`
352
+ * - `medium`
353
+ * - `large`
354
+ * - `null`&mdash;This option removes the the built-in size styles of the ColorGradient. Allows for custom `padding`.
355
+ *
356
+ * @default `medium`
357
+ */
358
+ size?: null | 'small' | 'medium' | 'large';
359
+ /**
360
+ * @hidden
361
+ */
362
+ fillMode?: null | 'solid' | 'flat' | 'outline';
363
+ /**
364
+ * @hidden
365
+ */
366
+ _adaptive?: boolean;
347
367
  }
348
368
 
349
369
  /**
@@ -388,6 +408,7 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
388
408
  ariaLabelledBy: default_2.Requireable<string>;
389
409
  ariaDescribedBy: default_2.Requireable<string>;
390
410
  className: default_2.Requireable<string>;
411
+ size: default_2.Requireable<string | null>;
391
412
  };
392
413
  /**
393
414
  * @hidden
@@ -396,6 +417,7 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
396
417
  opacity: boolean;
397
418
  role: string;
398
419
  format: "hex" | "rgba" | "rgb";
420
+ size: string;
399
421
  };
400
422
  /**
401
423
  * @hidden
@@ -550,6 +572,8 @@ declare interface ColorInputProps {
550
572
  opacity: boolean;
551
573
  disabled?: boolean;
552
574
  defaultInputMode?: 'rgba' | 'rgb' | 'hex';
575
+ size?: 'small' | 'medium' | 'large' | null;
576
+ fillMode?: 'solid' | 'outline' | 'flat' | null;
553
577
  }
554
578
 
555
579
  /** @hidden */
@@ -672,6 +696,18 @@ export declare interface ColorPaletteProps {
672
696
  * Sets additional classes to the ColorPalette.
673
697
  */
674
698
  className?: string;
699
+ /**
700
+ * Configures the `size` of the ColorPalette.
701
+ *
702
+ * The available options are:
703
+ * - `small`
704
+ * - `medium`
705
+ * - `large`
706
+ * - `null`&mdash;This option removes the the built-in size styles of the ColorPalette. Allows for custom `padding`.
707
+ *
708
+ * @default `medium`
709
+ */
710
+ size?: null | 'small' | 'medium' | 'large';
675
711
  }
676
712
 
677
713
  /**
@@ -711,6 +747,7 @@ export declare class ColorPaletteWithoutContext extends React_2.Component<ColorP
711
747
  ariaLabelledBy: default_2.Requireable<string>;
712
748
  ariaDescribedBy: default_2.Requireable<string>;
713
749
  className: default_2.Requireable<string>;
750
+ size: default_2.Requireable<string | null>;
714
751
  };
715
752
  /**
716
753
  * @hidden
@@ -718,6 +755,7 @@ export declare class ColorPaletteWithoutContext extends React_2.Component<ColorP
718
755
  static defaultProps: {
719
756
  palette: string;
720
757
  tileSize: number;
758
+ size: string;
721
759
  };
722
760
  /**
723
761
  * @hidden
@@ -793,6 +831,10 @@ declare interface ColorPickerActiveColorClick {
793
831
  * A native DOM event.
794
832
  */
795
833
  nativeEvent: any;
834
+ /**
835
+ * The event target.
836
+ */
837
+ target: ColorPickerHandle;
796
838
  }
797
839
 
798
840
  /**
@@ -825,6 +867,10 @@ export declare interface ColorPickerChangeEvent {
825
867
  * A native DOM event.
826
868
  */
827
869
  nativeEvent: any;
870
+ /**
871
+ * The event target.
872
+ */
873
+ target: ColorPickerHandle;
828
874
  }
829
875
 
830
876
  /**
@@ -858,6 +904,10 @@ export declare interface ColorPickerGradientSettings {
858
904
  * Currently, only the RGBA format is supported.
859
905
  */
860
906
  backgroundColor?: string;
907
+ /**
908
+ * @hidden
909
+ */
910
+ _adaptive?: boolean;
861
911
  }
862
912
 
863
913
  /**
@@ -949,10 +999,24 @@ export declare interface ColorPickerProps {
949
999
  */
950
1000
  title?: string;
951
1001
  /**
952
- * Sets the view which the ColorPicker will render in the popup
953
- * ([see example]({% slug combinedview_colorpicker %})).
1002
+ * **Deprecated**. Use `views` prop instead.
1003
+ *
1004
+ * @deprecated
954
1005
  */
955
1006
  view?: ColorPickerView;
1007
+ /**
1008
+ * Specifies the views that will be rendered in the popup. By default both the gradient and palette views will be rendered.
1009
+ *
1010
+ * @default ['gradient', 'palette']`
1011
+ */
1012
+ views?: ColorPickerView[];
1013
+ /**
1014
+ * Sets the initially active view in the popup when both 'gradient' and 'palette' views are rendered.
1015
+ * Use with the `views` property.
1016
+ *
1017
+ * @default 'gradient''
1018
+ */
1019
+ activeView?: ColorPickerView;
956
1020
  /**
957
1021
  * Represents the `dir` HTML attribute.
958
1022
  */
@@ -983,6 +1047,10 @@ export declare interface ColorPickerProps {
983
1047
  * ([see example]({% slug customizecolorpicker_colorpicker %}#toc-customizing-the-palette-popup)).
984
1048
  */
985
1049
  paletteSettings?: ColorPickerPaletteSettings;
1050
+ /**
1051
+ * Configures the FlatColorPicker that is displayed in the ColorPicker popup via `views` property.
1052
+ */
1053
+ flatColorPickerSettings?: FlatColorPickerProps;
986
1054
  /**
987
1055
  * Configures the popup of the ColorPicker.
988
1056
  */
@@ -1028,10 +1096,10 @@ export declare interface ColorPickerProps {
1028
1096
  * Configures the `size` of the ColorPicker.
1029
1097
  *
1030
1098
  * The available options are:
1031
- * - small
1032
- * - medium
1033
- * - large
1034
- * - null&mdash;Does not set a size `className`.
1099
+ * - `small`
1100
+ * - `medium`
1101
+ * - `large`
1102
+ * - `null`&mdash;This option removes the the built-in size styles of the ColorPicker. Allows for custom `padding`.
1035
1103
  *
1036
1104
  * @default `medium`
1037
1105
  */
@@ -1065,6 +1133,14 @@ export declare interface ColorPickerProps {
1065
1133
  * Sets additional classes to the ColorPicker.
1066
1134
  */
1067
1135
  className?: string;
1136
+ /**
1137
+ * Providing different rendering of the popup element based on the screen dimensions.
1138
+ */
1139
+ adaptive?: boolean;
1140
+ /**
1141
+ * Specifies the text that is rendered as title in the adaptive popup.
1142
+ */
1143
+ adaptiveTitle?: string;
1068
1144
  }
1069
1145
 
1070
1146
  /**
@@ -1077,12 +1153,12 @@ export declare const ColorPickerPropsContext: React_2.Context<(p: ColorPickerPro
1077
1153
 
1078
1154
  /**
1079
1155
  * Specifies the view which the ColorPicker will render in the popup
1080
- * ([see example]({% slug combinedview_colorpicker %})).
1156
+ * ([see example]({% slug views_colorpicker %})).
1081
1157
  *
1082
1158
  * The possible values are:
1083
- * * (Default) `palette`
1159
+ * * `palette`
1084
1160
  * * `gradient`
1085
- * * `combo`
1161
+ * * **Deprecated** `combo`
1086
1162
  */
1087
1163
  export declare type ColorPickerView = 'gradient' | 'palette' | 'combo';
1088
1164
 
@@ -1205,9 +1281,24 @@ export declare interface FlatColorPickerProps {
1205
1281
  */
1206
1282
  disabled?: boolean;
1207
1283
  /**
1208
- * Sets the FlatColorPicker view. The default is `ColorGradient`.
1284
+ * **Deprecated**. Use `views` prop instead.
1285
+ *
1286
+ * @deprecated
1209
1287
  */
1210
1288
  view?: 'ColorGradient' | 'ColorPalette' | undefined;
1289
+ /**
1290
+ * Specifies the views that will be rendered. By default both the gradient and palette views will be rendered.
1291
+ *
1292
+ * @default ['gradient', 'palette']`
1293
+ */
1294
+ views?: ColorPickerView[];
1295
+ /**
1296
+ * Sets the initially active view when both 'gradient' and 'palette' views are rendered.
1297
+ * Use with the `views` property.
1298
+ *
1299
+ * @default 'gradient''
1300
+ */
1301
+ activeView?: ColorPickerView;
1211
1302
  /**
1212
1303
  * Sets custom header component.
1213
1304
  */
@@ -1224,6 +1315,22 @@ export declare interface FlatColorPickerProps {
1224
1315
  * Specifies whether action buttons will be rendered in the footer.
1225
1316
  */
1226
1317
  showButtons?: boolean;
1318
+ /**
1319
+ * Configures the `size` of the FlatColorPicker.
1320
+ *
1321
+ * The available options are:
1322
+ * - `small`
1323
+ * - `medium`
1324
+ * - `large`
1325
+ * - `null`&mdash;This option removes the the built-in size styles of the FlatColorPicker. Allows for custom `padding`.
1326
+ *
1327
+ * @default `medium`
1328
+ */
1329
+ size?: null | 'small' | 'medium' | 'large';
1330
+ /**
1331
+ * @hidden
1332
+ */
1333
+ _gradientSettings?: ColorPickerGradientSettings;
1227
1334
  }
1228
1335
 
1229
1336
  export { FormComponentValidity }
@@ -1443,6 +1550,7 @@ export declare const inputsMessages: {
1443
1550
  "flatColorPicker.colorGradientBtn": string;
1444
1551
  "flatColorPicker.colorPaletteBtn": string;
1445
1552
  "flatColorPicker.clearBtn": string;
1553
+ "colorPicker.adaptiveTitle": string;
1446
1554
  "checkbox.validation": string;
1447
1555
  "checkbox.optionalText": string;
1448
1556
  "radioButton.validation": string;
package/index.js CHANGED
@@ -5,4 +5,5 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./colors/ColorInput.js"),t=require("./messages/index.js"),o=require("./colors/ColorGradient.js"),r=require("./colors/ColorPalette.js"),q=require("./colors/models/palette-presets.js"),n=require("./colors/ColorPicker.js"),h=require("./colors/FlatColorPicker.js"),i=require("./input/Input.js"),u=require("./maskedtextbox/MaskedTextBox.js"),B=require("./maskedtextbox/utils.js"),a=require("./numerictextbox/NumericTextBox.js"),s=require("./slider/Slider.js"),c=require("./slider/SliderLabel.js"),k=require("./numerictextbox/utils/index.js"),x=require("./range-slider/range-raducer.js"),l=require("./range-slider/RangeSlider.js"),C=require("./switch/Switch.js"),p=require("./checkbox/Checkbox.js"),d=require("./radiobutton/RadioGroup.js"),P=require("./radiobutton/RadioButton.js"),R=require("./textarea/TextArea.js"),I=require("./rating/Rating.js"),A=require("./rating/RatingItem.js"),S=require("./rating/rating-reducer.js"),e=require("./rating/utils/index.js"),T=require("./signature/Signature.js"),m=require("./textbox/Textbox.js"),E=require("./input/InputClearValue.js"),G=require("./input/InputPrefix.js"),N=require("./input/InputSeparator.js"),b=require("./input/InputSuffix.js"),f=require("./input/InputValidationIcon.js");exports.ColorInput=g;exports.inputsMessages=t.messages;exports.numericDecreaseValue=t.numericDecreaseValue;exports.numericIncreaseValue=t.numericIncreaseValue;exports.ColorGradient=o.ColorGradient;exports.ColorGradientPropsContext=o.ColorGradientPropsContext;exports.ColorGradientWithoutContext=o.ColorGradientWithoutContext;exports.ColorPalette=r.ColorPalette;exports.ColorPalettePropsContext=r.ColorPalettePropsContext;exports.ColorPaletteWithoutContext=r.ColorPaletteWithoutContext;exports.PALETTEPRESETS=q.PALETTEPRESETS;exports.ColorPicker=n.ColorPicker;exports.ColorPickerPropsContext=n.ColorPickerPropsContext;exports.FlatColorPicker=h.FlatColorPicker;exports.Input=i.Input;exports.InputPropsContext=i.InputPropsContext;exports.MaskedTextBox=u.MaskedTextBox;exports.MaskedTextBoxWithoutContext=u.MaskedTextBoxWithoutContext;exports.maskingChanged=B.maskingChanged;exports.NumericTextBox=a.NumericTextBox;exports.NumericTextBoxPropsContext=a.NumericTextBoxPropsContext;exports.Slider=s.Slider;exports.SliderWithoutContext=s.SliderWithoutContext;exports.SLIDER_LABEL_ATTRIBUTE=c.SLIDER_LABEL_ATTRIBUTE;exports.SliderLabel=c.SliderLabel;exports.sanitizeNumber=k.sanitizeNumber;exports.RANGE_ACTION=x.RANGE_ACTION;exports.rangeReducer=x.rangeReducer;exports.RangeSlider=l.RangeSlider;exports.RangeSliderPropsContext=l.RangeSliderPropsContext;exports.Switch=C.Switch;exports.SwitchWithoutContext=C.SwitchWithoutContext;exports.Checkbox=p.Checkbox;exports.CheckboxPropsContext=p.CheckboxPropsContext;exports.RadioGroup=d.RadioGroup;exports.RadioGroupPropsContext=d.RadioGroupPropsContext;exports.RadioButton=P.RadioButton;exports.RadioButtonPropsContext=P.RadioButtonPropsContext;exports.TextArea=R.TextArea;exports.TextAreaPropsContext=R.TextAreaPropsContext;exports.Rating=I.Rating;exports.RatingPropsContext=I.RatingPropsContext;exports.RatingItem=A.RatingItem;exports.RATING_ACTION=S.RATING_ACTION;exports.ratingReducer=S.ratingReducer;exports.isCorrectValue=e.isCorrectValue;exports.isHalf=e.isHalf;exports.isSelected=e.isSelected;exports.toRound=e.toRound;exports.Signature=T.Signature;exports.SignaturePropsContext=T.SignaturePropsContext;exports.TextBox=m.TextBox;exports.InputClearValue=E.InputClearValue;exports.InputPrefix=G.InputPrefix;exports.InputSeparator=N.InputSeparator;exports.InputSuffix=b.InputSuffix;exports.InputValidationIcon=f.InputValidationIcon;
8
+ "use client";
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./colors/ColorInput.js"),t=require("./messages/index.js"),o=require("./colors/ColorGradient.js"),r=require("./colors/ColorPalette.js"),q=require("./colors/models/palette-presets.js"),n=require("./colors/ColorPicker.js"),h=require("./colors/FlatColorPicker.js"),i=require("./input/Input.js"),u=require("./maskedtextbox/MaskedTextBox.js"),B=require("./maskedtextbox/utils.js"),a=require("./numerictextbox/NumericTextBox.js"),s=require("./slider/Slider.js"),x=require("./slider/SliderLabel.js"),k=require("./numerictextbox/utils/index.js"),c=require("./range-slider/range-raducer.js"),l=require("./range-slider/RangeSlider.js"),C=require("./switch/Switch.js"),p=require("./checkbox/Checkbox.js"),d=require("./radiobutton/RadioGroup.js"),P=require("./radiobutton/RadioButton.js"),R=require("./textarea/TextArea.js"),I=require("./rating/Rating.js"),A=require("./rating/RatingItem.js"),S=require("./rating/rating-reducer.js"),e=require("./rating/utils/index.js"),T=require("./signature/Signature.js"),m=require("./textbox/Textbox.js"),E=require("./input/InputClearValue.js"),G=require("./input/InputPrefix.js"),N=require("./input/InputSeparator.js"),b=require("./input/InputSuffix.js"),f=require("./input/InputValidationIcon.js");exports.ColorInput=g;exports.inputsMessages=t.messages;exports.numericDecreaseValue=t.numericDecreaseValue;exports.numericIncreaseValue=t.numericIncreaseValue;exports.ColorGradient=o.ColorGradient;exports.ColorGradientPropsContext=o.ColorGradientPropsContext;exports.ColorGradientWithoutContext=o.ColorGradientWithoutContext;exports.ColorPalette=r.ColorPalette;exports.ColorPalettePropsContext=r.ColorPalettePropsContext;exports.ColorPaletteWithoutContext=r.ColorPaletteWithoutContext;exports.PALETTEPRESETS=q.PALETTEPRESETS;exports.ColorPicker=n.ColorPicker;exports.ColorPickerPropsContext=n.ColorPickerPropsContext;exports.FlatColorPicker=h.FlatColorPicker;exports.Input=i.Input;exports.InputPropsContext=i.InputPropsContext;exports.MaskedTextBox=u.MaskedTextBox;exports.MaskedTextBoxWithoutContext=u.MaskedTextBoxWithoutContext;exports.maskingChanged=B.maskingChanged;exports.NumericTextBox=a.NumericTextBox;exports.NumericTextBoxPropsContext=a.NumericTextBoxPropsContext;exports.Slider=s.Slider;exports.SliderWithoutContext=s.SliderWithoutContext;exports.SLIDER_LABEL_ATTRIBUTE=x.SLIDER_LABEL_ATTRIBUTE;exports.SliderLabel=x.SliderLabel;exports.sanitizeNumber=k.sanitizeNumber;exports.RANGE_ACTION=c.RANGE_ACTION;exports.rangeReducer=c.rangeReducer;exports.RangeSlider=l.RangeSlider;exports.RangeSliderPropsContext=l.RangeSliderPropsContext;exports.Switch=C.Switch;exports.SwitchWithoutContext=C.SwitchWithoutContext;exports.Checkbox=p.Checkbox;exports.CheckboxPropsContext=p.CheckboxPropsContext;exports.RadioGroup=d.RadioGroup;exports.RadioGroupPropsContext=d.RadioGroupPropsContext;exports.RadioButton=P.RadioButton;exports.RadioButtonPropsContext=P.RadioButtonPropsContext;exports.TextArea=R.TextArea;exports.TextAreaPropsContext=R.TextAreaPropsContext;exports.Rating=I.Rating;exports.RatingPropsContext=I.RatingPropsContext;exports.RatingItem=A.RatingItem;exports.RATING_ACTION=S.RATING_ACTION;exports.ratingReducer=S.ratingReducer;exports.isCorrectValue=e.isCorrectValue;exports.isHalf=e.isHalf;exports.isSelected=e.isSelected;exports.toRound=e.toRound;exports.Signature=T.Signature;exports.SignaturePropsContext=T.SignaturePropsContext;exports.TextBox=m.TextBox;exports.InputClearValue=E.InputClearValue;exports.InputPrefix=G.InputPrefix;exports.InputSeparator=N.InputSeparator;exports.InputSuffix=b.InputSuffix;exports.InputValidationIcon=f.InputValidationIcon;
package/index.mjs CHANGED
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import { default as e } from "./colors/ColorInput.mjs";
9
+ import { default as r } from "./colors/ColorInput.mjs";
10
10
  import { messages as x, numericDecreaseValue as p, numericIncreaseValue as n } from "./messages/index.mjs";
11
11
  import { ColorGradient as i, ColorGradientPropsContext as m, ColorGradientWithoutContext as f } from "./colors/ColorGradient.mjs";
12
12
  import { ColorPalette as C, ColorPalettePropsContext as s, ColorPaletteWithoutContext as l } from "./colors/ColorPalette.mjs";
@@ -25,7 +25,7 @@ import { RangeSlider as v, RangeSliderPropsContext as y } from "./range-slider/R
25
25
  import { Switch as K, SwitchWithoutContext as Q } from "./switch/Switch.mjs";
26
26
  import { Checkbox as Y, CheckboxPropsContext as Z } from "./checkbox/Checkbox.mjs";
27
27
  import { RadioGroup as oo, RadioGroupPropsContext as to } from "./radiobutton/RadioGroup.mjs";
28
- import { RadioButton as ro, RadioButtonPropsContext as xo } from "./radiobutton/RadioButton.mjs";
28
+ import { RadioButton as eo, RadioButtonPropsContext as xo } from "./radiobutton/RadioButton.mjs";
29
29
  import { TextArea as no, TextAreaPropsContext as ao } from "./textarea/TextArea.mjs";
30
30
  import { Rating as mo, RatingPropsContext as fo } from "./rating/Rating.mjs";
31
31
  import { RatingItem as Co } from "./rating/RatingItem.mjs";
@@ -44,7 +44,7 @@ export {
44
44
  i as ColorGradient,
45
45
  m as ColorGradientPropsContext,
46
46
  f as ColorGradientWithoutContext,
47
- e as ColorInput,
47
+ r as ColorInput,
48
48
  C as ColorPalette,
49
49
  s as ColorPalettePropsContext,
50
50
  l as ColorPaletteWithoutContext,
@@ -65,7 +65,7 @@ export {
65
65
  P as PALETTEPRESETS,
66
66
  U as RANGE_ACTION,
67
67
  lo as RATING_ACTION,
68
- ro as RadioButton,
68
+ eo as RadioButton,
69
69
  xo as RadioButtonPropsContext,
70
70
  oo as RadioGroup,
71
71
  to as RadioGroupPropsContext,
package/input/Input.js CHANGED
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const W=require("react"),a=require("prop-types"),l=require("@progress/kendo-react-common"),X=require("@progress/kendo-react-labels"),Y=require("../package-metadata.js");function Z(s){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const u in s)if(u!=="default"){const c=Object.getOwnPropertyDescriptor(s,u);Object.defineProperty(o,u,c.get?c:{enumerable:!0,get:()=>s[u]})}}return o.default=s,Object.freeze(o)}const r=Z(W),m=r.forwardRef((s,o)=>{const c=r.useContext(O).call(void 0,s);l.validatePackage(Y.packageMetadata);const[,R]=r.useReducer(t=>t,!0),n=l.applyDefaultProps(c,$),{className:N,label:p,labelClassName:x,id:E,validationMessage:h,defaultValue:S,valid:C,unstyled:V,visited:ee,touched:te,modified:ae,autoFocus:q,ariaLabelledBy:w,ariaDescribedBy:D,validityStyles:I,style:P,ariaLabel:F,...U}=n,j=l.useUnstyled(),f=V||j,B=f&&f.uInput,T=l.useId(),[_,A]=r.useState({value:S}),M=E||T,e=r.useRef(null),d=r.useRef(void 0),y=r.useRef(null),G=()=>{e.current&&e.current.focus()},g=()=>d.current!==void 0?d.current:n.value!==void 0?n.value:_.value,v=()=>{const t={badInput:e.current?e.current.validity.badInput:!1,patternMismatch:e.current?e.current.validity.patternMismatch:!1,rangeOverflow:e.current?e.current.validity.rangeOverflow:!1,rangeUnderflow:e.current?e.current.validity.rangeUnderflow:!1,stepMismatch:e.current?e.current.validity.stepMismatch:!1,tooLong:e.current?e.current.validity.tooLong:!1,typeMismatch:e.current?e.current.validity.typeMismatch:!1,valueMissing:e.current?e.current.validity.valueMissing:!1};return{...t,customError:h!==void 0,valid:C!==void 0?C:e.current?!H(t):!0}};r.useImperativeHandle(y,()=>({element:e.current,props:n,get value(){return g()},name:n.name,get validity(){return v()},focus:G})),r.useImperativeHandle(o,()=>y.current);const H=t=>{let i=!1;for(const L in t)t.hasOwnProperty(L)&&(i=i||!!t[L]);return i},b=!I||v().valid,z=l.classNames(N,l.uInput.input({c:B,invalid:!b,disabled:n.disabled})),K=()=>{e.current&&e.current.setCustomValidity&&(v().valid||!I?e.current.classList.remove("k-invalid"):e.current.classList.add("k-invalid"),e.current.setCustomValidity(v().valid?"":h||""))},J=t=>{A({value:t.target.value}),d.current=t.target.value,n.onChange&&n.onChange.call(void 0,{syntheticEvent:t,nativeEvent:t.nativeEvent,value:t.target.value,target:y.current}),d.current=void 0},Q=t=>{if(t.animationName==="autoFillStart"){const i=t.target.parentNode;i&&i.classList.contains("k-empty")&&i.classList.remove("k-empty")}};r.useEffect(()=>{R()},[]),r.useEffect(()=>{K()});const k=r.createElement("input",{"aria-labelledby":w,"aria-describedby":D,"aria-disabled":n.disabled||void 0,"aria-invalid":!b||void 0,"aria-label":F||void 0,...U,style:p?void 0:P,value:g(),id:M,autoFocus:q,className:z,onChange:J,onAnimationStart:Q,ref:e});return p?r.createElement(X.FloatingLabel,{label:p,labelClassName:x,editorId:M,editorValue:String(g()),editorValid:b,editorDisabled:n.disabled,editorPlaceholder:n.placeholder,children:k,style:P,dir:n.dir,unstyled:f}):k}),O=l.createPropsContext(),$={defaultValue:"",required:!1,validityStyles:!0,autoFocus:!1};m.displayName="KendoReactInput";m.propTypes={label:a.string,labelClassName:a.string,validationMessage:a.string,required:a.bool,validate:a.bool,id:a.string,ariaLabelledBy:a.string,ariaDescribedBy:a.string,ariaLabel:a.string,autoFocus:a.bool,value:a.oneOfType([a.string,a.number,a.array])};exports.Input=m;exports.InputPropsContext=O;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const W=require("react"),a=require("prop-types"),l=require("@progress/kendo-react-common"),X=require("@progress/kendo-react-labels"),Y=require("../package-metadata.js");function Z(s){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const u in s)if(u!=="default"){const c=Object.getOwnPropertyDescriptor(s,u);Object.defineProperty(o,u,c.get?c:{enumerable:!0,get:()=>s[u]})}}return o.default=s,Object.freeze(o)}const r=Z(W),m=r.forwardRef((s,o)=>{const c=r.useContext(O).call(void 0,s);l.validatePackage(Y.packageMetadata);const[,R]=r.useReducer(t=>t,!0),n=l.applyDefaultProps(c,$),{className:N,label:p,labelClassName:x,id:E,validationMessage:h,defaultValue:S,valid:C,unstyled:V,visited:ee,touched:te,modified:ae,autoFocus:q,ariaLabelledBy:w,ariaDescribedBy:D,validityStyles:I,style:P,ariaLabel:F,...U}=n,j=l.useUnstyled(),f=V||j,B=f&&f.uInput,T=l.useId(),[_,A]=r.useState({value:S}),M=E||T,e=r.useRef(null),d=r.useRef(void 0),y=r.useRef(null),G=()=>{e.current&&e.current.focus()},g=()=>d.current!==void 0?d.current:n.value!==void 0?n.value:_.value,v=()=>{const t={badInput:e.current?e.current.validity.badInput:!1,patternMismatch:e.current?e.current.validity.patternMismatch:!1,rangeOverflow:e.current?e.current.validity.rangeOverflow:!1,rangeUnderflow:e.current?e.current.validity.rangeUnderflow:!1,stepMismatch:e.current?e.current.validity.stepMismatch:!1,tooLong:e.current?e.current.validity.tooLong:!1,typeMismatch:e.current?e.current.validity.typeMismatch:!1,valueMissing:e.current?e.current.validity.valueMissing:!1};return{...t,customError:h!==void 0,valid:C!==void 0?C:e.current?!H(t):!0}};r.useImperativeHandle(y,()=>({element:e.current,props:n,get value(){return g()},name:n.name,get validity(){return v()},focus:G})),r.useImperativeHandle(o,()=>y.current);const H=t=>{let i=!1;for(const L in t)t.hasOwnProperty(L)&&(i=i||!!t[L]);return i},b=!I||v().valid,z=l.classNames(N,l.uInput.input({c:B,invalid:!b,disabled:n.disabled})),K=()=>{e.current&&e.current.setCustomValidity&&(v().valid||!I?e.current.classList.remove("k-invalid"):e.current.classList.add("k-invalid"),e.current.setCustomValidity(v().valid?"":h||""))},J=t=>{A({value:t.target.value}),d.current=t.target.value,n.onChange&&n.onChange.call(void 0,{syntheticEvent:t,nativeEvent:t.nativeEvent,value:t.target.value,target:y.current}),d.current=void 0},Q=t=>{if(t.animationName==="autoFillStart"){const i=t.target.parentNode;i&&i.classList.contains("k-empty")&&i.classList.remove("k-empty")}};r.useEffect(()=>{R()},[]),r.useEffect(()=>{K()});const k=r.createElement("input",{"aria-labelledby":w,"aria-describedby":D,"aria-disabled":n.disabled||void 0,"aria-invalid":!b||void 0,"aria-label":F||void 0,...U,style:p?void 0:P,value:g(),id:M,autoFocus:q,className:z,onChange:J,onAnimationStart:Q,ref:e});return p?r.createElement(X.FloatingLabel,{label:p,labelClassName:x,editorId:M,editorValue:String(g()),editorValid:b,editorDisabled:n.disabled,editorPlaceholder:n.placeholder,children:k,style:P,dir:n.dir,unstyled:f}):k}),O=l.createPropsContext(),$={defaultValue:"",required:!1,validityStyles:!0,autoFocus:!1};m.displayName="KendoReactInput";m.propTypes={label:a.string,labelClassName:a.string,validationMessage:a.string,required:a.bool,validate:a.bool,id:a.string,ariaLabelledBy:a.string,ariaDescribedBy:a.string,ariaLabel:a.string,autoFocus:a.bool,value:a.oneOfType([a.string,a.number,a.array])};exports.Input=m;exports.InputPropsContext=O;
package/input/Input.mjs CHANGED
@@ -5,7 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  import * as r from "react";
10
9
  import a from "prop-types";
11
10
  import { validatePackage as J, applyDefaultProps as Q, useUnstyled as W, useId as X, classNames as Y, uInput as Z, createPropsContext as _ } from "@progress/kendo-react-common";
@@ -36,9 +35,9 @@ const C = r.forwardRef((I, L) => {
36
35
  ...B
37
36
  } = i, D = W(), u = R || D, O = u && u.uInput, S = X(), [T, q] = r.useState({
38
37
  value: k
39
- }), g = N || S, e = r.useRef(null), s = r.useRef(void 0), c = r.useRef(null), A = () => {
38
+ }), g = N || S, e = r.useRef(null), s = r.useRef(void 0), d = r.useRef(null), A = () => {
40
39
  e.current && e.current.focus();
41
- }, d = () => s.current !== void 0 ? s.current : i.value !== void 0 ? i.value : T.value, l = () => {
40
+ }, c = () => s.current !== void 0 ? s.current : i.value !== void 0 ? i.value : T.value, l = () => {
42
41
  const t = {
43
42
  badInput: e.current ? e.current.validity.badInput : !1,
44
43
  patternMismatch: e.current ? e.current.validity.patternMismatch : !1,
@@ -55,18 +54,18 @@ const C = r.forwardRef((I, L) => {
55
54
  valid: f !== void 0 ? f : e.current ? !G(t) : !0
56
55
  };
57
56
  };
58
- r.useImperativeHandle(c, () => ({
57
+ r.useImperativeHandle(d, () => ({
59
58
  element: e.current,
60
59
  props: i,
61
60
  get value() {
62
- return d();
61
+ return c();
63
62
  },
64
63
  name: i.name,
65
64
  get validity() {
66
65
  return l();
67
66
  },
68
67
  focus: A
69
- })), r.useImperativeHandle(L, () => c.current);
68
+ })), r.useImperativeHandle(L, () => d.current);
70
69
  const G = (t) => {
71
70
  let n = !1;
72
71
  for (const h in t)
@@ -88,7 +87,7 @@ const C = r.forwardRef((I, L) => {
88
87
  syntheticEvent: t,
89
88
  nativeEvent: t.nativeEvent,
90
89
  value: t.target.value,
91
- target: c.current
90
+ target: d.current
92
91
  }), s.current = void 0;
93
92
  }, z = (t) => {
94
93
  if (t.animationName === "autoFillStart") {
@@ -111,7 +110,7 @@ const C = r.forwardRef((I, L) => {
111
110
  "aria-label": U || void 0,
112
111
  ...B,
113
112
  style: o ? void 0 : y,
114
- value: d(),
113
+ value: c(),
115
114
  id: g,
116
115
  autoFocus: V,
117
116
  className: H,
@@ -126,7 +125,7 @@ const C = r.forwardRef((I, L) => {
126
125
  label: o,
127
126
  labelClassName: E,
128
127
  editorId: g,
129
- editorValue: String(d()),
128
+ editorValue: String(c()),
130
129
  editorValid: v,
131
130
  editorDisabled: i.disabled,
132
131
  editorPlaceholder: i.placeholder,
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),r=require("@progress/kendo-react-common");function m(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const u=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,u.get?u:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const n=m(i),l=n.forwardRef((e,a)=>{const t=n.useRef(null),u=n.useRef(null),s=r.useUnstyled(),c=s&&s.uInput,o=r.classNames(r.uInput.clearButton({c}),e.className);return n.useImperativeHandle(t,()=>({element:u.current})),n.useImperativeHandle(a,()=>t.current),n.createElement("span",{...e,className:o})});l.displayName="KendoReactInputClearValue";exports.InputClearValue=l;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),r=require("@progress/kendo-react-common");function m(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const u=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,u.get?u:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const n=m(i),l=n.forwardRef((e,a)=>{const t=n.useRef(null),u=n.useRef(null),s=r.useUnstyled(),c=s&&s.uInput,o=r.classNames(r.uInput.clearButton({c}),e.className);return n.useImperativeHandle(t,()=>({element:u.current})),n.useImperativeHandle(a,()=>t.current),n.createElement("span",{...e,className:o})});l.displayName="KendoReactInputClearValue";exports.InputClearValue=l;