@zealsolutions/zeal-ui 1.0.0-alpha.372 → 1.0.0-alpha.373

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.
@@ -29,7 +29,7 @@ const I = ["onClick"], le = {
29
29
  }, {
30
30
  button: v(({ openCalendar: s }) => [
31
31
  l("div", {
32
- class: a(["relative flex flex-1 shrink-0 gap-x-2 px-4 text-style-input items-center h-10 rounded-[20px] ring-1 ring-inset focus-within:ring-2 focus-within:outline-none ring-steel-500 dark:ring-line-strong focus-within:bg-app-100 focus-within:ring-app-950 dark:focus-within:text-black-950 text-black-950 dark:text-content w-full p-2", { "bg-steel-100 dark:bg-surface cursor-not-allowed": e.disabled, "focus-within:bg-app-100": !e.disabled }])
32
+ class: a(["relative flex flex-1 shrink-0 gap-x-2 px-4 text-style-input items-center h-10 rounded-[20px] ring-1 ring-inset focus-within:ring-2 focus-within:outline-none ring-steel-500 dark:ring-line-strong focus-within:bg-app-100 dark:focus-within:bg-surface-hover focus-within:ring-app-950 text-black-950 dark:text-content w-full p-2", { "bg-steel-100 dark:bg-surface cursor-not-allowed": e.disabled, "focus-within:bg-app-100": !e.disabled }])
33
33
  }, [
34
34
  C($, {
35
35
  class: "text-steel-950 dark:text-content-muted cursor-pointer",
@@ -82,7 +82,7 @@ const I = ["onClick"], le = {
82
82
  r("blur");
83
83
  }, s = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15), p = (y) => {
84
84
  n.value = y.target.files;
85
- }, c = b(() => t.multiple && n.value && n.value.length > 1 ? `${n.value.length} files selected` : n.value ? n.value[0].name : t.placeholder), x = b(() => t.hasError && !t.disabled ? "ring-error-950 focus-within:bg-error-100 focus-within:ring-error-950 text-error-950" : t.disabled ? "ring-steel-500 dark:ring-line-strong bg-steel-100 dark:bg-surface cursor-not-allowed" : "ring-steel-500 dark:ring-line-strong focus-within:bg-app-100 focus-within:ring-app-950 dark:focus-within:text-black-950 text-black-950 dark:text-content");
85
+ }, c = b(() => t.multiple && n.value && n.value.length > 1 ? `${n.value.length} files selected` : n.value ? n.value[0].name : t.placeholder), x = b(() => t.hasError && !t.disabled ? "ring-error-950 focus-within:bg-error-100 focus-within:ring-error-950 text-error-950" : t.disabled ? "ring-steel-500 dark:ring-line-strong bg-steel-100 dark:bg-surface cursor-not-allowed" : "ring-steel-500 dark:ring-line-strong focus-within:bg-app-100 dark:focus-within:bg-surface-hover focus-within:ring-app-950 text-black-950 dark:text-content");
86
86
  return (y, R) => (o(), d("div", {
87
87
  class: a(["relative flex flex-1 gap-x-2 px-4 text-style-input items-center h-10 rounded-[20px] ring-1 ring-inset focus-within:ring-2 focus-within:outline-none", x.value])
88
88
  }, [