hi-tm 0.20.6 → 0.20.8

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.
@@ -63,6 +63,7 @@ const AutoComplete = ({ data, placeholder, value, label, type, disable, required
63
63
  const handleRemoveItem = () => {
64
64
  setSelectedItem(null);
65
65
  setSearchTerm("");
66
+ valueHandler(null); // اضافه کردن این خط
66
67
  inputRef.current?.focus();
67
68
  };
68
69
  const showError = () => {
@@ -54,7 +54,7 @@ const Tabs = ({ data, badges = [], tabHandler, inLineCSS, onClick, activeId, ren
54
54
  onClick(tab.id);
55
55
  } }, renderTab ? (renderTab(tab, badge)) : (react_1.default.createElement("div", { className: "flex items-center gap-2" },
56
56
  tab.content,
57
- badge && (react_1.default.createElement("span", { className: `absolute -top-2 -left-2 inline-flex items-center justify-center px-1.5 py-0.5 text-xxs font-bold leading-none rounded-full ${badge.textColor} ${badge.badgeColor}` }, badge.count))))));
57
+ badge && (react_1.default.createElement("span", { className: `absolute -top-3 -left-3 inline-flex items-center justify-center w-5 h-5 text-[10px] font-bold leading-none rounded-full ${badge.textColor} ${badge.badgeColor}` }, badge.count))))));
58
58
  })));
59
59
  };
60
60
  exports.default = Tabs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hi-tm",
3
- "version": "0.20.6",
3
+ "version": "0.20.8",
4
4
  "styles": "dist/styles/globals.css",
5
5
  "main": "dist/index.js",
6
6
  "exports": {