@progress/kendo-react-dropdowns 5.1.0-dev.202202180916 → 5.1.0-dev.202202230917

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.
@@ -25,7 +25,9 @@ export declare class DropDownListWithoutContext extends React.Component<DropDown
25
25
  virtual: PropTypes.Requireable<PropTypes.InferProps<{
26
26
  pageSize: PropTypes.Validator<number>;
27
27
  skip: PropTypes.Validator<number>;
28
- total: PropTypes.Validator<number>;
28
+ total: PropTypes.Validator<number>; /**
29
+ * The value of the DropDownList.
30
+ */
29
31
  }>>;
30
32
  onFilterChange: PropTypes.Requireable<(...args: any[]) => any>;
31
33
  onPageChange: PropTypes.Requireable<(...args: any[]) => any>;
@@ -71,6 +73,7 @@ export declare class DropDownListWithoutContext extends React.Component<DropDown
71
73
  id: PropTypes.Requireable<string>;
72
74
  ariaLabelledBy: PropTypes.Requireable<string>;
73
75
  ariaDescribedBy: PropTypes.Requireable<string>;
76
+ ariaLabel: PropTypes.Requireable<string>;
74
77
  leftRightKeysNavigation: PropTypes.Requireable<boolean>;
75
78
  title: PropTypes.Requireable<string>;
76
79
  };
@@ -515,10 +515,10 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
515
515
  _a['k-required'] = this.required,
516
516
  _a)), style: !label
517
517
  ? style
518
- : __assign({}, style, { width: undefined }), dir: dir, onMouseDown: opened ? preventDefaultNonInputs : undefined, onFocus: this.handleFocus, onBlur: this.handleBlur, tabIndex: getTabIndex(tabIndex, disabled), accessKey: this.props.accessKey, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, onClick: disabled ? undefined : this.handleWrapperClick, role: 'listbox', "aria-disabled": disabled || undefined, "aria-haspopup": true, "aria-expanded": opened || false, "aria-owns": this.base.listBoxId, "aria-activedescendant": opened ? ('option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0))) : undefined, "aria-label": this.props.label, "aria-labelledby": this.props.ariaLabelledBy, "aria-describedby": this.props.ariaDescribedBy, id: this.props.id, title: this.props.title },
518
+ : __assign({}, style, { width: undefined }), dir: dir, onMouseDown: opened ? preventDefaultNonInputs : undefined, onFocus: this.handleFocus, onBlur: this.handleBlur, tabIndex: getTabIndex(tabIndex, disabled), accessKey: this.props.accessKey, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, onClick: disabled ? undefined : this.handleWrapperClick, role: 'listbox', "aria-disabled": disabled || undefined, "aria-haspopup": true, "aria-expanded": opened || false, "aria-owns": this.base.listBoxId, "aria-activedescendant": opened ? ('option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0))) : undefined, "aria-label": this.props.ariaLabel || this.props.label, "aria-labelledby": this.props.ariaLabelledBy, "aria-describedby": this.props.ariaDescribedBy, id: this.props.id, title: this.props.title },
519
519
  valueElement,
520
520
  loading && React.createElement("span", { className: "k-icon k-i-loading", key: "loading" }),
521
- React.createElement("button", { tabIndex: -1, type: "button", className: classNames('k-input-button k-button k-icon-button', (_b = {},
521
+ React.createElement("button", { tabIndex: -1, type: "button", "aria-hidden": true, className: classNames('k-input-button k-button k-icon-button', (_b = {},
522
522
  _b["k-button-" + (sizeMap[size] || size)] = size,
523
523
  _b["k-button-" + fillMode] = fillMode,
524
524
  _b["k-button-" + fillMode + "-base"] = fillMode,
@@ -585,7 +585,7 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
585
585
  /**
586
586
  * @hidden
587
587
  */
588
- DropDownListWithoutContext.propTypes = __assign({ delay: PropTypes.number, ignoreCase: PropTypes.bool, iconClassName: PropTypes.string, defaultItem: PropTypes.any, valueRender: PropTypes.func, valueMap: PropTypes.func, validationMessage: PropTypes.string, required: PropTypes.bool, id: PropTypes.string, ariaLabelledBy: PropTypes.string, ariaDescribedBy: PropTypes.string, leftRightKeysNavigation: PropTypes.bool, title: PropTypes.string }, DropDownBase.propTypes);
588
+ DropDownListWithoutContext.propTypes = __assign({ delay: PropTypes.number, ignoreCase: PropTypes.bool, iconClassName: PropTypes.string, defaultItem: PropTypes.any, valueRender: PropTypes.func, valueMap: PropTypes.func, validationMessage: PropTypes.string, required: PropTypes.bool, id: PropTypes.string, ariaLabelledBy: PropTypes.string, ariaDescribedBy: PropTypes.string, ariaLabel: PropTypes.string, leftRightKeysNavigation: PropTypes.bool, title: PropTypes.string }, DropDownBase.propTypes);
589
589
  /**
590
590
  * @hidden
591
591
  */
@@ -162,6 +162,10 @@ export interface DropDownListProps extends FormComponentProps {
162
162
  * Identifies the element(s) which will label the component.
163
163
  */
164
164
  ariaLabelledBy?: string;
165
+ /**
166
+ * The accessible label of the component. By default is set to value of `label` prop.
167
+ */
168
+ ariaLabel?: string;
165
169
  /**
166
170
  * Configures the popup of the DropDownList.
167
171
  */
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-dropdowns',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1645174856,
8
+ publishDate: 1645606858,
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
  };
@@ -25,7 +25,9 @@ export declare class DropDownListWithoutContext extends React.Component<DropDown
25
25
  virtual: PropTypes.Requireable<PropTypes.InferProps<{
26
26
  pageSize: PropTypes.Validator<number>;
27
27
  skip: PropTypes.Validator<number>;
28
- total: PropTypes.Validator<number>;
28
+ total: PropTypes.Validator<number>; /**
29
+ * The value of the DropDownList.
30
+ */
29
31
  }>>;
30
32
  onFilterChange: PropTypes.Requireable<(...args: any[]) => any>;
31
33
  onPageChange: PropTypes.Requireable<(...args: any[]) => any>;
@@ -71,6 +73,7 @@ export declare class DropDownListWithoutContext extends React.Component<DropDown
71
73
  id: PropTypes.Requireable<string>;
72
74
  ariaLabelledBy: PropTypes.Requireable<string>;
73
75
  ariaDescribedBy: PropTypes.Requireable<string>;
76
+ ariaLabel: PropTypes.Requireable<string>;
74
77
  leftRightKeysNavigation: PropTypes.Requireable<boolean>;
75
78
  title: PropTypes.Requireable<string>;
76
79
  };
@@ -517,10 +517,10 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
517
517
  _a['k-required'] = this.required,
518
518
  _a)), style: !label
519
519
  ? style
520
- : __assign({}, style, { width: undefined }), dir: dir, onMouseDown: opened ? utils_1.preventDefaultNonInputs : undefined, onFocus: this.handleFocus, onBlur: this.handleBlur, tabIndex: kendo_react_common_1.getTabIndex(tabIndex, disabled), accessKey: this.props.accessKey, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, onClick: disabled ? undefined : this.handleWrapperClick, role: 'listbox', "aria-disabled": disabled || undefined, "aria-haspopup": true, "aria-expanded": opened || false, "aria-owns": this.base.listBoxId, "aria-activedescendant": opened ? ('option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0))) : undefined, "aria-label": this.props.label, "aria-labelledby": this.props.ariaLabelledBy, "aria-describedby": this.props.ariaDescribedBy, id: this.props.id, title: this.props.title },
520
+ : __assign({}, style, { width: undefined }), dir: dir, onMouseDown: opened ? utils_1.preventDefaultNonInputs : undefined, onFocus: this.handleFocus, onBlur: this.handleBlur, tabIndex: kendo_react_common_1.getTabIndex(tabIndex, disabled), accessKey: this.props.accessKey, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, onClick: disabled ? undefined : this.handleWrapperClick, role: 'listbox', "aria-disabled": disabled || undefined, "aria-haspopup": true, "aria-expanded": opened || false, "aria-owns": this.base.listBoxId, "aria-activedescendant": opened ? ('option-' + this.base.guid + '-' + (selectedIndex + (virtual ? virtual.skip : 0))) : undefined, "aria-label": this.props.ariaLabel || this.props.label, "aria-labelledby": this.props.ariaLabelledBy, "aria-describedby": this.props.ariaDescribedBy, id: this.props.id, title: this.props.title },
521
521
  valueElement,
522
522
  loading && React.createElement("span", { className: "k-icon k-i-loading", key: "loading" }),
523
- React.createElement("button", { tabIndex: -1, type: "button", className: kendo_react_common_1.classNames('k-input-button k-button k-icon-button', (_b = {},
523
+ React.createElement("button", { tabIndex: -1, type: "button", "aria-hidden": true, className: kendo_react_common_1.classNames('k-input-button k-button k-icon-button', (_b = {},
524
524
  _b["k-button-" + (sizeMap[size] || size)] = size,
525
525
  _b["k-button-" + fillMode] = fillMode,
526
526
  _b["k-button-" + fillMode + "-base"] = fillMode,
@@ -587,7 +587,7 @@ var DropDownListWithoutContext = /** @class */ (function (_super) {
587
587
  /**
588
588
  * @hidden
589
589
  */
590
- DropDownListWithoutContext.propTypes = __assign({ delay: PropTypes.number, ignoreCase: PropTypes.bool, iconClassName: PropTypes.string, defaultItem: PropTypes.any, valueRender: PropTypes.func, valueMap: PropTypes.func, validationMessage: PropTypes.string, required: PropTypes.bool, id: PropTypes.string, ariaLabelledBy: PropTypes.string, ariaDescribedBy: PropTypes.string, leftRightKeysNavigation: PropTypes.bool, title: PropTypes.string }, DropDownBase_1.default.propTypes);
590
+ DropDownListWithoutContext.propTypes = __assign({ delay: PropTypes.number, ignoreCase: PropTypes.bool, iconClassName: PropTypes.string, defaultItem: PropTypes.any, valueRender: PropTypes.func, valueMap: PropTypes.func, validationMessage: PropTypes.string, required: PropTypes.bool, id: PropTypes.string, ariaLabelledBy: PropTypes.string, ariaDescribedBy: PropTypes.string, ariaLabel: PropTypes.string, leftRightKeysNavigation: PropTypes.bool, title: PropTypes.string }, DropDownBase_1.default.propTypes);
591
591
  /**
592
592
  * @hidden
593
593
  */
@@ -162,6 +162,10 @@ export interface DropDownListProps extends FormComponentProps {
162
162
  * Identifies the element(s) which will label the component.
163
163
  */
164
164
  ariaLabelledBy?: string;
165
+ /**
166
+ * The accessible label of the component. By default is set to value of `label` prop.
167
+ */
168
+ ariaLabel?: string;
165
169
  /**
166
170
  * Configures the popup of the DropDownList.
167
171
  */
@@ -7,7 +7,7 @@ exports.packageMetadata = {
7
7
  name: '@progress/kendo-react-dropdowns',
8
8
  productName: 'KendoReact',
9
9
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
10
- publishDate: 1645174856,
10
+ publishDate: 1645606858,
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
  };