@alfadocs/ui-kit 1.27.0 → 1.28.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-DL_ExLYE.js → practice-results-CxIsU2YO.js} +136 -135
- 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 +9 -0
- package/dist/index.js +1 -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.28.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -10220,7 +10220,7 @@
|
|
|
10220
10220
|
},
|
|
10221
10221
|
"item": {
|
|
10222
10222
|
"attr": "data-result-id",
|
|
10223
|
-
"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). Card content carries its own read-only hooks: data-component=\"practice-result-tagline\", data-component=\"practice-result-description\", and data-component=\"practice-result-price\" (the kit-formatted first-visit cost — present only when the practice set one)."
|
|
10223
|
+
"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 up to two anchors: data-component=\"practice-result-open-cta\" (practice page; absent when the consumer sets showCardOpenButton=false) and data-component=\"practice-result-book-cta\" (booking flow; data-slot-aware=\"true\" when it deep-links to a next slot). Card content carries its own read-only hooks: data-component=\"practice-result-tagline\", data-component=\"practice-result-description\", and data-component=\"practice-result-price\" (the kit-formatted first-visit cost — present only when the practice set one)."
|
|
10224
10224
|
}
|
|
10225
10225
|
}
|
|
10226
10226
|
},
|
|
@@ -249,6 +249,15 @@ export interface PracticeResultsProps extends Omit<ComponentPropsWithoutRef<'div
|
|
|
249
249
|
* of this override — the time is the message.
|
|
250
250
|
*/
|
|
251
251
|
cardBookButtonLabel?: string;
|
|
252
|
+
/**
|
|
253
|
+
* Whether each card renders the secondary "Open" button next to
|
|
254
|
+
* "Book". Defaults to `true`. Set `false` on a surface where both
|
|
255
|
+
* buttons would lead to the same page, so the card carries one
|
|
256
|
+
* clear call to action: the booking site's practice page hosts the
|
|
257
|
+
* booking flow, so its cards keep only "Book". `onResultSelect`
|
|
258
|
+
* never fires with `source: 'open-button'` while hidden.
|
|
259
|
+
*/
|
|
260
|
+
showCardOpenButton?: boolean;
|
|
252
261
|
'aria-label'?: string;
|
|
253
262
|
/** Agent-readiness instance id. */
|
|
254
263
|
id?: string;
|
package/dist/index.js
CHANGED
|
@@ -202,7 +202,7 @@ import { P as kc, a as Bc, p as Gc } from "./_chunks/periodontal-chart-card-qEZP
|
|
|
202
202
|
import { D as Hc, P as wc, a as Uc, b as Vc, c as Wc, S as Kc, e as Yc, i as Xc, p as qc } from "./_chunks/periodontal-diagnosis-HrFsVi-C.js";
|
|
203
203
|
import { P as jc, a as Qc, c as Jc, p as Zc, r as $c } from "./_chunks/periodontal-risk-chart-0x7KVZjL.js";
|
|
204
204
|
import { C as ef, a as sf, b as rf, c as of } from "./_chunks/contact-profile-card-BZqi8Hck.js";
|
|
205
|
-
import { P as nf, p as pf } from "./_chunks/practice-results-
|
|
205
|
+
import { P as nf, p as pf } from "./_chunks/practice-results-CxIsU2YO.js";
|
|
206
206
|
import { P as lf, a as df, p as Af, b as cf } from "./_chunks/payment-request-card-lmKLwsDs.js";
|
|
207
207
|
import { P as gf, f as Sf, p as Cf, a as Tf, s as xf, b as uf, c as Pf } from "./_chunks/payment-form-Ds1I9KqB.js";
|
|
208
208
|
import { P as Ef, p as Rf } from "./_chunks/pdf-viewer-DUIsV9s5.js";
|