intelicoreact 0.1.81 → 0.1.82

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.
@@ -30,9 +30,12 @@ var Button = function Button(_ref) {
30
30
  children = _ref.children,
31
31
  style = _ref.style,
32
32
  noIcon = _ref.noIcon,
33
- isIconRight = _ref.isIconRight;
33
+ isIconRight = _ref.isIconRight,
34
+ _ref$tabIndex = _ref.tabIndex,
35
+ tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex;
34
36
  var noRenderIcon = noIcon || variant === "ellipse-apply" || variant === "ellipse-cancel";
35
37
  return /*#__PURE__*/_react.default.createElement("button", {
38
+ tabIndex: tabIndex,
36
39
  style: style,
37
40
  className: (0, _classnames.default)(className, RC, (_cn = {}, (0, _defineProperty2.default)(_cn, "".concat(RC, "_").concat(variant), variant), (0, _defineProperty2.default)(_cn, 'button_icon-left', icon && !isIconRight), (0, _defineProperty2.default)(_cn, 'button_icon-right', icon && isIconRight), _cn)),
38
41
  onClick: onClick,
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.capitalized = exports.changeMeta = exports.addBitDepthPoints = exports.throttle = exports.debounce = exports.getColorById = exports.getStyles = exports.logout = exports.useOutsideToggle = exports.handleObjectChange = void 0;
8
+ exports.firstLetterCapital = exports.changeMeta = exports.addBitDepthPoints = exports.throttle = exports.debounce = exports.getColorById = exports.getStyles = exports.logout = exports.useOutsideToggle = exports.handleObjectChange = void 0;
9
9
 
10
10
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
11
11
 
@@ -157,8 +157,8 @@ var changeMeta = function changeMeta(key) {
157
157
 
158
158
  exports.changeMeta = changeMeta;
159
159
 
160
- var capitalized = function capitalized(str) {
161
- return "".concat(str.substring(0, 1).toUpperCase()).concat(str.substring(1, str.length).toUpperCase());
160
+ var firstLetterCapital = function firstLetterCapital(str) {
161
+ return "".concat(str.charAt(0).toUpperCase()).concat(str.slice(1));
162
162
  };
163
163
 
164
- exports.capitalized = capitalized;
164
+ exports.firstLetterCapital = firstLetterCapital;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "0.1.81",
3
+ "version": "0.1.82",
4
4
  "description": "hotfix/InputMaskOnChange | Add Possibility To Revert Clear Value and Masked Value in OnChange Callback",
5
5
  "main": "dist/index.js",
6
6
  "files": [