@appcorp/kismaa-web-ui 0.2.13 → 0.2.14

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.
@@ -4,11 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CtaBanner = void 0;
7
- var molecules_1 = require("../../molecules");
8
- var solid_1 = require("@heroicons/react/24/solid");
9
7
  var react_1 = __importDefault(require("react"));
8
+ var solid_1 = require("@heroicons/react/24/solid");
9
+ var button_1 = require("../../molecules/button");
10
+ var typography_1 = require("../../molecules/typography");
10
11
  var CtaBanner = function (_a) {
11
- var bgImage = _a.bgImage, heading = _a.heading, description = _a.description, firstBtnHandleClick = _a.firstBtnHandleClick, secondBtnHandleClick = _a.secondBtnHandleClick, secondBtnText = _a.secondBtnText, firstBtnText = _a.firstBtnText;
12
+ var bgImage = _a.bgImage, description = _a.description, firstBtnHandleClick = _a.firstBtnHandleClick, firstBtnText = _a.firstBtnText, heading = _a.heading, secondBtnHandleClick = _a.secondBtnHandleClick, secondBtnText = _a.secondBtnText;
12
13
  return (react_1.default.createElement("section", { className: "kismaa-section-spacing", style: {
13
14
  background: "url(".concat(bgImage, ")"),
14
15
  backgroundColor: 'rgba(255, 255, 255, 0.8)',
@@ -20,11 +21,11 @@ var CtaBanner = function (_a) {
20
21
  react_1.default.createElement("div", { className: "kismaa-container flex items-center justify-center" },
21
22
  react_1.default.createElement("div", { className: "flex max-w-xl flex-col items-center justify-center text-center" },
22
23
  react_1.default.createElement("div", { className: "text-gray-600/80" },
23
- react_1.default.createElement(molecules_1.Typography, { variant: molecules_1.TYPOGRAPHY_VARIANTS.H1 }, heading)),
24
+ react_1.default.createElement(typography_1.Typography, { variant: typography_1.TYPOGRAPHY_VARIANTS.H1 }, heading)),
24
25
  react_1.default.createElement("div", { className: "mt-4 mb-10 text-slate-900/95 lg:mb-16" },
25
- react_1.default.createElement(molecules_1.Typography, { variant: molecules_1.TYPOGRAPHY_VARIANTS.P1 }, description)),
26
+ react_1.default.createElement(typography_1.Typography, { variant: typography_1.TYPOGRAPHY_VARIANTS.P1 }, description)),
26
27
  react_1.default.createElement("div", { className: "flex w-fit flex-col items-start justify-start gap-6 md:w-[75%] lg:w-[85%] lg:flex-row lg:items-center" },
27
- react_1.default.createElement(molecules_1.Button, { label: firstBtnText, type: molecules_1.BUTTON_TYPES.PRIMARY, handleOnClick: firstBtnHandleClick }),
28
- react_1.default.createElement(molecules_1.Button, { label: secondBtnText, type: molecules_1.BUTTON_TYPES.PRIMARY, handleOnClick: secondBtnHandleClick, outlined: true, iconSuffix: react_1.default.createElement(solid_1.ArrowRightIcon, { className: "size-5" }) }))))));
28
+ react_1.default.createElement(button_1.Button, { handleOnClick: firstBtnHandleClick, label: firstBtnText, type: button_1.BUTTON_TYPES.PRIMARY }),
29
+ react_1.default.createElement(button_1.Button, { handleOnClick: secondBtnHandleClick, iconSuffix: react_1.default.createElement(solid_1.ArrowRightIcon, { className: "size-5" }), label: secondBtnText, outlined: true, type: button_1.BUTTON_TYPES.PRIMARY }))))));
29
30
  };
30
31
  exports.CtaBanner = CtaBanner;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/kismaa-web-ui",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "source": "src/index.ts",
5
5
  "main": "lib/main.js",
6
6
  "module": "lib/module.js",
@@ -44,8 +44,8 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "@appcorp/app-corp-designs": "^0.4.80",
47
- "@appcorp/app-corp-vista": "^0.2.73",
48
- "@appcorp/kismaa-utils": "^0.2.14",
47
+ "@appcorp/app-corp-vista": "^0.2.75",
48
+ "@appcorp/kismaa-utils": "^0.2.17",
49
49
  "@chromatic-com/storybook": "3.2.6",
50
50
  "@eslint/compat": "^1.2.8",
51
51
  "@headlessui/react": "^2",
@@ -55,7 +55,7 @@
55
55
  "@mdx-js/react": "^3",
56
56
  "@next/eslint-plugin-next": "^15",
57
57
  "@next/mdx": "^15",
58
- "@react-pakistan/util-functions": "^1.24.27",
58
+ "@react-pakistan/util-functions": "^1.24.33",
59
59
  "@storybook/addon-essentials": "^8",
60
60
  "@storybook/addon-interactions": "^8",
61
61
  "@storybook/addon-links": "^8",
@@ -77,32 +77,32 @@
77
77
  "@types/node": "^22",
78
78
  "@types/react": "^19",
79
79
  "@types/react-dom": "^19",
80
- "concurrently": "^9.1.2",
81
- "dayjs": "^1.11.13",
82
- "eslint": "^9.16.0",
80
+ "concurrently": "^9",
81
+ "dayjs": "^1",
82
+ "eslint": "^9",
83
83
  "eslint-config-next": "^15",
84
84
  "eslint-config-prettier": "^9.1.0",
85
85
  "eslint-plugin-prettier": "^5.2.1",
86
86
  "eslint-plugin-storybook": "^0.11.1",
87
- "globals": "^15.13.0",
88
- "husky": "^9.1.7",
89
- "jest": "^29.7.0",
90
- "jest-environment-jsdom": "^29.7.0",
91
- "lint-staged": "15.2.11",
87
+ "globals": "^15",
88
+ "husky": "^9",
89
+ "jest": "^29",
90
+ "jest-environment-jsdom": "^29",
91
+ "lint-staged": "15",
92
92
  "next": "^15",
93
- "next-mdx-remote": "^5.0.0",
94
- "next-themes": "^0.4.3",
93
+ "next-mdx-remote": "^5",
94
+ "next-themes": "^0",
95
95
  "postcss": "^8",
96
- "prettier": "^3.4.1",
97
- "prettier-plugin-tailwindcss": "^0.6.11",
96
+ "prettier": "^3",
97
+ "prettier-plugin-tailwindcss": "^0",
98
98
  "react": "^19",
99
99
  "react-dom": "^19",
100
- "rimraf": "^6.0.1",
100
+ "rimraf": "^6",
101
101
  "storybook": "^8",
102
- "swiper": "^11.1.15",
102
+ "swiper": "^11",
103
103
  "tailwindcss": "^4",
104
- "ts-jest": "^29.2.5",
105
- "ts-node": "^10.9.2",
104
+ "ts-jest": "^29",
105
+ "ts-node": "^10",
106
106
  "typescript": "^5"
107
107
  },
108
108
  "packageManager": "yarn@4.9.2"