@appcorp/app-corp-vista 0.1.58 → 0.1.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.
@@ -39,7 +39,7 @@ var VistaButtonV1 = function (_a) {
39
39
  var suffixClassName = dir === vista_dashboard_type_1.APP_DIR.LTR ? 'order-2' : 'order-1';
40
40
  var labelClassName = label === 'Next' ? labelNextClassName : labelPreviousClassName;
41
41
  return (react_1.default.createElement("button", { className: "flex flex-row justify-center items-center font-semibold shadow-sm focus-visible:outline focus-visible:outline-offset-2 disabled:bg-gray-200 disabled:text-gray-400 cursor-pointer ".concat(className, " ").concat(vistaButtonVariantMap[variant], " ").concat(vistaButtonRoundedMap[rounded], " ").concat(vistaButtonSizeMap[size]), onClick: handleOnClick, disabled: disabled, type: "button" },
42
- react_1.default.createElement("div", { className: 'flex flex-row justify-center items-center gap-2' },
42
+ react_1.default.createElement("div", { className: "flex flex-row justify-center items-center ".concat(variant !== vista_button_type_1.VISTA_BUTTON_VARIANT.ICON && 'gap-2') },
43
43
  prefixIcon && (react_1.default.createElement("div", { className: prefixClassName }, variant !== vista_button_type_1.VISTA_BUTTON_VARIANT.ICON && prefixIcon)),
44
44
  loading && react_1.default.createElement("div", { className: "border-gray-300 h-4 w-4 animate-spin rounded-full border-1 border-t-gray-500" }),
45
45
  react_1.default.createElement(react_1.default.Fragment, null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.1.58",
3
+ "version": "0.1.59",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib",
6
6
  "build:next": "next build",