@ringcentral/juno 2.3.6 → 2.3.7

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.
@@ -7,7 +7,7 @@ var Chip_1 = require("../../Chip");
7
7
  var utils_1 = require("../../Chip/utils");
8
8
  var utils_2 = require("../utils");
9
9
  exports.ArrowDownButton = foundation_1.styled(IconButton_1.RcIconButton)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject([""], [""])));
10
- exports.EndAdornment = foundation_1.styled.div(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n right: 0;\n position: absolute;\n"], ["\n right: 0;\n position: absolute;\n"])));
10
+ exports.EndAdornment = foundation_1.styled.div(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n right: 0;\n position: absolute;\n display: flex;\n"], ["\n right: 0;\n position: absolute;\n display: flex;\n"])));
11
11
  exports.DownshiftStyle = function (_a) {
12
12
  var _b = _a.toggleButton, toggleButton = _b === void 0 ? false : _b, // 24 + 12
13
13
  _c = _a.clearBtn, // 24 + 12
@@ -10,7 +10,7 @@ var Tooltip_1 = require("../../../Tooltip");
10
10
  var FakeButton = foundation_1.styled(IconButton_1.RcIconButton)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n position: absolute;\n right: 0;\n pointer-events: none;\n"], ["\n position: absolute;\n right: 0;\n pointer-events: none;\n"])));
11
11
  var _ClearIconButton = react_1.forwardRef(function (_a, ref) {
12
12
  var onMouseDown = _a.onMouseDown, size = _a.size, iconSize = _a.iconSize, rest = tslib_1.__rest(_a, ["onMouseDown", "size", "iconSize"]);
13
- return (react_1.default.createElement(Box_1.RcBox, { display: "flex", alignItems: "center", position: "relative" },
13
+ return (react_1.default.createElement(Box_1.RcBox, { display: "inline-flex", alignItems: "center", position: "relative" },
14
14
  react_1.default.createElement(IconButton_1.RcIconButton, tslib_1.__assign({ type: "button", "aria-hidden": true, variant: "plain", symbol: juno_icon_1.DeleteCircle, tabIndex: -1,
15
15
  // * for prevent focus change
16
16
  onMouseDown: function (e) {
@@ -5,7 +5,7 @@ import { RcChip } from '../../Chip';
5
5
  import { RcChipClasses } from '../../Chip/utils';
6
6
  import { RcDownshiftInputClasses } from '../utils';
7
7
  export var ArrowDownButton = styled(RcIconButton)(templateObject_1 || (templateObject_1 = __makeTemplateObject([""], [""])));
8
- export var EndAdornment = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n right: 0;\n position: absolute;\n"], ["\n right: 0;\n position: absolute;\n"])));
8
+ export var EndAdornment = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n right: 0;\n position: absolute;\n display: flex;\n"], ["\n right: 0;\n position: absolute;\n display: flex;\n"])));
9
9
  export var DownshiftStyle = function (_a) {
10
10
  var _b = _a.toggleButton, toggleButton = _b === void 0 ? false : _b, // 24 + 12
11
11
  _c = _a.clearBtn, // 24 + 12
@@ -8,7 +8,7 @@ import { withTooltip } from '../../../Tooltip';
8
8
  var FakeButton = styled(RcIconButton)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: absolute;\n right: 0;\n pointer-events: none;\n"], ["\n position: absolute;\n right: 0;\n pointer-events: none;\n"])));
9
9
  var _ClearIconButton = forwardRef(function (_a, ref) {
10
10
  var onMouseDown = _a.onMouseDown, size = _a.size, iconSize = _a.iconSize, rest = __rest(_a, ["onMouseDown", "size", "iconSize"]);
11
- return (React.createElement(RcBox, { display: "flex", alignItems: "center", position: "relative" },
11
+ return (React.createElement(RcBox, { display: "inline-flex", alignItems: "center", position: "relative" },
12
12
  React.createElement(RcIconButton, __assign({ type: "button", "aria-hidden": true, variant: "plain", symbol: DeleteCircle, tabIndex: -1,
13
13
  // * for prevent focus change
14
14
  onMouseDown: function (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ringcentral/juno",
3
- "version": "2.3.6",
3
+ "version": "2.3.7",
4
4
  "author": "RingCentral",
5
5
  "license": "MIT",
6
6
  "main": "./index.js",