@progress/kendo-react-inputs 5.7.0-sig.202208281415 → 5.7.0
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/LICENSE.md +11 -0
- package/NOTICE.txt +111 -0
- package/README.md +4 -4
- package/about.md +1 -1
- package/dist/cdn/js/kendo-react-inputs.js +1 -1
- package/dist/es/checkbox/Checkbox.js +1 -0
- package/dist/es/colors/ColorInput.js +1 -1
- package/dist/es/colors/ColorPalette.d.ts +1 -1
- package/dist/es/colors/ColorPicker.js +1 -1
- package/dist/es/colors/FlatColorPicker.js +1 -1
- package/dist/es/input/InputClearValue.d.ts +15 -0
- package/dist/es/input/InputClearValue.js +24 -0
- package/dist/es/input/InputPrefix.d.ts +15 -0
- package/dist/es/input/InputPrefix.js +24 -0
- package/dist/es/input/InputSeparator.d.ts +15 -0
- package/dist/es/input/InputSeparator.js +24 -0
- package/dist/es/input/InputSuffix.d.ts +15 -0
- package/dist/es/input/InputSuffix.js +24 -0
- package/dist/es/input/InputValidationIcon.d.ts +14 -0
- package/dist/es/input/InputValidationIcon.js +20 -0
- package/dist/es/main.d.ts +6 -0
- package/dist/es/main.js +6 -0
- package/dist/es/maskedtextbox/MaskedTextBox.d.ts +1 -1
- package/dist/es/numerictextbox/NumericTextBox.js +2 -2
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/rating/Rating.js +1 -1
- package/dist/es/signature/Signature.js +5 -5
- package/dist/es/signature/interfaces/SignatureProps.d.ts +4 -0
- package/dist/es/slider/Slider.js +2 -6
- package/dist/es/slider/SliderLabel.js +1 -2
- package/dist/es/switch/Switch.js +5 -5
- package/dist/es/textbox/Textbox.d.ts +69 -0
- package/dist/es/textbox/Textbox.js +111 -0
- package/dist/npm/checkbox/Checkbox.js +1 -0
- package/dist/npm/colors/ColorInput.js +1 -1
- package/dist/npm/colors/ColorPalette.d.ts +1 -1
- package/dist/npm/colors/ColorPicker.js +1 -1
- package/dist/npm/colors/FlatColorPicker.js +1 -1
- package/dist/npm/input/InputClearValue.d.ts +15 -0
- package/dist/npm/input/InputClearValue.js +27 -0
- package/dist/npm/input/InputPrefix.d.ts +15 -0
- package/dist/npm/input/InputPrefix.js +27 -0
- package/dist/npm/input/InputSeparator.d.ts +15 -0
- package/dist/npm/input/InputSeparator.js +27 -0
- package/dist/npm/input/InputSuffix.d.ts +15 -0
- package/dist/npm/input/InputSuffix.js +27 -0
- package/dist/npm/input/InputValidationIcon.d.ts +14 -0
- package/dist/npm/input/InputValidationIcon.js +23 -0
- package/dist/npm/main.d.ts +6 -0
- package/dist/npm/main.js +13 -1
- package/dist/npm/maskedtextbox/MaskedTextBox.d.ts +1 -1
- package/dist/npm/numerictextbox/NumericTextBox.js +2 -2
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/rating/Rating.js +1 -1
- package/dist/npm/signature/Signature.js +5 -5
- package/dist/npm/signature/interfaces/SignatureProps.d.ts +4 -0
- package/dist/npm/slider/Slider.js +2 -6
- package/dist/npm/slider/SliderLabel.js +1 -2
- package/dist/npm/switch/Switch.js +5 -5
- package/dist/npm/textbox/Textbox.d.ts +69 -0
- package/dist/npm/textbox/Textbox.js +114 -0
- package/dist/systemjs/kendo-react-inputs.js +1 -1
- package/package.json +19 -17
- package/api.json +0 -71211
- package/dist/npm/signature/interfaces/SignatureState.d.ts +0 -15
- package/dist/npm/signature/interfaces/SignatureState.js +0 -2
- package/docs/_meta.yml +0 -3
- package/docs/api/Checkbox.md +0 -23
- package/docs/api/CheckboxBlurEvent.md +0 -132
- package/docs/api/CheckboxChangeEvent.md +0 -167
- package/docs/api/CheckboxFocusEvent.md +0 -132
- package/docs/api/CheckboxHandle.md +0 -167
- package/docs/api/CheckboxProps.md +0 -1068
- package/docs/api/CheckboxPropsContext.md +0 -17
- package/docs/api/ColorGradient.md +0 -27
- package/docs/api/ColorGradientChangeEvent.md +0 -167
- package/docs/api/ColorGradientHandle.md +0 -99
- package/docs/api/ColorGradientProps.md +0 -538
- package/docs/api/ColorGradientPropsContext.md +0 -17
- package/docs/api/ColorPalette.md +0 -26
- package/docs/api/ColorPaletteChangeEvent.md +0 -202
- package/docs/api/ColorPaletteHandle.md +0 -64
- package/docs/api/ColorPaletteProps.md +0 -542
- package/docs/api/ColorPalettePropsContext.md +0 -17
- package/docs/api/ColorPicker.md +0 -23
- package/docs/api/ColorPickerActiveColorClick.md +0 -132
- package/docs/api/ColorPickerBlurEvent.md +0 -97
- package/docs/api/ColorPickerChangeEvent.md +0 -132
- package/docs/api/ColorPickerFocusEvent.md +0 -97
- package/docs/api/ColorPickerGradientSettings.md +0 -102
- package/docs/api/ColorPickerPaletteSettings.md +0 -148
- package/docs/api/ColorPickerPopupSettings.md +0 -97
- package/docs/api/ColorPickerProps.md +0 -1078
- package/docs/api/ColorPickerPropsContext.md +0 -17
- package/docs/api/ColorPickerView.md +0 -19
- package/docs/api/Direction.md +0 -12
- package/docs/api/FlatColorPicker.md +0 -13
- package/docs/api/FlatColorPickerHandle.md +0 -127
- package/docs/api/FlatColorPickerProps.md +0 -412
- package/docs/api/FormComponentValidity.md +0 -428
- package/docs/api/Input.md +0 -17
- package/docs/api/InputChangeEvent.md +0 -167
- package/docs/api/InputHandle.md +0 -204
- package/docs/api/InputProps.md +0 -428
- package/docs/api/InputPropsContext.md +0 -17
- package/docs/api/MaskedTextBox.md +0 -17
- package/docs/api/MaskedTextBoxChangeEvent.md +0 -237
- package/docs/api/MaskedTextBoxEvent.md +0 -132
- package/docs/api/MaskedTextBoxHandle.md +0 -265
- package/docs/api/MaskedTextBoxProps.md +0 -1395
- package/docs/api/MaskedTextBoxPropsContext.md +0 -17
- package/docs/api/NumericTextBox.md +0 -13
- package/docs/api/NumericTextBoxBlurEvent.md +0 -132
- package/docs/api/NumericTextBoxChangeEvent.md +0 -167
- package/docs/api/NumericTextBoxFocusEvent.md +0 -132
- package/docs/api/NumericTextBoxHandle.md +0 -197
- package/docs/api/NumericTextBoxProps.md +0 -1471
- package/docs/api/NumericTextBoxPropsContext.md +0 -17
- package/docs/api/RadioButton.md +0 -17
- package/docs/api/RadioButtonBlurEvent.md +0 -132
- package/docs/api/RadioButtonChangeEvent.md +0 -167
- package/docs/api/RadioButtonFocusEvent.md +0 -132
- package/docs/api/RadioButtonHandle.md +0 -97
- package/docs/api/RadioButtonProps.md +0 -791
- package/docs/api/RadioButtonPropsContext.md +0 -17
- package/docs/api/RadioGroup.md +0 -17
- package/docs/api/RadioGroupChangeEvent.md +0 -167
- package/docs/api/RadioGroupFocusEvent.md +0 -132
- package/docs/api/RadioGroupHandle.md +0 -97
- package/docs/api/RadioGroupProps.md +0 -707
- package/docs/api/RadioGroupPropsContext.md +0 -17
- package/docs/api/Range.md +0 -13
- package/docs/api/RangeSlider.md +0 -17
- package/docs/api/RangeSliderChangeEvent.md +0 -132
- package/docs/api/RangeSliderHandle.md +0 -127
- package/docs/api/RangeSliderProps.md +0 -853
- package/docs/api/RangeSliderPropsContext.md +0 -17
- package/docs/api/Rating.md +0 -17
- package/docs/api/RatingChangeEvent.md +0 -132
- package/docs/api/RatingFocusEvent.md +0 -97
- package/docs/api/RatingHandle.md +0 -97
- package/docs/api/RatingItem.md +0 -13
- package/docs/api/RatingItemFocusEvent.md +0 -97
- package/docs/api/RatingItemHandle.md +0 -132
- package/docs/api/RatingItemKeyboardEvent.md +0 -97
- package/docs/api/RatingItemMouseEvent.md +0 -97
- package/docs/api/RatingItemProps.md +0 -941
- package/docs/api/RatingKeyboardEvent.md +0 -97
- package/docs/api/RatingMouseEvent.md +0 -97
- package/docs/api/RatingProps.md +0 -1308
- package/docs/api/RatingPropsContext.md +0 -17
- package/docs/api/Signature.md +0 -13
- package/docs/api/SignatureBlurEvent.md +0 -132
- package/docs/api/SignatureChangeEvent.md +0 -167
- package/docs/api/SignatureCloseEvent.md +0 -132
- package/docs/api/SignatureFocusEvent.md +0 -132
- package/docs/api/SignatureHandle.md +0 -162
- package/docs/api/SignatureOpenEvent.md +0 -132
- package/docs/api/SignatureProps.md +0 -1592
- package/docs/api/SignaturePropsContext.md +0 -17
- package/docs/api/Slider.md +0 -17
- package/docs/api/SliderChangeEvent.md +0 -167
- package/docs/api/SliderHandle.md +0 -99
- package/docs/api/SliderLabel.md +0 -62
- package/docs/api/SliderLabelProps.md +0 -171
- package/docs/api/SliderProps.md +0 -902
- package/docs/api/SliderPropsContext.md +0 -17
- package/docs/api/Switch.md +0 -17
- package/docs/api/SwitchChangeEvent.md +0 -167
- package/docs/api/SwitchHandle.md +0 -239
- package/docs/api/SwitchProps.md +0 -1081
- package/docs/api/SwitchPropsContext.md +0 -17
- package/docs/api/TextArea.md +0 -27
- package/docs/api/TextAreaBlurEvent.md +0 -132
- package/docs/api/TextAreaChangeEvent.md +0 -167
- package/docs/api/TextAreaFocusEvent.md +0 -132
- package/docs/api/TextAreaProps.md +0 -1082
- package/docs/api/TextAreaPropsContext.md +0 -17
- package/docs/api/TileSize.md +0 -18
- package/docs/api/ToggleBaseProps.md +0 -132
- package/docs/api/_meta.yml +0 -3
- package/docs/api/index.md +0 -425
- package/docs/auto-imports.js +0 -40
- package/docs/checkbox/_meta.yml +0 -3
- package/docs/checkbox/accessibility.md +0 -26
- package/docs/checkbox/appearance.md +0 -28
- package/docs/checkbox/controlled.md +0 -57
- package/docs/checkbox/default-state.md +0 -24
- package/docs/checkbox/disabled.md +0 -23
- package/docs/checkbox/forms-support.md +0 -90
- package/docs/checkbox/index.md +0 -46
- package/docs/checkbox/keyboard-navigation.md +0 -36
- package/docs/checkbox/labels.md +0 -36
- package/docs/colorgradient/_meta.yml +0 -3
- package/docs/colorgradient/color-contrast.md +0 -34
- package/docs/colorgradient/controlled.md +0 -32
- package/docs/colorgradient/disabled.md +0 -23
- package/docs/colorgradient/index.md +0 -42
- package/docs/colorgradient/noopacity.md +0 -28
- package/docs/colorpalette/_meta.yml +0 -3
- package/docs/colorpalette/assets/demo-img.png +0 -0
- package/docs/colorpalette/controlled.md +0 -32
- package/docs/colorpalette/custom.md +0 -23
- package/docs/colorpalette/disabled.md +0 -23
- package/docs/colorpalette/events.md +0 -27
- package/docs/colorpalette/index.md +0 -47
- package/docs/colorpalette/keyboard-navigation.md +0 -36
- package/docs/colorpalette/presets.md +0 -23
- package/docs/colorpicker/_meta.yml +0 -3
- package/docs/colorpicker/appearance.md +0 -30
- package/docs/colorpicker/color-contrast.md +0 -33
- package/docs/colorpicker/combined-views.md +0 -46
- package/docs/colorpicker/controlled.md +0 -57
- package/docs/colorpicker/custom.md +0 -67
- package/docs/colorpicker/default-value.md +0 -20
- package/docs/colorpicker/disabled.md +0 -20
- package/docs/colorpicker/index.md +0 -41
- package/docs/colorpicker/keyboard-navigation.md +0 -39
- package/docs/custom-attributes.md +0 -27
- package/docs/examples/attribute/class/main.tsx +0 -44
- package/docs/examples/attribute/func/main.tsx +0 -58
- package/docs/examples/checkbox/appearance/func/main.tsx +0 -33
- package/docs/examples/checkbox/controlled/checked/class/main.tsx +0 -32
- package/docs/examples/checkbox/controlled/checked/func/main.tsx +0 -29
- package/docs/examples/checkbox/controlled/value/class/main.tsx +0 -32
- package/docs/examples/checkbox/controlled/value/func/main.tsx +0 -28
- package/docs/examples/checkbox/default/func/main.tsx +0 -15
- package/docs/examples/checkbox/disabled/func/main.tsx +0 -19
- package/docs/examples/checkbox/forms/basic/class/main.tsx +0 -79
- package/docs/examples/checkbox/forms/basic/func/main.tsx +0 -71
- package/docs/examples/checkbox/forms/custom-message/class/main.tsx +0 -117
- package/docs/examples/checkbox/forms/custom-message/func/main.tsx +0 -124
- package/docs/examples/checkbox/forms/disable-styles/class/main.tsx +0 -126
- package/docs/examples/checkbox/forms/disable-styles/func/main.tsx +0 -125
- package/docs/examples/checkbox/forms/kendo-react-form/func/main.tsx +0 -137
- package/docs/examples/checkbox/keyboard/class/main.tsx +0 -32
- package/docs/examples/checkbox/keyboard/func/main.tsx +0 -27
- package/docs/examples/checkbox/labels/custom/func/main.tsx +0 -20
- package/docs/examples/checkbox/labels/setup/func/main.tsx +0 -20
- package/docs/examples/checkbox/main/func/main.tsx +0 -22
- package/docs/examples/colorgradient/colorcontrast/class/main.tsx +0 -48
- package/docs/examples/colorgradient/colorcontrast/func/main.tsx +0 -43
- package/docs/examples/colorgradient/controlled/class/main.tsx +0 -29
- package/docs/examples/colorgradient/controlled/func/main.tsx +0 -21
- package/docs/examples/colorgradient/disabled/func/main.tsx +0 -17
- package/docs/examples/colorgradient/opacity/class/main.tsx +0 -32
- package/docs/examples/colorgradient/opacity/func/main.tsx +0 -24
- package/docs/examples/colorgradient/overview/class/main.tsx +0 -42
- package/docs/examples/colorgradient/overview/func/main.tsx +0 -34
- package/docs/examples/colorpalette/controlled/class/main.tsx +0 -25
- package/docs/examples/colorpalette/controlled/func/main.tsx +0 -17
- package/docs/examples/colorpalette/custom/func/main.tsx +0 -13
- package/docs/examples/colorpalette/disabled/func/main.tsx +0 -13
- package/docs/examples/colorpalette/keyboard/class/main.tsx +0 -30
- package/docs/examples/colorpalette/keyboard/func/main.tsx +0 -30
- package/docs/examples/colorpalette/overview/basic/class/main.tsx +0 -55
- package/docs/examples/colorpalette/overview/basic/class/styles.css +0 -50
- package/docs/examples/colorpalette/overview/basic/func/main.tsx +0 -47
- package/docs/examples/colorpalette/overview/basic/func/styles.css +0 -50
- package/docs/examples/colorpalette/overview/events/class/main.tsx +0 -48
- package/docs/examples/colorpalette/overview/events/func/main.tsx +0 -40
- package/docs/examples/colorpalette/presets/func/main.tsx +0 -70
- package/docs/examples/colorpicker/appearance/func/main.tsx +0 -37
- package/docs/examples/colorpicker/colorcontrast/class/main.tsx +0 -50
- package/docs/examples/colorpicker/colorcontrast/func/main.tsx +0 -44
- package/docs/examples/colorpicker/controlled/popup/class/main.tsx +0 -39
- package/docs/examples/colorpicker/controlled/popup/func/main.tsx +0 -31
- package/docs/examples/colorpicker/controlled/value/class/main.tsx +0 -25
- package/docs/examples/colorpicker/controlled/value/func/main.tsx +0 -17
- package/docs/examples/colorpicker/custom/custom-icons/func/main.tsx +0 -18
- package/docs/examples/colorpicker/custom/gradient/func/main.tsx +0 -24
- package/docs/examples/colorpicker/custom/kendo-icons/func/main.tsx +0 -18
- package/docs/examples/colorpicker/custom/palette/func/main.tsx +0 -28
- package/docs/examples/colorpicker/default/func/main.tsx +0 -24
- package/docs/examples/colorpicker/disabled/func/main.tsx +0 -17
- package/docs/examples/colorpicker/keyboard/class/main.tsx +0 -30
- package/docs/examples/colorpicker/keyboard/func/main.tsx +0 -29
- package/docs/examples/colorpicker/overview/func/main.tsx +0 -24
- package/docs/examples/colorpicker/view/combined/class/main.tsx +0 -37
- package/docs/examples/colorpicker/view/combined/func/main.tsx +0 -27
- package/docs/examples/colorpicker/view/popup/class/main.tsx +0 -66
- package/docs/examples/colorpicker/view/popup/func/main.tsx +0 -55
- package/docs/examples/flatcolorpicker/basic/func/main.tsx +0 -13
- package/docs/examples/flatcolorpicker/customization/footer/func/main.tsx +0 -13
- package/docs/examples/flatcolorpicker/customization/header/func/main.tsx +0 -13
- package/docs/examples/flatcolorpicker/disabled/func/main.tsx +0 -13
- package/docs/examples/get-started/func/main.tsx +0 -14
- package/docs/examples/globalization/func/main.tsx +0 -47
- package/docs/examples/input/counter/main.tsx +0 -30
- package/docs/examples/input/forms/basic/class/main.tsx +0 -87
- package/docs/examples/input/forms/basic/func/main.tsx +0 -79
- package/docs/examples/input/forms/custom-message/class/main.tsx +0 -94
- package/docs/examples/input/forms/custom-message/func/main.tsx +0 -86
- package/docs/examples/input/forms/disable-styles/class/main.tsx +0 -115
- package/docs/examples/input/forms/disable-styles/func/main.tsx +0 -106
- package/docs/examples/input/forms/override/class/main.tsx +0 -111
- package/docs/examples/input/forms/override/func/main.tsx +0 -102
- package/docs/examples/input/main/main.jsx +0 -17
- package/docs/examples/input/overview/func/main.tsx +0 -88
- package/docs/examples/label/class/main.tsx +0 -69
- package/docs/examples/label/func/main.tsx +0 -65
- package/docs/examples/maskedtextbox/appearance/func/main.tsx +0 -41
- package/docs/examples/maskedtextbox/disabled/func/main.tsx +0 -24
- package/docs/examples/maskedtextbox/forms/basic/class/main.tsx +0 -78
- package/docs/examples/maskedtextbox/forms/basic/func/main.tsx +0 -70
- package/docs/examples/maskedtextbox/forms/custom-message/class/main.tsx +0 -81
- package/docs/examples/maskedtextbox/forms/custom-message/func/main.tsx +0 -73
- package/docs/examples/maskedtextbox/forms/disable-styles/class/main.tsx +0 -75
- package/docs/examples/maskedtextbox/forms/disable-styles/func/main.tsx +0 -67
- package/docs/examples/maskedtextbox/forms/override/class/main.tsx +0 -85
- package/docs/examples/maskedtextbox/forms/override/func/main.tsx +0 -75
- package/docs/examples/maskedtextbox/mask/basic/func/main.tsx +0 -19
- package/docs/examples/maskedtextbox/mask/extend/func/main.tsx +0 -35
- package/docs/examples/maskedtextbox/overview/basic/func/main.tsx +0 -18
- package/docs/examples/maskedtextbox/readonly/func/main.tsx +0 -20
- package/docs/examples/maskedtextbox/valid/class/main.tsx +0 -59
- package/docs/examples/maskedtextbox/valid/func/main.tsx +0 -51
- package/docs/examples/maskedtextbox/value/class/main.tsx +0 -37
- package/docs/examples/maskedtextbox/value/func/main.tsx +0 -29
- package/docs/examples/numerictextbox/appearance/func/main.tsx +0 -39
- package/docs/examples/numerictextbox/formats/func/main.tsx +0 -53
- package/docs/examples/numerictextbox/forms/basic/class/main.tsx +0 -75
- package/docs/examples/numerictextbox/forms/basic/func/main.tsx +0 -67
- package/docs/examples/numerictextbox/forms/custom-message/class/main.tsx +0 -82
- package/docs/examples/numerictextbox/forms/custom-message/func/main.tsx +0 -74
- package/docs/examples/numerictextbox/forms/disable-styles/class/main.tsx +0 -98
- package/docs/examples/numerictextbox/forms/disable-styles/func/main.tsx +0 -85
- package/docs/examples/numerictextbox/forms/override/class/main.tsx +0 -96
- package/docs/examples/numerictextbox/forms/override/func/main.tsx +0 -87
- package/docs/examples/numerictextbox/forms/ref/class/main.tsx +0 -44
- package/docs/examples/numerictextbox/forms/ref/func/main.tsx +0 -34
- package/docs/examples/numerictextbox/keyboard/func/main.tsx +0 -20
- package/docs/examples/numerictextbox/overview/class/main.tsx +0 -55
- package/docs/examples/numerictextbox/overview/func/main.tsx +0 -43
- package/docs/examples/numerictextbox/spin/func/main.tsx +0 -22
- package/docs/examples/numerictextbox/step/func/main.tsx +0 -21
- package/docs/examples/overview/func/main.tsx +0 -102
- package/docs/examples/props-context/overview/class/grid-with-filtering.tsx +0 -32
- package/docs/examples/props-context/overview/class/main.tsx +0 -26
- package/docs/examples/props-context/overview/class/sample-products.ts +0 -182
- package/docs/examples/props-context/overview/func/grid-with-filtering.tsx +0 -32
- package/docs/examples/props-context/overview/func/main.tsx +0 -24
- package/docs/examples/props-context/overview/func/sample-products.ts +0 -182
- package/docs/examples/radiobutton/appearance/func/main.tsx +0 -28
- package/docs/examples/radiobutton/custom-labels/func/main.tsx +0 -28
- package/docs/examples/radiobutton/disabled/func/main.tsx +0 -20
- package/docs/examples/radiobutton/labels/func/main.tsx +0 -20
- package/docs/examples/radiobutton/overview/class/main.tsx +0 -35
- package/docs/examples/radiobutton/overview/func/main.tsx +0 -30
- package/docs/examples/radiogroup/controlled/class/main.tsx +0 -49
- package/docs/examples/radiogroup/controlled/func/main.tsx +0 -40
- package/docs/examples/radiogroup/default-state/func/main.tsx +0 -19
- package/docs/examples/radiogroup/forms/class/main.tsx +0 -150
- package/docs/examples/radiogroup/forms/func/main.tsx +0 -146
- package/docs/examples/radiogroup/keyboard/class/main.tsx +0 -37
- package/docs/examples/radiogroup/keyboard/func/main.tsx +0 -31
- package/docs/examples/radiogroup/layout/class/main.tsx +0 -49
- package/docs/examples/radiogroup/layout/func/main.tsx +0 -43
- package/docs/examples/radiogroup/overview/func/main.tsx +0 -18
- package/docs/examples/rangeslider/controlled/class/main.tsx +0 -45
- package/docs/examples/rangeslider/controlled/func/main.tsx +0 -37
- package/docs/examples/rangeslider/disabled/func/main.tsx +0 -27
- package/docs/examples/rangeslider/labels/func/main.tsx +0 -26
- package/docs/examples/rangeslider/orientation/func/main.tsx +0 -27
- package/docs/examples/rangeslider/overview/func/main.tsx +0 -26
- package/docs/examples/rating/controlled/class/main.tsx +0 -29
- package/docs/examples/rating/controlled/func/main.tsx +0 -21
- package/docs/examples/rating/disabled/func/main.tsx +0 -18
- package/docs/examples/rating/forms/class/main.tsx +0 -85
- package/docs/examples/rating/forms/func/main.tsx +0 -79
- package/docs/examples/rating/icon/func/main.tsx +0 -15
- package/docs/examples/rating/items/func/main.tsx +0 -15
- package/docs/examples/rating/label/class/main.tsx +0 -33
- package/docs/examples/rating/label/func/main.tsx +0 -26
- package/docs/examples/rating/navigation/func/main.tsx +0 -15
- package/docs/examples/rating/overview/func/main.tsx +0 -12
- package/docs/examples/rating/precision/func/main.tsx +0 -27
- package/docs/examples/rating/rating-item/advanced/class/main.tsx +0 -82
- package/docs/examples/rating/rating-item/advanced/func/main.tsx +0 -76
- package/docs/examples/rating/rating-item/overview/func/main.tsx +0 -75
- package/docs/examples/rating/readonly/func/main.tsx +0 -18
- package/docs/examples/rating/selection/func/main.tsx +0 -25
- package/docs/examples/rtl/func/main.tsx +0 -99
- package/docs/examples/shared/checkbox-style-configurator.tsx +0 -69
- package/docs/examples/shared/es.json +0 -6
- package/docs/examples/shared/radiobutton-style-configurator.tsx +0 -47
- package/docs/examples/shared/sample-signature.ts +0 -2
- package/docs/examples/shared/style-configurator.tsx +0 -93
- package/docs/examples/shared/switch-style-configurator.tsx +0 -91
- package/docs/examples/signature/appearance/all-options/func/main.tsx +0 -89
- package/docs/examples/signature/appearance/color/func/main.tsx +0 -17
- package/docs/examples/signature/appearance/stroke-width/func/main.tsx +0 -16
- package/docs/examples/signature/controlled/export-scale/func/main.tsx +0 -34
- package/docs/examples/signature/controlled/popup/func/main.tsx +0 -28
- package/docs/examples/signature/controlled/value/func/main.tsx +0 -19
- package/docs/examples/signature/disabled/func/main.tsx +0 -17
- package/docs/examples/signature/events/func/main.tsx +0 -66
- package/docs/examples/signature/forms/kendo/func/main.tsx +0 -148
- package/docs/examples/signature/overview/func/main.tsx +0 -239
- package/docs/examples/signature/overview/func/styles.css +0 -56
- package/docs/examples/signature/popup/disabled/func/main.tsx +0 -14
- package/docs/examples/signature/popup/scale/func/main.tsx +0 -14
- package/docs/examples/signature/readonly/func/main.tsx +0 -17
- package/docs/examples/signature/smooth/func/main.tsx +0 -14
- package/docs/examples/slider/buttons/func/main.tsx +0 -18
- package/docs/examples/slider/controlled/class/main.tsx +0 -45
- package/docs/examples/slider/controlled/func/main.tsx +0 -36
- package/docs/examples/slider/labels/class/main.tsx +0 -44
- package/docs/examples/slider/labels/func/main.tsx +0 -35
- package/docs/examples/slider/orientation/func/main.tsx +0 -25
- package/docs/examples/slider/overview/func/main.tsx +0 -24
- package/docs/examples/switch/appearance/func/main.tsx +0 -38
- package/docs/examples/switch/controlled/manual/class/main.tsx +0 -40
- package/docs/examples/switch/controlled/manual/func/main.tsx +0 -33
- package/docs/examples/switch/controlled/readonly/func/main.tsx +0 -15
- package/docs/examples/switch/default/func/main.tsx +0 -15
- package/docs/examples/switch/disabled/func/main.tsx +0 -15
- package/docs/examples/switch/forms/basic/class/main.tsx +0 -81
- package/docs/examples/switch/forms/basic/func/main.tsx +0 -72
- package/docs/examples/switch/forms/custom-message/class/main.tsx +0 -108
- package/docs/examples/switch/forms/custom-message/func/main.tsx +0 -100
- package/docs/examples/switch/forms/disable-styles/class/main.tsx +0 -129
- package/docs/examples/switch/forms/disable-styles/func/main.tsx +0 -118
- package/docs/examples/switch/forms/kendo-react-form/class/main.tsx +0 -104
- package/docs/examples/switch/forms/kendo-react-form/func/main.tsx +0 -106
- package/docs/examples/switch/keyboard/class/main.tsx +0 -22
- package/docs/examples/switch/keyboard/func/main.tsx +0 -23
- package/docs/examples/switch/labels/func/main.tsx +0 -15
- package/docs/examples/switch/overview/basic/func/main.tsx +0 -15
- package/docs/examples/textarea/appearance/func/main.tsx +0 -39
- package/docs/examples/textarea/auto-sizing/func/main.tsx +0 -18
- package/docs/examples/textarea/controlled/class/main.tsx +0 -32
- package/docs/examples/textarea/controlled/func/main.tsx +0 -26
- package/docs/examples/textarea/counter/class/main.tsx +0 -38
- package/docs/examples/textarea/counter/func/main.tsx +0 -32
- package/docs/examples/textarea/default-state/func/main.tsx +0 -18
- package/docs/examples/textarea/disabled/func/main.tsx +0 -20
- package/docs/examples/textarea/forms/kendo-react-form/class/main.tsx +0 -152
- package/docs/examples/textarea/forms/kendo-react-form/func/main.tsx +0 -140
- package/docs/examples/textarea/main/func/main.tsx +0 -15
- package/docs/examples/textarea/overview/class/main.tsx +0 -103
- package/docs/examples/textarea/overview/func/main.tsx +0 -90
- package/docs/examples/textarea/sizing/func/main.tsx +0 -15
- package/docs/examples/tsconfig.json +0 -29
- package/docs/flatcolorpicker/_meta.yml +0 -3
- package/docs/flatcolorpicker/customization.md +0 -33
- package/docs/flatcolorpicker/disabled.md +0 -22
- package/docs/flatcolorpicker/index.md +0 -30
- package/docs/floating-labels.md +0 -35
- package/docs/get-started.md +0 -153
- package/docs/globalization.md +0 -67
- package/docs/index.md +0 -212
- package/docs/input/_meta.yml +0 -3
- package/docs/input/counter.md +0 -20
- package/docs/input/forms.md +0 -87
- package/docs/input/index.md +0 -40
- package/docs/maskedtextbox/_meta.yml +0 -3
- package/docs/maskedtextbox/accessibility.md +0 -22
- package/docs/maskedtextbox/appearance.md +0 -30
- package/docs/maskedtextbox/disabled-state.md +0 -20
- package/docs/maskedtextbox/forms.md +0 -87
- package/docs/maskedtextbox/index.md +0 -40
- package/docs/maskedtextbox/masks.md +0 -44
- package/docs/maskedtextbox/readonly-state.md +0 -20
- package/docs/maskedtextbox/valid-state.md +0 -25
- package/docs/maskedtextbox/value.md +0 -23
- package/docs/numerictextbox/_meta.yml +0 -3
- package/docs/numerictextbox/accessibility.md +0 -25
- package/docs/numerictextbox/appearance.md +0 -30
- package/docs/numerictextbox/formats.md +0 -25
- package/docs/numerictextbox/forms.md +0 -87
- package/docs/numerictextbox/index.md +0 -49
- package/docs/numerictextbox/keyboard-navigation.md +0 -26
- package/docs/numerictextbox/predefined-step.md +0 -20
- package/docs/numerictextbox/ref.md +0 -28
- package/docs/numerictextbox/spin-buttons.md +0 -20
- package/docs/props-context.md +0 -65
- package/docs/radiobutton/_meta.yml +0 -3
- package/docs/radiobutton/appearance.md +0 -26
- package/docs/radiobutton/disabled.md +0 -23
- package/docs/radiobutton/index.md +0 -47
- package/docs/radiobutton/labels.md +0 -36
- package/docs/radiogroup/_meta.yml +0 -3
- package/docs/radiogroup/accessibility.md +0 -25
- package/docs/radiogroup/controlled_mode.md +0 -34
- package/docs/radiogroup/default_state.md +0 -24
- package/docs/radiogroup/forms_support.md +0 -37
- package/docs/radiogroup/index.md +0 -41
- package/docs/radiogroup/keyboard_navigation.md +0 -37
- package/docs/radiogroup/layout.md +0 -29
- package/docs/rangeslider/_meta.yml +0 -3
- package/docs/rangeslider/accessibility.md +0 -26
- package/docs/rangeslider/controlled.md +0 -32
- package/docs/rangeslider/disabled.md +0 -23
- package/docs/rangeslider/index.md +0 -41
- package/docs/rangeslider/keyboard-navigation.md +0 -33
- package/docs/rangeslider/orientation.md +0 -24
- package/docs/rangeslider/ticks.md +0 -26
- package/docs/rating/_meta.yml +0 -3
- package/docs/rating/accessibility.md +0 -26
- package/docs/rating/forms_support.md +0 -39
- package/docs/rating/functionality-and-features/_meta.yml +0 -2
- package/docs/rating/functionality-and-features/controlled.md +0 -34
- package/docs/rating/functionality-and-features/disabled.md +0 -23
- package/docs/rating/functionality-and-features/icon.md +0 -27
- package/docs/rating/functionality-and-features/items.md +0 -24
- package/docs/rating/functionality-and-features/label.md +0 -28
- package/docs/rating/functionality-and-features/precision.md +0 -51
- package/docs/rating/functionality-and-features/readonly.md +0 -23
- package/docs/rating/functionality-and-features/selection.md +0 -23
- package/docs/rating/index.md +0 -45
- package/docs/rating/item_custamization.md +0 -45
- package/docs/rating/keyboard-navigation.md +0 -33
- package/docs/signature/_meta.yml +0 -3
- package/docs/signature/appearance.md +0 -96
- package/docs/signature/controlled.md +0 -60
- package/docs/signature/disabled.md +0 -21
- package/docs/signature/events.md +0 -20
- package/docs/signature/forms.md +0 -28
- package/docs/signature/index.md +0 -34
- package/docs/signature/line-smoothing.md +0 -16
- package/docs/signature/popup.md +0 -34
- package/docs/signature/readonly.md +0 -21
- package/docs/slider/_meta.yml +0 -3
- package/docs/slider/accessibility.md +0 -26
- package/docs/slider/controlled.md +0 -32
- package/docs/slider/index.md +0 -41
- package/docs/slider/keyboard-navigation.md +0 -33
- package/docs/slider/orientation.md +0 -24
- package/docs/slider/side-buttons.md +0 -24
- package/docs/slider/ticks.md +0 -31
- package/docs/switch/_meta.yml +0 -3
- package/docs/switch/accessibility.md +0 -17
- package/docs/switch/appearance.md +0 -30
- package/docs/switch/controlled-switch.md +0 -44
- package/docs/switch/default-state.md +0 -20
- package/docs/switch/disabled-state.md +0 -20
- package/docs/switch/forms-support.md +0 -78
- package/docs/switch/index.md +0 -44
- package/docs/switch/keyboard-navigation.md +0 -31
- package/docs/switch/labels.md +0 -29
- package/docs/textarea/_meta.yml +0 -3
- package/docs/textarea/appearance.md +0 -30
- package/docs/textarea/controlled_mode.md +0 -37
- package/docs/textarea/counter.md +0 -28
- package/docs/textarea/default_state.md +0 -25
- package/docs/textarea/disabled.md +0 -24
- package/docs/textarea/forms_support.md +0 -39
- package/docs/textarea/index.md +0 -51
- package/docs/textarea/sizing.md +0 -38
- package/e2e/a11y.tests.ts +0 -154
- package/e2e/input.tests.ts +0 -143
- package/e2e/numeric.tests.ts +0 -134
- package/e2e/switch.tests.ts +0 -122
- package/examples/checkbox/checkbox.html +0 -9
- package/examples/checkbox/checkbox.tsx +0 -292
- package/examples/checkbox/checkboxForm.html +0 -9
- package/examples/checkbox/checkboxForm.tsx +0 -81
- package/examples/checkbox/checked-n-value.html +0 -9
- package/examples/checkbox/checked-n-value.tsx +0 -115
- package/examples/checkbox/controlled-mode.html +0 -9
- package/examples/checkbox/controlled-mode.tsx +0 -69
- package/examples/checkbox/form.html +0 -9
- package/examples/checkbox/form.tsx +0 -78
- package/examples/checkbox/formik.html +0 -9
- package/examples/checkbox/formik.tsx +0 -89
- package/examples/colors/colorContrast.html +0 -12
- package/examples/colors/colorContrast.tsx +0 -52
- package/examples/colors/colorGradient.html +0 -9
- package/examples/colors/colorGradient.tsx +0 -37
- package/examples/colors/colorPalette.html +0 -9
- package/examples/colors/colorPalette.tsx +0 -29
- package/examples/colors/colorPicker.html +0 -22
- package/examples/colors/colorPicker.tsx +0 -58
- package/examples/colors/colorPickerLocalization.html +0 -9
- package/examples/colors/colorPickerLocalization.tsx +0 -31
- package/examples/colors/flatColorPicker.html +0 -12
- package/examples/colors/flatColorPicker.tsx +0 -21
- package/examples/context/class/grid-with-filtering.tsx +0 -32
- package/examples/context/class/index.html +0 -9
- package/examples/context/class/index.tsx +0 -28
- package/examples/context/class/sample-products.tsx +0 -182
- package/examples/context/func/grid-with-filtering.tsx +0 -32
- package/examples/context/func/index.html +0 -9
- package/examples/context/func/index.tsx +0 -26
- package/examples/context/func/sample-products.tsx +0 -182
- package/examples/e2e/accessibility/CheckboxExample.tsx +0 -26
- package/examples/e2e/accessibility/ColorGradientExample.tsx +0 -28
- package/examples/e2e/accessibility/ColorPaletteExample.tsx +0 -33
- package/examples/e2e/accessibility/ColorPickerExample.tsx +0 -21
- package/examples/e2e/accessibility/InputExample.tsx +0 -49
- package/examples/e2e/accessibility/MaskedTextBoxExample.tsx +0 -29
- package/examples/e2e/accessibility/NumericTextBoxExample.tsx +0 -24
- package/examples/e2e/accessibility/RadioButtonExample.tsx +0 -29
- package/examples/e2e/accessibility/RangeSliderExample.tsx +0 -26
- package/examples/e2e/accessibility/RatingExample.tsx +0 -13
- package/examples/e2e/accessibility/SliderExample.tsx +0 -19
- package/examples/e2e/accessibility/SwitchExample.tsx +0 -26
- package/examples/e2e/accessibility/TextAreaExample.tsx +0 -70
- package/examples/e2e/accessibility/main.html +0 -14
- package/examples/e2e/accessibility/main.tsx +0 -104
- package/examples/e2e/input/input.html +0 -9
- package/examples/e2e/input/input.tsx +0 -58
- package/examples/e2e/numerictextbox/numericLabel.html +0 -9
- package/examples/e2e/numerictextbox/numericLabel.tsx +0 -38
- package/examples/e2e/switch/switch.html +0 -16
- package/examples/e2e/switch/switch.tsx +0 -74
- package/examples/focus/focus.html +0 -9
- package/examples/focus/focus.tsx +0 -81
- package/examples/input/inputFloatingLabels.html +0 -9
- package/examples/input/inputFloatingLabels.tsx +0 -26
- package/examples/input/inputForm.html +0 -9
- package/examples/input/inputForm.tsx +0 -151
- package/examples/maskedtextbox/basic.html +0 -9
- package/examples/maskedtextbox/basic.tsx +0 -54
- package/examples/maskedtextbox/ipmask.html +0 -9
- package/examples/maskedtextbox/ipmask.tsx +0 -79
- package/examples/messages/index.ts +0 -4
- package/examples/numerictextbox/newNumeric.html +0 -9
- package/examples/numerictextbox/newNumeric.tsx +0 -149
- package/examples/numerictextbox/numeric.html +0 -9
- package/examples/numerictextbox/numeric.tsx +0 -247
- package/examples/numerictextbox/numericApiExample.html +0 -9
- package/examples/numerictextbox/numericApiExample.tsx +0 -25
- package/examples/numerictextbox/numericForm.html +0 -9
- package/examples/numerictextbox/numericForm.tsx +0 -89
- package/examples/numerictextbox/roundingIssues.html +0 -9
- package/examples/numerictextbox/roundingIssues.tsx +0 -51
- package/examples/numerictextbox/test.html +0 -9
- package/examples/numerictextbox/test.tsx +0 -165
- package/examples/numerictextbox/testingBlurDisabled.html +0 -9
- package/examples/numerictextbox/testingBlurDisabled.tsx +0 -167
- package/examples/radio-group/customization/index.html +0 -12
- package/examples/radio-group/customization/index.tsx +0 -32
- package/examples/radioButton/accessibility.html +0 -12
- package/examples/radioButton/accessibility.tsx +0 -81
- package/examples/radioButton/html-forms.html +0 -9
- package/examples/radioButton/html-forms.tsx +0 -63
- package/examples/radioButton/kendo-react-form.html +0 -12
- package/examples/radioButton/kendo-react-form.tsx +0 -80
- package/examples/radioButton/radio.html +0 -9
- package/examples/radioButton/radio.tsx +0 -45
- package/examples/radioButton/standalone-radio.html +0 -9
- package/examples/radioButton/standalone-radio.tsx +0 -76
- package/examples/range-slider/form/index.html +0 -9
- package/examples/range-slider/form/index.tsx +0 -57
- package/examples/range-slider/index.html +0 -9
- package/examples/range-slider/index.tsx +0 -147
- package/examples/rating/index.html +0 -9
- package/examples/rating/index.tsx +0 -158
- package/examples/rtl/index.html +0 -12
- package/examples/rtl/index.tsx +0 -29
- package/examples/signature/basic.html +0 -9
- package/examples/signature/basic.tsx +0 -72
- package/examples/signature/forms-basic.html +0 -9
- package/examples/signature/forms-basic.tsx +0 -72
- package/examples/signature/forms.html +0 -9
- package/examples/signature/forms.tsx +0 -90
- package/examples/slider/slider.html +0 -15
- package/examples/slider/slider.tsx +0 -99
- package/examples/slider/vertical.html +0 -15
- package/examples/slider/vertical.tsx +0 -28
- package/examples/switch/switch.html +0 -9
- package/examples/switch/switch.tsx +0 -44
- package/examples/switch/switchDoubleEvent.html +0 -9
- package/examples/switch/switchDoubleEvent.tsx +0 -25
- package/examples/switch/switchForm.html +0 -9
- package/examples/switch/switchForm.tsx +0 -138
- package/examples/textarea/formik.html +0 -12
- package/examples/textarea/formik.tsx +0 -84
- package/examples/textarea/textarea.html +0 -12
- package/examples/textarea/textarea.tsx +0 -96
- package/gulpfile.js +0 -7
- package/src/checkbox/Checkbox.tsx +0 -352
- package/src/checkbox/interfaces/CheckboxBlurEvent.ts +0 -7
- package/src/checkbox/interfaces/CheckboxChangeEvent.ts +0 -12
- package/src/checkbox/interfaces/CheckboxFocusEvent.ts +0 -7
- package/src/checkbox/interfaces/CheckboxProps.ts +0 -122
- package/src/colors/ColorContrastLabels.tsx +0 -83
- package/src/colors/ColorContrastSvg.tsx +0 -88
- package/src/colors/ColorGradient.tsx +0 -450
- package/src/colors/ColorInput.tsx +0 -192
- package/src/colors/ColorPalette.tsx +0 -329
- package/src/colors/ColorPicker.tsx +0 -387
- package/src/colors/FlatColorPicker.tsx +0 -258
- package/src/colors/HexInput.tsx +0 -67
- package/src/colors/Picker.tsx +0 -56
- package/src/colors/interfaces/ColorGradientChangeEvent.ts +0 -12
- package/src/colors/interfaces/ColorGradientProps.ts +0 -77
- package/src/colors/interfaces/ColorPaletteChangeEvent.ts +0 -16
- package/src/colors/interfaces/ColorPaletteProps.ts +0 -78
- package/src/colors/interfaces/ColorPickerActiveColorClick.ts +0 -17
- package/src/colors/interfaces/ColorPickerBlurEvent.ts +0 -13
- package/src/colors/interfaces/ColorPickerChangeEvent.ts +0 -17
- package/src/colors/interfaces/ColorPickerFocusEvent.ts +0 -13
- package/src/colors/interfaces/ColorPickerGradientSettings.ts +0 -19
- package/src/colors/interfaces/ColorPickerPaletteSettings.ts +0 -35
- package/src/colors/interfaces/ColorPickerPopupSettings.ts +0 -16
- package/src/colors/interfaces/ColorPickerProps.ts +0 -170
- package/src/colors/interfaces/ColorPickerView.ts +0 -10
- package/src/colors/interfaces/PickerPopupSettings.ts +0 -21
- package/src/colors/interfaces/PickerProps.ts +0 -51
- package/src/colors/models/hsva.ts +0 -9
- package/src/colors/models/output-format.ts +0 -4
- package/src/colors/models/palette-presets.ts +0 -54
- package/src/colors/models/rgb.ts +0 -8
- package/src/colors/models/rgba.ts +0 -9
- package/src/colors/models/table-cell.ts +0 -7
- package/src/colors/models/tile-size.ts +0 -8
- package/src/colors/utils/color-cache.ts +0 -71
- package/src/colors/utils/color-palette.service.ts +0 -79
- package/src/colors/utils/color-parser.ts +0 -158
- package/src/colors/utils/misc.ts +0 -23
- package/src/colors/utils/svg-calc.ts +0 -115
- package/src/common/SliderTooltip.tsx +0 -83
- package/src/common/SwitchController.ts +0 -130
- package/src/common/SwitchModel.ts +0 -12
- package/src/input/Input.tsx +0 -346
- package/src/input/interfaces/InputChangeEvent.tsx +0 -12
- package/src/interfaces/Direction.ts +0 -1
- package/src/interfaces/ToggleBaseProps.ts +0 -8
- package/src/main.ts +0 -57
- package/src/maskedtextbox/MaskedTextBox.tsx +0 -541
- package/src/maskedtextbox/MaskedTextBoxProps.ts +0 -215
- package/src/maskedtextbox/masking.service.ts +0 -230
- package/src/maskedtextbox/parsing/combinators.ts +0 -30
- package/src/maskedtextbox/parsing/parsers.ts +0 -179
- package/src/maskedtextbox/parsing/result.ts +0 -39
- package/src/maskedtextbox/parsing/stream.ts +0 -41
- package/src/maskedtextbox/utils.ts +0 -70
- package/src/messages/index.ts +0 -151
- package/src/numerictextbox/NumericTextBox.tsx +0 -626
- package/src/numerictextbox/interfaces/NumericTextBoxBlurEvent.tsx +0 -7
- package/src/numerictextbox/interfaces/NumericTextBoxChangeEvent.tsx +0 -12
- package/src/numerictextbox/interfaces/NumericTextBoxFocusEvent.tsx +0 -7
- package/src/numerictextbox/interfaces/NumericTextBoxHandle.tsx +0 -40
- package/src/numerictextbox/interfaces/NumericTextBoxProps.tsx +0 -180
- package/src/numerictextbox/interfaces/NumericTextBoxState.tsx +0 -15
- package/src/numerictextbox/utils/index.tsx +0 -744
- package/src/package-metadata.ts +0 -13
- package/src/radiobutton/RadioButton.tsx +0 -194
- package/src/radiobutton/RadioGroup.tsx +0 -190
- package/src/radiobutton/interfaces/RadioButtonBlurEvent.ts +0 -7
- package/src/radiobutton/interfaces/RadioButtonChangeEvent.ts +0 -12
- package/src/radiobutton/interfaces/RadioButtonFocusEvent.ts +0 -7
- package/src/radiobutton/interfaces/RadioButtonProps.ts +0 -102
- package/src/radiobutton/interfaces/RadioGroupChangeEvent.ts +0 -12
- package/src/radiobutton/interfaces/RadioGroupFocusEvent.ts +0 -7
- package/src/radiobutton/interfaces/RadioGroupProps.ts +0 -89
- package/src/range-slider/RangeSlider.tsx +0 -644
- package/src/range-slider/range-raducer.tsx +0 -153
- package/src/rating/Rating.tsx +0 -633
- package/src/rating/RatingItem.tsx +0 -268
- package/src/rating/models/index.tsx +0 -91
- package/src/rating/rating-reducer.tsx +0 -70
- package/src/rating/utils/index.tsx +0 -65
- package/src/signature/Signature.tsx +0 -488
- package/src/signature/interfaces/SignatureBlurEvent.tsx +0 -7
- package/src/signature/interfaces/SignatureChangeEvent.tsx +0 -12
- package/src/signature/interfaces/SignatureCloseEvent.tsx +0 -7
- package/src/signature/interfaces/SignatureFocusEvent.tsx +0 -7
- package/src/signature/interfaces/SignatureHandle.tsx +0 -35
- package/src/signature/interfaces/SignatureOpenEvent.tsx +0 -7
- package/src/signature/interfaces/SignatureProps.tsx +0 -227
- package/src/signature/interfaces/index.ts +0 -7
- package/src/signature/utils/index.ts +0 -11
- package/src/slider/Slider.tsx +0 -470
- package/src/slider/SliderLabel.tsx +0 -69
- package/src/switch/Switch.tsx +0 -559
- package/src/textarea/TextArea.tsx +0 -263
- package/src/textarea/interfaces/TextAreaBlurEvent.ts +0 -7
- package/src/textarea/interfaces/TextAreaChangeEvent.ts +0 -12
- package/src/textarea/interfaces/TextAreaFocusEvent.ts +0 -7
- package/src/textarea/interfaces/TextAreaProps.tsx +0 -131
- package/src/utils.ts +0 -16
- package/test/Checkbox.tsx +0 -252
- package/test/ColorGradient.tsx +0 -260
- package/test/ColorPalette.tsx +0 -440
- package/test/ColorPicker.tsx +0 -74
- package/test/Input.tsx +0 -255
- package/test/NumericTextBox.tsx +0 -984
- package/test/RadioButton.tsx +0 -176
- package/test/RangeSlider.tsx +0 -502
- package/test/Rating.tsx +0 -227
- package/test/Slider.tsx +0 -198
- package/test/Switch.tsx +0 -154
- package/test/TextArea.tsx +0 -216
- package/test/maskedtextbox/component.tsx +0 -424
- package/test/maskedtextbox/masking.service.tsx +0 -1345
- package/test/maskedtextbox/parser.tsx +0 -364
- package/tsconfig.es.json +0 -25
- package/tsconfig.json +0 -26
- package/tsconfig.npm.json +0 -25
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Appearance
|
|
3
|
-
description: "Add alternative styling options to the KendoReact Checkbox in React projects."
|
|
4
|
-
slug: appearance_checkbox
|
|
5
|
-
position: 7
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Appearance
|
|
9
|
-
|
|
10
|
-
The Checkbox component provides a predefined set of appearance options.
|
|
11
|
-
|
|
12
|
-
Apart from the default vision of the Checkbox, these alternative styling options enable you to configure each individual aspect of the appearance of a Checkbox.
|
|
13
|
-
|
|
14
|
-
- [`size`]({% slug api_inputs_checkboxprops %}#toc-shape)
|
|
15
|
-
- [`rounded`]({% slug api_inputs_checkboxprops %}#toc-rounded)
|
|
16
|
-
|
|
17
|
-
The following example demonstrates configuring different aspects of a Checkbox appearance through a configurator.
|
|
18
|
-
|
|
19
|
-
{% meta %}
|
|
20
|
-
{% embed_file checkbox/appearance/func/main.tsx preview %}
|
|
21
|
-
{% embed_file shared/checkbox-style-configurator.tsx %}
|
|
22
|
-
{% endmeta %}
|
|
23
|
-
|
|
24
|
-
## Suggested Links
|
|
25
|
-
|
|
26
|
-
* [API Reference of the Checkbox]({% slug api_inputs_checkboxprops %})
|
|
27
|
-
* [Checkbox `size` options]({% slug api_inputs_checkboxprops %}#toc-size)
|
|
28
|
-
* [Checkbox `rounded` options]({% slug api_inputs_checkboxprops %}#toc-rounded)
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Controlled Mode
|
|
3
|
-
description: "Control the value of the KendoReact Checkbox in React projects."
|
|
4
|
-
slug: controlled_checkbox
|
|
5
|
-
position: 3
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Controlled Mode
|
|
9
|
-
|
|
10
|
-
By default, the Checkbox is in an uncontrolled state.
|
|
11
|
-
|
|
12
|
-
The Checkbox provides options for controlling the Value and Checked state. It supports setting it's boolean value using either `value` or `checked` prop. Note that if you provide both props, the `value` prop will be passed to the underlying `input` element.
|
|
13
|
-
|
|
14
|
-
## Controlling the Value
|
|
15
|
-
|
|
16
|
-
To manage the value of the Checkbox:
|
|
17
|
-
|
|
18
|
-
1. Use its [`value`]({% slug api_inputs_checkboxprops %}#toc-value) property.
|
|
19
|
-
1. Handle the [`onChange`]({% slug api_inputs_checkboxprops %}#toc-onchange) event.
|
|
20
|
-
1. Pass the new value through the props.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
{% meta height:100 %}
|
|
25
|
-
{% variant title:Hooks %}
|
|
26
|
-
{% embed_file checkbox/controlled/value/func/main.tsx preview %}
|
|
27
|
-
{% endvariant %}
|
|
28
|
-
{% variant title:Classes %}
|
|
29
|
-
{% embed_file checkbox/controlled/value/class/main.tsx preview %}
|
|
30
|
-
{% endvariant %}
|
|
31
|
-
{% endmeta %}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## Controlling the Checked state
|
|
36
|
-
|
|
37
|
-
To manage the checked state of the Checkbox:
|
|
38
|
-
|
|
39
|
-
1. Use its [`checked`]({% slug api_inputs_checkboxprops %}#toc-checked) property.
|
|
40
|
-
1. Handle the [`onChange`]({% slug api_inputs_checkboxprops %}#toc-onchange) event.
|
|
41
|
-
1. Pass the new value through the props.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
{% meta height:100 %}
|
|
46
|
-
{% variant title:Hooks %}
|
|
47
|
-
{% embed_file checkbox/controlled/checked/func/main.tsx preview %}
|
|
48
|
-
{% endvariant %}
|
|
49
|
-
{% variant title:Classes %}
|
|
50
|
-
{% embed_file checkbox/controlled/checked/class/main.tsx preview %}
|
|
51
|
-
{% endvariant %}
|
|
52
|
-
{% endmeta %}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
## Suggested Links
|
|
56
|
-
|
|
57
|
-
* [API Reference of the Checkbox]({% slug api_inputs_checkboxprops %})
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Default State
|
|
3
|
-
description: "Set the initial value of the KendoReact Checkbox in React projects."
|
|
4
|
-
slug: default_checkbox
|
|
5
|
-
position: 4
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Default State
|
|
9
|
-
|
|
10
|
-
The Checkbox enables you to set its initial value when used in uncontrolled mode.
|
|
11
|
-
|
|
12
|
-
In this way, each subsequent click toggles the newly-selected state.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{% meta height:100 %}
|
|
17
|
-
{% embed_file checkbox/default/func/main.tsx preview %}
|
|
18
|
-
{% endmeta %}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## Suggested Links
|
|
23
|
-
|
|
24
|
-
* [API Reference of the Checkbox]({% slug api_inputs_checkbox %})
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Disabled Checkbox
|
|
3
|
-
description: "Enable or disable the KendoReact Checkbox in React projects."
|
|
4
|
-
slug: disabled_checkbox
|
|
5
|
-
position: 2
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Disabled Checkbox
|
|
9
|
-
|
|
10
|
-
By default, the Checkbox is enabled.
|
|
11
|
-
|
|
12
|
-
To disable the component, set its [`disabled`]({% slug api_inputs_checkboxprops %}#toc-disabled) property to `true`.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{% meta height:130 %}
|
|
17
|
-
{% embed_file checkbox/disabled/func/main.tsx preview %}
|
|
18
|
-
{% endmeta %}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
## Suggested Links
|
|
22
|
-
|
|
23
|
-
* [API Reference of the Checkbox]({% slug api_inputs_checkboxprops %})
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Forms support
|
|
3
|
-
description: "Use the native HTML5 forms implementation of the KendoReact Checkbox component in React projects."
|
|
4
|
-
slug: forms_support_checkbox
|
|
5
|
-
position: 8
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Forms Support
|
|
9
|
-
|
|
10
|
-
The Checkbox component can be easily integrated with [HTML5 form](https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms) as well as [KendoReact Form]({% slug overview_form %}) (or other third-party solutions).
|
|
11
|
-
|
|
12
|
-
The form enables you to validate checkbox values and prevent the submission of forms which are in an invalid state.
|
|
13
|
-
|
|
14
|
-
> In addition to the exposed form support settings, the [Checkbox]({% slug api_inputs_checkbox %}) provides the same properties and behaves in the same way as a native HTML [`input[type=checkbox]`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox) element.
|
|
15
|
-
|
|
16
|
-
## Functionality and Features
|
|
17
|
-
|
|
18
|
-
* [Support for KendoReact Form and Setting Custom Behavior](#toc-support-for-kendoreact-form)
|
|
19
|
-
* [Setting Validation Requirements](#toc-setting-validation-requirements)
|
|
20
|
-
* [Setting Custom Validation Messages](#toc-setting-custom-validation-messages)
|
|
21
|
-
* [Disabling the Validation Styling](#toc-disabling-the-validation-styling)
|
|
22
|
-
|
|
23
|
-
### Support for KendoReact Form and Setting Custom Behavior
|
|
24
|
-
The KendoReact Form component [integrates with all KendoReact components](https://www.telerik.com/kendo-react-ui/components/form/custom-components/).
|
|
25
|
-
|
|
26
|
-
You can display error messages and fully customize the behavior of the rendered component by using the additional properties of the Field component.
|
|
27
|
-
|
|
28
|
-
The following example demonstrates how to render a required custom checkbox a terms agreement.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
{% meta height:430 %}
|
|
33
|
-
{% embed_file checkbox/forms/kendo-react-form/func/main.tsx preview %}
|
|
34
|
-
{% endmeta %}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
### Setting Validation Requirements
|
|
38
|
-
|
|
39
|
-
The Checkbox supports props for setting basic validation. For example, the [`required`]({% slug api_inputs_checkboxprops %}#toc-required) property which prevents form submission when Checkbox is not checked.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
{% meta height:400 %}
|
|
44
|
-
{% variant title:Hooks %}
|
|
45
|
-
{% embed_file checkbox/forms/basic/func/main.tsx preview %}
|
|
46
|
-
{% endvariant %}
|
|
47
|
-
{% variant title:Classes %}
|
|
48
|
-
{% embed_file checkbox/forms/basic/class/main.tsx preview %}
|
|
49
|
-
{% endvariant %}
|
|
50
|
-
{% endmeta %}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
### Setting Custom Validation Messages
|
|
55
|
-
|
|
56
|
-
You can implement custom error messages which will be displayed when the Checkbox is in an invalid state and the user tries to submit the form. To render a custom validation message, set the [`validationMessage`]({% slug api_inputs_checkboxprops %}#toc-validationmessage) prop.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
{% meta height:550 %}
|
|
61
|
-
{% variant title:Hooks %}
|
|
62
|
-
{% embed_file checkbox/forms/custom-message/func/main.tsx preview %}
|
|
63
|
-
{% endvariant %}
|
|
64
|
-
{% variant title:Classes %}
|
|
65
|
-
{% embed_file checkbox/forms/custom-message/class/main.tsx preview %}
|
|
66
|
-
{% endvariant %}
|
|
67
|
-
{% endmeta %}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
### Disabling the Validation Styling
|
|
72
|
-
|
|
73
|
-
By default, to achieve a visual representation of its invalid state, the Checkbox applies the `k-invalid` class name to the wrapping component. To disable the utilization of `k-invalid`, set the [`validityStyles`]({% slug api_inputs_checkboxprops %}#toc-validitystyles) property to `false`.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
{% meta height:550 %}
|
|
78
|
-
{% variant title:Hooks %}
|
|
79
|
-
{% embed_file checkbox/forms/disable-styles/func/main.tsx preview %}
|
|
80
|
-
{% endvariant %}
|
|
81
|
-
{% variant title:Classes %}
|
|
82
|
-
{% embed_file checkbox/forms/disable-styles/class/main.tsx preview %}
|
|
83
|
-
{% endvariant %}
|
|
84
|
-
{% endmeta %}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
## Suggested Links
|
|
89
|
-
|
|
90
|
-
* [API Reference of the Checkbox Props]({% slug api_inputs_checkboxprops %})
|
package/docs/checkbox/index.md
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Overview
|
|
3
|
-
description: "Get an overview of the features the KendoReact Checkbox delivers and use the component in React projects."
|
|
4
|
-
slug: overview_checkbox
|
|
5
|
-
position: 1
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# KendoReact Checkbox Overview
|
|
9
|
-
|
|
10
|
-
The KendoReact Checkbox lets the user toggle between checked, unchecked and the optional indeterminate states.
|
|
11
|
-
|
|
12
|
-
The Checkbox is designed to replace the `<input type="checkbox">` HTML5 tag and provides the KendoReact specific styling.
|
|
13
|
-
|
|
14
|
-
<div data-component="StartFreeTrialSection"></div>
|
|
15
|
-
|
|
16
|
-
The CheckBox is typically used to represent boolean values via a binary checked state. All regular [`input type="checkbox"`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox) HTML attributes are applicable.
|
|
17
|
-
|
|
18
|
-
The KendoReact Checkbox component is part of the KendoReact library of React UI components. It is distributed through NPM under the [kendo-react-inputs package](https://www.npmjs.com/package/@progress/kendo-react-inputs).
|
|
19
|
-
|
|
20
|
-
The following example demonstrates the Checkbox component in action.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
{% meta height:150 %}
|
|
25
|
-
{% embed_file checkbox/main/func/main.tsx preview %}
|
|
26
|
-
{% endmeta %}
|
|
27
|
-
|
|
28
|
-
>The Checkbox is part of the [KendoReact Inputs]({% slug overview_inputs %}) component library. The procedures for installing, importing, and using all components in the library are identical. To learn how to use the Checkbox and the rest of the components in the package, see the [Getting Started with the KendoReact Inputs]({% slug getstarted_inputs %}) guide.
|
|
29
|
-
|
|
30
|
-
## Key Features
|
|
31
|
-
|
|
32
|
-
* [Disabled Checkbox]({% slug disabled_checkbox %})—You can render a disabled Checkbox by setting a single property and keep it disabled until certain requirements are met.
|
|
33
|
-
* [Controlled mode]({% slug controlled_checkbox %})—You can take advantage of the built-in options that allow you to control the value and the checked state of the Checkbox.
|
|
34
|
-
* [Default state]({% slug default_checkbox %})—To control the initial value of the Checkbox, you can use the `defaultChecked` property.
|
|
35
|
-
* [Labels]({% slug labels_checkbox %})—You can add labels and set their position. The Checkbox supports custom labels as well.
|
|
36
|
-
* [Forms support]({% slug forms_support_checkbox %})—You can easily integrate the Checkbox with an [HTML5 form](https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms), the [KendoReact Form component]({% slug overview_form %}), or a third-party React form library.
|
|
37
|
-
* [Globalization]({% slug globalization_inputs %})—The KendoReact Checkbox comes with globalization features that allow you to create applications that can be used all over the world.
|
|
38
|
-
* [Keyboard navigation]({% slug keyboard_navigation_checkbox %})—The Checkbox supports numerous keyboard shortcuts that allow users to interact with the component.
|
|
39
|
-
* [Accessibility]({% slug accessibility_checkbox %})—The Checkbox is accessible for screen readers and provides full WAI-ARIA support.
|
|
40
|
-
|
|
41
|
-
## Suggested Links
|
|
42
|
-
|
|
43
|
-
* [Getting Started with the KendoReact Inputs]({% slug getstarted_inputs %})
|
|
44
|
-
* [Getting Started with KendoReact](https://www.telerik.com/kendo-react-ui/components/getting-started/)
|
|
45
|
-
* [API Reference of the Checkbox]({% slug api_inputs_checkbox %})
|
|
46
|
-
* [React Checkbox High-Level Overview](https://www.telerik.com/kendo-react-ui/checkbox/)
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Keyboard Navigation
|
|
3
|
-
description: "Use the KendoReact Checkbox keyboard navigation in React projects."
|
|
4
|
-
slug: keyboard_navigation_checkbox
|
|
5
|
-
position: 9
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Keyboard Navigation
|
|
9
|
-
|
|
10
|
-
The keyboard navigation of the Checkbox is always available.
|
|
11
|
-
|
|
12
|
-
The Checkbox supports the following keyboard shortcuts:
|
|
13
|
-
|
|
14
|
-
| SHORTCUT | DESCRIPTION |
|
|
15
|
-
|:--- |:--- |
|
|
16
|
-
| `Tab` | (Accessibility mode) Focuses the Checkbox element. |
|
|
17
|
-
| `Space` | Toggles the component checked state. |
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
{% meta height:110 %}
|
|
23
|
-
{% variant title:Hooks %}
|
|
24
|
-
{% embed_file checkbox/keyboard/func/main.tsx preview %}
|
|
25
|
-
{% endvariant %}
|
|
26
|
-
{% variant title:Classes %}
|
|
27
|
-
{% embed_file checkbox/keyboard/class/main.tsx preview %}
|
|
28
|
-
{% endvariant %}
|
|
29
|
-
{% endmeta %}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## Suggested Links
|
|
33
|
-
|
|
34
|
-
* [API Reference of the Checkbox Component]({% slug api_inputs_checkbox %})
|
|
35
|
-
* [API Reference of the Checkbox props]({% slug api_inputs_checkboxprops %})
|
|
36
|
-
* [Accessibility ]({% slug accessibility_checkbox %})
|
package/docs/checkbox/labels.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Labels
|
|
3
|
-
description: "Set the labels of the KendoReact Checkbox in React projects."
|
|
4
|
-
slug: labels_checkbox
|
|
5
|
-
position: 5
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Labels
|
|
9
|
-
|
|
10
|
-
The Checkbox enables you to add label next to the input, either before or after it.
|
|
11
|
-
|
|
12
|
-
## Setting Up the Label
|
|
13
|
-
|
|
14
|
-
To set the label, use the [`label`]({% slug api_inputs_checkboxprops %}#toc-label) property, which accept `string`. To set position of the label, use the [`labelPlacement`]({% slug api_inputs_checkboxprops %}#toc-labelPlacement) property, which accept `before` and `after` values.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
{% meta height:130 %}
|
|
19
|
-
{% embed_file checkbox/labels/setup/func/main.tsx preview %}
|
|
20
|
-
{% endmeta %}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
## Custom labels
|
|
24
|
-
|
|
25
|
-
To create a custom labels, set `id` prop of the Checkbox and provide custom markup for the label, including the `for` attribute for it.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
{% meta height:130 %}
|
|
30
|
-
{% embed_file checkbox/labels/custom/func/main.tsx preview %}
|
|
31
|
-
{% endmeta %}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
## Suggested Links
|
|
35
|
-
|
|
36
|
-
* [API Reference of the Checkbox]({% slug api_inputs_checkbox %})
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Color Contrast Tool
|
|
3
|
-
description: "Use the KendoReact ColorGradient to check the color contrast of two colors in React projects."
|
|
4
|
-
slug: colorcontrast_colorgradient
|
|
5
|
-
position: 5
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
# Color Contrast Tool
|
|
10
|
-
|
|
11
|
-
The ColorGradient component provides options for checking the color contrast ratio between two colors. Color contrast between text and background is important on web pages. It affects some people’s ability to perceive the information.
|
|
12
|
-
|
|
13
|
-
This tool follows the Web Content Accessibility Guidelines (WCAG), which are a series of recommendations for making the web more accessible.
|
|
14
|
-
|
|
15
|
-
Regarding colors, the WCAG standard defines two levels of contrast ratio:
|
|
16
|
-
* `AA (minimum contrast)`—The level AA requires a contrast ratio of at least 4.5:1 for normal text.
|
|
17
|
-
* `AAA (enhanced contrast)`—The level AAA requires a contrast ratio of at least 7:1 for normal text.
|
|
18
|
-
|
|
19
|
-
To enable the functionality, set its [`backgroundColor`]({% slug api_inputs_colorpickergradientsettings %}#toc-backgroundColor) property.
|
|
20
|
-
|
|
21
|
-
The following example demonstrates how to display the Color Contrast tool in the ColorGradient.
|
|
22
|
-
|
|
23
|
-
{% meta height:550 %}
|
|
24
|
-
{% variant title:Hooks %}
|
|
25
|
-
{% embed_file colorgradient/colorcontrast/func/main.tsx preview %}
|
|
26
|
-
{% endvariant %}
|
|
27
|
-
{% variant title:Classes %}
|
|
28
|
-
{% embed_file colorgradient/colorcontrast/class/main.tsx preview %}
|
|
29
|
-
{% endvariant %}
|
|
30
|
-
{% endmeta %}
|
|
31
|
-
|
|
32
|
-
## Suggested Links
|
|
33
|
-
|
|
34
|
-
* [API Reference of the ColorGradient]({% slug api_inputs_colorgradient %})
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Controlled Mode
|
|
3
|
-
description: "Control the value of the KendoReact ColorGradient in React projects."
|
|
4
|
-
slug: controlled_colorgradient
|
|
5
|
-
position: 3
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Controlled Mode
|
|
9
|
-
|
|
10
|
-
By default, the ColorGradient is in an uncontrolled state.
|
|
11
|
-
|
|
12
|
-
To manage the state of the ColorGradient:
|
|
13
|
-
|
|
14
|
-
1. Use its [`value`]({% slug api_inputs_colorgradientprops %}#toc-value) property.
|
|
15
|
-
1. Handle the [`onChange`]({% slug api_inputs_colorgradientprops %}#toc-onchange) event.
|
|
16
|
-
1. Pass the new value through the props.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{% meta height:450 %}
|
|
21
|
-
{% variant title:Hooks %}
|
|
22
|
-
{% embed_file colorgradient/controlled/func/main.tsx preview %}
|
|
23
|
-
{% endvariant %}
|
|
24
|
-
{% variant title:Classes %}
|
|
25
|
-
{% embed_file colorgradient/controlled/class/main.tsx preview %}
|
|
26
|
-
{% endvariant %}
|
|
27
|
-
{% endmeta %}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## Suggested Links
|
|
31
|
-
|
|
32
|
-
* [API Reference of the ColorGradient]({% slug api_inputs_colorgradient %})
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Disabled ColorGradient
|
|
3
|
-
description: "Enable or disable the KendoReact ColorGradient in React projects."
|
|
4
|
-
slug: disabled_colorgradient
|
|
5
|
-
position: 2
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Disabled ColorGradient
|
|
9
|
-
|
|
10
|
-
By default, the ColorGradient is enabled.
|
|
11
|
-
|
|
12
|
-
To disable user interaction with the component, set the [`disabled`]({% slug api_inputs_colorgradientprops %}#toc-disabled) property to `true`.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{% meta height:450 %}
|
|
17
|
-
{% embed_file colorgradient/disabled/func/main.tsx preview %}
|
|
18
|
-
{% endmeta %}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
## Suggested Links
|
|
22
|
-
|
|
23
|
-
* [API Reference of the ColorGradient]({% slug api_inputs_colorgradient %})
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Overview
|
|
3
|
-
description: "Get an overview of the features the KendoReact ColorGradient delivers and use the component in React projects."
|
|
4
|
-
slug: overview_colorgradient
|
|
5
|
-
position: 1
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# KendoReact ColorGradient Overview
|
|
9
|
-
|
|
10
|
-
The KendoReact ColorGradient renders a gradient, a hue and an alpha slider, and inputs to manually enter the desired color.
|
|
11
|
-
|
|
12
|
-
The KendoReact ColorGradient component is part of the KendoReact library of React UI components. It is distributed through NPM under the [kendo-react-inputs package](https://www.npmjs.com/package/@progress/kendo-react-inputs).
|
|
13
|
-
|
|
14
|
-
<div data-component="StartFreeTrialSection"></div>
|
|
15
|
-
|
|
16
|
-
The following example demonstrates the ColorGradient in action.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{% meta height:700 %}
|
|
21
|
-
{% variant title:Hooks %}
|
|
22
|
-
{% embed_file colorgradient/overview/func/main.tsx preview %}
|
|
23
|
-
{% endvariant %}
|
|
24
|
-
{% variant title:Classes %}
|
|
25
|
-
{% embed_file colorgradient/overview/class/main.tsx preview %}
|
|
26
|
-
{% endvariant %}
|
|
27
|
-
{% endmeta %}
|
|
28
|
-
|
|
29
|
-
>The ColorGradient is part of the [KendoReact Inputs]({% slug overview_inputs %}) component library. The procedures for installing, importing, and using all components in the library are identical. To learn how to use the ColorGradient and the rest of the components in the package, see the [Getting Started with the KendoReact Inputs]({% slug getstarted_inputs %}) guide.
|
|
30
|
-
|
|
31
|
-
## Key Features
|
|
32
|
-
|
|
33
|
-
* [Disabled ColorGradient]({% slug disabled_colorgradient %})—You can render a disabled ColorGradient by setting a single property and keep it disabled until certain requirements are met.
|
|
34
|
-
* [Controlled mode]({% slug controlled_colorgradient %})—You can take advantage of the built-in options that allow you to control the value of the ColorGradient.
|
|
35
|
-
* [Removing opacity inputs]({% slug no_opacity_colorgradient %})—The ColorGradient supports options that allow the user to specify whether an alpha slider and an alpha input will be rendered.
|
|
36
|
-
|
|
37
|
-
## Suggested Links
|
|
38
|
-
|
|
39
|
-
* [Getting Started with the KendoReact Inputs]({% slug getstarted_inputs %})
|
|
40
|
-
* [Getting Started with KendoReact](https://www.telerik.com/kendo-react-ui/components/getting-started/)
|
|
41
|
-
* [API Reference of the ColorGradient]({% slug api_inputs_colorgradient %})
|
|
42
|
-
* [React ColorGradient High-Level Overview](https://www.telerik.com/kendo-react-ui/colorgradient/)
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Removing Opacity Inputs
|
|
3
|
-
description: "Do not show the opacity inputs of the KendoReact ColorGradient in React projects."
|
|
4
|
-
slug: no_opacity_colorgradient
|
|
5
|
-
position: 4
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Removing Opacity Inputs
|
|
9
|
-
|
|
10
|
-
The ColorGradient provides options for the user to specify whether an alpha slider and an alpha input will be rendered.
|
|
11
|
-
|
|
12
|
-
The following example demonstrates how to remove the opacity-related fields.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{% meta height:500 %}
|
|
17
|
-
{% variant title:Hooks %}
|
|
18
|
-
{% embed_file colorgradient/opacity/func/main.tsx preview %}
|
|
19
|
-
{% endvariant %}
|
|
20
|
-
{% variant title:Classes %}
|
|
21
|
-
{% embed_file colorgradient/opacity/class/main.tsx preview %}
|
|
22
|
-
{% endvariant %}
|
|
23
|
-
{% endmeta %}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
## Suggested Links
|
|
27
|
-
|
|
28
|
-
* [API Reference of the ColorGradient]({% slug api_inputs_colorgradient %})
|
|
Binary file
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Controlled Mode
|
|
3
|
-
description: "Control the value of the KendoReact ColorPalette in React projects."
|
|
4
|
-
slug: controlled_colorpalette
|
|
5
|
-
position: 3
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Controlled Mode
|
|
9
|
-
|
|
10
|
-
By default, the ColorPalette is in an uncontrolled state.
|
|
11
|
-
|
|
12
|
-
To manage the state of the ColorPalette:
|
|
13
|
-
|
|
14
|
-
1. Use its [`value`]({% slug api_inputs_colorpaletteprops %}#toc-value) property.
|
|
15
|
-
1. Handle the [`onChange`]({% slug api_inputs_colorpaletteprops %}#toc-onchange) event.
|
|
16
|
-
1. Pass the new value through the props.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{% meta height:200 %}
|
|
21
|
-
{% variant title:Hooks %}
|
|
22
|
-
{% embed_file colorpalette/controlled/func/main.tsx preview %}
|
|
23
|
-
{% endvariant %}
|
|
24
|
-
{% variant title:Classes %}
|
|
25
|
-
{% embed_file colorpalette/controlled/class/main.tsx preview %}
|
|
26
|
-
{% endvariant %}
|
|
27
|
-
{% endmeta %}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## Suggested Links
|
|
31
|
-
|
|
32
|
-
* [API Reference of the ColorPalette]({% slug api_inputs_colorpalette %})
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Custom ColorPalette
|
|
3
|
-
description: "Customize the KendoReact ColorPalette in React projects."
|
|
4
|
-
slug: custom_colorpalette
|
|
5
|
-
position: 5
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Custom ColorPalette
|
|
9
|
-
|
|
10
|
-
The ColorPalette provides options for the user to specify the number of its columns and its tile size.
|
|
11
|
-
|
|
12
|
-
The following example demonstrates how to customize the rendering of the ColorPalette.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{% meta height:250 %}
|
|
17
|
-
{% embed_file colorpalette/custom/func/main.tsx preview %}
|
|
18
|
-
{% endmeta %}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
## Suggested Links
|
|
22
|
-
|
|
23
|
-
* [API Reference of the ColorPalette]({% slug api_inputs_colorpalette %})
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Disabled ColorPalette
|
|
3
|
-
description: "Enable or disable the KendoReact ColorPalette in React projects."
|
|
4
|
-
slug: disabled_colorpalette
|
|
5
|
-
position: 2
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Disabled ColorPalette
|
|
9
|
-
|
|
10
|
-
By default, the ColorPalette is enabled.
|
|
11
|
-
|
|
12
|
-
To disable user interaction with the component, set the [`disabled`]({% slug api_inputs_colorpaletteprops %}#toc-disabled) property to `true`.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{% meta height:250 %}
|
|
17
|
-
{% embed_file colorpalette/disabled/func/main.tsx preview %}
|
|
18
|
-
{% endmeta %}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
## Suggested Links
|
|
22
|
-
|
|
23
|
-
* [API Reference of the ColorPalette]({% slug api_inputs_colorpalette %})
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Events
|
|
3
|
-
description: "Using the KendoReact ColorPalette events in React projects."
|
|
4
|
-
slug: events_colorpalette
|
|
5
|
-
position: 7
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Events
|
|
9
|
-
|
|
10
|
-
The KendoReact ColorPalette generates events that you can handle. This allows you to tailor the behavior of the ColorPalette to your specific requirements.
|
|
11
|
-
|
|
12
|
-
The following example demonstrates the [`change`]({% slug api_inputs_colorpalettechangeevent %}) event of the ColorPalette.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
{% meta height:300 %}
|
|
16
|
-
{% variant title:Hooks %}
|
|
17
|
-
{% embed_file colorpalette/overview/events/func/main.tsx preview %}
|
|
18
|
-
{% endvariant %}
|
|
19
|
-
{% variant title:Classes %}
|
|
20
|
-
{% embed_file colorpalette/overview/events/class/main.tsx preview %}
|
|
21
|
-
{% endvariant %}
|
|
22
|
-
{% endmeta %}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## Suggested Links
|
|
26
|
-
|
|
27
|
-
* [API Reference of the ColorPalette]({% slug api_inputs_colorpalette %})
|