@alfadocs/ui-kit 0.30.1 → 0.30.2
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/{booking-Bw9eOU4k.js → booking-CBaSujVP.js} +496 -464
- package/dist/_chunks/{patient-search-DuSoGG2t.js → patient-search-ZpHN-pgJ.js} +520 -475
- package/dist/_chunks/{reviews-panel-CFttsfuC.js → reviews-panel-D-zjPKFL.js} +198 -178
- package/dist/agent-catalog.json +1 -1
- package/dist/components/booking/booking-types.d.ts +16 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/reviews-panel/reviews-panel.d.ts +8 -0
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/agent-catalog.json
CHANGED
|
@@ -137,6 +137,22 @@ export interface BookingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'ari
|
|
|
137
137
|
onSubmit: (payload: BookingSubmitPayload) => void | Promise<void>;
|
|
138
138
|
loadingSlots?: boolean;
|
|
139
139
|
submitting?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* @default 'flat'
|
|
142
|
+
* `'elevated'` wraps the kit-rendered surface in the equivalent of
|
|
143
|
+
* `Card variant="elevated"` (same tokens, same padding). Use to drop
|
|
144
|
+
* the consumer-side Card wrap.
|
|
145
|
+
*/
|
|
146
|
+
surface?: 'flat' | 'elevated';
|
|
147
|
+
/**
|
|
148
|
+
* Fires whenever the displayed step changes — steps 1..7 from the
|
|
149
|
+
* cascade engine + step `8` when the success view mounts. Useful for
|
|
150
|
+
* analytics events that aren't already kit-internal, custom focus
|
|
151
|
+
* management, or page-title updates. The kit also auto-scrolls the
|
|
152
|
+
* success container into view on the 1..7 → 8 transition; consumers
|
|
153
|
+
* don't need to do that themselves.
|
|
154
|
+
*/
|
|
155
|
+
onStepChange?: (step: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8) => void;
|
|
140
156
|
/**
|
|
141
157
|
* Surface a submit-failure message inside the form (Alert variant=destructive
|
|
142
158
|
* above the submit button). The consumer owns the state — set it after an
|
|
@@ -69,6 +69,14 @@ export interface ReviewsPanelProps extends Omit<ComponentPropsWithoutRef<'sectio
|
|
|
69
69
|
* width or inside a narrow column. Defaults to false.
|
|
70
70
|
*/
|
|
71
71
|
hideFilter?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* @default 'flat'
|
|
74
|
+
* `'elevated'` wraps the panel in the equivalent of `Card variant="elevated"`
|
|
75
|
+
* — same tokens (`--card`, `--card-border`, `--shadow-card`,
|
|
76
|
+
* `--radius-lg`), same padding. Use to drop the consumer-side
|
|
77
|
+
* `<Card><Card.Body>` wrap.
|
|
78
|
+
*/
|
|
79
|
+
surface?: 'flat' | 'elevated';
|
|
72
80
|
/** Render skeletons for the header and the list. */
|
|
73
81
|
loading?: boolean;
|
|
74
82
|
}
|
package/dist/index.js
CHANGED
|
@@ -125,12 +125,12 @@ import { S as Sn, a as Tn } from "./_chunks/suggestion-chip-C4kxWUIs.js";
|
|
|
125
125
|
import { s as bn } from "./_chunks/suggestion-chip.agent-6sNWFj7m.js";
|
|
126
126
|
import { T as hn, t as Rn } from "./_chunks/transcript-panel-QUQ9XJmf.js";
|
|
127
127
|
import { T as Fn } from "./_chunks/typing-indicator-DHeVN4ob.js";
|
|
128
|
-
import { B as Ln, C as kn, O as Nn, b as Bn } from "./_chunks/booking-
|
|
128
|
+
import { B as Ln, C as kn, O as Nn, b as Bn } from "./_chunks/booking-CBaSujVP.js";
|
|
129
129
|
import { C as yn, c as Dn, r as wn } from "./_chunks/calendar-WWNx448i.js";
|
|
130
|
-
import { P as _n, p as vn } from "./_chunks/patient-search-
|
|
130
|
+
import { P as _n, p as vn } from "./_chunks/patient-search-ZpHN-pgJ.js";
|
|
131
131
|
import { P as Hn, f as Gn, p as Wn, a as Un, s as Kn, b as jn, c as Yn } from "./_chunks/payment-form-Ds3rxvad.js";
|
|
132
132
|
import { P as qn, p as Qn } from "./_chunks/pdf-viewer-CIuaocnq.js";
|
|
133
|
-
import { R as Xn, r as Zn } from "./_chunks/reviews-panel-
|
|
133
|
+
import { R as Xn, r as Zn } from "./_chunks/reviews-panel-D-zjPKFL.js";
|
|
134
134
|
import { R as ap, e as ep, r as rp, t as op, a as tp, w as sp } from "./_chunks/rich-text-editor-J-wAz9eN.js";
|
|
135
135
|
import { S as np, s as pp } from "./_chunks/signature-capture-DjMlFOzS.js";
|
|
136
136
|
import { S as lp, f as fp, i as dp } from "./_chunks/slot-grid-B2zprPcv.js";
|
package/package.json
CHANGED