@alfadocs/ui-kit 1.26.0 → 1.27.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.
@@ -8,7 +8,7 @@ import { c as Cs, d as yn, b as Hn } from "./toast-YZz2sBzB.js";
8
8
  import { a as Wi } from "./tooltip-DvmfrNvB.js";
9
9
  import { V as Tt } from "./visually-hidden-BHxEUGyT.js";
10
10
  import { G as aa, h as Ds, c as Bi, A as Pi, C as Xs } from "./color-picker-CU303VjY.js";
11
- import { s as _i, S as zi } from "./signature-status-chip-n57D-hhv.js";
11
+ import { s as _i, S as zi } from "./signature-status-chip-BSatI_Qc.js";
12
12
  import { Z as $i, B as Fi, T as Hi, E as Vi, C as Ui } from "./calendar-event-card-66CEEWU6.js";
13
13
  import { C as Zs } from "./check-DrFSN__t.js";
14
14
  import { S as Js } from "./stethoscope-sZXGC43m.js";
@@ -26,7 +26,7 @@ import { T as ji } from "./text-input-CUvCb6ST.js";
26
26
  import { T as ss } from "./text-area-Bt3p7Pt0.js";
27
27
  import { N as Ka } from "./number-input-Cgu2TtA8.js";
28
28
  import { T as qi } from "./time-picker-D0RS391l.js";
29
- import { a as Yi, W as Qi } from "./whatsapp-button-CuFIHJzG.js";
29
+ import { a as Yi, W as Qi } from "./whatsapp-button-Ai4YAVkl.js";
30
30
  import { A as Xi } from "./appointment-card-Dzr3GeVz.js";
31
31
  import { B as bn } from "./badge-sTusUqZD.js";
32
32
  import { D as Zi } from "./data-table-DB5BiVQ0.js";
@@ -7503,4 +7503,4 @@ export {
7503
7503
  El as r,
7504
7504
  Cn as u
7505
7505
  };
7506
- //# sourceMappingURL=calendar-workspace-CTXjHC4R.js.map
7506
+ //# sourceMappingURL=calendar-workspace-Cs4hNB40.js.map
@@ -5,7 +5,7 @@ import { D as m } from "./dialog-UbKJCi1X.js";
5
5
  import { B as z } from "./button-nJaPh_HC.js";
6
6
  import { I as xe } from "./icon-button-DA2CAGHZ.js";
7
7
  import { C as Y } from "./checkbox-BuZ1u__2.js";
8
- import { a as Re } from "./whatsapp-button-CuFIHJzG.js";
8
+ import { a as Re } from "./whatsapp-button-Ai4YAVkl.js";
9
9
  import { S as Z } from "./select-Bi8zril7.js";
10
10
  import { S as be } from "./switch-OILsBLWo.js";
11
11
  import { A as _ } from "./alert-CiJT540z.js";
@@ -414,4 +414,4 @@ Me.displayName = "SignatureRequestModal";
414
414
  export {
415
415
  Me as S
416
416
  };
417
- //# sourceMappingURL=signature-request-CwlAmVLw.js.map
417
+ //# sourceMappingURL=signature-request-C-IsbkPf.js.map
@@ -1,47 +1,47 @@
1
- import { jsx as j } from "react/jsx-runtime";
2
- import { forwardRef as x } from "react";
3
- import { useTranslation as F } from "react-i18next";
4
- import { B as G } from "./badge-sTusUqZD.js";
5
- import { T as P } from "./tooltip-DvmfrNvB.js";
6
- function B(e) {
1
+ import { jsx as D } from "react/jsx-runtime";
2
+ import { forwardRef as P } from "react";
3
+ import { useTranslation as M } from "react-i18next";
4
+ import { B as K } from "./badge-sTusUqZD.js";
5
+ import { T as Y } from "./tooltip-DvmfrNvB.js";
6
+ function E(e) {
7
7
  if (!e || typeof e == "string") return [];
8
8
  const i = e.signedBy;
9
9
  return i ? Array.isArray(i) ? i : [i] : [];
10
10
  }
11
- function d(e, i) {
11
+ function u(e, i) {
12
12
  if (e === "notRequired") return "notRequired";
13
- const r = B(i).filter((t) => t.standing);
13
+ const r = E(i).filter((t) => t.standing);
14
14
  return r.length === 0 ? e : r.every((t) => t.standing === "signed") ? "signed" : "pending";
15
15
  }
16
- function M(e, i, r = "notRequired", t) {
17
- const g = [
18
- d(e, t == null ? void 0 : t.operator),
19
- d(i, t == null ? void 0 : t.patient),
20
- d(r, t == null ? void 0 : t.secondary)
21
- ].filter((l) => l !== "notRequired");
22
- if (g.length === 0) return "notRequired";
23
- const f = g.filter((l) => l === "signed").length;
24
- return f === 0 ? "unsigned" : f === g.length ? "signed" : "partial";
16
+ function z(e, i, r = "notRequired", t) {
17
+ const o = [
18
+ u(e, t == null ? void 0 : t.operator),
19
+ u(i, t == null ? void 0 : t.patient),
20
+ u(r, t == null ? void 0 : t.secondary)
21
+ ].filter((d) => d !== "notRequired");
22
+ if (o.length === 0) return "notRequired";
23
+ const c = o.filter((d) => d === "signed").length;
24
+ return c === 0 ? "unsigned" : c === o.length ? "signed" : "partial";
25
25
  }
26
- const K = {
26
+ const H = {
27
27
  // Traffic light: green when everyone required has signed, amber when at
28
28
  // least one party is still missing, red when nobody has.
29
29
  signed: "success",
30
30
  partial: "warning",
31
31
  unsigned: "error",
32
32
  notRequired: "neutral"
33
- }, Y = {
33
+ }, J = {
34
34
  operator: "Operator",
35
35
  patient: "Patient",
36
36
  secondary: "Second signee"
37
- }, z = {
37
+ }, Q = {
38
38
  signed: "signed",
39
39
  pending: "pending"
40
- }, H = {
40
+ }, W = {
41
41
  operator: "signatureStatusChip.missingOperator",
42
42
  patient: "signatureStatusChip.missingPatient",
43
43
  secondary: "signatureStatusChip.missingSecondary"
44
- }, J = {
44
+ }, X = {
45
45
  operator: "Operator signature missing",
46
46
  patient: "Patient signature missing",
47
47
  secondary: "Second signee signature missing"
@@ -49,30 +49,30 @@ const K = {
49
49
  function S(e) {
50
50
  return `⁨${e}⁩`;
51
51
  }
52
- function Q(e, i, r) {
52
+ function Z(e, i, r) {
53
53
  const t = [];
54
54
  return e !== "notRequired" && t.push({ role: "operator", standing: e }), i !== "notRequired" && t.push({ role: "patient", standing: i }), r !== "notRequired" && t.push({ role: "secondary", standing: r }), t;
55
55
  }
56
- const W = x(
56
+ const tt = P(
57
57
  ({
58
58
  operator: e,
59
59
  patient: i,
60
60
  secondary: r = "notRequired",
61
61
  names: t,
62
- size: g = "md",
63
- detail: f = !1,
64
- tooltip: l = !1,
65
- id: v,
62
+ size: o = "md",
63
+ detail: c = !1,
64
+ tooltip: d = !1,
65
+ id: w,
66
66
  className: V,
67
- "aria-label": D,
68
- title: w,
69
- ...E
70
- }, _) => {
71
- const { t: n } = F(), y = M(e, i, r, t), T = Q(
72
- d(e, t == null ? void 0 : t.operator),
73
- d(i, t == null ? void 0 : t.patient),
74
- d(r, t == null ? void 0 : t.secondary)
75
- ), p = (() => {
67
+ "aria-label": _,
68
+ title: m,
69
+ ...U
70
+ }, x) => {
71
+ const { t: n } = M(), y = z(e, i, r, t), N = Z(
72
+ u(e, t == null ? void 0 : t.operator),
73
+ u(i, t == null ? void 0 : t.patient),
74
+ u(r, t == null ? void 0 : t.secondary)
75
+ ), l = (() => {
76
76
  switch (y) {
77
77
  case "signed":
78
78
  return n("signatureStatusChip.signed", { defaultValue: "Signed" });
@@ -85,77 +85,77 @@ const W = x(
85
85
  defaultValue: "No signature required"
86
86
  });
87
87
  case "partial": {
88
- const u = T.filter((a) => a.standing === "pending");
89
- if (u.length === 1) {
90
- const a = u[0].role;
91
- return n(H[a], {
92
- defaultValue: J[a]
88
+ const p = N.filter((a) => a.standing === "pending");
89
+ if (p.length === 1) {
90
+ const a = p[0].role;
91
+ return n(W[a], {
92
+ defaultValue: X[a]
93
93
  });
94
94
  }
95
95
  return n("signatureStatusChip.missingCount", {
96
96
  defaultValue: "{{count}} signatures missing",
97
- count: u.length
97
+ count: p.length
98
98
  });
99
99
  }
100
100
  }
101
- })(), o = T.map(({ role: u, standing: a }) => {
102
- const b = n(`signatureStatusChip.party.${u}`, {
103
- defaultValue: Y[u]
104
- }), N = n(`signatureStatusChip.state.${a}`, {
105
- defaultValue: z[a]
106
- }), h = t == null ? void 0 : t[u];
101
+ })(), T = (p) => N.map(({ role: a, standing: b }) => {
102
+ const C = n(`signatureStatusChip.party.${a}`, {
103
+ defaultValue: J[a]
104
+ }), B = n(`signatureStatusChip.state.${b}`, {
105
+ defaultValue: Q[b]
106
+ }), h = p ? t == null ? void 0 : t[a] : void 0;
107
107
  if (!h)
108
108
  return n("signatureStatusChip.breakdownItem", {
109
109
  defaultValue: "{{party}} {{state}}",
110
- party: b,
111
- state: N
110
+ party: C,
111
+ state: B
112
112
  });
113
- const C = typeof h == "string" ? { name: h } : h, q = B(C);
113
+ const R = typeof h == "string" ? { name: h } : h, q = E(R);
114
114
  if (q.length > 0) {
115
- const A = (s) => s.relationship ? n("signatureStatusChip.representative", {
115
+ const L = (s) => s.relationship ? n("signatureStatusChip.representative", {
116
116
  defaultValue: "{{name}} ({{relationship}})",
117
117
  name: S(s.name),
118
118
  relationship: s.relationship
119
- }) : S(s.name), O = (s) => s.standing ?? a, L = q.filter((s) => O(s) === "signed"), $ = q.filter((s) => O(s) === "pending"), R = [];
120
- return L.length > 0 && R.push(
119
+ }) : S(s.name), $ = (s) => s.standing ?? b, j = q.filter((s) => $(s) === "signed"), k = q.filter((s) => $(s) === "pending"), v = [];
120
+ return j.length > 0 && v.push(
121
121
  n("signatureStatusChip.signedByList", {
122
122
  defaultValue: "signed by {{signers}}",
123
- signers: L.map(A).join(", ")
123
+ signers: j.map(L).join(", ")
124
124
  })
125
- ), $.length > 0 && R.push(
125
+ ), k.length > 0 && v.push(
126
126
  n("signatureStatusChip.awaitingList", {
127
127
  defaultValue: "awaiting {{signers}}",
128
- signers: $.map(A).join(", ")
128
+ signers: k.map(L).join(", ")
129
129
  })
130
130
  ), n("signatureStatusChip.breakdownItemOnBehalf", {
131
131
  defaultValue: "{{party}}: {{name}}, {{detail}}",
132
- party: b,
133
- name: S(C.name),
134
- detail: R.join(", ")
132
+ party: C,
133
+ name: S(R.name),
134
+ detail: v.join(", ")
135
135
  });
136
136
  }
137
137
  return n("signatureStatusChip.breakdownItemNamed", {
138
138
  defaultValue: "{{party}}: {{name}} ({{state}})",
139
- party: b,
140
- name: S(C.name),
141
- state: N
139
+ party: C,
140
+ name: S(R.name),
141
+ state: B
142
142
  });
143
- }).join(" · "), k = o ? `${p}, ${o}` : p, U = f && o ? `${p} · ${o}` : p, c = l && o.length > 0, m = D ?? (c ? p : k), I = /* @__PURE__ */ j(
144
- G,
143
+ }).join(" · "), f = T(!0), I = T(!1), F = f ? `${l}, ${f}` : l, G = c && I ? `${l} · ${I}` : l, g = d && f.length > 0, A = _ ?? (g ? l : F), O = /* @__PURE__ */ D(
144
+ K,
145
145
  {
146
- ref: _,
147
- variant: K[y],
148
- size: g,
146
+ ref: x,
147
+ variant: H[y],
148
+ size: o,
149
149
  withDot: !0,
150
150
  role: "img",
151
- "aria-label": m,
152
- title: c ? w : w ?? m,
153
- tabIndex: c ? 0 : void 0,
151
+ "aria-label": A,
152
+ title: g ? m : m ?? A,
153
+ tabIndex: g ? 0 : void 0,
154
154
  "data-component": "signature-status-chip",
155
155
  "data-status": y,
156
- "data-component-id": v,
157
- id: v,
158
- className: c ? [
156
+ "data-component-id": w,
157
+ id: w,
158
+ className: g ? [
159
159
  "ds:rounded-[var(--radius-full)]",
160
160
  "ds:focus-visible:outline-[length:var(--focus-ring-width)]",
161
161
  "ds:focus-visible:outline-solid",
@@ -163,17 +163,17 @@ const W = x(
163
163
  "ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
164
164
  V
165
165
  ].filter(Boolean).join(" ") : V,
166
- ...E,
167
- children: U
166
+ ...U,
167
+ children: G
168
168
  }
169
169
  );
170
- return c ? /* @__PURE__ */ j(P, { label: o, children: I }) : I;
170
+ return g ? /* @__PURE__ */ D(Y, { label: f, children: O }) : O;
171
171
  }
172
172
  );
173
- W.displayName = "SignatureStatusChip";
173
+ tt.displayName = "SignatureStatusChip";
174
174
  export {
175
- W as S,
176
- d as e,
177
- M as s
175
+ tt as S,
176
+ u as e,
177
+ z as s
178
178
  };
179
- //# sourceMappingURL=signature-status-chip-n57D-hhv.js.map
179
+ //# sourceMappingURL=signature-status-chip-BSatI_Qc.js.map
@@ -1,8 +1,8 @@
1
1
  import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as _, useMemo as A } from "react";
3
- import { c as m } from "./index-D2ZczOXr.js";
4
- import { useTranslation as j } from "react-i18next";
5
- function u({
2
+ import { forwardRef as B, useMemo as A } from "react";
3
+ import { c as p } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as C } from "react-i18next";
5
+ function h({
6
6
  className: a
7
7
  }) {
8
8
  return /* @__PURE__ */ r(
@@ -17,7 +17,7 @@ function u({
17
17
  }
18
18
  );
19
19
  }
20
- const k = m(
20
+ const j = p(
21
21
  [
22
22
  // `position` is provided by `positionVariants` below — `static`
23
23
  // sets `ds:relative` (so the pseudo-element touch-target anchors),
@@ -119,7 +119,7 @@ const k = m(
119
119
  size: "md"
120
120
  }
121
121
  }
122
- ), C = m("", {
122
+ ), k = p("", {
123
123
  variants: {
124
124
  position: {
125
125
  // `relative` so the `::before` pseudo touch-target (defined in
@@ -137,36 +137,92 @@ const k = m(
137
137
  }
138
138
  },
139
139
  defaultVariants: { position: "static" }
140
- });
141
- function B(a, n) {
140
+ }), N = p("", {
141
+ variants: {
142
+ collapseLabelBelow: {
143
+ sm: "ds:max-sm:gap-0 ds:max-sm:p-0 ds:max-sm:min-h-0 ds:max-sm:rounded-full ds:max-sm:shadow-[var(--shadow-lg)]",
144
+ md: "ds:max-md:gap-0 ds:max-md:p-0 ds:max-md:min-h-0 ds:max-md:rounded-full ds:max-md:shadow-[var(--shadow-lg)]"
145
+ },
146
+ size: {
147
+ sm: "",
148
+ md: "",
149
+ lg: ""
150
+ }
151
+ },
152
+ compoundVariants: [
153
+ // Mirrors the `fab` size ladder above. The `sm` circle keeps the
154
+ // pseudo touch-target the `pill sm` compound already paints below
155
+ // the `sm:` breakpoint, so 40px still hits 44/48px on a phone.
156
+ {
157
+ collapseLabelBelow: "sm",
158
+ size: "sm",
159
+ class: "ds:max-sm:h-10 ds:max-sm:w-10 ds:max-sm:[&_svg]:size-5"
160
+ },
161
+ {
162
+ collapseLabelBelow: "sm",
163
+ size: "md",
164
+ class: "ds:max-sm:h-14 ds:max-sm:w-14 ds:max-sm:[&_svg]:size-7"
165
+ },
166
+ {
167
+ collapseLabelBelow: "sm",
168
+ size: "lg",
169
+ class: "ds:max-sm:h-16 ds:max-sm:w-16 ds:max-sm:[&_svg]:size-8"
170
+ },
171
+ // The `pill sm` pseudo touch-target only paints below `sm:`, so a
172
+ // 40px circle collapsed at `md` would sit under the target minimum
173
+ // between the two breakpoints. Size that one circle to the minimum
174
+ // itself (44px, 48px in the accessible themes) instead.
175
+ {
176
+ collapseLabelBelow: "md",
177
+ size: "sm",
178
+ class: "ds:max-md:h-[var(--min-target-size)] ds:max-md:w-[var(--min-target-size)] ds:max-md:[&_svg]:size-5"
179
+ },
180
+ {
181
+ collapseLabelBelow: "md",
182
+ size: "md",
183
+ class: "ds:max-md:h-14 ds:max-md:w-14 ds:max-md:[&_svg]:size-7"
184
+ },
185
+ {
186
+ collapseLabelBelow: "md",
187
+ size: "lg",
188
+ class: "ds:max-md:h-16 ds:max-md:w-16 ds:max-md:[&_svg]:size-8"
189
+ }
190
+ ]
191
+ }), V = {
192
+ sm: "ds:max-sm:sr-only",
193
+ md: "ds:max-md:sr-only"
194
+ };
195
+ function $(a, o) {
142
196
  const s = a.replace(/\D/g, "");
143
197
  if (s.length === 0)
144
198
  return null;
145
- const d = `https://wa.me/${s}`;
146
- return n ? `${d}?text=${encodeURIComponent(n)}` : d;
199
+ const l = `https://wa.me/${s}`;
200
+ return o ? `${l}?text=${encodeURIComponent(o)}` : l;
147
201
  }
148
- const L = _(
202
+ const T = B(
149
203
  ({
150
204
  phoneNumber: a,
151
- message: n,
205
+ message: o,
152
206
  variant: s = "pill",
153
- size: d = "md",
154
- position: h,
155
- label: g,
207
+ size: l = "md",
208
+ position: u,
209
+ label: x,
156
210
  tone: w = "standard",
157
- className: x,
211
+ collapseLabelBelow: z,
212
+ className: _,
158
213
  ...i
159
- }, z) => {
160
- const { t: p } = j(), f = A(
161
- () => B(a, n),
162
- [a, n]
163
- ), e = g ?? p(s === "fab" ? "whatsApp.fabLabel" : w === "question" ? "whatsApp.questionPrompt" : "whatsApp.label"), y = [
164
- k({ variant: s, size: d }),
165
- C({ position: h }),
166
- x
167
- ].filter(Boolean).join(" "), o = f === null, v = {
168
- ref: z,
169
- ...o ? {} : {
214
+ }, y) => {
215
+ const { t: v } = C(), f = A(
216
+ () => $(a, o),
217
+ [a, o]
218
+ ), e = x ?? v(s === "fab" ? "whatsApp.fabLabel" : w === "question" ? "whatsApp.questionPrompt" : "whatsApp.label"), n = s === "pill" ? z : void 0, L = [
219
+ j({ variant: s, size: l }),
220
+ k({ position: u }),
221
+ n ? N({ collapseLabelBelow: n, size: l }) : "",
222
+ _
223
+ ].filter(Boolean).join(" "), t = f === null, b = {
224
+ ref: y,
225
+ ...t ? {} : {
170
226
  href: f,
171
227
  target: "_blank",
172
228
  rel: "noopener noreferrer"
@@ -178,39 +234,40 @@ const L = _(
178
234
  /* `tabIndex` too: an <a> without href is not focusable, and
179
235
  `aria-disabled` presupposes something focus CAN reach — otherwise
180
236
  the reason the control is disabled never reaches a keyboard. */
181
- ...o ? { role: "link", tabIndex: 0 } : {},
182
- "aria-disabled": o ? !0 : void 0,
237
+ ...t ? { role: "link", tabIndex: 0 } : {},
238
+ "aria-disabled": t ? !0 : void 0,
183
239
  "data-component": "whatsapp-button",
184
240
  "data-variant": s,
185
- onClick: (l) => {
186
- var b;
187
- o && l.preventDefault(), (b = i.onClick) == null || b.call(i, l);
241
+ "data-collapse-label-below": n,
242
+ onClick: (m) => {
243
+ var g;
244
+ t && m.preventDefault(), (g = i.onClick) == null || g.call(i, m);
188
245
  },
189
- className: y
190
- }, t = o ? null : p("link.opensInNewTab", "Opens in a new tab");
246
+ className: L
247
+ }, d = t ? null : v("link.opensInNewTab", "Opens in a new tab");
191
248
  if (s === "fab") {
192
- const l = typeof e == "string" ? t ? `${e} — ${t}` : e : void 0;
193
- return /* @__PURE__ */ c("a", { ...i, ...v, "aria-label": l, children: [
194
- /* @__PURE__ */ r(u, {}),
249
+ const m = typeof e == "string" ? d ? `${e} — ${d}` : e : void 0;
250
+ return /* @__PURE__ */ c("a", { ...i, ...b, "aria-label": m, children: [
251
+ /* @__PURE__ */ r(h, {}),
195
252
  typeof e != "string" ? /* @__PURE__ */ c("span", { className: "ds:sr-only", children: [
196
253
  e,
197
- t ? ` — ${t}` : null
254
+ d ? ` — ${d}` : null
198
255
  ] }) : null
199
256
  ] });
200
257
  }
201
- return /* @__PURE__ */ c("a", { ...i, ...v, children: [
202
- /* @__PURE__ */ r(u, {}),
203
- /* @__PURE__ */ r("span", { children: e }),
204
- t ? /* @__PURE__ */ c("span", { className: "ds:sr-only", children: [
258
+ return /* @__PURE__ */ c("a", { ...i, ...b, children: [
259
+ /* @__PURE__ */ r(h, {}),
260
+ /* @__PURE__ */ r("span", { className: n ? V[n] : void 0, children: e }),
261
+ d ? /* @__PURE__ */ c("span", { className: "ds:sr-only", children: [
205
262
  " — ",
206
- t
263
+ d
207
264
  ] }) : null
208
265
  ] });
209
266
  }
210
267
  );
211
- L.displayName = "WhatsAppButton";
268
+ T.displayName = "WhatsAppButton";
212
269
  export {
213
- L as W,
214
- u as a
270
+ T as W,
271
+ h as a
215
272
  };
216
- //# sourceMappingURL=whatsapp-button-CuFIHJzG.js.map
273
+ //# sourceMappingURL=whatsapp-button-Ai4YAVkl.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "1.26.0",
3
+ "packageVersion": "1.27.0",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -1,4 +1,4 @@
1
- import { S as e, e as s, s as i } from "../../_chunks/signature-status-chip-n57D-hhv.js";
1
+ import { S as e, e as s, s as i } from "../../_chunks/signature-status-chip-BSatI_Qc.js";
2
2
  export {
3
3
  e as SignatureStatusChip,
4
4
  s as effectiveStanding,
@@ -1,4 +1,4 @@
1
- import { W as t, a as s } from "../../_chunks/whatsapp-button-CuFIHJzG.js";
1
+ import { W as t, a as s } from "../../_chunks/whatsapp-button-Ai4YAVkl.js";
2
2
  export {
3
3
  t as WhatsAppButton,
4
4
  s as WhatsAppGlyph
@@ -42,6 +42,17 @@ export interface WhatsAppButtonProps extends Omit<AnchorHTMLAttributes<HTMLAncho
42
42
  * glyph-only and its `aria-label` stays concise via `fabLabel`.
43
43
  */
44
44
  tone?: 'standard' | 'question';
45
+ /**
46
+ * Pill only. Below the named Tailwind breakpoint the pill becomes a
47
+ * glyph-only circle (the `fab` chrome of the same `size`) and the
48
+ * label moves to screen-reader-only text, so the accessible name is
49
+ * unchanged. Pure CSS, so server render and first paint agree.
50
+ * Use it where the pill's copy earns its space on desktop but would
51
+ * crowd a phone: the booking site's practice page passes `"sm"`.
52
+ *
53
+ * Ignored for `variant="fab"`, which is glyph-only already.
54
+ */
55
+ collapseLabelBelow?: 'sm' | 'md';
45
56
  }
46
57
  export declare const WhatsAppButton: import("react").ForwardRefExoticComponent<WhatsAppButtonProps & import("react").RefAttributes<HTMLAnchorElement>>;
47
58
  export {};
package/dist/index.js CHANGED
@@ -211,7 +211,7 @@ import { R as hf, r as Of, w as Ff } from "./_chunks/rich-text-editor-lSCiE0Zz.j
211
211
  import { E as Mf } from "./_chunks/editor-overlay-DEc5yYwo.js";
212
212
  import { S as kf, s as Bf } from "./_chunks/signature-capture-D6ut9_IR.js";
213
213
  import { S as vf, s as Hf } from "./_chunks/signature-field-0rFODJlW.js";
214
- import { S as Uf, e as Vf, s as Wf } from "./_chunks/signature-status-chip-n57D-hhv.js";
214
+ import { S as Uf, e as Vf, s as Wf } from "./_chunks/signature-status-chip-BSatI_Qc.js";
215
215
  import { S as Yf, s as Xf } from "./_chunks/sign-document-jF4fZDJ5.js";
216
216
  import { S as zf, f as jf, i as Qf, s as Jf } from "./_chunks/slot-grid-BuZOKfcd.js";
217
217
  import { A as $f, F as ag, a as eg, b as sg, c as rg, d as og, e as tg, I as ng, f as ig, g as pg, h as mg, i as lg, j as dg, k as Ag, l as cg, m as fg, n as gg, o as Sg, p as Cg, q as Tg, r as xg, s as ug, t as Pg, u as Ig } from "./_chunks/face-scheme-DA2vjqaM.js";
@@ -219,14 +219,14 @@ import { T as Rg, t as _g, r as bg } from "./_chunks/tooth-scheme-C9jssOmy.js";
219
219
  import { C as Dg, a as hg, b as Og, c as Fg, d as Lg, e as Mg, F as yg, f as kg, g as Bg, h as Gg, I as vg, P as Hg, i as wg, S as Ug, j as Vg, k as Wg, l as Kg, m as Yg, n as Xg, T as qg, o as zg, p as jg, q as Qg, r as Jg, s as Zg, t as $g, u as aS, v as eS, w as sS, x as rS, y as oS, z as tS, A as nS, B as iS, D as pS, E as mS, G as lS, H as dS, J as AS, K as cS, L as fS, M as gS, N as SS, O as CS, Q as TS, R as xS, U as uS, V as PS, W as IS, X as ES, Y as RS, Z as _S, _ as bS, $ as NS } from "./_chunks/tooth-data-DR8Kdnup.js";
220
220
  import { C as hS, D as OS, T as FS, t as LS, a as MS } from "./_chunks/tooth-finding-palette-vqC-D2Ye.js";
221
221
  import { T as kS } from "./_chunks/transaction-chip-DJCstquX.js";
222
- import { W as GS, a as vS } from "./_chunks/whatsapp-button-CuFIHJzG.js";
222
+ import { W as GS, a as vS } from "./_chunks/whatsapp-button-Ai4YAVkl.js";
223
223
  import { C as wS, W as US, a as VS, b as WS, c as KS, i as YS, l as XS, m as qS, r as zS, w as jS, d as QS, e as JS, f as ZS } from "./_chunks/workflow-map-dNzJjBWG.js";
224
224
  import { A as aC, a as eC, b as sC, c as rC } from "./_chunks/alia-sidebar-BWcWZivN.js";
225
225
  import { A as tC, a as nC, L as iC, P as pC, S as mC, T as lC, b as dC, c as AC, d as cC, e as fC, f as gC, g as SC, h as CC, i as TC, j as xC, k as uC, l as PC, m as IC, n as EC, o as RC, p as _C, r as bC, q as NC, s as DC, t as hC, u as OC } from "./_chunks/anamnesis-summary-rows-DwjqZgR5.js";
226
- import { C as LC, a as MC, b as yC, D as kC, c as BC, S as GC, V as vC, W as HC, d as wC, i as UC, m as VC, r as WC, u as KC, e as YC, f as XC } from "./_chunks/calendar-workspace-CTXjHC4R.js";
226
+ import { C as LC, a as MC, b as yC, D as kC, c as BC, S as GC, V as vC, W as HC, d as wC, i as UC, m as VC, r as WC, u as KC, e as YC, f as XC } from "./_chunks/calendar-workspace-Cs4hNB40.js";
227
227
  import { C as zC, M as jC, P as QC } from "./_chunks/marketplace-app-shell-C4AjQmvz.js";
228
228
  import { P as ZC } from "./_chunks/payment-automation-upsell-DwQW2fRp.js";
229
- import { S as aT } from "./_chunks/signature-request-CwlAmVLw.js";
229
+ import { S as aT } from "./_chunks/signature-request-C-IsbkPf.js";
230
230
  import { D as sT, d as rT } from "./_chunks/dependent-selector-cJlJFAKD.js";
231
231
  import { D as tT, d as nT } from "./_chunks/document-preview-CDb-n_W7.js";
232
232
  import { D as pT, d as mT } from "./_chunks/document-scanner-C5Vrbu21.js";
@@ -1,4 +1,4 @@
1
- import { C as s, a as r, b as E, D as P, c as t, S, V as A, W as C, d, i as o, m as D, r as i, u as n, e as W, f as _ } from "../../_chunks/calendar-workspace-CTXjHC4R.js";
1
+ import { C as s, a as r, b as E, D as P, c as t, S, V as A, W as C, d, i as o, m as D, r as i, u as n, e as W, f as _ } from "../../_chunks/calendar-workspace-Cs4hNB40.js";
2
2
  export {
3
3
  s as CALENDAR_PREFERENCE_KEYS,
4
4
  r as CalendarDataProvider,
@@ -1,4 +1,4 @@
1
- import { S as o } from "../../_chunks/signature-request-CwlAmVLw.js";
1
+ import { S as o } from "../../_chunks/signature-request-C-IsbkPf.js";
2
2
  export {
3
3
  o as SignatureRequestModal
4
4
  };