azeriand-library 1.17.6 → 1.17.7

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
@@ -15820,7 +15820,7 @@ function Card({
15820
15820
  return /* @__PURE__ */ jsx$1(Component, { className: classNames, style: cardStyle, onClick, ...rest, children });
15821
15821
  }
15822
15822
  function Button({ children, label, icon, position: position2 = "left", onClick, size, className, ...cardProps }) {
15823
- let defaultCardClassNames = "flex justify-center items-center gap-x-[0.40rem] box-border cursor-pointer w-fit ";
15823
+ let defaultCardClassNames = "flex justify-center items-center align-middle gap-x-[0.40rem] box-border cursor-pointer w-fit";
15824
15824
  let specificCardClassNames = "min-w-[2.5rem] px-4 py-2.5";
15825
15825
  if (size === "sm") {
15826
15826
  specificCardClassNames = "min-w-auto text-xs px-2.5 py-1.5";
@@ -16084,7 +16084,7 @@ function Dropdown({ buttonText, options = [], onSelected }) {
16084
16084
  };
16085
16085
  return /* @__PURE__ */ jsxs("div", { tabIndex: 0, className: "relative w-fit", onBlur: () => setOpen(false), children: [
16086
16086
  /* @__PURE__ */ jsx$1(DropdownButton, { toggle: toggleDropdown, open, children: optionSelected }),
16087
- open && /* @__PURE__ */ jsx$1(Card, { noPadding: true, noBlur: true, appearance: "outlined", className: "absolute flex flex-col items-center p-[0.5rem] mt-[0.5rem] w-full text-center rounded-lg overflow-y-scroll dropdown-content", children: options.map((option) => /* @__PURE__ */ jsx$1("div", { className: "p-[0.5rem] m-[0.1rem] w-full rounded-lg cursor-pointer", onMouseDown: () => itemClicked(option), children: option }, option)) })
16087
+ open && /* @__PURE__ */ jsx$1(Card, { noPadding: true, className: "absolute flex flex-col items-center p-[0.5rem] mt-[0.5rem] w-full text-center rounded-lg overflow-y-scroll dropdown-content", children: options.map((option) => /* @__PURE__ */ jsx$1("div", { className: "p-[0.5rem] m-[0.1rem] font-bold w-full rounded-lg cursor-pointer", onMouseDown: () => itemClicked(option), children: option }, option)) })
16088
16088
  ] });
16089
16089
  }
16090
16090
  function areArraysEqual(array1, array2, itemComparer = (a, b) => a === b) {