@appcorp/kismaa-web-ui 0.2.60 → 0.2.63

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.
@@ -10,7 +10,8 @@ exports.userCardData = {
10
10
  isHovered: false,
11
11
  name: 'Manish Kumar Arora',
12
12
  onlineStatus: kismaa_utils_1.PSYCHIC_ONLINE_STATUS.OFFLINE,
13
- setIsHovered: function () { return void 0; },
13
+ handleOnMouseEnter: function () { return void 0; },
14
+ handleOnMouseLeave: function () { return void 0; },
14
15
  badges: [
15
16
  {
16
17
  label: 'Psychic Mediums',
@@ -19,7 +19,8 @@ export interface UserCardProps {
19
19
  id: string;
20
20
  isHovered: boolean;
21
21
  originalPrice: number;
22
- setIsHovered: () => void;
22
+ handleOnMouseEnter: () => void;
23
+ handleOnMouseLeave: () => void;
23
24
  username: string;
24
25
  isFavorite: boolean;
25
26
  loggedInUser: LoggedInUser | null;
@@ -16,12 +16,12 @@ var type_1 = require("../badge/type");
16
16
  var ratings_1 = require("../ratings");
17
17
  var solid_1 = require("@heroicons/react/24/solid");
18
18
  var UserCard = function (_a) {
19
- var badges = _a.badges, description = _a.description, handleButtonClick = _a.handleButtonClick, handleCardClick = _a.handleCardClick, handleIsFavorite = _a.handleIsFavorite, id = _a.id, imageAlt = _a.imageAlt, imageSrc = _a.imageSrc, isFavorite = _a.isFavorite, isHovered = _a.isHovered, loggedInUser = _a.loggedInUser, name = _a.name, onlineStatus = _a.onlineStatus, price = _a.price, rating = _a.rating, setIsHovered = _a.setIsHovered, username = _a.username;
19
+ var badges = _a.badges, description = _a.description, handleButtonClick = _a.handleButtonClick, handleCardClick = _a.handleCardClick, handleIsFavorite = _a.handleIsFavorite, id = _a.id, imageAlt = _a.imageAlt, imageSrc = _a.imageSrc, isFavorite = _a.isFavorite, isHovered = _a.isHovered, loggedInUser = _a.loggedInUser, name = _a.name, onlineStatus = _a.onlineStatus, price = _a.price, rating = _a.rating, handleOnMouseEnter = _a.handleOnMouseEnter, handleOnMouseLeave = _a.handleOnMouseLeave, username = _a.username;
20
20
  return (react_1.default.createElement("div", { className: "w-full overflow-hidden rounded-xl shadow-[0px_5px_16px_0px_#0000001A] hover:cursor-pointer lg:max-w-[415px]", onClick: function (e) {
21
21
  e.stopPropagation();
22
22
  handleCardClick(username);
23
23
  } },
24
- react_1.default.createElement("div", { className: "relative overflow-hidden rounded-xl", onMouseEnter: setIsHovered, onMouseLeave: setIsHovered },
24
+ react_1.default.createElement("div", { className: "relative overflow-hidden rounded-xl", onMouseEnter: handleOnMouseEnter, onMouseLeave: handleOnMouseLeave },
25
25
  react_1.default.createElement("div", { className: "absolute top-2 right-2 z-10" },
26
26
  react_1.default.createElement(active_icon_1.ActiveIcon, { onlineStatus: onlineStatus })),
27
27
  react_1.default.createElement("div", { className: "" },
@@ -34,7 +34,8 @@ exports.userCardGridData = [
34
34
  console.log('button', v);
35
35
  },
36
36
  isHovered: true,
37
- setIsHovered: function () { return void 0; },
37
+ handleOnMouseEnter: function () { return void 0; },
38
+ handleOnMouseLeave: function () { return void 0; },
38
39
  handleCardClick: function (v) { return console.log('card', v); },
39
40
  username: 'Psychic222000',
40
41
  handleIsFavorite: function () { return void 0; },
@@ -61,7 +62,8 @@ exports.userCardGridData = [
61
62
  originalPrice: 3,
62
63
  handleButtonClick: function () { return void 0; },
63
64
  isHovered: false,
64
- setIsHovered: function () { return void 0; },
65
+ handleOnMouseEnter: function () { return void 0; },
66
+ handleOnMouseLeave: function () { return void 0; },
65
67
  handleCardClick: function () { return void 0; },
66
68
  username: 'Psychic222020',
67
69
  handleIsFavorite: function () { return void 0; },
@@ -88,7 +90,8 @@ exports.userCardGridData = [
88
90
  originalPrice: 4,
89
91
  handleButtonClick: function () { return void 0; },
90
92
  isHovered: false,
91
- setIsHovered: function () { return void 0; },
93
+ handleOnMouseEnter: function () { return void 0; },
94
+ handleOnMouseLeave: function () { return void 0; },
92
95
  handleCardClick: function () { return void 0; },
93
96
  username: 'Psychic222002',
94
97
  handleIsFavorite: function () { return void 0; },
@@ -114,7 +117,8 @@ exports.userCardGridData = [
114
117
  originalPrice: 2.4,
115
118
  handleButtonClick: function () { return void 0; },
116
119
  isHovered: false,
117
- setIsHovered: function () { return void 0; },
120
+ handleOnMouseEnter: function () { return void 0; },
121
+ handleOnMouseLeave: function () { return void 0; },
118
122
  handleCardClick: function () { return void 0; },
119
123
  username: 'Psychic2220012',
120
124
  handleIsFavorite: function () { return void 0; },
@@ -140,7 +144,8 @@ exports.userCardGridData = [
140
144
  originalPrice: 3.6,
141
145
  handleButtonClick: function () { return void 0; },
142
146
  isHovered: false,
143
- setIsHovered: function () { return void 0; },
147
+ handleOnMouseEnter: function () { return void 0; },
148
+ handleOnMouseLeave: function () { return void 0; },
144
149
  handleCardClick: function () { return void 0; },
145
150
  username: 'Psychic222004',
146
151
  handleIsFavorite: function () { return void 0; },
@@ -167,7 +172,8 @@ exports.userCardGridData = [
167
172
  originalPrice: 3,
168
173
  handleButtonClick: function () { return void 0; },
169
174
  isHovered: false,
170
- setIsHovered: function () { return void 0; },
175
+ handleOnMouseEnter: function () { return void 0; },
176
+ handleOnMouseLeave: function () { return void 0; },
171
177
  handleCardClick: function () { return void 0; },
172
178
  username: 'Psychic222300',
173
179
  handleIsFavorite: function () { return void 0; },
@@ -194,7 +200,8 @@ exports.userCardGridData = [
194
200
  originalPrice: 4.4,
195
201
  handleButtonClick: function () { return void 0; },
196
202
  isHovered: false,
197
- setIsHovered: function () { return void 0; },
203
+ handleOnMouseEnter: function () { return void 0; },
204
+ handleOnMouseLeave: function () { return void 0; },
198
205
  handleCardClick: function () { return void 0; },
199
206
  username: 'Psychic222023',
200
207
  handleIsFavorite: function () { return void 0; },
@@ -221,7 +228,8 @@ exports.userCardGridData = [
221
228
  originalPrice: 2.6,
222
229
  handleButtonClick: function () { return void 0; },
223
230
  isHovered: false,
224
- setIsHovered: function () { return void 0; },
231
+ handleOnMouseEnter: function () { return void 0; },
232
+ handleOnMouseLeave: function () { return void 0; },
225
233
  handleCardClick: function () { return void 0; },
226
234
  username: 'Psychic2220330',
227
235
  handleIsFavorite: function () { return void 0; },
@@ -248,7 +256,8 @@ exports.userCardGridData = [
248
256
  originalPrice: 3.4,
249
257
  handleButtonClick: function () { return void 0; },
250
258
  isHovered: false,
251
- setIsHovered: function () { return void 0; },
259
+ handleOnMouseEnter: function () { return void 0; },
260
+ handleOnMouseLeave: function () { return void 0; },
252
261
  handleCardClick: function () { return void 0; },
253
262
  username: 'Psychic222040',
254
263
  handleIsFavorite: function () { return void 0; },
@@ -275,7 +284,8 @@ exports.userCardGridData = [
275
284
  originalPrice: 3.2,
276
285
  handleButtonClick: function () { return void 0; },
277
286
  isHovered: false,
278
- setIsHovered: function () { return void 0; },
287
+ handleOnMouseEnter: function () { return void 0; },
288
+ handleOnMouseLeave: function () { return void 0; },
279
289
  handleCardClick: function () { return void 0; },
280
290
  username: 'Psychic222050',
281
291
  handleIsFavorite: function () { return void 0; },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/kismaa-web-ui",
3
- "version": "0.2.60",
3
+ "version": "0.2.63",
4
4
  "source": "src/index.ts",
5
5
  "main": "lib/main.js",
6
6
  "module": "lib/module.js",
@@ -45,8 +45,8 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@appcorp/app-corp-designs": "^0.4.92",
48
- "@appcorp/app-corp-vista": "^0.3.20",
49
- "@appcorp/kismaa-utils": "^0.2.53",
48
+ "@appcorp/app-corp-vista": "^0.3.31",
49
+ "@appcorp/kismaa-utils": "^0.2.57",
50
50
  "@chromatic-com/storybook": "3.2.6",
51
51
  "@headlessui/react": "^2",
52
52
  "@headlessui/tailwindcss": "^0",
@@ -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.53",
58
+ "@react-pakistan/util-functions": "^1.24.57",
59
59
  "@storybook/addon-essentials": "^8",
60
60
  "@storybook/addon-interactions": "^8",
61
61
  "@storybook/addon-links": "^8",