@appcorp/kismaa-web-ui 0.2.7 → 0.2.9
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.
|
@@ -25,7 +25,7 @@ var UserCard = function (_a) {
|
|
|
25
25
|
react_1.default.createElement(active_icon_1.ActiveIcon, { onlineStatus: onlineStatus })),
|
|
26
26
|
react_1.default.createElement("div", { className: "" },
|
|
27
27
|
react_1.default.createElement("div", { className: "relative pb-[76%]" },
|
|
28
|
-
react_1.default.createElement(image_1.default, {
|
|
28
|
+
react_1.default.createElement(image_1.default, { alt: imageAlt, className: "absolute inset-0 h-full w-full object-cover", height: 100, src: imageSrc, width: 100 })),
|
|
29
29
|
isHovered && onlineStatus === kismaa_utils_1.PSYCHIC_ONLINE_STATUS.ONLINE && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
30
30
|
react_1.default.createElement("div", { className: "absolute inset-0 bg-gradient-to-b from-transparent to-[rgba(22,18,69,0.85)] transition-opacity duration-300" }),
|
|
31
31
|
react_1.default.createElement("div", { className: "absolute bottom-7 flex w-full justify-center" },
|
|
@@ -19,7 +19,7 @@ var OnboardingSteps = function (_a) {
|
|
|
19
19
|
react_1.default.createElement("div", { className: "mx-auto mt-4 w-[100%] text-center text-gray-600 lg:w-[60%]" },
|
|
20
20
|
react_1.default.createElement(molecules_1.Typography, { variant: molecules_1.TYPOGRAPHY_VARIANTS.SUBH4 }, subheading))),
|
|
21
21
|
react_1.default.createElement("div", { className: "mt-16 flex flex-col justify-between gap-10 lg:flex-row lg:gap-0" }, stepsData.map(function (step, index) { return (react_1.default.createElement(react_1.default.Fragment, { key: index },
|
|
22
|
-
react_1.default.createElement("div", null, step.btnType === type_1.ONBOARDING_BTN_TYPES.BUTTON ? (react_1.default.createElement(onboarding_step_card_1.OnboardingStepCard, { title: step.title, description: step.description, buttonText: step.buttonText, onButtonClick: step.onButtonClick, headerIcon: step.headerIcon, btnType: step.btnType })) : (react_1.default.createElement(onboarding_step_card_1.OnboardingStepCard, {
|
|
22
|
+
react_1.default.createElement("div", null, step.btnType === type_1.ONBOARDING_BTN_TYPES.BUTTON ? (react_1.default.createElement(onboarding_step_card_1.OnboardingStepCard, { title: step.title, description: step.description, buttonText: step.buttonText, onButtonClick: step.onButtonClick, headerIcon: step.headerIcon, btnType: step.btnType })) : (react_1.default.createElement(onboarding_step_card_1.OnboardingStepCard, { btnType: step.btnType, comboInputOnChange: step.comboInputOnChange || (function () { }), comboLabel: step.comboLabel || '', comboListItems: step.comboListItems || [], comboOnBlur: step.comboOnBlur || (function () { }), comboOnChange: step.comboOnChange || (function () { }), comboQuery: step.comboQuery || '', comboSelectKey1: step.comboSelectKey1 || '', comboSelectedItem: step.comboSelectedItem || null, description: step.description, headerIcon: step.headerIcon, nodeQueryKey: step.nodeQueryKey || '', nodeSelectKey: step.nodeSelectKey || '', placeholder: step.placeholder || '', title: step.title }))),
|
|
23
23
|
index < stepsData.length - 1 && (react_1.default.createElement("div", { className: "-mx-14 mt-20 hidden lg:block" },
|
|
24
24
|
react_1.default.createElement(onboarding_track_1.OnboardingTrack, { className: "w-44 ".concat(index % 2 !== 0 ? 'rotate-180' : '') }))))); })))));
|
|
25
25
|
};
|
|
@@ -34,10 +34,10 @@ exports.onboardingStepsData = {
|
|
|
34
34
|
return console.log('Combo Change', k, v);
|
|
35
35
|
},
|
|
36
36
|
comboLabel: '',
|
|
37
|
-
comboSelectedItem:
|
|
37
|
+
comboSelectedItem: { id: '' },
|
|
38
38
|
comboListItems: [
|
|
39
|
-
{ label: 'Option 1',
|
|
40
|
-
{ label: 'Option 2',
|
|
39
|
+
{ label: 'Option 1', id: '1' },
|
|
40
|
+
{ label: 'Option 2', id: '2' },
|
|
41
41
|
],
|
|
42
42
|
nodeQueryKey: 'query-key',
|
|
43
43
|
nodeSelectKey: 'select-key',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appcorp/kismaa-web-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "lib/main.js",
|
|
6
6
|
"module": "lib/module.js",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@appcorp/app-corp-designs": "^0.4.
|
|
48
|
-
"@appcorp/app-corp-vista": "^0.
|
|
49
|
-
"@appcorp/kismaa-utils": "^0.
|
|
47
|
+
"@appcorp/app-corp-designs": "^0.4.79",
|
|
48
|
+
"@appcorp/app-corp-vista": "^0.2.26",
|
|
49
|
+
"@appcorp/kismaa-utils": "^0.2.7",
|
|
50
50
|
"@chromatic-com/storybook": "3.2.6",
|
|
51
51
|
"@eslint/compat": "^1.2.8",
|
|
52
52
|
"@headlessui/react": "^2.2.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@mdx-js/react": "^3.1.0",
|
|
57
57
|
"@next/eslint-plugin-next": "^15",
|
|
58
58
|
"@next/mdx": "^15",
|
|
59
|
-
"@react-pakistan/util-functions": "^1.
|
|
59
|
+
"@react-pakistan/util-functions": "^1.24.22",
|
|
60
60
|
"@storybook/addon-essentials": "^8",
|
|
61
61
|
"@storybook/addon-interactions": "^8",
|
|
62
62
|
"@storybook/addon-links": "^8",
|