@appcorp/app-corp-vista 0.2.69 → 0.2.72

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.
@@ -7,7 +7,7 @@ exports.VistaFeatureV22 = void 0;
7
7
  var react_1 = __importDefault(require("react"));
8
8
  var image_1 = __importDefault(require("next/image"));
9
9
  var VistaFeatureV22 = function (_a) {
10
- var description = _a.description, imageAlt = _a.imageAlt, imageSrc = _a.imageSrc, items = _a.items, _b = _a.revert, revert = _b === void 0 ? false : _b, subTitle = _a.subTitle, title = _a.title;
10
+ var description = _a.description, imageAlt = _a.imageAlt, _b = _a.imageClassName, imageClassName = _b === void 0 ? '' : _b, imageSrc = _a.imageSrc, items = _a.items, _c = _a.revert, revert = _c === void 0 ? false : _c, subTitle = _a.subTitle, title = _a.title;
11
11
  return (react_1.default.createElement("div", { className: "overflow-hidden bg-white py-20 sm:py-32" },
12
12
  react_1.default.createElement("div", { className: "mx-auto max-w-7xl px-6 lg:px-8" },
13
13
  react_1.default.createElement("div", { className: "mx-auto grid max-w-2xl grid-cols-1 gap-x-8 gap-y-16 sm:gap-y-20 lg:mx-0 lg:max-w-none lg:grid-cols-2" },
@@ -24,7 +24,7 @@ var VistaFeatureV22 = function (_a) {
24
24
  feature.name,
25
25
  ' '),
26
26
  react_1.default.createElement("span", { className: "inline" }, feature.description)))); })))),
27
- react_1.default.createElement("div", { className: 'relative w-full lg:h-full md:h-80 mx-auto' },
28
- react_1.default.createElement(image_1.default, { alt: imageAlt, className: "object-cover rounded-xl shadow-xl ring-1 ring-gray-400/10 sm:w-228 md:-ml-4 lg:-ml-0 ".concat(revert ? 'order-1' : 'order-2'), height: 0, src: imageSrc, width: 0, fill: true, sizes: "50vw" }))))));
27
+ react_1.default.createElement("div", { className: "relative w-full lg:h-full md:h-80 mx-auto ".concat(revert ? 'order-1' : 'order-2') },
28
+ react_1.default.createElement(image_1.default, { alt: imageAlt, className: "object-cover rounded-xl shadow-xl ring-1 ring-gray-400/10 sm:w-228 md:-ml-4 lg:-ml-0 ".concat(imageClassName), height: 0, src: imageSrc, width: 0, fill: true, sizes: "50vw" }))))));
29
29
  };
30
30
  exports.VistaFeatureV22 = VistaFeatureV22;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.2.69",
3
+ "version": "0.2.72",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib",
6
6
  "build:next": "next build",
@@ -28,22 +28,21 @@
28
28
  },
29
29
  "dependencies": {},
30
30
  "devDependencies": {
31
- "@appcorp/app-corp-designs": "^0.4.79",
32
31
  "@fortawesome/fontawesome-svg-core": "^6.7.2",
33
32
  "@fortawesome/react-fontawesome": "^0.2.2",
34
- "@headlessui/react": "^2.2.4",
35
- "@headlessui/tailwindcss": "^0.2.2",
36
- "@heroicons/react": "^2.2.0",
37
- "@mdx-js/loader": "^3.1.0",
38
- "@mdx-js/react": "^3.1.0",
39
- "@mdxeditor/editor": "^3.32.3",
33
+ "@headlessui/react": "^2",
34
+ "@headlessui/tailwindcss": "^0",
35
+ "@heroicons/react": "^2",
36
+ "@mdx-js/loader": "^3",
37
+ "@mdx-js/react": "^3",
38
+ "@mdxeditor/editor": "^3",
40
39
  "@next/third-parties": "^15",
41
- "@pdfme/common": "^5.4.0",
42
- "@pdfme/generator": "^5.4.0",
40
+ "@pdfme/common": "^5",
41
+ "@pdfme/generator": "^5",
43
42
  "@react-jvectormap/core": "^1.0.4",
44
43
  "@react-jvectormap/world": "^1.1.2",
45
44
  "@react-pakistan/react-icon-collection": "^3.5.0",
46
- "@react-pakistan/util-functions": "^1.24.25",
45
+ "@react-pakistan/util-functions": "^1.24.27",
47
46
  "@remixicon/react": "^4.6.0",
48
47
  "@storybook/addon-essentials": "^8",
49
48
  "@storybook/addon-interactions": "^8",
@@ -60,37 +59,37 @@
60
59
  "@tailwindcss/postcss": "^4",
61
60
  "@types/node": "^22",
62
61
  "@types/react": "^19",
63
- "@types/react-copy-to-clipboard": "^5.0.7",
62
+ "@types/react-copy-to-clipboard": "^5",
64
63
  "@types/react-dom": "^19",
65
64
  "@types/react-slick": "^0.23.13",
66
65
  "autoprefixer": "^10.4.20",
67
- "clsx": "^2.1.1",
66
+ "clsx": "^2",
68
67
  "concurrently": "^9.1.2",
69
- "date-fns": "^4.1.0",
70
- "dayjs": "^1.11.13",
68
+ "date-fns": "^4",
69
+ "dayjs": "^1",
71
70
  "eslint": "^9",
72
71
  "eslint-config-next": "^15",
73
72
  "eslint-plugin-storybook": "^0.11.2",
74
73
  "fast-glob": "^3.3.3",
75
74
  "framer-motion": "^12",
76
- "html-to-image": "^1.11.13",
75
+ "html-to-image": "^1",
77
76
  "husky": "^9.1.7",
78
77
  "next": "^15",
79
- "next-intl": "^3.26.3",
80
- "next-themes": "^0.4.6",
78
+ "next-intl": "^4",
79
+ "next-themes": "^0",
81
80
  "postcss": "^8",
82
81
  "react": "^19",
83
- "react-copy-to-clipboard": "^5.1.0",
82
+ "react-copy-to-clipboard": "^5",
84
83
  "react-dom": "^19",
85
84
  "react-hot-toast": "^2",
86
- "react-photo-view": "^1.2.7",
87
- "react-slick": "^0.30.3",
88
- "react-tooltip": "^5.28.1",
89
- "slick-carousel": "^1.8.1",
85
+ "react-photo-view": "^1",
86
+ "react-slick": "^0",
87
+ "react-tooltip": "^5",
88
+ "slick-carousel": "^1",
90
89
  "storybook": "^8",
91
- "swr": "^2.3.0",
90
+ "swr": "^2",
92
91
  "tailwindcss": "^4",
93
- "tailwindcss-animate": "^1.0.7",
92
+ "tailwindcss-animate": "^1",
94
93
  "typescript": "^5"
95
94
  },
96
95
  "resolutions": {
@@ -81,6 +81,7 @@ export interface VistaFeatureV22Item {
81
81
  export interface VistaFeatureV22Props {
82
82
  description: string;
83
83
  imageAlt: string;
84
+ imageClassName?: string;
84
85
  imageSrc: string;
85
86
  items: VistaFeatureV22Item[];
86
87
  revert?: boolean;