@alfadocs/ui-kit 1.144.0 → 1.145.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/{calendar-appointment-editor-dialog-CA69bdbI.js → calendar-appointment-editor-dialog-sY-k0GGW.js} +3 -3
- package/dist/_chunks/{calendar-waiting-list-panel-Du_jtVbl.js → calendar-waiting-list-panel-Bm7NAZdk.js} +2 -2
- package/dist/_chunks/{calendar.sheets-CGwr4t2p.js → calendar.sheets-CCvdZF-R.js} +2 -2
- package/dist/_chunks/{editor-overlay-Cl6IhKNG.js → editor-overlay-jc9HUeQ2.js} +29 -26
- package/dist/_chunks/{help-me-write-templates-BdCQ-kFO.js → help-me-write-templates-DlA54nu5.js} +2 -2
- package/dist/_chunks/{notes-panel-DnBmONPb.js → notes-panel-C9aB1Cma.js} +2 -2
- package/dist/_chunks/rich-text-editor-CJXc5GgH.js +4351 -0
- package/dist/agent-catalog.json +1 -1
- package/dist/appointment-editor-panel/index.js +1 -1
- package/dist/aws-transcribe/index.js +176 -152
- package/dist/browser-support.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/rich-text-editor/help-me-write-overlay.d.ts +2 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +7 -0
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/index.js +6 -6
- package/dist/online-bookings-panel/index.js +1 -1
- package/dist/patterns/calendar/index.js +2 -2
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/redactor.css +3 -0
- package/dist/speech/aws-transcribe.d.ts +9 -0
- package/dist/tokens.css +3 -0
- package/dist/waiting-list-panel/index.js +2 -2
- package/package.json +1 -1
- package/dist/_chunks/rich-text-editor-Cx9cA4pd.js +0 -4305
|
@@ -206,6 +206,13 @@ export interface RichTextEditorProps {
|
|
|
206
206
|
signal: AbortSignal;
|
|
207
207
|
onPartialTranscript: (text: string) => void;
|
|
208
208
|
onFinalTranscript: (text: string) => void;
|
|
209
|
+
/**
|
|
210
|
+
* Optional. A session that takes a moment to start says `'connecting'`
|
|
211
|
+
* first and `'listening'` once what the user says is being kept. The
|
|
212
|
+
* editor then shows which it is, so people know when to speak. A session
|
|
213
|
+
* that never calls it is shown as listening from the start.
|
|
214
|
+
*/
|
|
215
|
+
onStatus?: (status: 'connecting' | 'listening') => void;
|
|
209
216
|
}) => Promise<void>;
|
|
210
217
|
/**
|
|
211
218
|
* One-shot AI actions (CONSUMER-PROVIDED backend). Each gets the HTML to
|
|
@@ -2,7 +2,7 @@ import { jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo as v, useRef as s, useEffect as S } from "react";
|
|
3
3
|
import { a as F } from "../_chunks/tooltip-uEBdD1-5.js";
|
|
4
4
|
import { C as x } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
|
|
5
|
-
import { S as O, F as C } from "../_chunks/calendar.sheets-
|
|
5
|
+
import { S as O, F as C } from "../_chunks/calendar.sheets-CCvdZF-R.js";
|
|
6
6
|
const y = { open: () => {
|
|
7
7
|
}, close: () => {
|
|
8
8
|
} };
|
package/dist/index.js
CHANGED
|
@@ -193,7 +193,7 @@ import { N as Vd, i as wd } from "./_chunks/notification-card-BPGZhE5t.js";
|
|
|
193
193
|
import { n as Yd } from "./_chunks/notification-card.agent-DxGBZb8T.js";
|
|
194
194
|
import { N as qd, n as jd } from "./_chunks/notification-tray-BnC5OItw.js";
|
|
195
195
|
import { N as zd, n as Zd } from "./_chunks/notice-group-B-trhof8.js";
|
|
196
|
-
import { N as $d } from "./_chunks/notes-panel-
|
|
196
|
+
import { N as $d } from "./_chunks/notes-panel-C9aB1Cma.js";
|
|
197
197
|
import { C as eS, c as sS, s as rS } from "./_chunks/communications-panel-DDzUyoHi.js";
|
|
198
198
|
import { C as tS } from "./_chunks/call-status-chip-pajxN5eZ.js";
|
|
199
199
|
import { C as nS, c as pS } from "./_chunks/calls-panel-BTTfHnPD.js";
|
|
@@ -274,9 +274,9 @@ import { P as nI, a as pI, p as mI, b as lI } from "./_chunks/payment-request-ca
|
|
|
274
274
|
import { P as dI, f as SI, p as cI, a as fI, s as gI, b as TI, c as CI } from "./_chunks/payment-form-C-s1x-bU.js";
|
|
275
275
|
import { P as xI, p as PI } from "./_chunks/pdf-viewer-C8no312t.js";
|
|
276
276
|
import { R as uI, r as _I } from "./_chunks/reviews-panel-Cw5ygAxs.js";
|
|
277
|
-
import { R as LI, r as DI, w as NI } from "./_chunks/rich-text-editor-
|
|
277
|
+
import { R as LI, r as DI, w as NI } from "./_chunks/rich-text-editor-CJXc5GgH.js";
|
|
278
278
|
import { k as OI } from "./_chunks/kit-extensions-CSPGIdcn.js";
|
|
279
|
-
import { E as FI } from "./_chunks/editor-overlay-
|
|
279
|
+
import { E as FI } from "./_chunks/editor-overlay-jc9HUeQ2.js";
|
|
280
280
|
import { S as yI, s as BI } from "./_chunks/signature-capture-BJc7kfqi.js";
|
|
281
281
|
import { S as GI, s as vI } from "./_chunks/signature-field-BjlY_yXH.js";
|
|
282
282
|
import { S as HI, e as WI, s as VI } from "./_chunks/signature-status-chip-DS9hHwIt.js";
|
|
@@ -295,16 +295,16 @@ import { C as ZP, W as JP, a as $P, b as aE, c as eE, i as sE, l as rE, m as oE,
|
|
|
295
295
|
import { AliaAsteroidIcon as AE } from "./alia-asteroid-icon/index.js";
|
|
296
296
|
import { A as SE, a as cE, b as fE, c as gE } from "./_chunks/alia-sidebar-Bjuxk8mU.js";
|
|
297
297
|
import { A as CE, a as IE, L as xE, P as PE, S as EE, T as uE, b as _E, c as RE, d as LE, e as DE, f as NE, g as bE, h as OE, i as hE, j as FE, k as ME, l as yE, m as BE, n as kE, o as GE, p as vE, r as UE, q as HE, s as WE, t as VE, u as wE } from "./_chunks/anamnesis-summary-rows-QCv6zW-J.js";
|
|
298
|
-
import { A as YE, C as XE, i as qE } from "./_chunks/calendar-appointment-editor-dialog-
|
|
298
|
+
import { A as YE, C as XE, i as qE } from "./_chunks/calendar-appointment-editor-dialog-sY-k0GGW.js";
|
|
299
299
|
import { C as QE, a as zE, b as ZE } from "./_chunks/calendar-editor-discard-host-DWS_kM-a.js";
|
|
300
300
|
import { C as $E, u as au } from "./_chunks/calendar-editor-guard-9fShhNIA.js";
|
|
301
|
-
import { C as su, S as ru, u as ou } from "./_chunks/calendar.sheets-
|
|
301
|
+
import { C as su, S as ru, u as ou } from "./_chunks/calendar.sheets-CCvdZF-R.js";
|
|
302
302
|
import { C as iu, D as nu, a as pu, V as mu, W as lu, b as Au, m as du, r as Su, u as cu } from "./_chunks/calendar-workspace.model-4zmA3BFE.js";
|
|
303
303
|
import { C as gu } from "./_chunks/check-in-documents-v1jFfDE1.js";
|
|
304
304
|
import { E as Cu, a as Iu, b as xu, e as Pu, r as Eu } from "./_chunks/error-page-CdNGIezW.js";
|
|
305
305
|
import { E as _u } from "./_chunks/error-page-illustration-BdJLuMdV.js";
|
|
306
306
|
import { F as Lu, a as Du } from "./_chunks/forgot-password-form-BUC_hDCJ.js";
|
|
307
|
-
import { A as bu, a as Ou, H as hu, b as Fu, u as Mu } from "./_chunks/help-me-write-templates-
|
|
307
|
+
import { A as bu, a as Ou, H as hu, b as Fu, u as Mu } from "./_chunks/help-me-write-templates-DlA54nu5.js";
|
|
308
308
|
import { L as Bu, a as ku, b as Gu } from "./_chunks/login-dev-card-DqUNJcd7.js";
|
|
309
309
|
import { C as Uu, M as Hu, P as Wu } from "./_chunks/marketplace-app-shell-CGA-R-zt.js";
|
|
310
310
|
import { P as wu } from "./_chunks/patient-account-settings-Do0QbDJe.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as h, useMemo as g } from "react";
|
|
3
3
|
import { a as k } from "../_chunks/tooltip-uEBdD1-5.js";
|
|
4
4
|
import { C as v } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
|
|
5
|
-
import { S as B, B as O } from "../_chunks/calendar.sheets-
|
|
5
|
+
import { S as B, B as O } from "../_chunks/calendar.sheets-CCvdZF-R.js";
|
|
6
6
|
import { c as P, o as S } from "../_chunks/calendar-workspace.model-4zmA3BFE.js";
|
|
7
7
|
function A({
|
|
8
8
|
rows: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as r, C as s, i as o } from "../../_chunks/calendar-appointment-editor-dialog-
|
|
1
|
+
import { A as r, C as s, i as o } from "../../_chunks/calendar-appointment-editor-dialog-sY-k0GGW.js";
|
|
2
2
|
import { C, a as S, b as E } from "../../_chunks/calendar-editor-discard-host-DWS_kM-a.js";
|
|
3
3
|
import { C as i, u as A } from "../../_chunks/calendar-editor-guard-9fShhNIA.js";
|
|
4
|
-
import { C as d, S as p, u as D } from "../../_chunks/calendar.sheets-
|
|
4
|
+
import { C as d, S as p, u as D } from "../../_chunks/calendar.sheets-CCvdZF-R.js";
|
|
5
5
|
import { C as _, D as m, a as O, V as f, W as L, b as R, m as W, r as c, u as I } from "../../_chunks/calendar-workspace.model-4zmA3BFE.js";
|
|
6
6
|
export {
|
|
7
7
|
r as AppointmentEditorDialog,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as r, a as t, H as s, b as i, u as o } from "../../_chunks/help-me-write-templates-
|
|
1
|
+
import { A as r, a as t, H as s, b as i, u as o } from "../../_chunks/help-me-write-templates-DlA54nu5.js";
|
|
2
2
|
import { A as l } from "../../_chunks/ai-credits-exhausted-notice-DCq27xy2.js";
|
|
3
3
|
export {
|
|
4
4
|
r as AiCreditsExhaustedError,
|
package/dist/redactor.css
CHANGED
|
@@ -30,6 +30,9 @@
|
|
|
30
30
|
.redactor-theme-alfadocs .redactor-in li{margin-block:var(--spacing-xs)}
|
|
31
31
|
.redactor-theme-alfadocs .redactor-in [data-rte-interim]{color:var(--muted-foreground)}
|
|
32
32
|
.redactor-theme-alfadocs .redactor-in [data-rte-interim]:after{content:"";display:inline-block;inline-size:var(--border-width-md);block-size:1.1em;margin-inline-start:2px;vertical-align:text-bottom;background:var(--primary);animation:rte-dictation-caret 1.1s steps(1) infinite}
|
|
33
|
+
.redactor-theme-alfadocs .redactor-in [data-rte-interim][data-hint]:empty:before{content:attr(data-hint)}
|
|
34
|
+
.redactor-theme-alfadocs .redactor-in [data-rte-interim][data-gap]{margin-inline-start:.25em}
|
|
35
|
+
.redactor-theme-alfadocs .redactor-in.redactor-placeholder:has([data-rte-interim]):before{content:none}
|
|
33
36
|
@keyframes rte-dictation-caret{50%{opacity:0}}
|
|
34
37
|
.redactor-theme-alfadocs .redactor-placeholder:before{color:var(--muted-foreground)}
|
|
35
38
|
.redactor-theme-alfadocs .redactor-toolbar,.redactor-theme-alfadocs .redactor-air{background:var(--muted);border-block-end:var(--border-width-sm) solid var(--border);padding:var(--spacing-xs)}
|
|
@@ -16,11 +16,20 @@ export interface AwsTranscribeDictationOptions {
|
|
|
16
16
|
/** The Transcribe language code, or a function read at each start. */
|
|
17
17
|
languageCode: string | (() => string);
|
|
18
18
|
}
|
|
19
|
+
/** Where a dictation session is: opening the microphone, or hearing. */
|
|
20
|
+
export type DictationStatus = 'connecting' | 'listening';
|
|
19
21
|
/** The kit's dictation seam (`onDictate`). */
|
|
20
22
|
export type DictationSession = (ctx: {
|
|
21
23
|
signal: AbortSignal;
|
|
22
24
|
onPartialTranscript: (text: string) => void;
|
|
23
25
|
onFinalTranscript: (text: string) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Optional. A session that takes a moment to start says `'connecting'`
|
|
28
|
+
* first and `'listening'` once what the user says is being kept. The kit
|
|
29
|
+
* shows the difference, so people know when to speak. A session that never
|
|
30
|
+
* calls it is shown as listening from the start.
|
|
31
|
+
*/
|
|
32
|
+
onStatus?: (status: DictationStatus) => void;
|
|
24
33
|
}) => Promise<void>;
|
|
25
34
|
export type AwsTranscribeErrorCode =
|
|
26
35
|
/** The browser cannot capture audio or open the stream. */
|
package/dist/tokens.css
CHANGED
|
@@ -1470,6 +1470,9 @@ button.ag-side-button-button:focus{box-shadow:none}
|
|
|
1470
1470
|
.redactor-theme-alfadocs .redactor-in li{margin-block:var(--spacing-xs)}
|
|
1471
1471
|
.redactor-theme-alfadocs .redactor-in [data-rte-interim]{color:var(--muted-foreground)}
|
|
1472
1472
|
.redactor-theme-alfadocs .redactor-in [data-rte-interim]:after{content:"";display:inline-block;inline-size:var(--border-width-md);block-size:1.1em;margin-inline-start:2px;vertical-align:text-bottom;background:var(--primary);animation:rte-dictation-caret 1.1s steps(1) infinite}
|
|
1473
|
+
.redactor-theme-alfadocs .redactor-in [data-rte-interim][data-hint]:empty:before{content:attr(data-hint)}
|
|
1474
|
+
.redactor-theme-alfadocs .redactor-in [data-rte-interim][data-gap]{margin-inline-start:.25em}
|
|
1475
|
+
.redactor-theme-alfadocs .redactor-in.redactor-placeholder:has([data-rte-interim]):before{content:none}
|
|
1473
1476
|
@keyframes rte-dictation-caret{50%{opacity:0}}
|
|
1474
1477
|
.redactor-theme-alfadocs .redactor-placeholder:before{color:var(--muted-foreground)}
|
|
1475
1478
|
.redactor-theme-alfadocs .redactor-toolbar,.redactor-theme-alfadocs .redactor-air{background:var(--muted);border-block-end:var(--border-width-sm) solid var(--border);padding:var(--spacing-xs)}
|
|
@@ -4,8 +4,8 @@ import { useTranslation as K } from "react-i18next";
|
|
|
4
4
|
import { d as s, b as L } from "../_chunks/toast-Cgmh1cvj.js";
|
|
5
5
|
import { a as M } from "../_chunks/tooltip-uEBdD1-5.js";
|
|
6
6
|
import { C as Q } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
|
|
7
|
-
import { S as V } from "../_chunks/calendar.sheets-
|
|
8
|
-
import { W as X } from "../_chunks/calendar-waiting-list-panel-
|
|
7
|
+
import { S as V } from "../_chunks/calendar.sheets-CCvdZF-R.js";
|
|
8
|
+
import { W as X } from "../_chunks/calendar-waiting-list-panel-Bm7NAZdk.js";
|
|
9
9
|
import { P as Y } from "../_chunks/privacy-mask-zVh0ntm0.js";
|
|
10
10
|
import { H as Z } from "../_chunks/hourglass-BEAzW1wE.js";
|
|
11
11
|
const q = { open: () => {
|
package/package.json
CHANGED