@progress/kendo-react-inputs 8.2.0-develop.29 → 8.2.0-develop.30

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/index.d.mts CHANGED
@@ -237,29 +237,26 @@ export declare interface ColorGradientHandle extends Pick<ColorGradientWithoutCo
237
237
  */
238
238
  export declare interface ColorGradientProps {
239
239
  /**
240
- * The default value of the ColorGradient.
241
- */
242
- defaultValue?: string;
243
- /**
244
- * The value of the ColorGradient.
240
+ * Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
241
+ * For example these elements could contain error or hint message.
245
242
  */
246
- value?: string;
243
+ ariaDescribedBy?: string;
247
244
  /**
248
- * @hidden
245
+ * Represents the label of the `hsv` drag handle component used inside the ColorGradient.
249
246
  */
250
- role?: string;
247
+ ariaLabelHSV?: string;
251
248
  /**
252
- * Determines the event handler that will be fired when the user edits the value.
249
+ * Represent the label of the component.
253
250
  */
254
- onChange?: (event: ColorGradientChangeEvent) => void;
251
+ ariaLabel?: string;
255
252
  /**
256
- * Represents the focus event.
253
+ * Identifies the element(s) which will label the component.
257
254
  */
258
- onFocus?: (event: any) => void;
255
+ ariaLabelledBy?: string;
259
256
  /**
260
- * Determines whether the alpha slider and the alpha input will be displayed. Defaults to `true`.
257
+ * Represents the text rendered inside the `hsv` drag handle.
261
258
  */
262
- opacity?: boolean;
259
+ ariaValueText?: string;
263
260
  /**
264
261
  * Enables the color contrast tool.
265
262
  * Sets the background color that will be compared to the selected value.
@@ -267,6 +264,14 @@ export declare interface ColorGradientProps {
267
264
  * Currently, only the RGBA format is supported.
268
265
  */
269
266
  backgroundColor?: string;
267
+ /**
268
+ * Sets additional classes to the ColorGradient.
269
+ */
270
+ className?: string;
271
+ /**
272
+ * The default value of the ColorGradient.
273
+ */
274
+ defaultValue?: string;
270
275
  /**
271
276
  * Determines whether the ColorGradient is disabled
272
277
  * ([more information and example]({% slug disabled_colorgradient %})).
@@ -285,48 +290,61 @@ export declare interface ColorGradientProps {
285
290
  */
286
291
  disabled?: boolean;
287
292
  /**
288
- * The styles that are applied to the ColorGradient.
293
+ * Sets the default input format in the gradient input editor.
294
+ *
295
+ * @default 'rgb'
289
296
  */
290
- style?: React.CSSProperties;
297
+ format?: 'rgba' | 'rgb' | 'hex';
291
298
  /**
292
- * Sets the `tabIndex` property of the ColorGradient.
299
+ * Determines the step (in pixels) when moving the gradient drag handle using
300
+ * the keyboard arrow keys while holding the shift key.
301
+ *
302
+ * @default 2
293
303
  */
294
- tabIndex?: number;
304
+ gradientSliderSmallStep?: number;
305
+ /**
306
+ * Determines the step (in pixels) when moving the gradient drag handle
307
+ * using the keyboard arrow keys.
308
+ *
309
+ * @default 5
310
+ */
311
+ gradientSliderStep?: number;
295
312
  /**
296
313
  * Specifies the id of the component.
297
314
  */
298
315
  id?: string;
299
316
  /**
300
- * Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
301
- * For example these elements could contain error or hint message.
317
+ * @hidden
302
318
  */
303
- ariaDescribedBy?: string;
319
+ isInsidePopup?: boolean;
304
320
  /**
305
- * Represents the label of the `hsv` drag handle component used inside the ColorGradient.
321
+ * Determines whether the alpha slider and the alpha input will be displayed. Defaults to `true`.
306
322
  */
307
- ariaLabelHSV?: string;
323
+ opacity?: boolean;
308
324
  /**
309
- * Represent the label of the component.
325
+ * @hidden
310
326
  */
311
- ariaLabel?: string;
327
+ role?: string;
312
328
  /**
313
- * Identifies the element(s) which will label the component.
329
+ * The styles that are applied to the ColorGradient.
314
330
  */
315
- ariaLabelledBy?: string;
331
+ style?: React.CSSProperties;
316
332
  /**
317
- * Represents the text rendered inside the `hsv` drag handle.
333
+ * Sets the `tabIndex` property of the ColorGradient.
318
334
  */
319
- ariaValueText?: string;
335
+ tabIndex?: number;
320
336
  /**
321
- * Sets the default input format in the gradient input editor.
322
- *
323
- * @default 'rgb'
337
+ * The value of the ColorGradient.
324
338
  */
325
- format?: 'rgba' | 'rgb' | 'hex';
339
+ value?: string;
326
340
  /**
327
- * Sets additional classes to the ColorGradient.
341
+ * Determines the event handler that will be fired when the user edits the value.
328
342
  */
329
- className?: string;
343
+ onChange?: (event: ColorGradientChangeEvent) => void;
344
+ /**
345
+ * Represents the focus event.
346
+ */
347
+ onFocus?: (event: any) => void;
330
348
  }
331
349
 
332
350
  /**
@@ -383,9 +401,15 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
383
401
  /**
384
402
  * @hidden
385
403
  */
386
- wrapper: HTMLDivElement | null;
404
+ wrapperRef: React_2.RefObject<HTMLDivElement>;
405
+ /**
406
+ * @hidden
407
+ */
408
+ hsvGradientRef: React_2.RefObject<HTMLDivElement>;
387
409
  private gradientWrapper;
388
410
  private alphaSlider;
411
+ private navigation?;
412
+ private hsvNavigation?;
389
413
  constructor(props: ColorGradientProps);
390
414
  /**
391
415
  * @hidden
@@ -408,6 +432,10 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
408
432
  * @hidden
409
433
  */
410
434
  componentDidUpdate(_: ColorGradientProps, prevState: ColorGradientState): void;
435
+ /**
436
+ * @hidden
437
+ */
438
+ focus: () => void;
411
439
  /**
412
440
  * @hidden
413
441
  */
@@ -436,6 +464,14 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
436
464
  * @hidden
437
465
  */
438
466
  onGradientWrapperClick: (event: React_2.MouseEvent<HTMLDivElement>) => void;
467
+ /**
468
+ * @hidden
469
+ */
470
+ onHsvGradientKeyDown: (event: React_2.KeyboardEvent<HTMLDivElement>) => void;
471
+ /**
472
+ * @hidden
473
+ */
474
+ onHsvGradientValueChange: (element: HTMLElement, moveX: number, moveY: number) => void;
439
475
  /**
440
476
  * @hidden
441
477
  */
@@ -444,6 +480,10 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
444
480
  * @hidden
445
481
  */
446
482
  changePosition: (event: any) => void;
483
+ /**
484
+ * @hidden
485
+ */
486
+ moveDragHandle(positionX: number, positionY: number): void;
447
487
  /**
448
488
  * @hidden
449
489
  */
@@ -477,14 +517,11 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
477
517
  * @hidden
478
518
  */
479
519
  getGradientRectMetrics(): ClientRect;
480
- /**
481
- * @hidden
482
- */
483
- focus: () => void;
484
520
  /**
485
521
  * @hidden
486
522
  */
487
523
  render(): JSX_2.Element;
524
+ private onKeyDown;
488
525
  }
489
526
 
490
527
  /**
@@ -686,7 +723,7 @@ export declare class ColorPaletteWithoutContext extends React_2.Component<ColorP
686
723
  /**
687
724
  * @hidden
688
725
  */
689
- wrapper: HTMLDivElement | null;
726
+ wrapperRef: React_2.RefObject<HTMLDivElement>;
690
727
  private paletteService;
691
728
  private get guid();
692
729
  constructor(props: ColorPaletteProps);
package/index.d.ts CHANGED
@@ -237,29 +237,26 @@ export declare interface ColorGradientHandle extends Pick<ColorGradientWithoutCo
237
237
  */
238
238
  export declare interface ColorGradientProps {
239
239
  /**
240
- * The default value of the ColorGradient.
241
- */
242
- defaultValue?: string;
243
- /**
244
- * The value of the ColorGradient.
240
+ * Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
241
+ * For example these elements could contain error or hint message.
245
242
  */
246
- value?: string;
243
+ ariaDescribedBy?: string;
247
244
  /**
248
- * @hidden
245
+ * Represents the label of the `hsv` drag handle component used inside the ColorGradient.
249
246
  */
250
- role?: string;
247
+ ariaLabelHSV?: string;
251
248
  /**
252
- * Determines the event handler that will be fired when the user edits the value.
249
+ * Represent the label of the component.
253
250
  */
254
- onChange?: (event: ColorGradientChangeEvent) => void;
251
+ ariaLabel?: string;
255
252
  /**
256
- * Represents the focus event.
253
+ * Identifies the element(s) which will label the component.
257
254
  */
258
- onFocus?: (event: any) => void;
255
+ ariaLabelledBy?: string;
259
256
  /**
260
- * Determines whether the alpha slider and the alpha input will be displayed. Defaults to `true`.
257
+ * Represents the text rendered inside the `hsv` drag handle.
261
258
  */
262
- opacity?: boolean;
259
+ ariaValueText?: string;
263
260
  /**
264
261
  * Enables the color contrast tool.
265
262
  * Sets the background color that will be compared to the selected value.
@@ -267,6 +264,14 @@ export declare interface ColorGradientProps {
267
264
  * Currently, only the RGBA format is supported.
268
265
  */
269
266
  backgroundColor?: string;
267
+ /**
268
+ * Sets additional classes to the ColorGradient.
269
+ */
270
+ className?: string;
271
+ /**
272
+ * The default value of the ColorGradient.
273
+ */
274
+ defaultValue?: string;
270
275
  /**
271
276
  * Determines whether the ColorGradient is disabled
272
277
  * ([more information and example]({% slug disabled_colorgradient %})).
@@ -285,48 +290,61 @@ export declare interface ColorGradientProps {
285
290
  */
286
291
  disabled?: boolean;
287
292
  /**
288
- * The styles that are applied to the ColorGradient.
293
+ * Sets the default input format in the gradient input editor.
294
+ *
295
+ * @default 'rgb'
289
296
  */
290
- style?: React.CSSProperties;
297
+ format?: 'rgba' | 'rgb' | 'hex';
291
298
  /**
292
- * Sets the `tabIndex` property of the ColorGradient.
299
+ * Determines the step (in pixels) when moving the gradient drag handle using
300
+ * the keyboard arrow keys while holding the shift key.
301
+ *
302
+ * @default 2
293
303
  */
294
- tabIndex?: number;
304
+ gradientSliderSmallStep?: number;
305
+ /**
306
+ * Determines the step (in pixels) when moving the gradient drag handle
307
+ * using the keyboard arrow keys.
308
+ *
309
+ * @default 5
310
+ */
311
+ gradientSliderStep?: number;
295
312
  /**
296
313
  * Specifies the id of the component.
297
314
  */
298
315
  id?: string;
299
316
  /**
300
- * Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
301
- * For example these elements could contain error or hint message.
317
+ * @hidden
302
318
  */
303
- ariaDescribedBy?: string;
319
+ isInsidePopup?: boolean;
304
320
  /**
305
- * Represents the label of the `hsv` drag handle component used inside the ColorGradient.
321
+ * Determines whether the alpha slider and the alpha input will be displayed. Defaults to `true`.
306
322
  */
307
- ariaLabelHSV?: string;
323
+ opacity?: boolean;
308
324
  /**
309
- * Represent the label of the component.
325
+ * @hidden
310
326
  */
311
- ariaLabel?: string;
327
+ role?: string;
312
328
  /**
313
- * Identifies the element(s) which will label the component.
329
+ * The styles that are applied to the ColorGradient.
314
330
  */
315
- ariaLabelledBy?: string;
331
+ style?: React.CSSProperties;
316
332
  /**
317
- * Represents the text rendered inside the `hsv` drag handle.
333
+ * Sets the `tabIndex` property of the ColorGradient.
318
334
  */
319
- ariaValueText?: string;
335
+ tabIndex?: number;
320
336
  /**
321
- * Sets the default input format in the gradient input editor.
322
- *
323
- * @default 'rgb'
337
+ * The value of the ColorGradient.
324
338
  */
325
- format?: 'rgba' | 'rgb' | 'hex';
339
+ value?: string;
326
340
  /**
327
- * Sets additional classes to the ColorGradient.
341
+ * Determines the event handler that will be fired when the user edits the value.
328
342
  */
329
- className?: string;
343
+ onChange?: (event: ColorGradientChangeEvent) => void;
344
+ /**
345
+ * Represents the focus event.
346
+ */
347
+ onFocus?: (event: any) => void;
330
348
  }
331
349
 
332
350
  /**
@@ -383,9 +401,15 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
383
401
  /**
384
402
  * @hidden
385
403
  */
386
- wrapper: HTMLDivElement | null;
404
+ wrapperRef: React_2.RefObject<HTMLDivElement>;
405
+ /**
406
+ * @hidden
407
+ */
408
+ hsvGradientRef: React_2.RefObject<HTMLDivElement>;
387
409
  private gradientWrapper;
388
410
  private alphaSlider;
411
+ private navigation?;
412
+ private hsvNavigation?;
389
413
  constructor(props: ColorGradientProps);
390
414
  /**
391
415
  * @hidden
@@ -408,6 +432,10 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
408
432
  * @hidden
409
433
  */
410
434
  componentDidUpdate(_: ColorGradientProps, prevState: ColorGradientState): void;
435
+ /**
436
+ * @hidden
437
+ */
438
+ focus: () => void;
411
439
  /**
412
440
  * @hidden
413
441
  */
@@ -436,6 +464,14 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
436
464
  * @hidden
437
465
  */
438
466
  onGradientWrapperClick: (event: React_2.MouseEvent<HTMLDivElement>) => void;
467
+ /**
468
+ * @hidden
469
+ */
470
+ onHsvGradientKeyDown: (event: React_2.KeyboardEvent<HTMLDivElement>) => void;
471
+ /**
472
+ * @hidden
473
+ */
474
+ onHsvGradientValueChange: (element: HTMLElement, moveX: number, moveY: number) => void;
439
475
  /**
440
476
  * @hidden
441
477
  */
@@ -444,6 +480,10 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
444
480
  * @hidden
445
481
  */
446
482
  changePosition: (event: any) => void;
483
+ /**
484
+ * @hidden
485
+ */
486
+ moveDragHandle(positionX: number, positionY: number): void;
447
487
  /**
448
488
  * @hidden
449
489
  */
@@ -477,14 +517,11 @@ export declare class ColorGradientWithoutContext extends React_2.Component<Color
477
517
  * @hidden
478
518
  */
479
519
  getGradientRectMetrics(): ClientRect;
480
- /**
481
- * @hidden
482
- */
483
- focus: () => void;
484
520
  /**
485
521
  * @hidden
486
522
  */
487
523
  render(): JSX_2.Element;
524
+ private onKeyDown;
488
525
  }
489
526
 
490
527
  /**
@@ -686,7 +723,7 @@ export declare class ColorPaletteWithoutContext extends React_2.Component<ColorP
686
723
  /**
687
724
  * @hidden
688
725
  */
689
- wrapper: HTMLDivElement | null;
726
+ wrapperRef: React_2.RefObject<HTMLDivElement>;
690
727
  private paletteService;
691
728
  private get guid();
692
729
  constructor(props: ColorPaletteProps);
@@ -10,7 +10,7 @@ const e = {
10
10
  name: "@progress/kendo-react-inputs",
11
11
  productName: "KendoReact",
12
12
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
13
- publishDate: 1722455423,
13
+ publishDate: 1722491453,
14
14
  version: "",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-inputs",
3
- "version": "8.2.0-develop.29",
3
+ "version": "8.2.0-develop.30",
4
4
  "description": "React Inputs offer a customizable interface for users to enter and pick different information. KendoReact Input package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -25,13 +25,13 @@
25
25
  "@progress/kendo-drawing": "^1.20.1",
26
26
  "@progress/kendo-inputs-common": "^3.1.0",
27
27
  "@progress/kendo-licensing": "^1.3.4",
28
- "@progress/kendo-react-animation": "8.2.0-develop.29",
29
- "@progress/kendo-react-buttons": "8.2.0-develop.29",
30
- "@progress/kendo-react-common": "8.2.0-develop.29",
31
- "@progress/kendo-react-dialogs": "8.2.0-develop.29",
32
- "@progress/kendo-react-intl": "8.2.0-develop.29",
33
- "@progress/kendo-react-labels": "8.2.0-develop.29",
34
- "@progress/kendo-react-popup": "8.2.0-develop.29",
28
+ "@progress/kendo-react-animation": "8.2.0-develop.30",
29
+ "@progress/kendo-react-buttons": "8.2.0-develop.30",
30
+ "@progress/kendo-react-common": "8.2.0-develop.30",
31
+ "@progress/kendo-react-dialogs": "8.2.0-develop.30",
32
+ "@progress/kendo-react-intl": "8.2.0-develop.30",
33
+ "@progress/kendo-react-labels": "8.2.0-develop.30",
34
+ "@progress/kendo-react-popup": "8.2.0-develop.30",
35
35
  "@progress/kendo-svg-icons": "^3.0.0",
36
36
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
37
37
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"