@reinosoft-ui/core 0.1.28 → 0.1.30

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/index.d.ts CHANGED
@@ -21,8 +21,10 @@ export { default as PasswordValidator } from './components/PasswordValidator';
21
21
  export { default as Breadcrumb } from './components/Breadcrumb/Breadcrumb.vue';
22
22
  export { default as RadioButton } from './components/RadioButton/RadioButton.vue';
23
23
  export { default as Autocomplete } from './components/Autocomplete/Autocomplete.vue';
24
- export type { Toast, ToastVariant } from './components/Toast';
25
24
  export { ToastPlugin, ToastViewport, toast } from './components/Toast';
25
+ export type { Toast, ToastVariant } from './components/Toast';
26
+ export type { OptionDefinition } from './components/Select/types';
27
+ export type { PasswordRule } from './components/PasswordValidator/PasswordValidator';
26
28
  export * from './components/Card';
27
29
  export * from './components/Steps';
28
30
  export * from './components/Timeline';
@@ -3616,7 +3616,10 @@ const Ma = ["aria-busy"], La = {
3616
3616
  );
3617
3617
  const r = {
3618
3618
  "--strength-fill-color": t.strengthFillColor
3619
- }, d = () => !c() && Object.values(m()).every(Boolean), c = () => {
3619
+ }, d = () => {
3620
+ const g = c(), u = Object.values(m()).every(Boolean);
3621
+ return g && u;
3622
+ }, c = () => {
3620
3623
  const g = m(), u = Object.values(g).filter(Boolean).length, C = t.password.length >= 12 ? 1 : 0, M = Math.min(100, (u + C) * 20), B = Math.min(t.labels.length - 1, Math.floor(M / 25));
3621
3624
  return l.value && (l.value.style.width = `${M}%`), i.value && (i.value.textContent = t.labels[B] ?? "Very weak"), u === t.rules.length;
3622
3625
  }, m = () => {
@@ -3668,7 +3671,7 @@ const Ma = ["aria-busy"], La = {
3668
3671
  ])
3669
3672
  ]));
3670
3673
  }
3671
- }), a1 = /* @__PURE__ */ U(Ua, [["__scopeId", "data-v-dad5da06"]]);
3674
+ }), a1 = /* @__PURE__ */ U(Ua, [["__scopeId", "data-v-e7569cc0"]]);
3672
3675
  a1.install = (e) => {
3673
3676
  e.component("PasswordValidator", a1);
3674
3677
  };