@speakapbv/dough-component-library 9.33.1 → 10.0.0

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.es.js CHANGED
@@ -636,7 +636,7 @@ var Button = function (props) {
636
636
  cancelEvent(e);
637
637
  return;
638
638
  }
639
- else if (!props.busy && !props.disabled) {
639
+ else {
640
640
  if (buttonRef.current) {
641
641
  var buttonGlow_1 = buttonRef.current.querySelector(".dough-button-background-glow");
642
642
  if (buttonGlow_1 === null || buttonGlow_1 === void 0 ? void 0 : buttonGlow_1.classList.contains("dough-glow-background")) {
@@ -757,7 +757,7 @@ var Button = function (props) {
757
757
  "dough-button-full-width": props.fullWidth,
758
758
  "dough-link-no-underline": type === ButtonInputType.LINK,
759
759
  }), disabled: props.disabled, onClick: clickHandler, dataAttributes: props.dataAttributes }, linkProps), getButtonContent())),
760
- type !== ButtonInputType.LINK && (React.createElement("button", __assign({ ref: buttonRef, type: type, autoFocus: props.autoFocus, name: props.name, onMouseDown: cancelEvent, onPointerDown: cancelEvent, tabIndex: props.tabIndex === undefined ? 0 : props.tabIndex, className: cn("dough-button-wrapper", props.className, {
760
+ type !== ButtonInputType.LINK && (React.createElement("button", __assign({ ref: buttonRef, type: type, autoFocus: props.autoFocus, name: props.name, tabIndex: props.tabIndex === undefined ? 0 : props.tabIndex, className: cn("dough-button-wrapper", props.className, {
761
761
  "dough-button-full-width": props.fullWidth,
762
762
  "dough-button-not-clickable": !props.onClick &&
763
763
  !props.onDoubleClick &&
package/dist/index.js CHANGED
@@ -630,7 +630,7 @@ var Button = function (props) {
630
630
  cancelEvent(e);
631
631
  return;
632
632
  }
633
- else if (!props.busy && !props.disabled) {
633
+ else {
634
634
  if (buttonRef.current) {
635
635
  var buttonGlow_1 = buttonRef.current.querySelector(".dough-button-background-glow");
636
636
  if (buttonGlow_1 === null || buttonGlow_1 === void 0 ? void 0 : buttonGlow_1.classList.contains("dough-glow-background")) {
@@ -751,7 +751,7 @@ var Button = function (props) {
751
751
  "dough-button-full-width": props.fullWidth,
752
752
  "dough-link-no-underline": type === exports.ButtonInputType.LINK,
753
753
  }), disabled: props.disabled, onClick: clickHandler, dataAttributes: props.dataAttributes }, linkProps), getButtonContent())),
754
- type !== exports.ButtonInputType.LINK && (React__default.createElement("button", __assign({ ref: buttonRef, type: type, autoFocus: props.autoFocus, name: props.name, onMouseDown: cancelEvent, onPointerDown: cancelEvent, tabIndex: props.tabIndex === undefined ? 0 : props.tabIndex, className: cn("dough-button-wrapper", props.className, {
754
+ type !== exports.ButtonInputType.LINK && (React__default.createElement("button", __assign({ ref: buttonRef, type: type, autoFocus: props.autoFocus, name: props.name, tabIndex: props.tabIndex === undefined ? 0 : props.tabIndex, className: cn("dough-button-wrapper", props.className, {
755
755
  "dough-button-full-width": props.fullWidth,
756
756
  "dough-button-not-clickable": !props.onClick &&
757
757
  !props.onDoubleClick &&
@@ -2,3 +2,4 @@ import React from "react";
2
2
  declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("./drop-menu").DropMenuProps & React.RefAttributes<import("./drop-menu").DoughDropMenuRef>>;
3
3
  export default _default;
4
4
  export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("./drop-menu").DropMenuProps & React.RefAttributes<import("./drop-menu").DoughDropMenuRef>>;
5
+ export declare const Multiple: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("./drop-menu").DropMenuProps & React.RefAttributes<import("./drop-menu").DoughDropMenuRef>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakapbv/dough-component-library",
3
- "version": "9.33.1",
3
+ "version": "10.0.0",
4
4
  "description": "DOUGH: Speakap React Component Library",
5
5
  "author": "Speakap",
6
6
  "license": "MIT",