@alfadocs/ui-kit 1.30.0 → 1.32.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/{address-fields-CZ0pEdEI.js → address-fields-jFfjxOQR.js} +3 -3
- package/dist/_chunks/{agenda-card-pdN49pMu.js → agenda-card-DVz3jwTf.js} +2 -2
- package/dist/_chunks/{agenda-tray-BweO8pDo.js → agenda-tray-1oDWCJdB.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-CrHr-5H8.js → ai-prompt-input-Dt7tpCBh.js} +2 -2
- package/dist/_chunks/{alia-sidebar-BWcWZivN.js → alia-sidebar-D18kp3p9.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-rows-DMO3MWSt.js → anamnesis-summary-rows-BYgyp_i2.js} +6 -6
- package/dist/_chunks/{appointment-card-Dzr3GeVz.js → appointment-card-D-oj_ugh.js} +9 -7
- package/dist/_chunks/{appointment-timeline-DhHwmHo1.js → appointment-timeline-CymGHyIP.js} +2 -2
- package/dist/_chunks/{appointment-tray-4FUu_5NX.js → appointment-tray-DCk8gHod.js} +2 -2
- package/dist/_chunks/{audio-recorder-DXG6LTtO.js → audio-recorder-11wClczr.js} +2 -2
- package/dist/_chunks/{avatar-BNQNhoyL.js → avatar-CkDeQOSI.js} +37 -37
- package/dist/_chunks/{balance-badge-cell-CX6b0ML4.js → balance-badge-cell-DhBtFRoW.js} +4 -4
- package/dist/_chunks/{bishop-score-CJUVBfAu.js → bishop-score-CAl7C5hm.js} +2 -2
- package/dist/_chunks/{bmi-calculator-CcH6upht.js → bmi-calculator-Dwkih9a4.js} +3 -3
- package/dist/_chunks/{booking-AabCk7CI.js → booking-l6UGNiE1.js} +3 -3
- package/dist/_chunks/{calculator-dialog-12d3Sxaz.js → calculator-dialog-C0ixc3SU.js} +2 -2
- package/dist/_chunks/{calendar-CI9MINcR.js → calendar-Dgvl5L4T.js} +494 -438
- package/dist/_chunks/{calendar-event-card-66CEEWU6.js → calendar-event-card-DSh-69HT.js} +130 -122
- package/dist/_chunks/calendar-workspace-BX-zDyVR.js +9392 -0
- package/dist/_chunks/{care-plan-card-CQVboTn1.js → care-plan-card-CZW476Kg.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-jxHkzez5.js → care-plan-entry-card-BMUYagEw.js} +2 -2
- package/dist/_chunks/{chat-message-DBQu10rs.js → chat-message-C-8UU2av.js} +2 -2
- package/dist/_chunks/{clinical-note-card-BBgFd2nB.js → clinical-note-card-D2WTV2CO.js} +185 -188
- package/dist/_chunks/{color-picker-CU303VjY.js → color-picker-Bl5f0iK1.js} +28 -25
- package/dist/_chunks/{combobox-D7_NLE2Z.js → combobox-DnSdYssy.js} +216 -215
- package/dist/_chunks/{country-select-DzbPFktV.js → country-select-CfDNFG5c.js} +2 -2
- package/dist/_chunks/{data-table-DB5BiVQ0.js → data-table-DC96JJIq.js} +2 -2
- package/dist/_chunks/{dependent-selector-cJlJFAKD.js → dependent-selector-yTKKsuc9.js} +2 -2
- package/dist/_chunks/{dialog-UbKJCi1X.js → dialog-BJiLqhx6.js} +54 -46
- package/dist/_chunks/{document-preview-CDb-n_W7.js → document-preview-BrhMHNh8.js} +2 -2
- package/dist/_chunks/{due-date-calculator-BtgWeFqp.js → due-date-calculator-CxgK8vzt.js} +3 -3
- package/dist/_chunks/{entity-summary-B_vO5Ur4.js → entity-summary-5o768XLU.js} +2 -2
- package/dist/_chunks/{face-scheme-DA2vjqaM.js → face-scheme-l-CQyLs-.js} +2 -2
- package/dist/_chunks/{file-manager-Cd8V9IcZ.js → file-manager-CI2Qn8qW.js} +3 -3
- package/dist/_chunks/{gestational-age-calculator-KdMg9z9H.js → gestational-age-calculator-CZHVrERT.js} +4 -4
- package/dist/_chunks/{link-cell-renderer-tWEOv3Sc.js → link-cell-renderer-BEpMNtAa.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-C4AjQmvz.js → marketplace-app-shell-CK_ND8Tr.js} +2 -2
- package/dist/_chunks/{message-card-D8GB4FdF.js → message-card-BUMv16un.js} +2 -2
- package/dist/_chunks/{message-tray-CGIRQjx5.js → message-tray-0zsv27xX.js} +2 -2
- package/dist/_chunks/{muscle-scheme-BSJsI4-I.js → muscle-scheme-UVz_x4iE.js} +2 -2
- package/dist/_chunks/notes-panel-C4G-mhZ9.js +380 -0
- package/dist/_chunks/{operator-hero-BnFv-Uef.js → operator-hero-D7-iiFQ9.js} +2 -2
- package/dist/_chunks/{optical-prescription-BvwuqTpl.js → optical-prescription-DUJOhKz_.js} +2 -2
- package/dist/_chunks/{patient-details-DYAmq76G.js → patient-details-BGiawUHd.js} +5 -5
- package/dist/_chunks/{patient-summary-card-C9WBwct-.js → patient-summary-card--CT_gbaQ.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-HrFsVi-C.js → periodontal-diagnosis-lEwA8wqX.js} +3 -3
- package/dist/_chunks/{practice-profile-hero-YQ7h2K4o.js → practice-profile-hero-DQyDvpJL.js} +2 -2
- package/dist/_chunks/{practice-results-CxIsU2YO.js → practice-results-DjEzPgAK.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-m-c05DOI.js → pregnancy-dating-n5j5dAKy.js} +4 -4
- package/dist/_chunks/{pregnancy-weight-gain-CJwbs9W-.js → pregnancy-weight-gain-D5A8vPjj.js} +3 -3
- package/dist/_chunks/{province-select-BBc7s7vR.js → province-select-BaUnkg4S.js} +2 -2
- package/dist/_chunks/qr-code-DOJs4suh.js +750 -0
- package/dist/_chunks/radio-DNRe6H_8.js +193 -0
- package/dist/_chunks/radio-group-DyVBgnA3.js +297 -0
- package/dist/_chunks/{radiograph-panel.agent-ByM9M3qm.js → radiograph-panel.agent-o4jwEJPC.js} +2 -2
- package/dist/_chunks/{rich-text-editor-lSCiE0Zz.js → rich-text-editor-CQ7yZdG3.js} +3 -3
- package/dist/_chunks/select-CLSUnKjF.js +520 -0
- package/dist/_chunks/signature-request-vihDT8On.js +2232 -0
- package/dist/_chunks/{tabs-DqKtTIjZ.js → tabs-BnRaLT0y.js} +2 -2
- package/dist/_chunks/{tasks-panel-DPCNaRko.js → tasks-panel-DQuaVvl5.js} +2 -2
- package/dist/_chunks/{timeline-r-8IUoBS.js → timeline-Bs9Erxlo.js} +38 -36
- package/dist/_chunks/{tooth-scheme-C9jssOmy.js → tooth-scheme-Qe7LO5Di.js} +2 -2
- package/dist/_chunks/{unit-converter-C6jMjqL9.js → unit-converter-BTgU50gk.js} +2 -2
- package/dist/_chunks/{widget-picker-em4xGgv0.js → widget-picker-DvUkBemi.js} +2 -2
- package/dist/agent-catalog.json +366 -29
- package/dist/agent-i18n/en.json +27 -15
- package/dist/components/_shared/get-error-message.d.ts +3 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts +2 -0
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/calendar.d.ts +26 -2
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/calendar-event-card.d.ts +9 -0
- 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/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +16 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +5 -0
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +9 -0
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.d.ts +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +24 -5
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/qr-code/qr-encode.d.ts +14 -16
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radio-group/radio-group-context.d.ts +4 -1
- package/dist/components/radio-group/radio-group.d.ts +13 -1
- package/dist/components/radio-group/radio.d.ts +24 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +33 -0
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/timeline/timeline.d.ts +2 -0
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/host-compat.css +7 -1
- package/dist/i18n/locales/ar.d.ts +118 -0
- package/dist/i18n/locales/ar.js +123 -5
- package/dist/i18n/locales/de.d.ts +128 -10
- package/dist/i18n/locales/de.js +135 -15
- package/dist/i18n/locales/el.d.ts +118 -0
- package/dist/i18n/locales/el.js +123 -5
- package/dist/i18n/locales/en.d.ts +118 -0
- package/dist/i18n/locales/en.js +123 -5
- package/dist/i18n/locales/es.d.ts +118 -0
- package/dist/i18n/locales/es.js +123 -5
- package/dist/i18n/locales/fr.d.ts +118 -0
- package/dist/i18n/locales/fr.js +122 -4
- package/dist/i18n/locales/hi.d.ts +118 -0
- package/dist/i18n/locales/hi.js +123 -5
- package/dist/i18n/locales/it.d.ts +128 -10
- package/dist/i18n/locales/it.js +133 -15
- package/dist/i18n/locales/ja.d.ts +118 -0
- package/dist/i18n/locales/ja.js +123 -5
- package/dist/i18n/locales/nl.d.ts +118 -0
- package/dist/i18n/locales/nl.js +123 -5
- package/dist/i18n/locales/pl.d.ts +118 -0
- package/dist/i18n/locales/pl.js +123 -5
- package/dist/i18n/locales/pt.d.ts +118 -0
- package/dist/i18n/locales/pt.js +123 -5
- package/dist/i18n/locales/ro.d.ts +118 -0
- package/dist/i18n/locales/ro.js +122 -4
- package/dist/i18n/locales/ru.d.ts +118 -0
- package/dist/i18n/locales/ru.js +123 -5
- package/dist/i18n/locales/sq.d.ts +118 -0
- package/dist/i18n/locales/sq.js +123 -5
- package/dist/i18n/locales/sv.d.ts +118 -0
- package/dist/i18n/locales/sv.js +123 -5
- package/dist/i18n/locales/tr.d.ts +118 -0
- package/dist/i18n/locales/tr.js +123 -5
- package/dist/i18n/locales/zh.d.ts +118 -0
- package/dist/i18n/locales/zh.js +123 -5
- package/dist/index.js +131 -130
- package/dist/locales/ar.json +123 -5
- package/dist/locales/de.json +133 -15
- package/dist/locales/el.json +123 -5
- package/dist/locales/en.json +123 -5
- package/dist/locales/es.json +123 -5
- package/dist/locales/fr.json +122 -4
- package/dist/locales/hi.json +123 -5
- package/dist/locales/it.json +133 -15
- package/dist/locales/ja.json +123 -5
- package/dist/locales/nl.json +123 -5
- package/dist/locales/pl.json +123 -5
- package/dist/locales/pt.json +123 -5
- package/dist/locales/ro.json +122 -4
- package/dist/locales/ru.json +123 -5
- package/dist/locales/sq.json +123 -5
- package/dist/locales/sv.json +123 -5
- package/dist/locales/tr.json +123 -5
- package/dist/locales/zh.json +123 -5
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +145 -0
- package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +32 -0
- package/dist/patterns/calendar/calendar-editor-hydration.d.ts +59 -0
- package/dist/patterns/calendar/calendar-notes-tool.d.ts +14 -0
- package/dist/patterns/calendar/calendar-patient-picker.d.ts +11 -0
- package/dist/patterns/calendar/calendar-series-scope-chooser.d.ts +18 -0
- package/dist/patterns/calendar/calendar-workspace.d.ts +26 -1
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +8 -5
- package/dist/patterns/calendar/calendar.data.d.ts +66 -1
- package/dist/patterns/calendar/calendar.host.d.ts +2 -0
- package/dist/patterns/calendar/calendar.journey.d.ts +42 -7
- package/dist/patterns/calendar/calendar.model.d.ts +54 -5
- package/dist/patterns/calendar/calendar.sheets.d.ts +68 -15
- package/dist/patterns/calendar/calendar.surface.d.ts +12 -2
- package/dist/patterns/calendar/calendar.types.d.ts +29 -1
- package/dist/patterns/calendar/index.d.ts +9 -6
- package/dist/patterns/calendar/index.js +15 -14
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/channel-meta.d.ts +27 -0
- package/dist/patterns/signature-request/index.d.ts +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signature-request/load-status.d.ts +13 -0
- package/dist/patterns/signature-request/person-grid.d.ts +32 -0
- package/dist/patterns/signature-request/required-documents.d.ts +127 -0
- package/dist/patterns/signature-request/signature-history.d.ts +57 -0
- package/dist/patterns/signature-request/signature-outcome.d.ts +29 -0
- package/dist/patterns/signature-request/signature-request.d.ts +390 -26
- package/dist/tokens.css +10 -2
- package/package.json +3 -1
- package/dist/_chunks/calendar-workspace-a84AHQwj.js +0 -7506
- package/dist/_chunks/notes-panel-CTNpsByN.js +0 -353
- package/dist/_chunks/qr-code-CPkEs5mG.js +0 -574
- package/dist/_chunks/radio-TWf9Q-mp.js +0 -108
- package/dist/_chunks/radio-group-rXDJADzW.js +0 -175
- package/dist/_chunks/select-Bi8zril7.js +0 -471
- package/dist/_chunks/signature-request-C-IsbkPf.js +0 -417
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { NotesPanel } from './notes-panel';
|
|
2
|
-
export type { NotesPanelProps, NotesPanelNote, NotesPanelSubmission, } from './notes-panel';
|
|
2
|
+
export type { NotesPanelProps, NotesPanelNote, NotesPanelNoteActions, NotesPanelSubmission, } from './notes-panel';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,17 @@ import type { RichTextEditorProps, RichTextEditorToolbar, RedactorFactory } from
|
|
|
8
8
|
* a clinical note: the card's fallback name is "Clinical note", so an entry
|
|
9
9
|
* that is something else (a dated event, an import) is announced as one.
|
|
10
10
|
*/
|
|
11
|
-
export type NotesPanelNote = Pick<ClinicalNoteCardProps, 'id' | 'dateIso' | 'createdAtIso' | 'author' | 'clinical' | 'attachedTo' | 'content' | 'contentFormat' | 'pinned' | 'flagged' | 'aria-label'
|
|
11
|
+
export type NotesPanelNote = Pick<ClinicalNoteCardProps, 'id' | 'dateIso' | 'createdAtIso' | 'author' | 'clinical' | 'attachedTo' | 'content' | 'contentFormat' | 'pinned' | 'flagged' | 'aria-label' | 'deleted' | 'operatorName'> & {
|
|
12
|
+
/** What the host lets the reader do with this note. */
|
|
13
|
+
actions?: NotesPanelNoteActions;
|
|
14
|
+
};
|
|
15
|
+
/** Per-note write permissions; an absent key means allowed. The panel hides
|
|
16
|
+
* the pin toggle on `pin: false` and on a deleted note. */
|
|
17
|
+
export type NotesPanelNoteActions = {
|
|
18
|
+
edit?: boolean;
|
|
19
|
+
delete?: boolean;
|
|
20
|
+
pin?: boolean;
|
|
21
|
+
};
|
|
12
22
|
/**
|
|
13
23
|
* Curated agent handle for NotesPanel. Reads the note timeline's STRUCTURE
|
|
14
24
|
* (ids + pinned / flagged / clinical flags — never the note body or author,
|
|
@@ -30,8 +40,8 @@ export interface NotesPanelHandle {
|
|
|
30
40
|
/** Id of the note the host has addressed, or null when none is. */
|
|
31
41
|
getCurrentNoteId: () => string | null;
|
|
32
42
|
/** Commit a new note with explicit content (mirrors the composer's submit). */
|
|
33
|
-
addNote: (submission: NotesPanelSubmission) => void
|
|
34
|
-
/** Toggle a note's pinned state (mirrors onTogglePin). */
|
|
43
|
+
addNote: (submission: NotesPanelSubmission) => void | Promise<void>;
|
|
44
|
+
/** Toggle a note's pinned state (mirrors onTogglePin, with its gate). */
|
|
35
45
|
togglePin: (id: string) => void;
|
|
36
46
|
/** Toggle a note's flagged state (mirrors onToggleFlag). */
|
|
37
47
|
toggleFlag: (id: string) => void;
|
|
@@ -51,8 +61,17 @@ export interface NotesPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'titl
|
|
|
51
61
|
id?: string;
|
|
52
62
|
/** Notes to render, newest-first by convention. Pinned notes lead. */
|
|
53
63
|
notes: NotesPanelNote[];
|
|
54
|
-
/**
|
|
55
|
-
|
|
64
|
+
/**
|
|
65
|
+
* Commit a new note. Omit to hide the composer (read-only timeline). Return
|
|
66
|
+
* a promise to keep the draft until the host has saved it: the draft clears
|
|
67
|
+
* when it resolves, and a rejection keeps it and shows the error's message.
|
|
68
|
+
*/
|
|
69
|
+
onAddNote?: (submission: NotesPanelSubmission) => void | Promise<void>;
|
|
70
|
+
/** The host's notes read. `'loading'` and `'error'` never show the empty
|
|
71
|
+
* text; notes already held still render. Default `'ready'`. */
|
|
72
|
+
status?: 'ready' | 'loading' | 'error';
|
|
73
|
+
/** Retry a failed read. Renders a retry button in the error state. */
|
|
74
|
+
onRetry?: () => void;
|
|
56
75
|
/**
|
|
57
76
|
* The note the reader ASKED for, addressed by id from somewhere else in the
|
|
58
77
|
* record — a marker in a chart, a row in a grid, an agent. The panel marks
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-
|
|
1
|
+
import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-DUJOhKz_.js";
|
|
2
2
|
export {
|
|
3
3
|
S as ADD_MAX,
|
|
4
4
|
r as ADD_MIN,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-
|
|
1
|
+
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-DhBtFRoW.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as i, P as S, a as T, b as o, c as D, S as I, e as E, i as O, p as e } from "../../_chunks/periodontal-diagnosis-
|
|
1
|
+
import { D as i, P as S, a as T, b as o, c as D, S as I, e as E, i as O, p as e } from "../../_chunks/periodontal-diagnosis-lEwA8wqX.js";
|
|
2
2
|
export {
|
|
3
3
|
i as DEFAULT_DIAGNOSIS_FACTORS,
|
|
4
4
|
S as PERIODONTITIS_EXTENTS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as n, R as s, T as i, a as g, p as r, r as t } from "../../_chunks/pregnancy-weight-gain-
|
|
1
|
+
import { P as n, R as s, T as i, a as g, p as r, r as t } from "../../_chunks/pregnancy-weight-gain-D5A8vPjj.js";
|
|
2
2
|
export {
|
|
3
3
|
n as PregnancyWeightGain,
|
|
4
4
|
s as RATE_BANDS,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export type ErrorCorrectionLevel = 'L' | 'M' | 'Q' | 'H';
|
|
2
2
|
export interface QrMatrix {
|
|
3
|
-
/** Edge length in modules (e.g. 21 for version 1). */
|
|
3
|
+
/** Edge length in modules (e.g. 21 for version 1, 177 for version 40). */
|
|
4
4
|
size: number;
|
|
5
5
|
/** Row-major `size * size` booleans — true = dark module. */
|
|
6
6
|
modules: boolean[];
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
-
* Shape of the geometry `qrcode.create()` returns, so a host that has
|
|
10
|
-
*
|
|
9
|
+
* Shape of the geometry `qrcode.create()` returns, so a host that has that
|
|
10
|
+
* package installed can hand its output straight to the renderer.
|
|
11
11
|
*/
|
|
12
12
|
export interface QrcodeCreateResult {
|
|
13
13
|
modules: {
|
|
@@ -15,32 +15,30 @@ export interface QrcodeCreateResult {
|
|
|
15
15
|
data: Uint8Array | number[];
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
/** Injectable geometry provider
|
|
18
|
+
/** Injectable geometry provider (see {@link setQrCreate}). */
|
|
19
19
|
export type QrCreateFn = (value: string, options: {
|
|
20
20
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
21
21
|
}) => QrcodeCreateResult;
|
|
22
22
|
/**
|
|
23
|
-
* OPTIONAL override
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
23
|
+
* OPTIONAL override, kept for backwards compatibility — no longer needed.
|
|
24
|
+
* The shipped encoder (`uqr`) already supports versions 1–40, so there is no
|
|
25
|
+
* capacity reason to swap in another library. A host that still registers the
|
|
26
|
+
* npm `qrcode` package's `create` keeps working:
|
|
27
27
|
*
|
|
28
28
|
* import QRCode from 'qrcode';
|
|
29
29
|
* import { setQrCreate } from '@alfadocs/ui-kit/qr-code';
|
|
30
30
|
* setQrCreate(QRCode.create);
|
|
31
31
|
*
|
|
32
|
-
* Pass `null` to revert to the
|
|
33
|
-
* geometry — the seam keeps the call-site identical so the swap is a one-liner.
|
|
32
|
+
* Pass `null` to revert to the built-in `uqr` encoder.
|
|
34
33
|
*/
|
|
35
34
|
export declare function setQrCreate(fn: QrCreateFn | null): void;
|
|
36
35
|
/**
|
|
37
|
-
* Build the QR module matrix for `value
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* raw module geometry — the component renders its own token-styled SVG.
|
|
36
|
+
* Build the QR module matrix for `value` with `uqr` (versions 1–40), or with a
|
|
37
|
+
* provider registered via {@link setQrCreate}. Returns raw module geometry
|
|
38
|
+
* with no quiet zone — the component renders its own token-styled SVG.
|
|
41
39
|
*
|
|
42
|
-
* Throws when the value exceeds
|
|
43
|
-
* render the empty state (see QrCode's
|
|
40
|
+
* Throws when the value exceeds version-40 capacity at the requested level;
|
|
41
|
+
* callers catch and render the empty state (see QrCode's try/catch).
|
|
44
42
|
*/
|
|
45
43
|
export declare function createQrMatrix(value: string, errorCorrectionLevel: ErrorCorrectionLevel): QrMatrix;
|
|
46
44
|
//# sourceMappingURL=qr-encode.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as a } from "../../_chunks/radio-
|
|
2
|
-
import { R as p } from "../../_chunks/radio-group-
|
|
1
|
+
import { R as a } from "../../_chunks/radio-DNRe6H_8.js";
|
|
2
|
+
import { R as p } from "../../_chunks/radio-group-DyVBgnA3.js";
|
|
3
3
|
export {
|
|
4
4
|
a as Radio,
|
|
5
5
|
p as RadioGroup
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
export type RadioGroupVariant = 'vertical' | 'horizontal' | 'card';
|
|
1
|
+
export type RadioGroupVariant = 'vertical' | 'horizontal' | 'card' | 'segmented';
|
|
2
2
|
export interface RadioGroupInternalContextShape {
|
|
3
3
|
variant: RadioGroupVariant;
|
|
4
|
+
/** Segmented variant only: the labels no longer fit on one line, so each
|
|
5
|
+
* segment shows its icon alone and its label in a tooltip. */
|
|
6
|
+
collapsed: boolean;
|
|
4
7
|
}
|
|
5
8
|
export declare const RadioGroupInternalContext: import("react").Context<RadioGroupInternalContextShape | null>;
|
|
6
9
|
export declare function useRadioGroupContext(): RadioGroupInternalContextShape | null;
|
|
@@ -8,11 +8,19 @@ export interface RadioGroupHandle {
|
|
|
8
8
|
setValue: (value: string) => void;
|
|
9
9
|
}
|
|
10
10
|
declare const radioGroupVariants: (props?: ({
|
|
11
|
-
variant?: "vertical" | "horizontal" | "card" | null | undefined;
|
|
11
|
+
variant?: "vertical" | "horizontal" | "card" | "segmented" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
13
|
type RadixRootProps = ComponentPropsWithoutRef<typeof RadixRadioGroup.Root>;
|
|
14
14
|
export interface RadioGroupProps extends Omit<RadixRootProps, 'children' | 'orientation'>, VariantProps<typeof radioGroupVariants> {
|
|
15
15
|
children: React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* `segmented` is a one-line strip of icon + label segments (give each
|
|
18
|
+
* `Radio` an `icon`, and a `shortLabel` when the full label is long). It
|
|
19
|
+
* fills its container's inline size; when the labels no longer fit, every
|
|
20
|
+
* segment shows its icon alone with its label in a tooltip. Its `Radio`
|
|
21
|
+
* children must be direct elements (a `.map` is fine) so the group can
|
|
22
|
+
* measure them.
|
|
23
|
+
*/
|
|
16
24
|
variant?: RadioGroupVariant;
|
|
17
25
|
label?: string;
|
|
18
26
|
/** Rendered at the inline START of the legend line, `--spacing-xs` before
|
|
@@ -23,6 +31,10 @@ export interface RadioGroupProps extends Omit<RadixRootProps, 'children' | 'orie
|
|
|
23
31
|
/** Rendered at the inline end of the legend line — a status chip or a
|
|
24
32
|
* marker, never a control. Its text joins the group's accessible name. */
|
|
25
33
|
labelEnd?: React.ReactNode;
|
|
34
|
+
/** Segmented variant only: rendered just after the track, on the same
|
|
35
|
+
* line and outside the radiogroup — e.g. an `InfoTip` explaining a
|
|
36
|
+
* disabled segment. Its width is kept out of the labels' budget. */
|
|
37
|
+
controlEnd?: React.ReactNode;
|
|
26
38
|
description?: string;
|
|
27
39
|
error?: string;
|
|
28
40
|
required?: boolean;
|
|
@@ -1,15 +1,38 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
2
|
import * as RadixRadioGroup from '@radix-ui/react-radio-group';
|
|
3
3
|
import { type VariantProps } from 'class-variance-authority';
|
|
4
4
|
declare const radioVariants: (props?: ({
|
|
5
5
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
/**
|
|
8
|
+
* One segment of a `variant="segmented"` group. `interactive: false` is the
|
|
9
|
+
* same box without states, used by the group's hidden measuring row so the
|
|
10
|
+
* measured width always matches the live segment.
|
|
11
|
+
*/
|
|
12
|
+
export declare const radioSegmentVariants: (props?: ({
|
|
13
|
+
interactive?: boolean | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
/** Icon plus visible label of a segment. Collapsed, the label stays in the
|
|
16
|
+
* DOM but visually hidden; a segment without an icon never collapses. */
|
|
17
|
+
export declare function RadioSegmentFace({ icon, text, collapsed, }: {
|
|
18
|
+
icon?: ReactNode;
|
|
19
|
+
text: string;
|
|
20
|
+
collapsed: boolean;
|
|
21
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
22
|
type RadixItemProps = ComponentPropsWithoutRef<typeof RadixRadioGroup.Item>;
|
|
8
23
|
export interface RadioProps extends Omit<RadixItemProps, 'children'>, VariantProps<typeof radioVariants> {
|
|
24
|
+
/** Visible label; in a segmented group, the accessible name and the
|
|
25
|
+
* collapsed tooltip. */
|
|
9
26
|
label: string;
|
|
10
27
|
size?: 'sm' | 'md' | 'lg';
|
|
11
28
|
disabledReason?: string;
|
|
12
29
|
description?: string;
|
|
30
|
+
/** Segmented group only: decorative icon shown before the label, and
|
|
31
|
+
* alone once the group collapses. */
|
|
32
|
+
icon?: ReactNode;
|
|
33
|
+
/** Segmented group only: shorter visible text. `label` stays the
|
|
34
|
+
* accessible name and must contain it (WCAG 2.5.3). */
|
|
35
|
+
shortLabel?: string;
|
|
13
36
|
}
|
|
14
37
|
export declare const Radio: import("react").ForwardRefExoticComponent<RadioProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
15
38
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as a, a as l, b as S, c, d as s, e as o, f as r, g as p, h as g, i, j as m } from "../../_chunks/select-
|
|
1
|
+
import { S as a, a as l, b as S, c, d as s, e as o, f as r, g as p, h as g, i, j as m } from "../../_chunks/select-CLSUnKjF.js";
|
|
2
2
|
export {
|
|
3
3
|
a as Select,
|
|
4
4
|
l as SelectContent,
|
|
@@ -52,6 +52,13 @@ type SelectItemProps = ComponentPropsWithoutRef<typeof RadixSelect.Item> & Varia
|
|
|
52
52
|
* selected item's trailing content appears there too.
|
|
53
53
|
*/
|
|
54
54
|
endContent?: ReactNode;
|
|
55
|
+
/**
|
|
56
|
+
* A second line under the label, e.g. why an option is disabled. It is
|
|
57
|
+
* the option's accessible description, outside `ItemText`, so it is
|
|
58
|
+
* neither part of the name nor mirrored into the trigger. It does not
|
|
59
|
+
* fade with a disabled option, so the reason stays readable.
|
|
60
|
+
*/
|
|
61
|
+
description?: ReactNode;
|
|
55
62
|
};
|
|
56
63
|
declare const SelectItem: import("react").ForwardRefExoticComponent<Omit<RadixSelect.SelectItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
57
64
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
@@ -70,6 +77,13 @@ declare const SelectItem: import("react").ForwardRefExoticComponent<Omit<RadixSe
|
|
|
70
77
|
* selected item's trailing content appears there too.
|
|
71
78
|
*/
|
|
72
79
|
endContent?: ReactNode;
|
|
80
|
+
/**
|
|
81
|
+
* A second line under the label, e.g. why an option is disabled. It is
|
|
82
|
+
* the option's accessible description, outside `ItemText`, so it is
|
|
83
|
+
* neither part of the name nor mirrored into the trigger. It does not
|
|
84
|
+
* fade with a disabled option, so the reason stays readable.
|
|
85
|
+
*/
|
|
86
|
+
description?: ReactNode;
|
|
73
87
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
74
88
|
declare const SelectItemText: import("react").ForwardRefExoticComponent<Omit<RadixSelect.SelectItemTextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
75
89
|
declare const SelectGroup: import("react").ForwardRefExoticComponent<Omit<RadixSelect.SelectGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -91,6 +105,25 @@ export interface SelectProps<T extends string = string> {
|
|
|
91
105
|
size?: 'sm' | 'md' | 'lg';
|
|
92
106
|
tone?: 'default' | 'error';
|
|
93
107
|
'aria-label'?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Extra ids describing the trigger, e.g. a visually hidden reason why an
|
|
110
|
+
* option is disabled (a disabled option cannot take focus, so its own
|
|
111
|
+
* description is never announced). Joined after any FormField ids.
|
|
112
|
+
*/
|
|
113
|
+
'aria-describedby'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Show the selected option's `startAdornment` in the trigger, before its
|
|
116
|
+
* label, e.g. a channel icon. Off by default. Decorative, like the
|
|
117
|
+
* adornment in the list.
|
|
118
|
+
*/
|
|
119
|
+
adornmentInTrigger?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Render each option's `description` as a second line under its label,
|
|
122
|
+
* wired as the option's accessible description. Off by default: without
|
|
123
|
+
* it `description` is ignored, as in 1.30.0, so existing lists keep
|
|
124
|
+
* their layout.
|
|
125
|
+
*/
|
|
126
|
+
showDescriptions?: boolean;
|
|
94
127
|
className?: string;
|
|
95
128
|
/**
|
|
96
129
|
* Portal target for the listbox. Defaults to `document.body`, which is
|
|
@@ -5,7 +5,7 @@ import { c as T1 } from "../../_chunks/index-D2ZczOXr.js";
|
|
|
5
5
|
import { useTranslation as N1 } from "react-i18next";
|
|
6
6
|
import { u as E1 } from "../../_chunks/registry-DvAUVLHh.js";
|
|
7
7
|
import { m as R1, A as _1 } from "../../_chunks/annotation-marker-CsUJGZjQ.js";
|
|
8
|
-
import { T as A } from "../../_chunks/tabs-
|
|
8
|
+
import { T as A } from "../../_chunks/tabs-BnRaLT0y.js";
|
|
9
9
|
import { a as V1, Z as C1 } from "../../_chunks/zoom-out-Dnif4kJx.js";
|
|
10
10
|
import { M as F1 } from "../../_chunks/maximize-2-BYd2Kti7.js";
|
|
11
11
|
const I = {
|
|
@@ -40,6 +40,8 @@ export interface TimelineContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
40
40
|
}
|
|
41
41
|
export interface TimelineTimestampProps extends TimeHTMLAttributes<HTMLTimeElement> {
|
|
42
42
|
date: Date | string;
|
|
43
|
+
/** Overrides the active language for date and time formatting. */
|
|
44
|
+
locale?: string;
|
|
43
45
|
relative?: boolean;
|
|
44
46
|
format?: Intl.DateTimeFormatOptions;
|
|
45
47
|
className?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as s, t, r as e } from "../../_chunks/tooth-scheme-
|
|
1
|
+
import { T as s, t, r as e } from "../../_chunks/tooth-scheme-Qe7LO5Di.js";
|
|
2
2
|
import { C as i, a as T, b as S, c as l, d as r, e as I, F as O, f as N, g as _, h as c, I as E, P as C, i as A, S as m, j as L, k as d, l as h, m as D, n as F, T as y, o as P, p as b, q as R, r as U, s as p, t as M, u, v as K, w as f, x as B, y as Y, z as H, A as g, B as z, D as w, E as x, G as V, H as k, J as G, K as j, L as q, M as v, N as J, O as Q, Q as W, R as X, U as Z, V as $, W as aa, X as oa, Y as sa, Z as ta, _ as ea, $ as na } from "../../_chunks/tooth-data-DR8Kdnup.js";
|
|
3
3
|
export {
|
|
4
4
|
i as CONDITION_COLORS,
|
package/dist/host-compat.css
CHANGED
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
|
|
203
203
|
/* ───────────────────────────────────────────────────────────────────────
|
|
204
204
|
SECTION B — non-token declarations. ORIGINAL LAYER PRESERVED.
|
|
205
|
-
|
|
205
|
+
132 declarations across 128 rules.
|
|
206
206
|
|
|
207
207
|
Kit-authored arbitrary-value utilities (`ds:w-[20rem]`) and the
|
|
208
208
|
vendored AG Grid rules. These set real properties on real elements,
|
|
@@ -505,6 +505,9 @@
|
|
|
505
505
|
.ds\:text-\[7rem\] {
|
|
506
506
|
font-size:112px;
|
|
507
507
|
}
|
|
508
|
+
.ds\:\[block-size\:44rem\] {
|
|
509
|
+
block-size:704px;
|
|
510
|
+
}
|
|
508
511
|
.ds\:\[inline-size\:3rem\] {
|
|
509
512
|
inline-size:48px;
|
|
510
513
|
}
|
|
@@ -514,6 +517,9 @@
|
|
|
514
517
|
.ds\:\[inline-size\:24rem\] {
|
|
515
518
|
inline-size:384px;
|
|
516
519
|
}
|
|
520
|
+
.ds\:\[inline-size\:26rem\] {
|
|
521
|
+
inline-size:416px;
|
|
522
|
+
}
|
|
517
523
|
.ds\:\[inline-size\:var\(--tool-rail-panel-inline-size\,var\(--ai-tools-rail-panel-inline-size\,22rem\)\)\] {
|
|
518
524
|
inline-size:var(--tool-rail-panel-inline-size,var(--ai-tools-rail-panel-inline-size,352px));
|
|
519
525
|
}
|