hi-tm 0.16.1 → 0.16.2

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.
@@ -313,7 +313,8 @@ const HeaderLayout = ({ appVersion, branchName, userFirstName, sidebarHandler, u
313
313
  : "scale-y-0 opacity-0"} origin-top` },
314
314
  react_1.default.createElement("ul", { className: "flex h-auto w-full flex-col items-start justify-center gap-3 bg-inherit p-3" }, userBranchesData?.map((item) => (react_1.default.createElement("li", { key: item.id, className: "customTransition flex w-full flex-col items-start justify-center gap-2 rounded-tiny px-5 py-2 text-text-color-primary hover:bg-gray-primary" },
315
315
  react_1.default.createElement("div", { onClick: () => selectItemBranchHandler(item), className: "flex w-full flex-row items-center justify-between cursor-pointer" },
316
- item.subBranch?.length > 0 && (react_1.default.createElement("svg", { width: "30", height: "30", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: `transition-transform ${expandSubBranch ? "-rotate-90" : ""}`, onClick: () => {
316
+ item.subBranch?.length > 0 && (react_1.default.createElement("svg", { width: "30", height: "30", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: `transition-transform ${expandSubBranch ? "-rotate-90" : ""}`, onClick: (e) => {
317
+ e.stopPropagation();
317
318
  subBranchHandler();
318
319
  } },
319
320
  react_1.default.createElement("path", { d: "M15 5L8 12L15 19", stroke: "rgba(0, 0, 0, 0.40)", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }))),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hi-tm",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "styles": "dist/styles/globals.css",
5
5
  "main": "dist/index.js",
6
6
  "exports": {