@appcorp/kismaa-web-ui 0.1.43 → 0.1.44
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/organisms/navbar/navbar.js +2 -2
- package/package.json +23 -18
|
@@ -17,7 +17,7 @@ var Navbar = function (_a) {
|
|
|
17
17
|
var renderNavLink = function (link) {
|
|
18
18
|
var _a;
|
|
19
19
|
return (react_1.default.createElement("div", { key: link.label, className: "relative w-fit", onMouseEnter: handleMegaMenuToggle, onMouseLeave: handleMegaMenuToggle },
|
|
20
|
-
react_1.default.createElement(link_1.default, { href: link.href, className: "cursor-pointer transition-all duration-300 ease-in-out
|
|
20
|
+
react_1.default.createElement(link_1.default, { href: link.href, className: "hover:text-primary cursor-pointer transition-all duration-300 ease-in-out ".concat(link.isActive ? 'text-primary' : 'text-[#263238]', " flex items-center gap-1") },
|
|
21
21
|
react_1.default.createElement(molecules_1.Typography, { variant: molecules_1.TYPOGRAPHY_VARIANTS.SUBH2 }, link.label)),
|
|
22
22
|
link.isHoverActive && ((_a = link.megaMenuItems) === null || _a === void 0 ? void 0 : _a.length) && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
23
23
|
react_1.default.createElement(header_pointer_icon_1.HeaderTriangleIcon, { className: "absolute -bottom-14 left-5 z-50 size-8" }),
|
|
@@ -32,7 +32,7 @@ var Navbar = function (_a) {
|
|
|
32
32
|
react_1.default.createElement(search_icon_1.SearchIcon, { className: "size-5 cursor-pointer" }),
|
|
33
33
|
react_1.default.createElement("button", { onClick: toggleMobileMenu, className: "cursor-pointer" }, isMobileMenuOpen ? (react_1.default.createElement(solid_1.XMarkIcon, { className: "h-8 w-8" })) : (react_1.default.createElement(solid_1.Bars3Icon, { className: "h-8 w-8" })))),
|
|
34
34
|
react_1.default.createElement("div", { className: "hidden w-[85%] items-center justify-between lg:flex" },
|
|
35
|
-
react_1.default.createElement("div", { className: "flex gap-
|
|
35
|
+
react_1.default.createElement("div", { className: "flex gap-8" }, navLinks
|
|
36
36
|
.filter(function (_a) {
|
|
37
37
|
var enabled = _a.enabled;
|
|
38
38
|
return enabled;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appcorp/kismaa-web-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.44",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "lib/main.js",
|
|
6
6
|
"module": "lib/module.js",
|
|
@@ -21,10 +21,12 @@
|
|
|
21
21
|
"prepare": "husky",
|
|
22
22
|
"publish:npm": "yarn build && cd lib/ && npm publish --access public && cd ..",
|
|
23
23
|
"start": "next start",
|
|
24
|
-
"storybook": "
|
|
24
|
+
"storybook": "concurrently 'yarn:watch:*'",
|
|
25
25
|
"test": "jest",
|
|
26
26
|
"test:coverage": "jest --coverage",
|
|
27
|
-
"test:watch": "jest --watch"
|
|
27
|
+
"test:watch": "jest --watch",
|
|
28
|
+
"watch:storybook": "storybook dev -p 9001",
|
|
29
|
+
"watch:tailwind": "npx @tailwindcss/cli -i src/styles/globals.css -o src/styles/tailwind-output.css --watch"
|
|
28
30
|
},
|
|
29
31
|
"lint-staged": {
|
|
30
32
|
"*.{js,jsx,ts,tsx}": [
|
|
@@ -43,7 +45,7 @@
|
|
|
43
45
|
"dependencies": {},
|
|
44
46
|
"devDependencies": {
|
|
45
47
|
"@appcorp/app-corp-designs": "^0.4.45",
|
|
46
|
-
"@appcorp/app-corp-vista": "^0.0.
|
|
48
|
+
"@appcorp/app-corp-vista": "^0.0.60",
|
|
47
49
|
"@appcorp/kismaa-utils": "^0.1.43",
|
|
48
50
|
"@chromatic-com/storybook": "3.2.3",
|
|
49
51
|
"@eslint/compat": "^1.2.3",
|
|
@@ -55,16 +57,19 @@
|
|
|
55
57
|
"@next/eslint-plugin-next": "^15",
|
|
56
58
|
"@next/mdx": "^15",
|
|
57
59
|
"@react-pakistan/util-functions": "^1.23.34",
|
|
58
|
-
"@storybook/addon-essentials": "8.
|
|
59
|
-
"@storybook/addon-interactions": "8.
|
|
60
|
-
"@storybook/addon-
|
|
61
|
-
"@storybook/addon-
|
|
62
|
-
"@storybook/addon-
|
|
63
|
-
"@storybook/blocks": "8.
|
|
64
|
-
"@storybook/nextjs": "8.
|
|
65
|
-
"@storybook/react": "8.
|
|
66
|
-
"@storybook/
|
|
67
|
-
"@storybook/
|
|
60
|
+
"@storybook/addon-essentials": "8.5.1",
|
|
61
|
+
"@storybook/addon-interactions": "8.5.1",
|
|
62
|
+
"@storybook/addon-links": "^8.5.3",
|
|
63
|
+
"@storybook/addon-onboarding": "8.5.1",
|
|
64
|
+
"@storybook/addon-themes": "8.5.1",
|
|
65
|
+
"@storybook/blocks": "8.5.1",
|
|
66
|
+
"@storybook/nextjs": "8.5.1",
|
|
67
|
+
"@storybook/react": "8.5.1",
|
|
68
|
+
"@storybook/test": "8.5.1",
|
|
69
|
+
"@storybook/types": "^8.5.3",
|
|
70
|
+
"@tailwindcss/cli": "^4",
|
|
71
|
+
"@tailwindcss/forms": "^0.5.10",
|
|
72
|
+
"@tailwindcss/postcss": "^4",
|
|
68
73
|
"@testing-library/dom": "^10.4.0",
|
|
69
74
|
"@testing-library/jest-dom": "^6.6.3",
|
|
70
75
|
"@testing-library/react": "^16.0.1",
|
|
@@ -73,7 +78,7 @@
|
|
|
73
78
|
"@types/node": "^22",
|
|
74
79
|
"@types/react": "^19",
|
|
75
80
|
"@types/react-dom": "^19",
|
|
76
|
-
"concurrently": "^9.1.
|
|
81
|
+
"concurrently": "^9.1.2",
|
|
77
82
|
"eslint": "^9.16.0",
|
|
78
83
|
"eslint-config-next": "^15",
|
|
79
84
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -88,13 +93,13 @@
|
|
|
88
93
|
"next-themes": "^0.4.3",
|
|
89
94
|
"postcss": "^8",
|
|
90
95
|
"prettier": "^3.4.1",
|
|
91
|
-
"prettier-plugin-tailwindcss": "^0.6.
|
|
96
|
+
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
92
97
|
"react": "^19",
|
|
93
98
|
"react-dom": "^19",
|
|
94
99
|
"rimraf": "^6.0.1",
|
|
95
|
-
"storybook": "8.
|
|
100
|
+
"storybook": "8.5.1",
|
|
96
101
|
"swiper": "^11.1.15",
|
|
97
|
-
"tailwindcss": "^
|
|
102
|
+
"tailwindcss": "^4",
|
|
98
103
|
"ts-jest": "^29.2.5",
|
|
99
104
|
"ts-node": "^10.9.2",
|
|
100
105
|
"typescript": "^5"
|