@alfadocs/ui-kit 1.93.1 → 1.95.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/{ai-prompt-input-DH_rnV-F.js → ai-prompt-input-CG9BEggs.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-EKPfVCmh.js → anamnesis-summary-rows-DTZ3per6.js} +4 -4
- package/dist/_chunks/{audio-recorder-m7Jqvvcl.js → audio-recorder-BOm2FgEu.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-BtJvre1-.js → balance-badge-cell-vZxbOFgP.js} +4 -4
- package/dist/_chunks/{bishop-score-C5di6oAV.js → bishop-score-BBYuyk2k.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-sJKLoVJ2.js → calendar-appointment-editor-dialog-WDKc3jMA.js} +6 -6
- package/dist/_chunks/chart-pMkQN-qy.js +1550 -0
- package/dist/_chunks/{data-table-CqQgoNsU.js → data-table-C_nnpJ-Q.js} +2 -2
- package/dist/_chunks/{date-time-picker-n-yrlMJq.js → date-time-picker-cwsWiB4q.js} +2 -2
- package/dist/_chunks/{document-preview-QEbr7jp1.js → document-preview-ytR1FcWA.js} +2 -2
- package/dist/_chunks/{file-manager-BnI1ZWZu.js → file-manager-CAIbuaSs.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-Dr9hdDta.js → gestational-age-calculator-Dn8IOXHB.js} +2 -2
- package/dist/_chunks/{hcg-doubling-K41Wy7LB.js → hcg-doubling-DQe1ptNB.js} +2 -2
- package/dist/_chunks/{heatmap-fCxwNz2o.js → heatmap-DdF8qTTV.js} +2 -2
- package/dist/_chunks/{kit-extensions-a0G4COFH.js → kit-extensions-44gudqqq.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-BS3V4LA6.js → link-cell-renderer-OmvrkUeN.js} +2 -2
- package/dist/_chunks/{muscle-scheme-C66WlCxG.js → muscle-scheme-B7qMW0ho.js} +2 -2
- package/dist/_chunks/{operator-hero-C_5B-8Qp.js → operator-hero-D_0KoEuJ.js} +31 -31
- package/dist/_chunks/{optical-prescription-CMM1Y6Xg.js → optical-prescription-BGVeDVSP.js} +2 -2
- package/dist/_chunks/{patient-details-BjcUpD9S.js → patient-details-DTlpBYHJ.js} +2 -2
- package/dist/_chunks/{patient-field-row-B0tdiaWi.js → patient-field-row-DWTKV1hF.js} +2 -2
- package/dist/_chunks/{patient-summary-card-Cvv6_Ugk.js → patient-summary-card-C61AR4Tn.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-BHvfDxz4.js → pregnancy-dating-CuVj9KGR.js} +2 -2
- package/dist/_chunks/{registration-form-CRm6DaB9.js → registration-form-BygI73vG.js} +2 -2
- package/dist/_chunks/{reserved.agent-DnPwaa4u.js → reserved.agent-BvwjDyne.js} +3 -3
- package/dist/_chunks/{select-4S-eYZUf.js → select-BBDRYxJl.js} +247 -241
- package/dist/_chunks/signature-request-BVGeF0qB.js +2774 -0
- package/dist/_chunks/{slot-grid-B-IAFX3C.js → slot-grid-BhjaLJ0o.js} +229 -214
- package/dist/_chunks/{tabs-BTj-2qMZ.js → tabs-BmxQu-TJ.js} +2 -2
- package/dist/_chunks/{task-editor-CI1SKUNc.js → task-editor-Cv7xSakv.js} +3 -3
- package/dist/_chunks/{tasks-panel-BkjtgjQ8.js → tasks-panel-BTCYGLGA.js} +2 -2
- package/dist/_chunks/time-picker-DSt-ns5F.js +914 -0
- package/dist/_chunks/{unit-converter-BH5ueIhT.js → unit-converter-C95sa5y8.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-D8vDg0sg.js → use-appointment-details-read-B6uhmNdV.js} +2 -2
- package/dist/_chunks/{voice-control-panel-BP0otrID.js → voice-control-panel-BGJjUwnY.js} +2 -2
- package/dist/agent-catalog.json +20 -8
- package/dist/agent-i18n/en.json +6 -6
- package/dist/apexcharts.css +4 -1
- package/dist/components/_shared/group-options.d.ts +2 -2
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/chart/chart-axis-scale.d.ts +21 -0
- package/dist/components/chart/chart.d.ts +55 -0
- package/dist/components/chart/index.d.ts +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/document-preview/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/hcg-doubling/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +3 -2
- 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/pregnancy-dating/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 +13 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/time-picker/time-picker.d.ts +15 -8
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/i18n/locales/ar.d.ts +8 -1
- package/dist/i18n/locales/ar.js +10 -3
- package/dist/i18n/locales/de.d.ts +9 -2
- package/dist/i18n/locales/de.js +11 -4
- package/dist/i18n/locales/el.d.ts +9 -2
- package/dist/i18n/locales/el.js +11 -4
- package/dist/i18n/locales/en.d.ts +9 -2
- package/dist/i18n/locales/en.js +10 -3
- package/dist/i18n/locales/es.d.ts +9 -2
- package/dist/i18n/locales/es.js +11 -4
- package/dist/i18n/locales/fr.d.ts +8 -1
- package/dist/i18n/locales/fr.js +10 -3
- package/dist/i18n/locales/hi.d.ts +9 -2
- package/dist/i18n/locales/hi.js +11 -4
- package/dist/i18n/locales/it.d.ts +9 -2
- package/dist/i18n/locales/it.js +11 -4
- package/dist/i18n/locales/ja.d.ts +9 -2
- package/dist/i18n/locales/ja.js +11 -4
- package/dist/i18n/locales/nl.d.ts +9 -2
- package/dist/i18n/locales/nl.js +11 -4
- package/dist/i18n/locales/pl.d.ts +9 -2
- package/dist/i18n/locales/pl.js +11 -4
- package/dist/i18n/locales/pt.d.ts +8 -1
- package/dist/i18n/locales/pt.js +10 -3
- package/dist/i18n/locales/ro.d.ts +9 -2
- package/dist/i18n/locales/ro.js +11 -4
- package/dist/i18n/locales/ru.d.ts +9 -2
- package/dist/i18n/locales/ru.js +11 -4
- package/dist/i18n/locales/sq.d.ts +9 -2
- package/dist/i18n/locales/sq.js +11 -4
- package/dist/i18n/locales/sv.d.ts +9 -2
- package/dist/i18n/locales/sv.js +11 -4
- package/dist/i18n/locales/tr.d.ts +9 -2
- package/dist/i18n/locales/tr.js +11 -4
- package/dist/i18n/locales/zh.d.ts +9 -2
- package/dist/i18n/locales/zh.js +11 -4
- package/dist/index.js +34 -34
- package/dist/locales/ar.json +10 -3
- package/dist/locales/de.json +11 -4
- package/dist/locales/el.json +11 -4
- package/dist/locales/en.json +10 -3
- package/dist/locales/es.json +11 -4
- package/dist/locales/fr.json +10 -3
- package/dist/locales/hi.json +11 -4
- package/dist/locales/it.json +11 -4
- package/dist/locales/ja.json +11 -4
- package/dist/locales/nl.json +11 -4
- package/dist/locales/pl.json +11 -4
- package/dist/locales/pt.json +10 -3
- package/dist/locales/ro.json +11 -4
- package/dist/locales/ru.json +11 -4
- package/dist/locales/sq.json +11 -4
- package/dist/locales/sv.json +11 -4
- package/dist/locales/tr.json +11 -4
- package/dist/locales/zh.json +11 -4
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signature-request/required-documents.d.ts +2 -1
- package/dist/patterns/signature-request/signature-request.d.ts +61 -0
- package/dist/tokens.css +4 -1
- package/package.json +1 -1
- package/dist/_chunks/chart-D4huJSru.js +0 -1340
- package/dist/_chunks/signature-request-DvhyrRpn.js +0 -2448
- package/dist/_chunks/time-picker-DVfyAR81.js +0 -871
|
@@ -9,7 +9,7 @@ export interface TimePickerHandle {
|
|
|
9
9
|
getValue: () => TimeValue | null;
|
|
10
10
|
/** Set the time value. Hours are kept within 0–23 and minutes within 0–59. */
|
|
11
11
|
setValue: (value: TimeValue) => void;
|
|
12
|
-
/** Clear
|
|
12
|
+
/** Clear to null with allowEmpty; otherwise reset to 00:00. */
|
|
13
13
|
clear: () => void;
|
|
14
14
|
/** Whether the time dropdown is open. Always false unless `dropdown` is on. */
|
|
15
15
|
isOpen: () => boolean;
|
|
@@ -25,13 +25,7 @@ declare const wrapperVariants: (props?: ({
|
|
|
25
25
|
opensOnClick?: boolean | null | undefined;
|
|
26
26
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
27
27
|
type MinuteStep = 1 | 5 | 10 | 15 | 30;
|
|
28
|
-
|
|
29
|
-
/** Current value — controlled. */
|
|
30
|
-
value?: TimeValue;
|
|
31
|
-
/** Default value — uncontrolled. */
|
|
32
|
-
defaultValue?: TimeValue;
|
|
33
|
-
/** Called when the value changes. */
|
|
34
|
-
onChange?: (value: TimeValue) => void;
|
|
28
|
+
interface TimePickerBaseProps extends Pick<VariantProps<typeof wrapperVariants>, 'size'> {
|
|
35
29
|
/** Force 12h/24h mode. Defaults to locale detection. */
|
|
36
30
|
hour12?: boolean;
|
|
37
31
|
/** Minute increment step. */
|
|
@@ -69,6 +63,19 @@ export interface TimePickerProps extends Pick<VariantProps<typeof wrapperVariant
|
|
|
69
63
|
/** Accessible name by reference. Wins over `aria-label` and the FormField label. */
|
|
70
64
|
'aria-labelledby'?: string;
|
|
71
65
|
}
|
|
66
|
+
/** Empty values are opt-in, keeping existing onChange callbacks non-nullable. */
|
|
67
|
+
export type TimePickerProps = TimePickerBaseProps & ({
|
|
68
|
+
allowEmpty?: false;
|
|
69
|
+
value?: TimeValue;
|
|
70
|
+
defaultValue?: TimeValue;
|
|
71
|
+
onChange?: (value: TimeValue) => void;
|
|
72
|
+
} | {
|
|
73
|
+
/** Start unset and allow clearing to null, distinct from midnight. */
|
|
74
|
+
allowEmpty: true;
|
|
75
|
+
value?: TimeValue | null;
|
|
76
|
+
defaultValue?: TimeValue | null;
|
|
77
|
+
onChange?: (value: TimeValue | null) => void;
|
|
78
|
+
});
|
|
72
79
|
export declare const TimePicker: import("react").ForwardRefExoticComponent<TimePickerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
73
80
|
export {};
|
|
74
81
|
//# sourceMappingURL=time-picker.d.ts.map
|