indicator-ui 0.0.57 → 0.0.59

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
@@ -2986,7 +2986,7 @@ __webpack_require__.r(__webpack_exports__);
2986
2986
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2987
2987
  /* harmony export */ });
2988
2988
  // extracted by mini-css-extract-plugin
2989
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"button":"Buttons-module__button___I3yLe","icon":"Buttons-module__icon___U2AOU","widthFill":"Buttons-module__widthFill___HXb85","widthHug":"Buttons-module__widthHug___Uy38K","heightFill":"Buttons-module__heightFill___dwVrw","heightHug":"Buttons-module__heightHug___El1C3","small":"Buttons-module__small___x1NQN","text":"Buttons-module__text___htxqX","medium":"Buttons-module__medium___BZfsd","large":"Buttons-module__large____KUDT","ultra":"Buttons-module__ultra___zBezN","primary":"Buttons-module__primary____crHN","secondaryColor":"Buttons-module__secondaryColor___GONLZ","secondaryGray":"Buttons-module__secondaryGray___yu1Ne","tertiaryWhite":"Buttons-module__tertiaryWhite___QIZOq","tertiaryColor":"Buttons-module__tertiaryColor___DwXbw","tertiaryGray":"Buttons-module__tertiaryGray___y75cu","linkColor":"Buttons-module__linkColor___Kg7EN","linkBlack":"Buttons-module__linkBlack___WfA7t","linkGray":"Buttons-module__linkGray___CQYUd","tabActive":"Buttons-module__tabActive___chlqq","tab":"Buttons-module__tab___yBTjo","warning":"Buttons-module__warning___RaAeB"});
2989
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"button":"Buttons-module__button___I3yLe","icon":"Buttons-module__icon___U2AOU","widthFill":"Buttons-module__widthFill___HXb85","widthHug":"Buttons-module__widthHug___Uy38K","heightFill":"Buttons-module__heightFill___dwVrw","heightHug":"Buttons-module__heightHug___El1C3","small":"Buttons-module__small___x1NQN","text":"Buttons-module__text___htxqX","medium":"Buttons-module__medium___BZfsd","large":"Buttons-module__large____KUDT","ultra":"Buttons-module__ultra___zBezN","primary":"Buttons-module__primary____crHN","disabled":"Buttons-module__disabled___INiFx","secondaryColor":"Buttons-module__secondaryColor___GONLZ","secondaryGray":"Buttons-module__secondaryGray___yu1Ne","tertiaryWhite":"Buttons-module__tertiaryWhite___QIZOq","tertiaryColor":"Buttons-module__tertiaryColor___DwXbw","tertiaryGray":"Buttons-module__tertiaryGray___y75cu","linkColor":"Buttons-module__linkColor___Kg7EN","linkBlack":"Buttons-module__linkBlack___WfA7t","linkGray":"Buttons-module__linkGray___CQYUd","tabActive":"Buttons-module__tabActive___chlqq","tab":"Buttons-module__tab___yBTjo","warning":"Buttons-module__warning___RaAeB"});
2990
2990
 
2991
2991
  /***/ }),
2992
2992
 
@@ -6864,7 +6864,7 @@ __webpack_require__.r(__webpack_exports__);
6864
6864
 
6865
6865
 
6866
6866
 
6867
- function Button({ children, text, iconLeft, iconRight, hierarchy = 'primary', warning = false, size = 'medium', width = 'hug', height = 'hug', additionStyles = [], customComponent, className = _styles__WEBPACK_IMPORTED_MODULE_3__.ButtonsStyle, ...props }) {
6867
+ function Button({ children, text, iconLeft, iconRight, hierarchy = 'primary', warning = false, size = 'medium', width = 'hug', height = 'hug', additionStyles = [], customComponent, className = _styles__WEBPACK_IMPORTED_MODULE_3__.ButtonsStyle, disabled, ...props }) {
6868
6868
  const getHierarchyClassName = () => {
6869
6869
  switch (hierarchy) {
6870
6870
  case "primary":
@@ -6932,7 +6932,7 @@ function Button({ children, text, iconLeft, iconRight, hierarchy = 'primary', wa
6932
6932
  return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, { children: [iconLeft && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", { className: className?.icon, children: iconLeft }), children && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", { className: className?.text, children: text || children }), iconRight && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", { className: className?.icon, children: iconRight })] }));
6933
6933
  };
6934
6934
  const getClassName = () => {
6935
- return (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className?.button, getHierarchyClassName(), getSizeClassName(), getWidthClassName(), getHeightClassName(), getAdditionStyles(), getWarningStyles());
6935
+ return (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className?.button, getHierarchyClassName(), getSizeClassName(), getWidthClassName(), getHeightClassName(), additionStyles, getWarningStyles(), { [_styles__WEBPACK_IMPORTED_MODULE_3__.ButtonsStyle.disabled]: disabled });
6936
6936
  };
6937
6937
  if (customComponent !== undefined) {
6938
6938
  return react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(customComponent, {