@opexa/portal-components 0.1.79 → 0.1.83

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.
@@ -97,9 +97,7 @@ function LoginPassword({ hideSecurityQuestionFeature, }) {
97
97
  },
98
98
  });
99
99
  const secretQuestion = form.watch('secretQuestion');
100
- return (_jsxs("div", { children: [_jsxs("div", { className: "flex items-start gap-8", children: [_jsxs("div", { className: "grow", children: [_jsx("h2", { className: "font-semibold text-sm text-text-secondary-700", children: "Log in password" }), _jsx("p", { className: "text-sm text-text-tertiary-600", children: "Access your account by logging in with your name and password." })] }), _jsx(ark.svg, { asChild: true, className: twMerge('size-6', profileCompletion?.accountPassword
101
- ? 'text-text-success-primary'
102
- : 'text-text-warning-primary'), children: profileCompletion?.accountPassword ? (_jsx(CheckVerified02Icon, {})) : (_jsx(AlertCircleIcon, {})) })] }), _jsxs("form", { className: "mt-5 rounded-xl border border-border-secondary bg-bg-primary-alt shadow-xs", onSubmit: form.handleSubmit((data) => {
100
+ return (_jsxs("div", { children: [_jsxs("div", { className: "flex items-start gap-8", children: [_jsxs("div", { className: "grow", children: [_jsx("h2", { className: "font-semibold text-sm text-text-secondary-700", children: "Log in password" }), _jsx("p", { className: "text-sm text-text-tertiary-600", children: "Access your account by logging in with your name and password." })] }), profileCompletion?.accountPassword ? (_jsx(ark.svg, { asChild: true, className: "size-6 text-text-success-primary", children: _jsx(CheckVerified02Icon, {}) })) : (_jsxs("div", { className: "flex items-center gap-1 rounded-sm border border-[#93370d] bg-[#4e1d09] px-sm py-xs", children: [_jsx(AlertCircleIcon, { className: "h-5 w-5 text-[#FEC84B]" }), _jsx("span", { className: "m-0 text-nowrap text-[#FEC84B] text-xs", children: "Not Set" })] }))] }), !profileCompletion?.accountPassword && (_jsx(AlertWarning, { title: "Please set your log in password. This is required when logging in and helps secure your account.", className: "my-3" })), _jsxs("form", { className: "mt-5 rounded-xl border border-border-secondary bg-bg-primary-alt shadow-xs", onSubmit: form.handleSubmit((data) => {
103
101
  updateAccountMutation.mutate({
104
102
  password: data.password,
105
103
  ...(!hideSecurityQuestionFeature && {
@@ -12,7 +12,6 @@ import { twMerge } from 'tailwind-merge';
12
12
  import { z } from 'zod';
13
13
  import { useShallow } from 'zustand/shallow';
14
14
  import { useCooldown } from '../../../client/hooks/useCooldown.js';
15
- import { useFeatureFlag } from '../../../client/hooks/useFeatureFlag.js';
16
15
  import { useGlobalStore } from '../../../client/hooks/useGlobalStore.js';
17
16
  import { useInplaySignUpMutation } from '../../../client/hooks/useInplaySignUpMutation.js';
18
17
  import { useLocaleInfo } from '../../../client/hooks/useLocaleInfo.js';
@@ -72,7 +71,6 @@ export function SignUpDefaultForm() {
72
71
  versionSession: signUpProps.versionSession,
73
72
  });
74
73
  const sendVerificationCodeMutation = useSendVerificationCodeMutation();
75
- const featureFlag = useFeatureFlag();
76
74
  const localeInfo = useLocaleInfo();
77
75
  const mobileNumberParser = useMobileNumberParser();
78
76
  const [branchTipOpen, setBranchTipOpen] = useState(false);
@@ -344,8 +342,7 @@ export function SignUpDefaultForm() {
344
342
  referralCode: search.get('referralCode') ?? undefined,
345
343
  agentCode,
346
344
  };
347
- if (signUpProps.versionSession === 'Inplay' &&
348
- featureFlag.enabled) {
345
+ if (signUpProps.versionSession === 'Inplay') {
349
346
  await inplaySignUpMutation.mutateAsync({
350
347
  ...signUpInput,
351
348
  ...(step1Form.getValues('firstName') && {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.1.79",
3
+ "version": "0.1.83",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",
@@ -165,6 +165,9 @@
165
165
  "publish": false
166
166
  },
167
167
  "hooks": {
168
+ "before:init": [
169
+ "npm whoami"
170
+ ],
168
171
  "after:bump": [
169
172
  "pnpm build"
170
173
  ],