indicator-ui 0.0.314 → 0.0.315
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.
package/dist/index.js
CHANGED
|
@@ -52715,20 +52715,20 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
52715
52715
|
|
|
52716
52716
|
|
|
52717
52717
|
|
|
52718
|
-
|
|
52719
|
-
var children =
|
|
52720
|
-
icon =
|
|
52721
|
-
|
|
52722
|
-
size =
|
|
52723
|
-
|
|
52724
|
-
color =
|
|
52725
|
-
|
|
52726
|
-
additionStyles =
|
|
52727
|
-
customComponent =
|
|
52728
|
-
disabled =
|
|
52729
|
-
|
|
52730
|
-
className =
|
|
52731
|
-
|
|
52718
|
+
var MicroButton = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
52719
|
+
var children = props.children,
|
|
52720
|
+
icon = props.icon,
|
|
52721
|
+
_props$size = props.size,
|
|
52722
|
+
size = _props$size === void 0 ? '14' : _props$size,
|
|
52723
|
+
_props$color = props.color,
|
|
52724
|
+
color = _props$color === void 0 ? 'light' : _props$color,
|
|
52725
|
+
_props$additionStyles = props.additionStyles,
|
|
52726
|
+
additionStyles = _props$additionStyles === void 0 ? [] : _props$additionStyles,
|
|
52727
|
+
customComponent = props.customComponent,
|
|
52728
|
+
disabled = props.disabled,
|
|
52729
|
+
_props$className = props.className,
|
|
52730
|
+
className = _props$className === void 0 ? _styles__WEBPACK_IMPORTED_MODULE_3__.MicroButtonStyle : _props$className,
|
|
52731
|
+
anotherProps = _objectWithoutProperties(props, _excluded);
|
|
52732
52732
|
var getTypeClassName = function getTypeClassName() {
|
|
52733
52733
|
switch (color) {
|
|
52734
52734
|
case 'light':
|
|
@@ -52779,12 +52779,12 @@ function MicroButton(_ref) {
|
|
|
52779
52779
|
className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className === null || className === void 0 ? void 0 : className.button, getTypeClassName(), getSizeClassName(), getAdditionStyles())
|
|
52780
52780
|
});
|
|
52781
52781
|
}
|
|
52782
|
-
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", _objectSpread(_objectSpread({},
|
|
52782
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", _objectSpread(_objectSpread({}, anotherProps), {}, {
|
|
52783
52783
|
disabled: disabled,
|
|
52784
52784
|
className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className === null || className === void 0 ? void 0 : className.button, getTypeClassName(), getSizeClassName(), getAdditionStyles()),
|
|
52785
52785
|
children: icon || children
|
|
52786
52786
|
}));
|
|
52787
|
-
}
|
|
52787
|
+
});
|
|
52788
52788
|
|
|
52789
52789
|
/***/ }),
|
|
52790
52790
|
|