indicator-ui 0.1.32 → 0.1.33
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
|
@@ -55953,7 +55953,6 @@ function TEXT_AUTO_SCROLL_ANIM() {
|
|
|
55953
55953
|
var scrollWidth = obj.scrollWidth;
|
|
55954
55954
|
var containerWidth = obj.clientWidth;
|
|
55955
55955
|
var distance = scrollWidth - containerWidth;
|
|
55956
|
-
console.log(scrollWidth, containerWidth);
|
|
55957
55956
|
if (distance <= 0) return timeline;
|
|
55958
55957
|
timeline.clear().to(obj, {
|
|
55959
55958
|
x: -distance,
|
|
@@ -69424,12 +69423,14 @@ var MicroButton = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)
|
|
|
69424
69423
|
if (customComponent !== undefined) {
|
|
69425
69424
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(customComponent, {
|
|
69426
69425
|
children: icon || children,
|
|
69427
|
-
className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(_styles__WEBPACK_IMPORTED_MODULE_3__.MicroButtonStyle.button, getTypeClassName(), getSizeClassName(), getAdditionStyles())
|
|
69426
|
+
className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(_styles__WEBPACK_IMPORTED_MODULE_3__.MicroButtonStyle.button, getTypeClassName(), getSizeClassName(), getAdditionStyles()),
|
|
69427
|
+
ref: ref
|
|
69428
69428
|
});
|
|
69429
69429
|
}
|
|
69430
69430
|
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", _objectSpread(_objectSpread({}, anotherProps), {}, {
|
|
69431
69431
|
disabled: disabled,
|
|
69432
69432
|
className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(_styles__WEBPACK_IMPORTED_MODULE_3__.MicroButtonStyle.button, getTypeClassName(), getSizeClassName(), getAdditionStyles()),
|
|
69433
|
+
ref: ref,
|
|
69433
69434
|
children: icon || children
|
|
69434
69435
|
}));
|
|
69435
69436
|
});
|