@alfadocs/ui-kit 0.94.0 → 0.96.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.
Files changed (81) hide show
  1. package/dist/_chunks/{apexcharts-theme-fAQXLIMW.js → apexcharts-theme-B_AxGC_h.js} +25 -20
  2. package/dist/_chunks/chart-DR68TJD5.js +705 -0
  3. package/dist/_chunks/{date-range-picker-Cfv4Sr63.js → date-range-picker-pEG3Ln3i.js} +314 -297
  4. package/dist/_chunks/{link-cell-renderer-_LDZhY4r.js → link-cell-renderer-flfZh2qY.js} +2 -2
  5. package/dist/_chunks/{patient-table-CFM92QqU.js → patient-table-CvZTIM2R.js} +2 -2
  6. package/dist/_chunks/{radiograph-panel.agent-DDnDGVpN.js → radiograph-panel.agent-AsXJBr1p.js} +2 -2
  7. package/dist/_chunks/signature-request-BzXTV_RH.js +403 -0
  8. package/dist/_chunks/{sparkline-o6JH4O66.js → sparkline-DcXqRZoq.js} +2 -2
  9. package/dist/agent-catalog.json +10 -6
  10. package/dist/agent-i18n/en.json +1 -1
  11. package/dist/components/chart/chart.d.ts +12 -5
  12. package/dist/components/chart/index.js +1 -1
  13. package/dist/components/data-table/index.js +1 -1
  14. package/dist/components/date-range-picker/date-range-picker.d.ts +10 -1
  15. package/dist/components/date-range-picker/index.js +1 -1
  16. package/dist/components/patient-table/index.js +1 -1
  17. package/dist/components/radiograph-panel/index.js +1 -1
  18. package/dist/components/sparkline/index.js +1 -1
  19. package/dist/i18n/locales/ar.d.ts +3 -1
  20. package/dist/i18n/locales/ar.js +3 -1
  21. package/dist/i18n/locales/de.d.ts +3 -1
  22. package/dist/i18n/locales/de.js +3 -1
  23. package/dist/i18n/locales/el.d.ts +3 -1
  24. package/dist/i18n/locales/el.js +3 -1
  25. package/dist/i18n/locales/en.d.ts +3 -1
  26. package/dist/i18n/locales/en.js +3 -1
  27. package/dist/i18n/locales/es.d.ts +3 -1
  28. package/dist/i18n/locales/es.js +3 -1
  29. package/dist/i18n/locales/fr.d.ts +3 -1
  30. package/dist/i18n/locales/fr.js +3 -1
  31. package/dist/i18n/locales/hi.d.ts +3 -1
  32. package/dist/i18n/locales/hi.js +3 -1
  33. package/dist/i18n/locales/it.d.ts +3 -1
  34. package/dist/i18n/locales/it.js +3 -1
  35. package/dist/i18n/locales/ja.d.ts +3 -1
  36. package/dist/i18n/locales/ja.js +3 -1
  37. package/dist/i18n/locales/nl.d.ts +3 -1
  38. package/dist/i18n/locales/nl.js +3 -1
  39. package/dist/i18n/locales/pl.d.ts +3 -1
  40. package/dist/i18n/locales/pl.js +3 -1
  41. package/dist/i18n/locales/pt.d.ts +3 -1
  42. package/dist/i18n/locales/pt.js +3 -1
  43. package/dist/i18n/locales/ro.d.ts +3 -1
  44. package/dist/i18n/locales/ro.js +3 -1
  45. package/dist/i18n/locales/ru.d.ts +3 -1
  46. package/dist/i18n/locales/ru.js +3 -1
  47. package/dist/i18n/locales/sq.d.ts +3 -1
  48. package/dist/i18n/locales/sq.js +3 -1
  49. package/dist/i18n/locales/sv.d.ts +3 -1
  50. package/dist/i18n/locales/sv.js +3 -1
  51. package/dist/i18n/locales/tr.d.ts +3 -1
  52. package/dist/i18n/locales/tr.js +3 -1
  53. package/dist/i18n/locales/zh.d.ts +3 -1
  54. package/dist/i18n/locales/zh.js +3 -1
  55. package/dist/index.js +7 -7
  56. package/dist/locales/ar.json +3 -1
  57. package/dist/locales/de.json +3 -1
  58. package/dist/locales/el.json +3 -1
  59. package/dist/locales/en.json +3 -1
  60. package/dist/locales/es.json +3 -1
  61. package/dist/locales/fr.json +3 -1
  62. package/dist/locales/hi.json +3 -1
  63. package/dist/locales/it.json +3 -1
  64. package/dist/locales/ja.json +3 -1
  65. package/dist/locales/nl.json +3 -1
  66. package/dist/locales/pl.json +3 -1
  67. package/dist/locales/pt.json +3 -1
  68. package/dist/locales/ro.json +3 -1
  69. package/dist/locales/ru.json +3 -1
  70. package/dist/locales/sq.json +3 -1
  71. package/dist/locales/sv.json +3 -1
  72. package/dist/locales/tr.json +3 -1
  73. package/dist/locales/zh.json +3 -1
  74. package/dist/patterns/signature-request/index.d.ts +1 -1
  75. package/dist/patterns/signature-request/index.js +1 -1
  76. package/dist/patterns/signature-request/signature-request.d.ts +30 -3
  77. package/dist/tokens/apexcharts-theme.d.ts +19 -33
  78. package/dist/tokens.css +1 -1
  79. package/package.json +1 -1
  80. package/dist/_chunks/chart-DqxVCm1I.js +0 -664
  81. package/dist/_chunks/signature-request-D_6jgDZd.js +0 -324
@@ -7,36 +7,46 @@ const s = [
7
7
  "textarea",
8
8
  '[tabindex]:not([tabindex="-1"])'
9
9
  ].join(",");
10
- function i(t) {
10
+ function d(t) {
11
11
  u(() => {
12
12
  const e = t.current;
13
13
  if (!e) return;
14
- const r = () => {
14
+ const o = () => {
15
15
  e.querySelectorAll('[aria-hidden="true"]').forEach((n) => {
16
16
  n.querySelectorAll(s).forEach((c) => {
17
17
  c.setAttribute("tabindex", "-1");
18
18
  });
19
19
  });
20
20
  };
21
- r();
22
- const o = new MutationObserver(r);
23
- return o.observe(e, {
21
+ o();
22
+ const r = new MutationObserver(o);
23
+ return r.observe(e, {
24
24
  childList: !0,
25
25
  subtree: !0,
26
26
  attributes: !0,
27
27
  attributeFilter: ["aria-hidden", "tabindex"]
28
- }), () => o.disconnect();
28
+ }), () => r.disconnect();
29
29
  }, [t]);
30
30
  }
31
31
  function a(t) {
32
32
  if (typeof document > "u" || !t) return t;
33
33
  const e = document.createElement("span");
34
34
  e.style.backgroundColor = t, document.documentElement.appendChild(e);
35
- const r = getComputedStyle(e).backgroundColor;
36
- return e.remove(), r || t;
35
+ const o = getComputedStyle(e).backgroundColor;
36
+ return e.remove(), o || t;
37
37
  }
38
38
  function l() {
39
- const t = getComputedStyle(document.documentElement), e = (o) => t.getPropertyValue(o).trim();
39
+ if (typeof document > "u") return 0.18;
40
+ const t = getComputedStyle(document.documentElement).getPropertyValue("--chart-compare-fill-opacity").trim(), e = parseFloat(t);
41
+ return Number.isFinite(e) ? e : 0.18;
42
+ }
43
+ function m(t) {
44
+ if (typeof document > "u" || !t) return t;
45
+ const e = getComputedStyle(document.documentElement), o = parseFloat(e.getPropertyValue("--chart-compare-fill-opacity")) || 0.18, r = Math.round(o * 100), n = e.getPropertyValue("--background").trim();
46
+ return a(`color-mix(in srgb, ${t} ${r}%, ${n})`);
47
+ }
48
+ function p() {
49
+ const t = getComputedStyle(document.documentElement), e = (r) => t.getPropertyValue(r).trim();
40
50
  return {
41
51
  theme: { mode: document.documentElement.classList.contains("theme-dark") ? "dark" : "light" },
42
52
  colors: [
@@ -50,18 +60,13 @@ function l() {
50
60
  foreColor: e("--foreground"),
51
61
  fontFamily: e("--font-sans")
52
62
  },
53
- grid: { borderColor: e("--border") },
54
- compare: {
55
- // `--muted-foreground` is a plain `var(--color-blue-*)` chain — already a
56
- // usable colour, so no probe is needed.
57
- mark: e("--muted-foreground"),
58
- // `--calendar-compare-fill` is a `color-mix()` string — resolve it.
59
- wash: a(e("--calendar-compare-fill"))
60
- }
63
+ grid: { borderColor: e("--border") }
61
64
  };
62
65
  }
63
66
  export {
64
- l as g,
65
- i as u
67
+ l as a,
68
+ p as g,
69
+ m as r,
70
+ d as u
66
71
  };
67
- //# sourceMappingURL=apexcharts-theme-fAQXLIMW.js.map
72
+ //# sourceMappingURL=apexcharts-theme-B_AxGC_h.js.map