@progress/kendo-react-inputs 5.2.0-dev.202204010759 → 5.2.0-dev.202204051831

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.
@@ -145,7 +145,7 @@ export var Checkbox = React.forwardRef(function (directProps, target) {
145
145
  var inputProps = __assign({ type: 'checkbox', className: classNames('k-checkbox', (_a = {},
146
146
  _a["k-checkbox-" + (kendoThemeMaps.sizeMap[size] || size)] = size,
147
147
  _a["k-rounded-" + (kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
148
- _a['k-state-indeterminate'] = indeterminateProp,
148
+ _a['k-indeterminate'] = indeterminateProp,
149
149
  _a['k-state-invalid k-invalid'] = !(isValid || validityStyles !== undefined || validityStyles === true),
150
150
  _a)), ref: elementRef, name: name, id: id || calculatedId, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, checked: Boolean(checkedProp), disabled: disabled, tabIndex: getTabIndex(tabIndex, disabled), role: 'checkbox', required: required !== undefined ? required : false, 'aria-checked': currentChecked || checkedProp ?
151
151
  true :
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-inputs',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1648799028,
8
+ publishDate: 1649182559,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
11
11
  };
@@ -240,9 +240,9 @@ var SwitchWithoutContext = /** @class */ (function (_super) {
240
240
  _a["k-rounded-" + (kendoThemeMaps.roundedMap[trackRounded] || trackRounded)] = trackRounded,
241
241
  _a['k-switch-on'] = this.value,
242
242
  _a['k-switch-off'] = !this.value,
243
- _a['k-state-focused'] = focused,
244
- _a['k-state-disabled'] = disabled,
245
- _a['k-state-invalid'] = !isValid,
243
+ _a['k-focus'] = focused,
244
+ _a['k-disabled'] = disabled,
245
+ _a['k-invalid'] = !isValid,
246
246
  _a), this.props.className);
247
247
  var ariaAttributes = {
248
248
  'aria-checked': this.value,
@@ -147,7 +147,7 @@ exports.Checkbox = React.forwardRef(function (directProps, target) {
147
147
  var inputProps = __assign({ type: 'checkbox', className: kendo_react_common_1.classNames('k-checkbox', (_a = {},
148
148
  _a["k-checkbox-" + (kendo_react_common_1.kendoThemeMaps.sizeMap[size] || size)] = size,
149
149
  _a["k-rounded-" + (kendo_react_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
150
- _a['k-state-indeterminate'] = indeterminateProp,
150
+ _a['k-indeterminate'] = indeterminateProp,
151
151
  _a['k-state-invalid k-invalid'] = !(isValid || validityStyles !== undefined || validityStyles === true),
152
152
  _a)), ref: elementRef, name: name, id: id || calculatedId, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, checked: Boolean(checkedProp), disabled: disabled, tabIndex: kendo_react_common_1.getTabIndex(tabIndex, disabled), role: 'checkbox', required: required !== undefined ? required : false, 'aria-checked': currentChecked || checkedProp ?
153
153
  true :
@@ -7,7 +7,7 @@ exports.packageMetadata = {
7
7
  name: '@progress/kendo-react-inputs',
8
8
  productName: 'KendoReact',
9
9
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
10
- publishDate: 1648799028,
10
+ publishDate: 1649182559,
11
11
  version: '',
12
12
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
13
13
  };
@@ -242,9 +242,9 @@ var SwitchWithoutContext = /** @class */ (function (_super) {
242
242
  _a["k-rounded-" + (kendo_react_common_1.kendoThemeMaps.roundedMap[trackRounded] || trackRounded)] = trackRounded,
243
243
  _a['k-switch-on'] = this.value,
244
244
  _a['k-switch-off'] = !this.value,
245
- _a['k-state-focused'] = focused,
246
- _a['k-state-disabled'] = disabled,
247
- _a['k-state-invalid'] = !isValid,
245
+ _a['k-focus'] = focused,
246
+ _a['k-disabled'] = disabled,
247
+ _a['k-invalid'] = !isValid,
248
248
  _a), this.props.className);
249
249
  var ariaAttributes = {
250
250
  'aria-checked': this.value,