azeriand-library 1.13.2 → 1.13.3

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.esm.js CHANGED
@@ -15778,6 +15778,9 @@ function Button({ children, label, icon, position: position2 = "left", onClick,
15778
15778
  specificCardClassNames = "min-w-auto text-xs px-[0.5rem] py-1";
15779
15779
  className = `w-fit ${className}`;
15780
15780
  }
15781
+ if (icon && !label) {
15782
+ specificCardClassNames = "square-8 p-2";
15783
+ }
15781
15784
  let cardClassNames = `${specificCardClassNames} ${defaultCardClassNames}`;
15782
15785
  if (className) {
15783
15786
  const roundedMatch = className.match(/rounded\-[a-z0-9]+/g);