@alfadocs/ui-kit 1.6.1 → 1.7.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.
- package/dist/_chunks/{practice-results-F_Rf7c4H.js → practice-results-BEsAdW-B.js} +719 -633
- package/dist/agent-catalog.json +2 -2
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +47 -7
- package/dist/i18n/locales/ar.d.ts +1 -0
- package/dist/i18n/locales/ar.js +2 -1
- package/dist/i18n/locales/de.d.ts +1 -0
- package/dist/i18n/locales/de.js +2 -1
- package/dist/i18n/locales/el.d.ts +1 -0
- package/dist/i18n/locales/el.js +2 -1
- package/dist/i18n/locales/en.d.ts +1 -0
- package/dist/i18n/locales/en.js +2 -1
- package/dist/i18n/locales/es.d.ts +1 -0
- package/dist/i18n/locales/es.js +2 -1
- package/dist/i18n/locales/fr.d.ts +1 -0
- package/dist/i18n/locales/fr.js +2 -1
- package/dist/i18n/locales/hi.d.ts +1 -0
- package/dist/i18n/locales/hi.js +2 -1
- package/dist/i18n/locales/it.d.ts +1 -0
- package/dist/i18n/locales/it.js +2 -1
- package/dist/i18n/locales/ja.d.ts +1 -0
- package/dist/i18n/locales/ja.js +2 -1
- package/dist/i18n/locales/nl.d.ts +1 -0
- package/dist/i18n/locales/nl.js +2 -1
- package/dist/i18n/locales/pl.d.ts +1 -0
- package/dist/i18n/locales/pl.js +2 -1
- package/dist/i18n/locales/pt.d.ts +1 -0
- package/dist/i18n/locales/pt.js +2 -1
- package/dist/i18n/locales/ro.d.ts +1 -0
- package/dist/i18n/locales/ro.js +2 -1
- package/dist/i18n/locales/ru.d.ts +1 -0
- package/dist/i18n/locales/ru.js +2 -1
- package/dist/i18n/locales/sq.d.ts +1 -0
- package/dist/i18n/locales/sq.js +2 -1
- package/dist/i18n/locales/sv.d.ts +1 -0
- package/dist/i18n/locales/sv.js +2 -1
- package/dist/i18n/locales/tr.d.ts +1 -0
- package/dist/i18n/locales/tr.js +2 -1
- package/dist/i18n/locales/zh.d.ts +1 -0
- package/dist/i18n/locales/zh.js +2 -1
- package/dist/index.js +1 -1
- package/dist/locales/ar.json +2 -1
- package/dist/locales/de.json +2 -1
- package/dist/locales/el.json +2 -1
- package/dist/locales/en.json +2 -1
- package/dist/locales/es.json +2 -1
- package/dist/locales/fr.json +2 -1
- package/dist/locales/hi.json +2 -1
- package/dist/locales/it.json +2 -1
- package/dist/locales/ja.json +2 -1
- package/dist/locales/nl.json +2 -1
- package/dist/locales/pl.json +2 -1
- package/dist/locales/pt.json +2 -1
- package/dist/locales/ro.json +2 -1
- package/dist/locales/ru.json +2 -1
- package/dist/locales/sq.json +2 -1
- package/dist/locales/sv.json +2 -1
- package/dist/locales/tr.json +2 -1
- package/dist/locales/zh.json +2 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.
|
|
3
|
+
"packageVersion": "1.7.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -10199,7 +10199,7 @@
|
|
|
10199
10199
|
},
|
|
10200
10200
|
"item": {
|
|
10201
10201
|
"attr": "data-result-id",
|
|
10202
|
-
"description": "Stable result id emitted on each rendered result card. Used by scroll_to_result / focus_pin to address a single result."
|
|
10202
|
+
"description": "Stable result id emitted on each rendered result card. Used by scroll_to_result / focus_pin to address a single result. Each card also carries two anchors: data-component=\"practice-result-open-cta\" (practice page) and data-component=\"practice-result-book-cta\" (booking flow; data-slot-aware=\"true\" when it deep-links to a next slot)."
|
|
10203
10203
|
}
|
|
10204
10204
|
}
|
|
10205
10205
|
},
|
|
@@ -12,10 +12,19 @@ export type PracticeResultsSort = 'distance' | 'rating' | 'next-available' | 're
|
|
|
12
12
|
* - `pin` — patient clicked a map pin. Sync-only (scroll list to the
|
|
13
13
|
* matching card); no navigation.
|
|
14
14
|
* - `open-button` — patient clicked the explicit "Open" CTA on a card.
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* Navigates to the practice page. Booking-website's consumer routes
|
|
16
|
+
* to `result.href` on this source value.
|
|
17
|
+
* - `book-button` — patient clicked the always-visible "Book" CTA on a
|
|
18
|
+
* card (1.7.0). Navigates to the booking flow: the concrete
|
|
19
|
+
* `nextAvailableSlot.bookingHref` when known, else `bookingHref`,
|
|
20
|
+
* else `href`. Both CTAs are real anchors, so native navigation
|
|
21
|
+
* happens whether or not the consumer handles the source — the value
|
|
22
|
+
* exists so booking intent from the SERP can be attributed.
|
|
23
|
+
*
|
|
24
|
+
* `open-button` and `book-button` are the only sources that should
|
|
25
|
+
* drive navigation.
|
|
17
26
|
*/
|
|
18
|
-
export type PracticeResultsSelectSource = 'card' | 'pin' | 'open-button';
|
|
27
|
+
export type PracticeResultsSelectSource = 'card' | 'pin' | 'open-button' | 'book-button';
|
|
19
28
|
export interface PracticeResultsBounds {
|
|
20
29
|
north: number;
|
|
21
30
|
south: number;
|
|
@@ -29,6 +38,24 @@ export interface PracticeResult {
|
|
|
29
38
|
name: string;
|
|
30
39
|
/** Profession or specialty caption. */
|
|
31
40
|
subtitle?: string;
|
|
41
|
+
/**
|
|
42
|
+
* One-line slogan shown under the caption on every card
|
|
43
|
+
* (booking-website maps `bookingSlogan` here). Added in 1.7.0.
|
|
44
|
+
*/
|
|
45
|
+
tagline?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Short free-text blurb about the practice. Rendered on every card,
|
|
48
|
+
* clamped to two lines on compact cards and three on rich cards
|
|
49
|
+
* (booking-website maps `bookingDescription` here). Added in 1.7.0.
|
|
50
|
+
*/
|
|
51
|
+
description?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Destination of the always-visible "Book" CTA. Defaults to `href`
|
|
54
|
+
* (the practice page hosts the booking flow). A
|
|
55
|
+
* `nextAvailableSlot.bookingHref` takes precedence when present so
|
|
56
|
+
* the CTA deep-links to the concrete slot. Added in 1.7.0.
|
|
57
|
+
*/
|
|
58
|
+
bookingHref?: string;
|
|
32
59
|
/** Avatar / logo URL. */
|
|
33
60
|
imageUrl?: string;
|
|
34
61
|
/** Practice location. Required by the two map variants. */
|
|
@@ -50,7 +77,11 @@ export interface PracticeResult {
|
|
|
50
77
|
insurances?: string[];
|
|
51
78
|
/** Anxious-patient friendly — renders an icon chip on rich-cards. */
|
|
52
79
|
specializedInFearPatients?: boolean;
|
|
53
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Next available slot — rendered as a "Next available …" caption on
|
|
82
|
+
* every card. When present, the card's Book CTA deep-links to
|
|
83
|
+
* `bookingHref` and reads the slot-aware "Book at {{time}}" label.
|
|
84
|
+
*/
|
|
54
85
|
nextAvailableSlot?: {
|
|
55
86
|
/** ISO datetime, e.g. "2026-05-23T10:30:00+02:00". */
|
|
56
87
|
dateTime: string;
|
|
@@ -186,11 +217,20 @@ export interface PracticeResultsProps extends Omit<ComponentPropsWithoutRef<'div
|
|
|
186
217
|
* Label for the per-card "Open" button. Defaults to
|
|
187
218
|
* `t('practiceResults.card.open')` ("Apri" / "Open"). The Open button
|
|
188
219
|
* is the **only** card affordance that fires `onResultSelect` with
|
|
189
|
-
* `source: 'open-button'
|
|
190
|
-
*
|
|
191
|
-
* `'pin'` and are sync-only.
|
|
220
|
+
* `source: 'open-button'`. Card-body clicks and pin clicks fire with
|
|
221
|
+
* `'card'` / `'pin'` and are sync-only.
|
|
192
222
|
*/
|
|
193
223
|
cardOpenButtonLabel?: string;
|
|
224
|
+
/**
|
|
225
|
+
* Label for the per-card "Book" button (1.7.0). Defaults to
|
|
226
|
+
* `t('practiceResults.card.book')` ("Prenota" / "Book"). The button
|
|
227
|
+
* renders on every card in every variant and fires `onResultSelect`
|
|
228
|
+
* with `source: 'book-button'`. When the result carries a
|
|
229
|
+
* `nextAvailableSlot` the label switches to the slot-aware
|
|
230
|
+
* `t('practiceResults.nextSlot.cta')` ("Book at {{time}}") regardless
|
|
231
|
+
* of this override — the time is the message.
|
|
232
|
+
*/
|
|
233
|
+
cardBookButtonLabel?: string;
|
|
194
234
|
'aria-label'?: string;
|
|
195
235
|
/** Agent-readiness instance id. */
|
|
196
236
|
id?: string;
|
package/dist/i18n/locales/ar.js
CHANGED
|
@@ -1959,7 +1959,8 @@ const e = {
|
|
|
1959
1959
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1960
1960
|
fearPatient: { label: "Anxious-patient friendly" },
|
|
1961
1961
|
card: {
|
|
1962
|
-
open: "Open"
|
|
1962
|
+
open: "Open",
|
|
1963
|
+
book: "Book"
|
|
1963
1964
|
},
|
|
1964
1965
|
sheet: {
|
|
1965
1966
|
title_one: "{{count}} practice",
|
package/dist/i18n/locales/de.js
CHANGED
|
@@ -1958,7 +1958,8 @@ const e = {
|
|
|
1958
1958
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1959
1959
|
fearPatient: { label: "Geeignet für ängstliche Patienten" },
|
|
1960
1960
|
card: {
|
|
1961
|
-
open: "Öffnen"
|
|
1961
|
+
open: "Öffnen",
|
|
1962
|
+
book: "Buchen"
|
|
1962
1963
|
},
|
|
1963
1964
|
sheet: {
|
|
1964
1965
|
title_one: "{{count}} Praxis",
|
package/dist/i18n/locales/el.js
CHANGED
|
@@ -1959,7 +1959,8 @@ const e = {
|
|
|
1959
1959
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1960
1960
|
fearPatient: { label: "Anxious-patient friendly" },
|
|
1961
1961
|
card: {
|
|
1962
|
-
open: "Open"
|
|
1962
|
+
open: "Open",
|
|
1963
|
+
book: "Book"
|
|
1963
1964
|
},
|
|
1964
1965
|
sheet: {
|
|
1965
1966
|
title_one: "{{count}} practice",
|
package/dist/i18n/locales/en.js
CHANGED
package/dist/i18n/locales/es.js
CHANGED
|
@@ -1958,7 +1958,8 @@ const e = {
|
|
|
1958
1958
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1959
1959
|
fearPatient: { label: "Adecuado para pacientes ansiosos" },
|
|
1960
1960
|
card: {
|
|
1961
|
-
open: "Abrir"
|
|
1961
|
+
open: "Abrir",
|
|
1962
|
+
book: "Reservar"
|
|
1962
1963
|
},
|
|
1963
1964
|
sheet: {
|
|
1964
1965
|
title_one: "{{count}} consultorio",
|
package/dist/i18n/locales/fr.js
CHANGED
|
@@ -1958,7 +1958,8 @@ const e = {
|
|
|
1958
1958
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1959
1959
|
fearPatient: { label: "Adapté aux patients anxieux" },
|
|
1960
1960
|
card: {
|
|
1961
|
-
open: "Ouvrir"
|
|
1961
|
+
open: "Ouvrir",
|
|
1962
|
+
book: "Réserver"
|
|
1962
1963
|
},
|
|
1963
1964
|
sheet: {
|
|
1964
1965
|
title_one: "{{count}} cabinet",
|
package/dist/i18n/locales/hi.js
CHANGED
|
@@ -1959,7 +1959,8 @@ const e = {
|
|
|
1959
1959
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1960
1960
|
fearPatient: { label: "Anxious-patient friendly" },
|
|
1961
1961
|
card: {
|
|
1962
|
-
open: "Open"
|
|
1962
|
+
open: "Open",
|
|
1963
|
+
book: "Book"
|
|
1963
1964
|
},
|
|
1964
1965
|
sheet: {
|
|
1965
1966
|
title_one: "{{count}} practice",
|
package/dist/i18n/locales/it.js
CHANGED
|
@@ -1938,7 +1938,8 @@ const e = {
|
|
|
1938
1938
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1939
1939
|
fearPatient: { label: "Adatto ai pazienti ansiosi" },
|
|
1940
1940
|
card: {
|
|
1941
|
-
open: "Apri"
|
|
1941
|
+
open: "Apri",
|
|
1942
|
+
book: "Prenota"
|
|
1942
1943
|
},
|
|
1943
1944
|
sheet: {
|
|
1944
1945
|
title_one: "{{count}} studio",
|
package/dist/i18n/locales/ja.js
CHANGED
|
@@ -1959,7 +1959,8 @@ const e = {
|
|
|
1959
1959
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1960
1960
|
fearPatient: { label: "Anxious-patient friendly" },
|
|
1961
1961
|
card: {
|
|
1962
|
-
open: "Open"
|
|
1962
|
+
open: "Open",
|
|
1963
|
+
book: "Book"
|
|
1963
1964
|
},
|
|
1964
1965
|
sheet: {
|
|
1965
1966
|
title_one: "{{count}} practice",
|
package/dist/i18n/locales/nl.js
CHANGED
|
@@ -1958,7 +1958,8 @@ const e = {
|
|
|
1958
1958
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1959
1959
|
fearPatient: { label: "Geschikt voor angstige patiënten" },
|
|
1960
1960
|
card: {
|
|
1961
|
-
open: "Openen"
|
|
1961
|
+
open: "Openen",
|
|
1962
|
+
book: "Boeken"
|
|
1962
1963
|
},
|
|
1963
1964
|
sheet: {
|
|
1964
1965
|
title_one: "{{count}} praktijk",
|
package/dist/i18n/locales/pl.js
CHANGED
|
@@ -1959,7 +1959,8 @@ const e = {
|
|
|
1959
1959
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1960
1960
|
fearPatient: { label: "Anxious-patient friendly" },
|
|
1961
1961
|
card: {
|
|
1962
|
-
open: "Open"
|
|
1962
|
+
open: "Open",
|
|
1963
|
+
book: "Book"
|
|
1963
1964
|
},
|
|
1964
1965
|
sheet: {
|
|
1965
1966
|
title_one: "{{count}} practice",
|
package/dist/i18n/locales/pt.js
CHANGED
|
@@ -1960,7 +1960,8 @@ const e = {
|
|
|
1960
1960
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1961
1961
|
fearPatient: { label: "Adequado a pacientes ansiosos" },
|
|
1962
1962
|
card: {
|
|
1963
|
-
open: "Abrir"
|
|
1963
|
+
open: "Abrir",
|
|
1964
|
+
book: "Reservar"
|
|
1964
1965
|
},
|
|
1965
1966
|
sheet: {
|
|
1966
1967
|
title_one: "{{count}} consultório",
|
package/dist/i18n/locales/ro.js
CHANGED
|
@@ -1959,7 +1959,8 @@ const e = {
|
|
|
1959
1959
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1960
1960
|
fearPatient: { label: "Anxious-patient friendly" },
|
|
1961
1961
|
card: {
|
|
1962
|
-
open: "Open"
|
|
1962
|
+
open: "Open",
|
|
1963
|
+
book: "Book"
|
|
1963
1964
|
},
|
|
1964
1965
|
sheet: {
|
|
1965
1966
|
title_one: "{{count}} practice",
|
package/dist/i18n/locales/ru.js
CHANGED
|
@@ -1959,7 +1959,8 @@ const e = {
|
|
|
1959
1959
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1960
1960
|
fearPatient: { label: "Anxious-patient friendly" },
|
|
1961
1961
|
card: {
|
|
1962
|
-
open: "Open"
|
|
1962
|
+
open: "Open",
|
|
1963
|
+
book: "Book"
|
|
1963
1964
|
},
|
|
1964
1965
|
sheet: {
|
|
1965
1966
|
title_one: "{{count}} practice",
|
package/dist/i18n/locales/sq.js
CHANGED
|
@@ -1959,7 +1959,8 @@ const e = {
|
|
|
1959
1959
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1960
1960
|
fearPatient: { label: "Anxious-patient friendly" },
|
|
1961
1961
|
card: {
|
|
1962
|
-
open: "Open"
|
|
1962
|
+
open: "Open",
|
|
1963
|
+
book: "Book"
|
|
1963
1964
|
},
|
|
1964
1965
|
sheet: {
|
|
1965
1966
|
title_one: "{{count}} practice",
|
package/dist/i18n/locales/sv.js
CHANGED
|
@@ -1959,7 +1959,8 @@ const e = {
|
|
|
1959
1959
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1960
1960
|
fearPatient: { label: "Anxious-patient friendly" },
|
|
1961
1961
|
card: {
|
|
1962
|
-
open: "Open"
|
|
1962
|
+
open: "Open",
|
|
1963
|
+
book: "Book"
|
|
1963
1964
|
},
|
|
1964
1965
|
sheet: {
|
|
1965
1966
|
title_one: "{{count}} practice",
|
package/dist/i18n/locales/tr.js
CHANGED
|
@@ -1959,7 +1959,8 @@ const e = {
|
|
|
1959
1959
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1960
1960
|
fearPatient: { label: "Anxious-patient friendly" },
|
|
1961
1961
|
card: {
|
|
1962
|
-
open: "Open"
|
|
1962
|
+
open: "Open",
|
|
1963
|
+
book: "Book"
|
|
1963
1964
|
},
|
|
1964
1965
|
sheet: {
|
|
1965
1966
|
title_one: "{{count}} practice",
|
package/dist/i18n/locales/zh.js
CHANGED
|
@@ -1959,7 +1959,8 @@ const e = {
|
|
|
1959
1959
|
distance: { km: "{{distance}} km", below: "< 1 km" },
|
|
1960
1960
|
fearPatient: { label: "Anxious-patient friendly" },
|
|
1961
1961
|
card: {
|
|
1962
|
-
open: "Open"
|
|
1962
|
+
open: "Open",
|
|
1963
|
+
book: "Book"
|
|
1963
1964
|
},
|
|
1964
1965
|
sheet: {
|
|
1965
1966
|
title_one: "{{count}} practice",
|
package/dist/index.js
CHANGED
|
@@ -198,7 +198,7 @@ import { P as Nc, a as Dc, p as hc } from "./_chunks/periodontal-chart-card-BBpY
|
|
|
198
198
|
import { D as Oc, P as Lc, a as Mc, b as yc, c as kc, S as Bc, e as Gc, i as Hc, p as vc } from "./_chunks/periodontal-diagnosis-HrFsVi-C.js";
|
|
199
199
|
import { P as Uc, a as Vc, c as Wc, p as Kc, r as Yc } from "./_chunks/periodontal-risk-chart-0x7KVZjL.js";
|
|
200
200
|
import { C as qc, a as zc, b as jc, c as Qc } from "./_chunks/contact-profile-card-CE9OJKcl.js";
|
|
201
|
-
import { P as Zc, p as $c } from "./_chunks/practice-results-
|
|
201
|
+
import { P as Zc, p as $c } from "./_chunks/practice-results-BEsAdW-B.js";
|
|
202
202
|
import { P as ef, a as sf, p as rf, b as of } from "./_chunks/payment-request-card-BjjBMdsp.js";
|
|
203
203
|
import { P as nf, f as pf, p as mf, a as lf, s as df, b as Af, c as cf } from "./_chunks/payment-form-Ds1I9KqB.js";
|
|
204
204
|
import { P as gf, p as Sf } from "./_chunks/pdf-viewer-DUIsV9s5.js";
|
package/dist/locales/ar.json
CHANGED
package/dist/locales/de.json
CHANGED
package/dist/locales/el.json
CHANGED
package/dist/locales/en.json
CHANGED
package/dist/locales/es.json
CHANGED
package/dist/locales/fr.json
CHANGED
package/dist/locales/hi.json
CHANGED
package/dist/locales/it.json
CHANGED
package/dist/locales/ja.json
CHANGED
package/dist/locales/nl.json
CHANGED
package/dist/locales/pl.json
CHANGED
package/dist/locales/pt.json
CHANGED