@alfadocs/ui-kit 1.133.0 → 1.134.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/{agenda-card-B8hV3dZV.js → agenda-card-B9wgX_Ed.js} +2 -2
- package/dist/_chunks/{agenda-tray-Bu46s3dI.js → agenda-tray-CGcS_qoM.js} +2 -2
- package/dist/_chunks/appointment-card-DG3m9yN-.js +504 -0
- package/dist/_chunks/{appointment-peek-DZa6xyUb.js → appointment-peek-BK0tDs4C.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DQePqpyH.js → appointment-timeline-BiI2riRZ.js} +2 -2
- package/dist/_chunks/appointment-tray-ClJCtYQj.js +200 -0
- package/dist/_chunks/{appointment-workflow-status-DMjuIK90.js → appointment-workflow-status-S-lx81Yz.js} +2 -2
- package/dist/_chunks/ban-CiSCCcOE.js +15 -0
- package/dist/_chunks/{calendar-BIoOeBTT.js → calendar-CyLtLBNP.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-BHx6kUhX.js → calendar-appointment-editor-dialog-BSkIYGlW.js} +13 -13
- package/dist/_chunks/{calendar-event-card-BNEzkjm-.js → calendar-event-card-BJifpYZQ.js} +7 -6
- package/dist/_chunks/{care-plan-card-DKScH9Ss.js → care-plan-card-CjHq6PLo.js} +6 -6
- package/dist/_chunks/{care-plan-entry-card-AG1y3nyW.js → care-plan-entry-card-DY1toF6E.js} +2 -2
- package/dist/_chunks/{care-plan-header-Dx5OMkc9.js → care-plan-header-CeFXUDnL.js} +6 -6
- package/dist/_chunks/check-in-documents-CEVcgcYZ.js +136 -0
- package/dist/_chunks/{clinical-note-card-pPaeWWnu.js → clinical-note-card-D--IwbZa.js} +2 -2
- package/dist/_chunks/document-preview-DLVIrOYV.js +385 -0
- package/dist/_chunks/{entity-card-fpm-KUKc.js → entity-card-p-LANpYt.js} +18 -17
- package/dist/_chunks/{error-page-B0fGNTRB.js → error-page-WLhmWUTq.js} +100 -115
- package/dist/_chunks/finished-terminal-unDnXT4j.js +191 -0
- package/dist/_chunks/house-DGCypGTo.js +21 -0
- package/dist/_chunks/is-safe-url-CEy9CEml.js +8 -0
- package/dist/_chunks/keypad-DBH_keVs.js +152 -0
- package/dist/_chunks/keypad-button-mOaPQRrH.js +114 -0
- package/dist/_chunks/{message-card-BG3_3nN1.js → message-card-Bw_q1qKx.js} +2 -2
- package/dist/_chunks/{message-tray-BjZv0Fsk.js → message-tray-pLGgLmoG.js} +2 -2
- package/dist/_chunks/{note-attachment-MNTIqdSz.js → note-attachment-JTIy9iXN.js} +2 -2
- package/dist/_chunks/{note-timeline-BQeW0VZY.js → note-timeline-BbjHMhkL.js} +2 -2
- package/dist/_chunks/{notes-panel-Cm-_pCRJ.js → notes-panel-BAyPOr8N.js} +2 -2
- package/dist/_chunks/{operator-hero-CnfWckNQ.js → operator-hero-D4wfVu2l.js} +2 -2
- package/dist/_chunks/otp-input-BNOTlxq3.js +342 -0
- package/dist/_chunks/patient-account-settings-BkAtIxJW.js +546 -0
- package/dist/_chunks/patient-card-DTh3QTyS.js +125 -0
- package/dist/_chunks/patient-check-in-resume-xhqjC6gf.js +742 -0
- package/dist/_chunks/patient-sign-in-pin-CDBqV254.js +432 -0
- package/dist/_chunks/patient-sign-in-steps-C2JSqlok.js +199 -0
- package/dist/_chunks/{patient-summary-card-BUcZ-gaL.js → patient-summary-card-Bl2NknPe.js} +2 -2
- package/dist/_chunks/{payment-request-card-Dv4WbRBe.js → payment-request-card-CNW00DCx.js} +6 -6
- package/dist/_chunks/{pdf-viewer-BnBKdx0y.js → pdf-viewer-TRC5jEm5.js} +472 -425
- package/dist/_chunks/pin-entry-BugWQMOS.js +219 -0
- package/dist/_chunks/pin-indicator-Cb-n40UI.js +124 -0
- package/dist/_chunks/portal-details-CTEsm705.js +478 -0
- package/dist/_chunks/portal-documents-D8skew0h.js +902 -0
- package/dist/_chunks/portal-parts-BdR29P7z.js +285 -0
- package/dist/_chunks/{privacy-mask-DJ1gee4c.js → privacy-mask-C19dJFMk.js} +5 -5
- package/dist/_chunks/{product-hub-panel-a8wdVOUt.js → product-hub-panel-K4QbULG7.js} +2 -2
- package/dist/_chunks/{registration-form-CwbhtKcy.js → registration-form-DS3RuKHu.js} +2 -2
- package/dist/_chunks/{reserved.agent-W8mR179D.js → reserved.agent-DOzOBUW7.js} +2 -2
- package/dist/_chunks/session-countdown-DOx1IBUB.js +232 -0
- package/dist/_chunks/{sign-document-CQZVzfpk.js → sign-document-DDZbmYHu.js} +2 -2
- package/dist/_chunks/{signature-field-DjabvRZm.js → signature-field-BjlY_yXH.js} +39 -34
- package/dist/_chunks/{signature-request-4pGq3YBe.js → signature-request-CHsM_iWi.js} +2 -2
- package/dist/_chunks/{signature-status-chip-pIoQjvH8.js → signature-status-chip-DS9hHwIt.js} +66 -69
- package/dist/_chunks/signing-end-screen-an9P8DOT.js +1041 -0
- package/dist/_chunks/sms-code-entry-Dgp4GwlM.js +316 -0
- package/dist/_chunks/step-up-dialog-C2JqJmCA.js +132 -0
- package/dist/_chunks/{task-editor-BL2hHxNz.js → task-editor-g1AGfxhr.js} +38 -38
- package/dist/_chunks/{use-appointment-details-read-_b7FRB1x.js → use-appointment-details-read-Dzc6fEzG.js} +6 -6
- package/dist/_chunks/use-zoom-drilldown-Cr1baU5X.js +221 -0
- package/dist/_chunks/{user-x-DYszNtIg.js → user-x-BJZg4kaP.js} +8 -19
- package/dist/_chunks/{verify-identity-types-CxtrBXsZ.js → verify-identity-types-C6Bam8v6.js} +2 -2
- package/dist/agent-catalog.json +723 -364
- package/dist/agent-i18n/en.json +75 -18
- package/dist/browser-support.js +1 -1
- package/dist/components/_shared/is-safe-url.d.ts +3 -1
- package/dist/components/agenda-card/index.js +2 -2
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +45 -0
- package/dist/components/appointment-card/appointment-tray.d.ts +11 -0
- package/dist/components/appointment-card/index.js +3 -3
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/document-preview/document-preview.d.ts +61 -7
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/finished-terminal/finished-terminal.d.ts +63 -6
- package/dist/components/finished-terminal/index.d.ts +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/index.d.ts +12 -0
- package/dist/components/keypad/index.d.ts +3 -0
- package/dist/components/keypad/index.js +6 -0
- package/dist/components/keypad/keypad.d.ts +54 -0
- package/dist/components/keypad-button/index.d.ts +3 -0
- package/dist/components/keypad-button/index.js +6 -0
- package/dist/components/keypad-button/keypad-button.d.ts +33 -0
- package/dist/components/message-card/index.js +2 -2
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/otp-input/otp-input.d.ts +11 -0
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +7 -0
- package/dist/components/pin-entry/index.d.ts +3 -0
- package/dist/components/pin-entry/index.js +5 -0
- package/dist/components/pin-entry/pin-entry.agent.d.ts +4 -0
- package/dist/components/pin-entry/pin-entry.d.ts +64 -0
- package/dist/components/pin-indicator/index.d.ts +3 -0
- package/dist/components/pin-indicator/index.js +9 -0
- package/dist/components/pin-indicator/pin-indicator.d.ts +34 -0
- package/dist/components/product-hub-tray/index.js +2 -2
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/session-countdown/session-countdown.d.ts +19 -0
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/signature-field/signature-field.d.ts +17 -6
- package/dist/components/signature-status-chip/index.js +1 -1
- package/dist/components/signature-status-chip/signature-status-chip.d.ts +3 -2
- package/dist/components/sms-code-entry/index.d.ts +3 -0
- package/dist/components/sms-code-entry/index.js +5 -0
- package/dist/components/sms-code-entry/sms-code-entry.agent.d.ts +4 -0
- package/dist/components/sms-code-entry/sms-code-entry.d.ts +156 -0
- package/dist/components/step-up-dialog/index.d.ts +3 -0
- package/dist/components/step-up-dialog/index.js +5 -0
- package/dist/components/step-up-dialog/step-up-dialog.d.ts +108 -0
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-signing-session.d.ts +7 -2
- package/dist/host-compat.css +10 -1
- package/dist/i18n/locales/ar.d.ts +512 -1
- package/dist/i18n/locales/ar.js +509 -3
- package/dist/i18n/locales/de.d.ts +512 -1
- package/dist/i18n/locales/de.js +517 -4
- package/dist/i18n/locales/el.d.ts +512 -1
- package/dist/i18n/locales/el.js +512 -4
- package/dist/i18n/locales/en.d.ts +514 -1
- package/dist/i18n/locales/en.js +520 -4
- package/dist/i18n/locales/es.d.ts +512 -1
- package/dist/i18n/locales/es.js +510 -4
- package/dist/i18n/locales/fr.d.ts +512 -1
- package/dist/i18n/locales/fr.js +510 -4
- package/dist/i18n/locales/hi.d.ts +512 -1
- package/dist/i18n/locales/hi.js +510 -4
- package/dist/i18n/locales/it.d.ts +512 -1
- package/dist/i18n/locales/it.js +517 -4
- package/dist/i18n/locales/ja.d.ts +512 -1
- package/dist/i18n/locales/ja.js +510 -4
- package/dist/i18n/locales/nl.d.ts +512 -1
- package/dist/i18n/locales/nl.js +517 -4
- package/dist/i18n/locales/pl.d.ts +512 -1
- package/dist/i18n/locales/pl.js +517 -4
- package/dist/i18n/locales/pt.d.ts +512 -1
- package/dist/i18n/locales/pt.js +517 -4
- package/dist/i18n/locales/ro.d.ts +512 -1
- package/dist/i18n/locales/ro.js +517 -4
- package/dist/i18n/locales/ru.d.ts +512 -1
- package/dist/i18n/locales/ru.js +509 -3
- package/dist/i18n/locales/sq.d.ts +512 -1
- package/dist/i18n/locales/sq.js +510 -4
- package/dist/i18n/locales/sv.d.ts +512 -1
- package/dist/i18n/locales/sv.js +510 -4
- package/dist/i18n/locales/tr.d.ts +512 -1
- package/dist/i18n/locales/tr.js +512 -4
- package/dist/i18n/locales/zh.d.ts +512 -1
- package/dist/i18n/locales/zh.js +510 -4
- package/dist/index.js +1271 -1204
- package/dist/locales/ar.json +513 -2
- package/dist/locales/de.json +514 -3
- package/dist/locales/el.json +514 -3
- package/dist/locales/en.json +514 -3
- package/dist/locales/es.json +514 -3
- package/dist/locales/fr.json +514 -3
- package/dist/locales/hi.json +514 -3
- package/dist/locales/it.json +514 -3
- package/dist/locales/ja.json +514 -3
- package/dist/locales/nl.json +514 -3
- package/dist/locales/pl.json +514 -3
- package/dist/locales/pt.json +514 -3
- package/dist/locales/ro.json +514 -3
- package/dist/locales/ru.json +513 -2
- package/dist/locales/sq.json +514 -3
- package/dist/locales/sv.json +514 -3
- package/dist/locales/tr.json +514 -3
- package/dist/locales/zh.json +514 -3
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/check-in-documents/check-in-documents.d.ts +61 -0
- package/dist/patterns/check-in-documents/check-in-signable-document.d.ts +32 -0
- package/dist/patterns/check-in-documents/index.d.ts +4 -0
- package/dist/patterns/check-in-documents/index.js +5 -0
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/patient-account-settings/index.d.ts +4 -0
- package/dist/patterns/patient-account-settings/index.js +5 -0
- package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts +36 -0
- package/dist/patterns/patient-account-settings/patient-account-settings.d.ts +94 -0
- package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts +91 -0
- package/dist/patterns/patient-check-in/index.d.ts +20 -0
- package/dist/patterns/patient-check-in/index.js +13 -0
- package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts +33 -0
- package/dist/patterns/patient-check-in/patient-check-in-connection-notice.d.ts +29 -0
- package/dist/patterns/patient-check-in/patient-check-in-done.d.ts +25 -0
- package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts +29 -0
- package/dist/patterns/patient-check-in/patient-check-in-hub-empty.d.ts +23 -0
- package/dist/patterns/patient-check-in/patient-check-in-hub.d.ts +61 -0
- package/dist/patterns/patient-check-in/patient-check-in-personal-data.d.ts +73 -0
- package/dist/patterns/patient-check-in/patient-check-in-privacy.d.ts +9 -0
- package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts +29 -0
- package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts +60 -0
- package/dist/patterns/patient-check-in/patient-check-in-types.d.ts +92 -0
- package/dist/patterns/patient-portal/index.d.ts +12 -0
- package/dist/patterns/patient-portal/index.js +13 -0
- package/dist/patterns/patient-portal/portal-appointments.d.ts +70 -0
- package/dist/patterns/patient-portal/portal-details.d.ts +148 -0
- package/dist/patterns/patient-portal/portal-documents.d.ts +74 -0
- package/dist/patterns/patient-portal/portal-format.d.ts +14 -0
- package/dist/patterns/patient-portal/portal-home.d.ts +71 -0
- package/dist/patterns/patient-portal/portal-parts.d.ts +107 -0
- package/dist/patterns/patient-portal/portal-shell.d.ts +84 -0
- package/dist/patterns/patient-portal/portal-types.d.ts +157 -0
- package/dist/patterns/patient-sign-in/index.d.ts +7 -0
- package/dist/patterns/patient-sign-in/index.js +15 -0
- package/dist/patterns/patient-sign-in/patient-card.d.ts +74 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts +109 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts +157 -0
- package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts +143 -0
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signing/index.d.ts +25 -0
- package/dist/patterns/signing/index.js +16 -0
- package/dist/patterns/signing/multi-field-signer.d.ts +117 -0
- package/dist/patterns/signing/signing-awaiting-screen.d.ts +25 -0
- package/dist/patterns/signing/signing-chrome.d.ts +30 -0
- package/dist/patterns/signing/signing-document-screen.d.ts +87 -0
- package/dist/patterns/signing/signing-end-screen.d.ts +27 -0
- package/dist/patterns/signing/signing-finished-screen.d.ts +34 -0
- package/dist/patterns/signing/signing-footer.d.ts +56 -0
- package/dist/patterns/signing/signing-handoff-screen.d.ts +37 -0
- package/dist/patterns/signing/signing-message-dialog.d.ts +29 -0
- package/dist/patterns/signing/signing-progress-chip.d.ts +27 -0
- package/dist/patterns/signing/signing-roster.d.ts +44 -0
- package/dist/patterns/signing/signing-staff-id-confirmation.d.ts +49 -0
- package/dist/patterns/verify-identity/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +49 -1
- package/dist/_chunks/appointment-card-OAOur8lH.js +0 -434
- package/dist/_chunks/appointment-tray-DSFqO5Rm.js +0 -193
- package/dist/_chunks/document-preview-_kQ9QvZV.js +0 -291
- package/dist/_chunks/finished-terminal-FR8uc_Ws.js +0 -122
- package/dist/_chunks/is-safe-url-DkETxeHz.js +0 -7
- package/dist/_chunks/otp-input-gV1446Dw.js +0 -301
- package/dist/_chunks/session-countdown-C4tzbJVc.js +0 -223
- package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js +0 -210
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLAttributes } from 'react';
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Gate for the URLs the terminal will navigate to. Allows only same-origin
|
|
4
4
|
* relative paths (`/…`) and explicit `http(s)` absolute URLs; rejects
|
|
@@ -11,14 +11,61 @@ import { type HTMLAttributes } from 'react';
|
|
|
11
11
|
* re-export it).
|
|
12
12
|
*/
|
|
13
13
|
export declare function isNavigableUrl(url: string): boolean;
|
|
14
|
+
/** The one button of the button-only end screen (`action`). */
|
|
15
|
+
export interface FinishedTerminalAction {
|
|
16
|
+
/**
|
|
17
|
+
* The button's label, already translated (for example "Sign in again").
|
|
18
|
+
* Keep it short: it stays on one line and is cut with "…" when the card is
|
|
19
|
+
* narrower than it, and the full label stays the accessible name.
|
|
20
|
+
*/
|
|
21
|
+
label: string;
|
|
22
|
+
/**
|
|
23
|
+
* Called when the button is pressed. With `href` as well, it runs first
|
|
24
|
+
* and the link is then followed (for example to record the press).
|
|
25
|
+
*/
|
|
26
|
+
onClick?: () => void;
|
|
27
|
+
/**
|
|
28
|
+
* Makes the button a link to this address.
|
|
29
|
+
*
|
|
30
|
+
* @security Only `http(s)`, `mailto:` and `tel:` addresses and paths on
|
|
31
|
+
* this site become a link. Anything else (`javascript:`, `data:`, or a
|
|
32
|
+
* relative address that leaves the site, such as `//host`) is dropped,
|
|
33
|
+
* and the button only calls `onClick`.
|
|
34
|
+
*/
|
|
35
|
+
href?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The host is acting on the press (for example starting again): the
|
|
38
|
+
* button shows a spinner and ignores presses, and keeps keyboard focus.
|
|
39
|
+
* Default `false`.
|
|
40
|
+
*/
|
|
41
|
+
loading?: boolean;
|
|
42
|
+
}
|
|
14
43
|
export interface FinishedTerminalProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
15
44
|
/** Completion headline — consumer-provided, already translated. */
|
|
16
45
|
title: string;
|
|
17
46
|
/** Completion sub-message — consumer-provided, already translated. */
|
|
18
|
-
body:
|
|
47
|
+
body: ReactNode;
|
|
48
|
+
/**
|
|
49
|
+
* Replaces the success tick above the title, for an end screen that is
|
|
50
|
+
* not a success: signed out, timed out, link expired, cancelled by the
|
|
51
|
+
* practice. Decorative: hidden from assistive technology, so the title
|
|
52
|
+
* must say what happened. Drawn at the tick's size in the muted text
|
|
53
|
+
* colour; a colour class on the icon itself overrides the colour. `null`
|
|
54
|
+
* shows no icon. Default: the success tick.
|
|
55
|
+
*/
|
|
56
|
+
icon?: ReactNode;
|
|
57
|
+
/**
|
|
58
|
+
* The one button of the button-only end screen (HTP-6900: "The finished
|
|
59
|
+
* screen has a button and no countdown"). With `action` the screen shows
|
|
60
|
+
* this button and no countdown, and the component runs no timer;
|
|
61
|
+
* `autoCloseSeconds` is ignored, because a timed move away would take the
|
|
62
|
+
* choice from the user. The button carries `data-action="next-step"`.
|
|
63
|
+
*/
|
|
64
|
+
action?: FinishedTerminalAction;
|
|
19
65
|
/**
|
|
20
|
-
* Auto-close countdown, in seconds. Default `10`.
|
|
21
|
-
*
|
|
66
|
+
* Auto-close countdown, in seconds. Default `10`. `0` turns the countdown
|
|
67
|
+
* off: a static success screen with no next step. Ignored when `action`
|
|
68
|
+
* is given: the button stands alone, with no countdown.
|
|
22
69
|
*/
|
|
23
70
|
autoCloseSeconds?: number;
|
|
24
71
|
/**
|
|
@@ -41,15 +88,25 @@ export interface FinishedTerminalProps extends Omit<HTMLAttributes<HTMLDivElemen
|
|
|
41
88
|
/**
|
|
42
89
|
* Override the default close/redirect behaviour (e.g. SPA routing, analytics,
|
|
43
90
|
* or a no-op in stories). When provided, the terminal does NO browser
|
|
44
|
-
* navigation of its own
|
|
91
|
+
* navigation of its own: it just calls this. Close now and the countdown
|
|
92
|
+
* running out call it; the `action` button never does.
|
|
45
93
|
*/
|
|
46
94
|
onClose?: () => void;
|
|
47
95
|
/** Override the countdown line (default `ui.finishedTerminal.autoClose`). */
|
|
48
96
|
countdownLabel?: (seconds: number) => string;
|
|
49
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* Override the "Close now" label (default `ui.finishedTerminal.closeNow`).
|
|
99
|
+
* The button carries `data-action="close-now"`.
|
|
100
|
+
*/
|
|
50
101
|
closeNowLabel?: string;
|
|
51
102
|
/** Override the post-close line (default `ui.finishedTerminal.redirecting`). */
|
|
52
103
|
redirectingLabel?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Move focus to the heading on mount. Default `true`. Set `false` when the
|
|
106
|
+
* host decides where focus goes, for example a screen shown on a docs page
|
|
107
|
+
* or one that is not the result of a user action.
|
|
108
|
+
*/
|
|
109
|
+
focusOnMount?: boolean;
|
|
53
110
|
}
|
|
54
111
|
export declare const FinishedTerminal: import("react").ForwardRefExoticComponent<FinishedTerminalProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
55
112
|
//# sourceMappingURL=finished-terminal.d.ts.map
|
|
@@ -51,6 +51,10 @@ export * from './multi-select';
|
|
|
51
51
|
export * from './number-input';
|
|
52
52
|
export * from './otp-input';
|
|
53
53
|
export * from './password-input';
|
|
54
|
+
export * from './keypad';
|
|
55
|
+
export * from './keypad-button';
|
|
56
|
+
export * from './pin-entry';
|
|
57
|
+
export * from './pin-indicator';
|
|
54
58
|
export * from './phone-input';
|
|
55
59
|
export * from './recaptcha-widget';
|
|
56
60
|
export * from './radio';
|
|
@@ -127,6 +131,8 @@ export * from './sidebar';
|
|
|
127
131
|
export * from './skip-link';
|
|
128
132
|
export * from './stepper-accordion';
|
|
129
133
|
export * from './stepper-progress';
|
|
134
|
+
export * from './sms-code-entry';
|
|
135
|
+
export * from './step-up-dialog';
|
|
130
136
|
export * from './tab-bar';
|
|
131
137
|
export * from './tabs';
|
|
132
138
|
export * from './theme-toggle';
|
|
@@ -243,17 +249,23 @@ export * from './workflow';
|
|
|
243
249
|
export * from '../patterns/alia-assistant';
|
|
244
250
|
export * from '../patterns/anamnesis';
|
|
245
251
|
export * from '../patterns/calendar';
|
|
252
|
+
export * from '../patterns/check-in-documents';
|
|
246
253
|
export * from '../patterns/error-page';
|
|
247
254
|
export * from '../patterns/forgot-password-form';
|
|
248
255
|
export * from '../patterns/help-me-write-templates';
|
|
249
256
|
export * from '../patterns/login-form';
|
|
250
257
|
export * from '../patterns/marketplace-app-shell';
|
|
258
|
+
export * from '../patterns/patient-account-settings';
|
|
259
|
+
export * from '../patterns/patient-check-in';
|
|
260
|
+
export * from '../patterns/patient-portal';
|
|
261
|
+
export * from '../patterns/patient-sign-in';
|
|
251
262
|
export * from '../patterns/payment-automation-upsell';
|
|
252
263
|
export * from '../patterns/registration-form';
|
|
253
264
|
export * from '../patterns/reset-password-form';
|
|
254
265
|
export * from '../patterns/send-registration-link-form';
|
|
255
266
|
export * from '../patterns/signature-request';
|
|
256
267
|
export * from '../patterns/signed-out-frame';
|
|
268
|
+
export * from '../patterns/signing';
|
|
257
269
|
export * from '../patterns/verify-identity';
|
|
258
270
|
export * from '../patterns/workflow-webhook-action';
|
|
259
271
|
export * from './dependent-selector';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const keypadVariants: (props?: ({
|
|
4
|
+
size?: "md" | "lg" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
/** The replay / analytics marker the pad carries unless told otherwise:
|
|
7
|
+
* PostHog's, the tool of the kit's reference consumer (as Calendar
|
|
8
|
+
* documents for its `maskClassName`). */
|
|
9
|
+
export declare const KEYPAD_DEFAULT_MASK_CLASS = "ph-no-capture";
|
|
10
|
+
export interface KeypadProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role' | 'onKeyDown'>, VariantProps<typeof keypadVariants> {
|
|
11
|
+
/** Fires with the digit, `"0"` to `"9"`, for a tap or a physical key. */
|
|
12
|
+
onDigit?: (digit: string) => void;
|
|
13
|
+
/** Fires for the Delete key, Backspace or Delete. */
|
|
14
|
+
onDelete?: () => void;
|
|
15
|
+
/** The bottom-start cell. Empty by default; pass a `KeypadButton`
|
|
16
|
+
* (`variant="action"`) for a secondary action. */
|
|
17
|
+
bottomLeft?: ReactNode;
|
|
18
|
+
/** Disable every key. */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/** Make Delete do nothing, e.g. while nothing has been typed. It stays
|
|
21
|
+
* focusable (`aria-disabled`), so deleting the last digit never drops
|
|
22
|
+
* focus to the page. */
|
|
23
|
+
deleteDisabled?: boolean;
|
|
24
|
+
/** Listen to physical digits and Backspace anywhere on the page, not only
|
|
25
|
+
* while focus is inside the pad. Keys typed into another field are left
|
|
26
|
+
* alone. Default `false`. */
|
|
27
|
+
captureKeyboard?: boolean;
|
|
28
|
+
/** Key size. Default `lg`. */
|
|
29
|
+
size?: 'md' | 'lg';
|
|
30
|
+
/** Key shape. Default `round`. */
|
|
31
|
+
shape?: 'round' | 'square';
|
|
32
|
+
/** Accessible name of the pad. Default "Keypad". */
|
|
33
|
+
label?: string;
|
|
34
|
+
/** Accessible name of the Delete key. Default "Delete". */
|
|
35
|
+
deleteLabel?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Privacy / observability seam, NOT a styling hook. The class (or
|
|
38
|
+
* space-separated classes) stamped on the pad's root so session replay
|
|
39
|
+
* and analytics autocapture skip it: every key's text, `data-key-id` and
|
|
40
|
+
* pressed flash is a PIN digit. Default `ph-no-capture` (PostHog). Pass
|
|
41
|
+
* your own tool's marker instead, e.g. `"ph-no-capture sentry-mask"`.
|
|
42
|
+
* Pass `""` only when nothing on the page records sessions or clicks.
|
|
43
|
+
*/
|
|
44
|
+
maskClassName?: string;
|
|
45
|
+
/** Opaque instance id, emitted as `data-component-id`. */
|
|
46
|
+
id?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The 3 × 4 number pad of a PIN screen. It holds no value: the host keeps
|
|
50
|
+
* the digits (or use `PinEntry`, which does).
|
|
51
|
+
*/
|
|
52
|
+
export declare const Keypad: import("react").ForwardRefExoticComponent<KeypadProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
53
|
+
export {};
|
|
54
|
+
//# sourceMappingURL=keypad.d.ts.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
export declare const keypadButtonVariants: (props?: ({
|
|
4
|
+
variant?: "spacer" | "action" | "digit" | null | undefined;
|
|
5
|
+
size?: "md" | "lg" | null | undefined;
|
|
6
|
+
shape?: "round" | "square" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
export interface KeypadButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'type'>, VariantProps<typeof keypadButtonVariants> {
|
|
9
|
+
/** `digit` shows `digit`; `action` shows `icon` and is named by `label`;
|
|
10
|
+
* `spacer` keeps the cell empty. Default `digit`. */
|
|
11
|
+
variant?: 'digit' | 'action' | 'spacer';
|
|
12
|
+
/** The digit a `digit` key shows and is named by, e.g. `"7"`. */
|
|
13
|
+
digit?: string;
|
|
14
|
+
/** The glyph of an `action` key. Rendered `aria-hidden`. */
|
|
15
|
+
icon?: ReactNode;
|
|
16
|
+
/** Accessible name of an `action` key, e.g. "Delete". Required for
|
|
17
|
+
* `action`; ignored for `digit`, whose digit is its name. */
|
|
18
|
+
label?: string;
|
|
19
|
+
/** Key size. `lg` (default) is the banking-app size on phones. */
|
|
20
|
+
size?: 'md' | 'lg';
|
|
21
|
+
/** `round` (default) or a rounded `square`. */
|
|
22
|
+
shape?: 'round' | 'square';
|
|
23
|
+
/** Show the pressed look, e.g. while a physical key is held. */
|
|
24
|
+
pressed?: boolean;
|
|
25
|
+
/** Opaque instance id, emitted as `data-component-id`. */
|
|
26
|
+
id?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* One key of an on-screen keypad. Compose a grid with `Keypad`, or use the
|
|
30
|
+
* key alone for a custom pad.
|
|
31
|
+
*/
|
|
32
|
+
export declare const KeypadButton: import("react").ForwardRefExoticComponent<KeypadButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
33
|
+
//# sourceMappingURL=keypad-button.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { M as a } from "../../_chunks/message-card-
|
|
1
|
+
import { M as a } from "../../_chunks/message-card-Bw_q1qKx.js";
|
|
2
2
|
import { m as o } from "../../_chunks/message-card.agent-ZLhx3Bs5.js";
|
|
3
|
-
import { i as f } from "../../_chunks/is-safe-url-
|
|
3
|
+
import { i as f } from "../../_chunks/is-safe-url-CEy9CEml.js";
|
|
4
4
|
export {
|
|
5
5
|
a as MessageCard,
|
|
6
6
|
f as isSafeMessageUrl,
|
|
@@ -53,6 +53,17 @@ export interface OTPInputProps {
|
|
|
53
53
|
* (for SMS codes that mix letters and digits).
|
|
54
54
|
*/
|
|
55
55
|
mode?: OTPMode;
|
|
56
|
+
/**
|
|
57
|
+
* Boxes per group. Absent (the default): the boxes stay in one row, as
|
|
58
|
+
* before. Set: the boxes sit in groups of this size (the last group may
|
|
59
|
+
* be shorter) and the groups sit in a row that wraps, so a container too
|
|
60
|
+
* narrow for one line shows the groups on more lines instead of
|
|
61
|
+
* overflowing (WCAG 1.4.10). The boxes keep their size, their order, the
|
|
62
|
+
* arrow keys, paste and autofill, and the field keeps its one accessible
|
|
63
|
+
* name. A value under 1 is ignored; a value that holds every box is one
|
|
64
|
+
* row.
|
|
65
|
+
*/
|
|
66
|
+
groupSize?: number;
|
|
56
67
|
}
|
|
57
68
|
export declare const OTPInput: import("react").ForwardRefExoticComponent<OTPInputProps & import("react").RefAttributes<OTPInputHandle>>;
|
|
58
69
|
//# sourceMappingURL=otp-input.d.ts.map
|
|
@@ -63,6 +63,13 @@ export interface PDFViewerProps {
|
|
|
63
63
|
* `<article>` ancestor; consumer-rendered children should be
|
|
64
64
|
* keyboard-reachable per the kit's a11y contract.
|
|
65
65
|
*
|
|
66
|
+
* Theme: PDF.js paints every page on white, so the overlay container is
|
|
67
|
+
* a light theme root (`theme-light`), with `theme-accessible` added
|
|
68
|
+
* while the theme around the viewer is accessible. Kit components inside
|
|
69
|
+
* it paint for the white page in every theme, dark included, and keep
|
|
70
|
+
* the accessible sizes, type and motion. The container itself stays
|
|
71
|
+
* transparent: a theme root declares tokens only.
|
|
72
|
+
*
|
|
66
73
|
* Composition note: PDF.js's `AnnotationLayer` (for native form
|
|
67
74
|
* fields and link annotations) is not yet wired in — see the file
|
|
68
75
|
* header TODO. When it lands, `renderPageOverlay` will compose
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
/** Agent-readiness curated handle for PinEntry. It never exposes the PIN. */
|
|
3
|
+
export interface PinEntryHandle {
|
|
4
|
+
clear: () => void;
|
|
5
|
+
focus: () => void;
|
|
6
|
+
getFilledCount: () => number;
|
|
7
|
+
getLength: () => number;
|
|
8
|
+
isComplete: () => boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface PinEntryProps {
|
|
11
|
+
/** Number of digits, from 4 to 12. Default 8. */
|
|
12
|
+
length?: number;
|
|
13
|
+
/** Controlled digits. Pair with `onChange`. */
|
|
14
|
+
value?: string;
|
|
15
|
+
/** Uncontrolled initial digits. */
|
|
16
|
+
defaultValue?: string;
|
|
17
|
+
/** Fires with the digits after every change. */
|
|
18
|
+
onChange?: (value: string) => void;
|
|
19
|
+
/** Fires once when the last digit is typed. */
|
|
20
|
+
onComplete?: (value: string) => void;
|
|
21
|
+
/** Visible label above the dots. Default "PIN". Inside a `FormField` the
|
|
22
|
+
* field's own label is used instead. */
|
|
23
|
+
label?: string;
|
|
24
|
+
/** Keep the label for assistive technology only, e.g. when the screen's
|
|
25
|
+
* heading already says "Enter your PIN". Default `false`. */
|
|
26
|
+
hideLabel?: boolean;
|
|
27
|
+
/** Red dots, one shake, `aria-invalid`. Clear it when the person types
|
|
28
|
+
* again. The message itself is the host's (a FormField error or an
|
|
29
|
+
* Alert). */
|
|
30
|
+
error?: boolean;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
/** `current-password` (default) to sign in, `new-password` to set one.
|
|
33
|
+
* With `new-password` the field also carries `minlength`, `maxlength`
|
|
34
|
+
* and `pattern="[0-9]*"`, so a password manager that suggests a PIN
|
|
35
|
+
* suggests one of the right shape. */
|
|
36
|
+
autoComplete?: 'current-password' | 'new-password';
|
|
37
|
+
/** Posts the digits under this name in a native form. */
|
|
38
|
+
name?: string;
|
|
39
|
+
/** The keypad's bottom-start cell, e.g. a "Forgot your PIN?" key. */
|
|
40
|
+
bottomLeft?: ReactNode;
|
|
41
|
+
/** Focus the field on mount. Default `false`. */
|
|
42
|
+
autoFocus?: boolean;
|
|
43
|
+
/** Keypad key size. Default `lg`. */
|
|
44
|
+
size?: 'md' | 'lg';
|
|
45
|
+
/**
|
|
46
|
+
* Privacy / observability seam, NOT a styling hook: the class (or
|
|
47
|
+
* space-separated classes) stamped on the root so session replay and
|
|
48
|
+
* analytics autocapture skip the whole control, keypad included.
|
|
49
|
+
* Default `ph-no-capture` (PostHog). Pass your own tool's marker, or
|
|
50
|
+
* `""` only when nothing on the page records sessions or clicks.
|
|
51
|
+
*/
|
|
52
|
+
maskClassName?: string;
|
|
53
|
+
/** Stable id: the field's id and `data-component-id`. */
|
|
54
|
+
id?: string;
|
|
55
|
+
className?: string;
|
|
56
|
+
'aria-describedby'?: string;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The PIN screen's control: PIN dots over a real field and a 3 × 4 keypad.
|
|
60
|
+
* Use it for every PIN; use `OTPInput` for SMS codes, which need the
|
|
61
|
+
* phone's own keyboard for autofill.
|
|
62
|
+
*/
|
|
63
|
+
export declare const PinEntry: import("react").ForwardRefExoticComponent<PinEntryProps & import("react").RefAttributes<PinEntryHandle>>;
|
|
64
|
+
//# sourceMappingURL=pin-entry.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { D as s, M as P, a as _, P as r, r as I } from "../../_chunks/pin-indicator-Cb-n40UI.js";
|
|
2
|
+
export {
|
|
3
|
+
s as DEFAULT_PIN_LENGTH,
|
|
4
|
+
P as MAX_PIN_LENGTH,
|
|
5
|
+
_ as MIN_PIN_LENGTH,
|
|
6
|
+
r as PinIndicator,
|
|
7
|
+
I as resolvePinLength
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
export declare const MIN_PIN_LENGTH = 4;
|
|
4
|
+
export declare const MAX_PIN_LENGTH = 12;
|
|
5
|
+
/** The patient interface's PIN length for health data (D120). */
|
|
6
|
+
export declare const DEFAULT_PIN_LENGTH = 8;
|
|
7
|
+
/** Clamp a PIN length into [4, 12]; non-finite input falls back to 8. */
|
|
8
|
+
export declare function resolvePinLength(length: number | undefined): number;
|
|
9
|
+
declare const rootVariants: (props?: ({
|
|
10
|
+
size?: "sm" | "md" | null | undefined;
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
|
+
export interface PinIndicatorProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role' | 'children'>, VariantProps<typeof rootVariants> {
|
|
13
|
+
/** Number of digits typed so far. Clamped to `[0, length]`. */
|
|
14
|
+
filled: number;
|
|
15
|
+
/** Number of dots, from 4 to 12. Default 8. */
|
|
16
|
+
length?: number;
|
|
17
|
+
/** Red dots and one shake (no movement in the accessible themes or with
|
|
18
|
+
* reduced motion). Turn it off when the person types again. */
|
|
19
|
+
error?: boolean;
|
|
20
|
+
/** Dot size. Default `md`. */
|
|
21
|
+
size?: 'sm' | 'md';
|
|
22
|
+
/** Say the count in a polite live region as it changes. Default `true`;
|
|
23
|
+
* turn it off when the host already speaks the count. */
|
|
24
|
+
announce?: boolean;
|
|
25
|
+
/** Opaque instance id, emitted as `data-component-id`. */
|
|
26
|
+
id?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The dots of a PIN screen. Display only: pair it with `Keypad`, or use
|
|
30
|
+
* `PinEntry`, which wires both to a real field.
|
|
31
|
+
*/
|
|
32
|
+
export declare const PinIndicator: import("react").ForwardRefExoticComponent<PinIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=pin-indicator.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-
|
|
2
|
-
import { i as s } from "../../_chunks/is-safe-url-
|
|
1
|
+
import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-K4QbULG7.js";
|
|
2
|
+
import { i as s } from "../../_chunks/is-safe-url-CEy9CEml.js";
|
|
3
3
|
export {
|
|
4
4
|
u as ProductHubPanel,
|
|
5
5
|
o as ProductHubTray,
|
|
@@ -30,6 +30,25 @@ export interface SessionCountdownProps extends Omit<HTMLAttributes<HTMLDivElemen
|
|
|
30
30
|
locale?: string;
|
|
31
31
|
/** Override the accessible name of the timer region. */
|
|
32
32
|
label?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Replace the visible sentence of a tone. `running` receives the formatted
|
|
35
|
+
* time, for example `(time) => \`Your session ends in ${time}.\``. Each
|
|
36
|
+
* defaults to the check-in wording, so existing uses do not change.
|
|
37
|
+
*/
|
|
38
|
+
messages?: {
|
|
39
|
+
running?: (time: string) => string;
|
|
40
|
+
warning?: string;
|
|
41
|
+
expired?: string;
|
|
42
|
+
};
|
|
43
|
+
/** Replace the Restart button's label. Default "Restart check-in". */
|
|
44
|
+
restartLabel?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Announce the warning sentence once, when the tone turns to warning, and
|
|
47
|
+
* speak minute counts only from then on. Off by default: the polite region
|
|
48
|
+
* then speaks every minute, from the start. Turn it on for a long session
|
|
49
|
+
* (30 minutes) where a minute-by-minute voice would be noise.
|
|
50
|
+
*/
|
|
51
|
+
announceWarning?: boolean;
|
|
33
52
|
/** Merged onto the outermost element. CVA-composed, never inline style. */
|
|
34
53
|
className?: string;
|
|
35
54
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
export type SignatureFieldState = 'unsigned' | 'signing' | 'signed';
|
|
3
3
|
export interface SignatureFieldProps extends Omit<ComponentPropsWithoutRef<'button'>, 'onClick' | 'children' | 'aria-label' | 'disabled'> {
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Lifecycle state. Drives both the visual treatment and the accessible name.
|
|
6
|
+
* `signed` is final: the field stays focusable and keeps its accessible
|
|
7
|
+
* name, but is `aria-disabled` and never calls `onActivate` (a signed field
|
|
8
|
+
* cannot be reopened, HTP-6900).
|
|
9
|
+
*/
|
|
5
10
|
state?: SignatureFieldState;
|
|
6
11
|
/**
|
|
7
12
|
* Percent offset of the field's logical start edge within the overlay box.
|
|
@@ -14,14 +19,19 @@ export interface SignatureFieldProps extends Omit<ComponentPropsWithoutRef<'butt
|
|
|
14
19
|
inlineSize?: number;
|
|
15
20
|
/** Percent of the overlay's logical block size — the field height. */
|
|
16
21
|
blockSize?: number;
|
|
17
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Called when an unsigned field is activated by click or keyboard. Never
|
|
24
|
+
* called while `state="signing"`, when `disabled`, or once `state="signed"`:
|
|
25
|
+
* a signed field cannot be reopened (HTP-6900). The button carries
|
|
26
|
+
* `data-action="sign-field"`.
|
|
27
|
+
*/
|
|
18
28
|
onActivate?: () => void;
|
|
19
29
|
/** Captured signature image (PNG data URL or URL) shown when `state="signed"`. */
|
|
20
30
|
signedImageSrc?: string;
|
|
21
31
|
/**
|
|
22
32
|
* Caption shown in the unsigned prompt and used as the accessible name
|
|
23
33
|
* (e.g. "Sign here", "Date", "Initial here"). Falls back to the
|
|
24
|
-
* translated default
|
|
34
|
+
* translated default "Sign here", which serves as both.
|
|
25
35
|
*/
|
|
26
36
|
label?: string;
|
|
27
37
|
/**
|
|
@@ -35,9 +45,10 @@ export interface SignatureFieldProps extends Omit<ComponentPropsWithoutRef<'butt
|
|
|
35
45
|
disabled?: boolean;
|
|
36
46
|
/**
|
|
37
47
|
* Marks the field as the one currently targeted by field-to-field navigation
|
|
38
|
-
* (Next / Previous signature). Renders a **persistent** selection
|
|
39
|
-
* the transient `:focus-visible`
|
|
40
|
-
* they're on as they step through, even
|
|
48
|
+
* (Next / Previous signature). Renders a **persistent** inset selection
|
|
49
|
+
* ring, drawn differently from the transient `:focus-visible` outline, so
|
|
50
|
+
* the signer can see which field they're on as they step through, even
|
|
51
|
+
* after focus moves, and can tell it apart from the field that has focus.
|
|
41
52
|
*/
|
|
42
53
|
active?: boolean;
|
|
43
54
|
}
|
|
@@ -22,8 +22,9 @@ export interface SignerRepresentative {
|
|
|
22
22
|
name: string;
|
|
23
23
|
/**
|
|
24
24
|
* Already-translated relationship to the party, e.g. "Mother",
|
|
25
|
-
* "Legal guardian". Same contract as `
|
|
26
|
-
* host translates it, because the set
|
|
25
|
+
* "Legal guardian". Same contract as `RosterSigner.relationship` (the
|
|
26
|
+
* signing pattern's roster row): the host translates it, because the set
|
|
27
|
+
* is open.
|
|
27
28
|
*/
|
|
28
29
|
relationship?: string;
|
|
29
30
|
/**
|