@alfadocs/ui-kit 1.101.0 → 1.102.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 (30) hide show
  1. package/dist/_chunks/{calendar-appointment-editor-dialog-CUJMnFL7.js → calendar-appointment-editor-dialog-EYyVorFR.js} +3 -3
  2. package/dist/_chunks/{care-plan-header-BBh0X7EO.js → care-plan-header-lROoTjYn.js} +2 -2
  3. package/dist/_chunks/{contact-profile-card-CFAhByRk.js → contact-profile-card-D0KqxoE5.js} +37 -35
  4. package/dist/_chunks/{key-value-pair-BoXOtBL1.js → key-value-pair-CB37UXsz.js} +43 -28
  5. package/dist/_chunks/{patient-summary-card-CL04aq8h.js → patient-summary-card-B1jvxdY8.js} +2 -2
  6. package/dist/_chunks/{payment-request-card-BbpN8GQg.js → payment-request-card-DPN5yklX.js} +2 -2
  7. package/dist/_chunks/{periodontal-chart-Cw-ZsIls.js → periodontal-chart-X4_4WPK8.js} +2 -2
  8. package/dist/_chunks/{periodontal-chart-card-CG8mxR62.js → periodontal-chart-card-BzL3YkEW.js} +2 -2
  9. package/dist/_chunks/{specialty-icon-KuovHTxh.js → specialty-icon-BkpExzMh.js} +2 -1
  10. package/dist/_chunks/specialty-list-BzalHR8_.js +100 -0
  11. package/dist/_chunks/{use-appointment-details-read-BbIoPWO6.js → use-appointment-details-read-BNtTap_B.js} +2 -2
  12. package/dist/_chunks/{workflow-map-k-dQkpe7.js → workflow-map-Dm27iPKB.js} +2 -2
  13. package/dist/agent-catalog.json +1 -1
  14. package/dist/components/appointment-details-panel/index.js +1 -1
  15. package/dist/components/care-plan-header/index.js +1 -1
  16. package/dist/components/contact-profile-card/index.js +1 -1
  17. package/dist/components/key-value-pair/index.js +1 -1
  18. package/dist/components/patient-summary-card/index.js +1 -1
  19. package/dist/components/payment-card/index.js +1 -1
  20. package/dist/components/periodontal-chart/index.js +1 -1
  21. package/dist/components/periodontal-chart-card/index.js +1 -1
  22. package/dist/components/specialty-icon/index.js +1 -1
  23. package/dist/components/specialty-list/index.js +1 -1
  24. package/dist/components/workflow/index.js +1 -1
  25. package/dist/core.css +1 -1
  26. package/dist/index.js +12 -12
  27. package/dist/patterns/calendar/index.js +1 -1
  28. package/dist/tokens.css +1 -1
  29. package/package.json +1 -1
  30. package/dist/_chunks/specialty-list-urUQJLk3.js +0 -67
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "1.101.0",
3
+ "version": "1.102.0",
4
4
  "type": "module",
5
5
  "description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
6
6
  "license": "BUSL-1.1",
@@ -1,67 +0,0 @@
1
- import { jsxs as m, jsx as s, Fragment as b } from "react/jsx-runtime";
2
- import { forwardRef as N, useState as S, useId as L } from "react";
3
- import { useTranslation as w } from "react-i18next";
4
- import { B as I } from "./button-DohK_Ak_.js";
5
- import { c as $ } from "./specialty-icon-KuovHTxh.js";
6
- const u = [
7
- "ds:group ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]",
8
- "ds:min-h-[var(--min-target-size)] ds:text-foreground ds:no-underline",
9
- "ds:rounded-[var(--radius-md)]"
10
- ].join(" "), j = [
11
- "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
12
- "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
13
- "ds:forced-colors:focus-visible:outline-[CanvasText]"
14
- ].join(" "), p = "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-2xs)] ds:p-0 ds:[&[hidden]]:hidden";
15
- function f({ item: e }) {
16
- const i = /* @__PURE__ */ m(b, { children: [
17
- /* @__PURE__ */ s($, { specialty: e.key }),
18
- /* @__PURE__ */ s(
19
- "span",
20
- {
21
- dir: "auto",
22
- className: "type-body ds:min-w-0 ds:underline-offset-4 ds:group-hover:underline ds:group-focus-visible:underline",
23
- children: e.label
24
- }
25
- )
26
- ] });
27
- return /* @__PURE__ */ s("li", { className: "ds:min-w-0", children: e.href ? /* @__PURE__ */ s("a", { href: e.href, className: `${u} ${j}`, children: i }) : /* @__PURE__ */ s("span", { className: u, children: i }) });
28
- }
29
- const k = N(
30
- ({ items: e, collapsedCount: i = 5, className: h, ...g }, v) => {
31
- const { t: a } = w("ui"), [l, x] = S(!1), d = L(), r = e.slice(0, Math.max(0, i)), o = e.slice(r.length), c = o.length > 0, y = [
32
- "ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-2xs)]",
33
- h
34
- ].filter(Boolean).join(" ");
35
- return /* @__PURE__ */ m(
36
- "div",
37
- {
38
- ref: v,
39
- "data-component": "specialty-list",
40
- className: y,
41
- ...g,
42
- children: [
43
- /* @__PURE__ */ s("ul", { className: p, children: r.map((n, t) => /* @__PURE__ */ s(f, { item: n }, `${n.key}-${t}`)) }),
44
- c ? /* @__PURE__ */ s("ul", { id: d, hidden: !l, className: p, children: o.map((n, t) => /* @__PURE__ */ s(f, { item: n }, `${n.key}-${t}`)) }) : null,
45
- c ? /* @__PURE__ */ s(
46
- I,
47
- {
48
- type: "button",
49
- intent: "link",
50
- size: "md",
51
- className: "ds:!ps-0 ds:!pe-0",
52
- "aria-expanded": l,
53
- "aria-controls": d,
54
- onClick: () => x((n) => !n),
55
- children: l ? a("specialtyList.showLess") : a("specialtyList.showAll", { count: o.length })
56
- }
57
- ) : null
58
- ]
59
- }
60
- );
61
- }
62
- );
63
- k.displayName = "SpecialtyList";
64
- export {
65
- k as S
66
- };
67
- //# sourceMappingURL=specialty-list-urUQJLk3.js.map