pukaad-ui-lib 1.173.0 → 1.175.0

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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
3
  "configKey": "pukaadUI",
4
- "version": "1.173.0",
4
+ "version": "1.175.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -25,8 +25,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
25
25
  "onUpdate:modelValue"?: ((value: SelectedTag[]) => any) | undefined;
26
26
  }>, {
27
27
  name: string;
28
- placeholder: string;
29
28
  state: "user" | "admin";
29
+ placeholder: string;
30
30
  limit: number;
31
31
  ignore: string[];
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -25,8 +25,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
25
25
  "onUpdate:modelValue"?: ((value: SelectedTag[]) => any) | undefined;
26
26
  }>, {
27
27
  name: string;
28
- placeholder: string;
29
28
  state: "user" | "admin";
29
+ placeholder: string;
30
30
  limit: number;
31
31
  ignore: string[];
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -119,11 +119,6 @@ const handleComplete = (key, data) => {
119
119
  }
120
120
  if (props.state === "disabled-2fa") {
121
121
  if (key === "password") {
122
- isLastStep.value = true;
123
- modalStates.twoFa = true;
124
- return;
125
- }
126
- if (key === "twoFa") {
127
122
  onDisabled2FA();
128
123
  return;
129
124
  }
@@ -163,6 +158,8 @@ watch(isOpen, (v) => {
163
158
  modalStates.password = true;
164
159
  if (["delete-phone", "delete-email"].includes(props.state)) {
165
160
  isLastStep.value = !props.twoFaEnabled;
161
+ } else if (props.state === "disabled-2fa") {
162
+ isLastStep.value = true;
166
163
  } else {
167
164
  isLastStep.value = false;
168
165
  }
@@ -19,7 +19,7 @@ const forwardedProps = useForwardProps(delegatedProps);
19
19
  v-slot="slotProps"
20
20
  data-slot="accordion-item"
21
21
  v-bind="forwardedProps"
22
- :class="cn('border-b last:border-b-0', props.class)"
22
+ :class="cn('border-b ', props.class)"
23
23
  >
24
24
  <slot v-bind="slotProps" />
25
25
  </AccordionItem>
@@ -27,7 +27,7 @@ const delegatedProps = reactiveOmit(props, "class");
27
27
  <Icon
28
28
  name="lucide:chevron-down"
29
29
  class="text-gray pointer-events-none shrink-0 translate-y-0.5 transition-transform duration-200"
30
- size="24"
30
+ :size="24"
31
31
  />
32
32
  </slot>
33
33
  </AccordionTrigger>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
- "version": "1.173.0",
3
+ "version": "1.175.0",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",