@ringcentral/juno 2.44.0 → 2.45.1

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.
@@ -109,7 +109,7 @@ var _NumberPicker = react_1.forwardRef(function (props, ref) {
109
109
  return 'large';
110
110
  }
111
111
  })();
112
- return (react_1.default.createElement(StyledNumberPicker_1.StyledNumberPicker, tslib_1.__assign({ tabIndex: 0, onKeyDown: handleKeyDown, "aria-live": "assertive", "aria-label": label, ref: pickerRef, "data-focusable": true, role: "spinbutton" }, rest),
112
+ return (react_1.default.createElement(StyledNumberPicker_1.StyledNumberPicker, tslib_1.__assign({ tabIndex: 0, onKeyDown: handleKeyDown, "aria-live": "assertive", "aria-label": label, ref: pickerRef, "data-focusable": true, role: "spinbutton", "aria-valuenow": innerValue }, rest),
113
113
  react_1.default.createElement(StyledTimeIconButton_1.StyledTimeIconButton, { tabIndex: -1, size: iconSize, color: "neutral.f04", wrapperSize: size, disabled: increaseDisabled, onClick: function () {
114
114
  onUpdateValue(increaseValue);
115
115
  }, symbol: juno_icon_1.ArrowUp, "data-test-automation-id": automationId && automationId + "-prev-pagination", "aria-label": "Arrow Up" }),
@@ -56,7 +56,7 @@ var PickerTextField = react_1.forwardRef(function (props, ref) {
56
56
  readOnly: true,
57
57
  endAdornment: (react_1.default.createElement(react_1.default.Fragment, null,
58
58
  value && (react_1.default.createElement(IconButton_1.RcIconButton, tslib_1.__assign({ className: "picker-clear", variant: "plain", tabIndex: -1, disabled: disabled, symbol: juno_icon_1.DeleteCircle, title: iconTitle, "aria-label": iconTitle }, combineClearProps))),
59
- react_1.default.createElement(IconButton_1.RcIconButton, { className: "picker-action", variant: "plain", tabIndex: -1, disabled: disabled, symbol: ActionSymbol }))),
59
+ react_1.default.createElement(IconButton_1.RcIconButton, { "aria-hidden": "true", className: "picker-action", variant: "plain", tabIndex: -1, disabled: disabled, symbol: ActionSymbol }))),
60
60
  onClick: handlePickerClick,
61
61
  onKeyDown: handleKeydown,
62
62
  inputProps: tslib_1.__assign({ 'aria-describedby': idForHelperText + " " + idForInstruction, 'aria-haspopup': true }, inputProps),
@@ -107,7 +107,7 @@ var _NumberPicker = forwardRef(function (props, ref) {
107
107
  return 'large';
108
108
  }
109
109
  })();
110
- return (React.createElement(StyledNumberPicker, __assign({ tabIndex: 0, onKeyDown: handleKeyDown, "aria-live": "assertive", "aria-label": label, ref: pickerRef, "data-focusable": true, role: "spinbutton" }, rest),
110
+ return (React.createElement(StyledNumberPicker, __assign({ tabIndex: 0, onKeyDown: handleKeyDown, "aria-live": "assertive", "aria-label": label, ref: pickerRef, "data-focusable": true, role: "spinbutton", "aria-valuenow": innerValue }, rest),
111
111
  React.createElement(StyledTimeIconButton, { tabIndex: -1, size: iconSize, color: "neutral.f04", wrapperSize: size, disabled: increaseDisabled, onClick: function () {
112
112
  onUpdateValue(increaseValue);
113
113
  }, symbol: ArrowUpIcon, "data-test-automation-id": automationId && automationId + "-prev-pagination", "aria-label": "Arrow Up" }),
@@ -54,7 +54,7 @@ var PickerTextField = forwardRef(function (props, ref) {
54
54
  readOnly: true,
55
55
  endAdornment: (React.createElement(React.Fragment, null,
56
56
  value && (React.createElement(RcIconButton, __assign({ className: "picker-clear", variant: "plain", tabIndex: -1, disabled: disabled, symbol: DeleteCircleIcon, title: iconTitle, "aria-label": iconTitle }, combineClearProps))),
57
- React.createElement(RcIconButton, { className: "picker-action", variant: "plain", tabIndex: -1, disabled: disabled, symbol: ActionSymbol }))),
57
+ React.createElement(RcIconButton, { "aria-hidden": "true", className: "picker-action", variant: "plain", tabIndex: -1, disabled: disabled, symbol: ActionSymbol }))),
58
58
  onClick: handlePickerClick,
59
59
  onKeyDown: handleKeydown,
60
60
  inputProps: __assign({ 'aria-describedby': idForHelperText + " " + idForInstruction, 'aria-haspopup': true }, inputProps),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ringcentral/juno",
3
- "version": "2.44.0",
3
+ "version": "2.45.1",
4
4
  "author": "RingCentral",
5
5
  "license": "MIT",
6
6
  "main": "./index.js",