@alfadocs/ui-kit 1.90.2 → 1.92.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/README.md +24 -0
- package/dist/_chunks/{agenda-card-BDuvreCe.js → agenda-card-BhY342MA.js} +2 -2
- package/dist/_chunks/{agenda-tray-D-jvptdo.js → agenda-tray-BmxBGEci.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CsTRAxC8.js → alia-sidebar-ovRX_oti.js} +3 -3
- package/dist/_chunks/{appointment-card-5JMWi9_f.js → appointment-card-Bstc1p7a.js} +2 -2
- package/dist/_chunks/{appointment-peek-39BwVMUf.js → appointment-peek-C0kKqnFk.js} +2 -2
- package/dist/_chunks/{appointment-timeline-1-Za2miy.js → appointment-timeline-rbt9AwHO.js} +2 -2
- package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js → appointment-tray-6zd8RLIL.js} +2 -2
- package/dist/_chunks/{avatar-BPiPL7ND.js → avatar-a6042Ox2.js} +52 -52
- package/dist/_chunks/{balance-badge-cell-D9VhFp0L.js → balance-badge-cell-BtJvre1-.js} +2 -2
- package/dist/_chunks/{calendar-ClB-jWH1.js → calendar-CmiMS4FJ.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-CiAGAX2t.js → calendar-appointment-editor-dialog-sJKLoVJ2.js} +7 -7
- package/dist/_chunks/{care-plan-card-BYCPNDvA.js → care-plan-card-DD9rEWYN.js} +2 -2
- package/dist/_chunks/{care-plan-header-BzsAg6oY.js → care-plan-header-CXUJQt8Q.js} +2 -2
- package/dist/_chunks/{chat-message-CmFJdEre.js → chat-message-LRO_6Ee3.js} +2 -2
- package/dist/_chunks/{clinical-note-card-Caidqcwa.js → clinical-note-card-Cut2lNmu.js} +3 -3
- package/dist/_chunks/{contact-card-Czu60UvU.js → contact-card-ClvEDM9e.js} +2 -2
- package/dist/_chunks/{contact-profile-card-Da1vmJQI.js → contact-profile-card-CX45mZA3.js} +106 -95
- package/dist/_chunks/{dependent-selector-C4kOgO8b.js → dependent-selector-CyNi7M_f.js} +2 -2
- package/dist/_chunks/{entity-summary-BLxzSSXK.js → entity-summary-B_bOloqP.js} +3 -3
- package/dist/_chunks/error-page-B0fGNTRB.js +419 -0
- package/dist/_chunks/{languages-CZqBaPwI.js → languages-CGLX6Qpe.js} +3 -15
- package/dist/_chunks/link-DtCfnLnF.js +332 -0
- package/dist/_chunks/{link-cell-renderer-CnCgudvq.js → link-cell-renderer-BS3V4LA6.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-CmZx0Oam.js → marketplace-app-shell-CJQtx3sv.js} +2 -2
- package/dist/_chunks/{message-card-CvCnCssc.js → message-card-B6SduXJv.js} +2 -2
- package/dist/_chunks/{message-tray-IJYvy6Cf.js → message-tray-Cllf-v0G.js} +2 -2
- package/dist/_chunks/{nav-grid-Oc4aCPrg.js → nav-grid-D2xVcHTO.js} +2 -2
- package/dist/_chunks/{note-attachment-DIlIQ7JF.js → note-attachment-cnj2JRrg.js} +2 -2
- package/dist/_chunks/{note-timeline-KzL52MmB.js → note-timeline-BrjHBQfx.js} +2 -2
- package/dist/_chunks/{notes-panel-Dywo6R55.js → notes-panel-ib7I3aNf.js} +2 -2
- package/dist/_chunks/{operator-hero-6aAIQaFZ.js → operator-hero-C_5B-8Qp.js} +43 -41
- package/dist/_chunks/{patient-details-BUr7Oemx.js → patient-details-BjcUpD9S.js} +3 -3
- package/dist/_chunks/{patient-field-row-bJk8Q_qr.js → patient-field-row-B0tdiaWi.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CCQZ8X37.js → patient-summary-card-Cvv6_Ugk.js} +4 -4
- package/dist/_chunks/{payment-request-card-MndSlVoK.js → payment-request-card-BfGauFY0.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-qfrsFQI_.js → practice-profile-hero-ClzE-4CB.js} +76 -73
- package/dist/_chunks/{practice-results-DQuOfqej.js → practice-results-Bls-mygM.js} +620 -595
- package/dist/_chunks/{product-hub-panel-Blag8t8f.js → product-hub-panel-bHi7lkVD.js} +2 -2
- package/dist/_chunks/public-footer-IoRWoAMz.js +596 -0
- package/dist/_chunks/reserved.agent-C1gLyK2R.js +4610 -0
- package/dist/_chunks/{signature-request-DjY-X62H.js → signature-request-DvhyrRpn.js} +3 -3
- package/dist/_chunks/{signed-out-frame-G-3ATOdu.js → signed-out-frame-CgRXOUzi.js} +2 -2
- package/dist/_chunks/{slot-grid-DrwynKeN.js → slot-grid-B-IAFX3C.js} +180 -169
- package/dist/_chunks/{timeline-wUuTDFY_.js → timeline-BcYHdP56.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BytPq3Ux.js → use-appointment-details-read-D8vDg0sg.js} +5 -5
- package/dist/ag-grid.css +2746 -0
- package/dist/agent-catalog.json +16 -2
- package/dist/apexcharts.css +40 -0
- package/dist/components/_shared/social-brand-icons.d.ts +29 -0
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- 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/avatar/avatar.d.ts +14 -0
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +26 -0
- package/dist/components/booking/index.d.ts +3 -0
- package/dist/components/booking/index.js +6 -4
- package/dist/components/booking/reserved.agent.d.ts +4 -0
- package/dist/components/booking/reserved.d.ts +9 -6
- package/dist/components/booking/slot-load-state.d.ts +11 -0
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +10 -1
- package/dist/components/link/social-url.d.ts +71 -0
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/nav-grid/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/operator-hero/operator-hero.d.ts +6 -0
- 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/payment-card/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +6 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +9 -3
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +13 -1
- package/dist/components/public-footer/socials.d.ts +6 -5
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/slot-grid/slot-grid.d.ts +2 -0
- package/dist/components/timeline/index.js +1 -1
- package/dist/core.css +2 -0
- package/dist/fullcalendar.css +56 -0
- package/dist/i18n/config.js +225 -97
- package/dist/i18n/locales/ar.d.ts +4 -0
- package/dist/i18n/locales/ar.js +6 -2
- package/dist/i18n/locales/de.d.ts +4 -0
- package/dist/i18n/locales/de.js +6 -2
- package/dist/i18n/locales/el.d.ts +4 -0
- package/dist/i18n/locales/el.js +6 -2
- package/dist/i18n/locales/en.d.ts +6 -2
- package/dist/i18n/locales/en.js +5 -1
- package/dist/i18n/locales/es.d.ts +4 -0
- package/dist/i18n/locales/es.js +6 -2
- package/dist/i18n/locales/fr.d.ts +4 -0
- package/dist/i18n/locales/fr.js +6 -2
- package/dist/i18n/locales/hi.d.ts +4 -0
- package/dist/i18n/locales/hi.js +6 -2
- package/dist/i18n/locales/it.d.ts +4 -0
- package/dist/i18n/locales/it.js +6 -2
- package/dist/i18n/locales/ja.d.ts +4 -0
- package/dist/i18n/locales/ja.js +6 -2
- package/dist/i18n/locales/nl.d.ts +4 -0
- package/dist/i18n/locales/nl.js +6 -2
- package/dist/i18n/locales/pl.d.ts +4 -0
- package/dist/i18n/locales/pl.js +6 -2
- package/dist/i18n/locales/pt.d.ts +4 -0
- package/dist/i18n/locales/pt.js +6 -2
- package/dist/i18n/locales/ro.d.ts +4 -0
- package/dist/i18n/locales/ro.js +6 -2
- package/dist/i18n/locales/ru.d.ts +4 -0
- package/dist/i18n/locales/ru.js +6 -2
- package/dist/i18n/locales/sq.d.ts +4 -0
- package/dist/i18n/locales/sq.js +6 -2
- package/dist/i18n/locales/sv.d.ts +4 -0
- package/dist/i18n/locales/sv.js +6 -2
- package/dist/i18n/locales/tr.d.ts +4 -0
- package/dist/i18n/locales/tr.js +6 -2
- package/dist/i18n/locales/zh.d.ts +4 -0
- package/dist/i18n/locales/zh.js +6 -2
- package/dist/index.js +473 -471
- package/dist/locales/ar.json +6 -2
- package/dist/locales/de.json +6 -2
- package/dist/locales/el.json +6 -2
- package/dist/locales/en.json +5 -1
- package/dist/locales/es.json +6 -2
- package/dist/locales/fr.json +6 -2
- package/dist/locales/hi.json +6 -2
- package/dist/locales/it.json +6 -2
- package/dist/locales/ja.json +6 -2
- package/dist/locales/nl.json +6 -2
- package/dist/locales/pl.json +6 -2
- package/dist/locales/pt.json +6 -2
- package/dist/locales/ro.json +6 -2
- package/dist/locales/ru.json +6 -2
- package/dist/locales/sq.json +6 -2
- package/dist/locales/sv.json +6 -2
- package/dist/locales/tr.json +6 -2
- package/dist/locales/zh.json +6 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/error-page-english.d.ts +71 -0
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/redactor.css +54 -0
- package/dist/tokens.css +1 -1
- package/package.json +10 -3
- package/dist/_chunks/booking-CcE_oviI.js +0 -4373
- package/dist/_chunks/error-page-Bhai-spN.js +0 -344
- package/dist/_chunks/link-N5_YpLtm.js +0 -138
- package/dist/_chunks/public-footer-CXOrdAaS.js +0 -568
|
@@ -3,7 +3,7 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
3
3
|
export type PracticeResultsVariant = 'split-list-map' | 'map-first' | 'rich-cards';
|
|
4
4
|
/** Heading levels the results title accepts. */
|
|
5
5
|
export type PracticeResultsHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
|
-
export type PracticeResultsSort = 'distance' | 'rating' | 'next-available' | 'relevance';
|
|
6
|
+
export type PracticeResultsSort = 'distance' | 'rating' | 'next-available' | 'price' | 'relevance';
|
|
7
7
|
/**
|
|
8
8
|
* Where the result-selection event originated.
|
|
9
9
|
*
|
|
@@ -60,6 +60,12 @@ export interface PracticeResult {
|
|
|
60
60
|
bookingHref?: string;
|
|
61
61
|
/** Avatar / logo URL. */
|
|
62
62
|
imageUrl?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Text alternative for the photo's `<img>`, for image search and crawlers.
|
|
65
|
+
* Pass the practice name. Leave it out and the photo stays decorative
|
|
66
|
+
* (`alt=""`), as before. Added in 1.91.0.
|
|
67
|
+
*/
|
|
68
|
+
imageAlt?: string;
|
|
63
69
|
/** Practice location. Required by the two map variants. */
|
|
64
70
|
location?: {
|
|
65
71
|
lat: number;
|
|
@@ -98,7 +104,7 @@ export interface PracticeResult {
|
|
|
98
104
|
* Use `firstVisitPrice` for new integrations; a finite minimum wins when
|
|
99
105
|
* both are set.
|
|
100
106
|
* Price in the smallest currency unit (cents / centesimi).
|
|
101
|
-
* Rendered as a labelled "First visit cost"
|
|
107
|
+
* Rendered as a labelled "First visit cost" chip on every card in both
|
|
102
108
|
* densities (booking-website maps the practice's long-standing
|
|
103
109
|
* first-visit price setting here). Same convention as
|
|
104
110
|
* `ContactProfileCard.firstVisitPriceCents` — the KIT formats, the
|
|
@@ -107,7 +113,7 @@ export interface PracticeResult {
|
|
|
107
113
|
* `0` is a real value meaning "free" and renders the translated word
|
|
108
114
|
* "Free" (`common.freeOfCharge`), never a zero amount. Omit the
|
|
109
115
|
* field (or pass `undefined`) when the practice has not set a price —
|
|
110
|
-
* the
|
|
116
|
+
* the label and chip disappear completely. Added for HTP-6136.
|
|
111
117
|
*/
|
|
112
118
|
firstVisitPriceCents?: number;
|
|
113
119
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-
|
|
1
|
+
import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-bHi7lkVD.js";
|
|
2
2
|
import { i as s } from "../../_chunks/is-safe-url-DkETxeHz.js";
|
|
3
3
|
export {
|
|
4
4
|
u as ProductHubPanel,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as s, a as e, P as r, S as A, c as L } from "../../_chunks/public-footer-
|
|
1
|
+
import { D as s, a as e, P as r, S as A, c as L } from "../../_chunks/public-footer-IoRWoAMz.js";
|
|
2
2
|
import { p as _ } from "../../_chunks/public-footer.agent-CRZCrq3_.js";
|
|
3
3
|
export {
|
|
4
4
|
s as DEFAULT_MARKETING_BASE_URL,
|
|
@@ -34,7 +34,19 @@ export interface PublicFooterProps {
|
|
|
34
34
|
socials?: PublicFooterSocial[];
|
|
35
35
|
/** `full` variant: custom logo node. Default: kit's wordmark Logo. */
|
|
36
36
|
logoSlot?: ReactNode;
|
|
37
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Extra surface-specific links, appended after the standard legal links in
|
|
39
|
+
* every variant. A `<Link>`, an `<a>`, a `<button>` or the kit's
|
|
40
|
+
* `<Button intent="link">` all work: the slot gives anchors the footer link
|
|
41
|
+
* look (muted text, underline on hover, focus ring) in every variant, and in
|
|
42
|
+
* `minimal` bare buttons and `Button intent="link"` too, so a host "Cookie
|
|
43
|
+
* settings" button that reopens its consent manager sits in line with
|
|
44
|
+
* Privacy and Terms. In `compact` and `full` host buttons keep their own
|
|
45
|
+
* look. In `minimal` the slot comes after Terms and before
|
|
46
|
+
* the copyright line, so tab order follows reading order, in RTL too. The
|
|
47
|
+
* host owns the label and the click handler. Minimal ignored this slot
|
|
48
|
+
* before 1.91.0.
|
|
49
|
+
*/
|
|
38
50
|
extraNavSlot?: ReactNode;
|
|
39
51
|
/** Trust badges (HIPAA, ISO). Rendered at the start of `minimal`'s row, or in the bottom strip of `full`. */
|
|
40
52
|
trustBadgesSlot?: ReactNode;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import type { ComponentType, SVGProps } from 'react';
|
|
2
1
|
export declare const SOCIAL_NETWORKS: readonly ["linkedin", "youtube", "instagram", "facebook"];
|
|
3
2
|
export type SocialNetwork = (typeof SOCIAL_NETWORKS)[number];
|
|
4
3
|
export declare const DEFAULT_SOCIAL_URLS: Record<SocialNetwork, string>;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
export declare const SOCIAL_ICONS: {
|
|
5
|
+
linkedin: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
6
|
+
youtube: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
7
|
+
instagram: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
8
|
+
facebook: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
|
|
9
|
+
};
|
|
9
10
|
//# sourceMappingURL=socials.d.ts.map
|
|
@@ -29,6 +29,8 @@ export interface SlotGridProps extends Omit<HTMLAttributes<HTMLDivElement>, 'ari
|
|
|
29
29
|
days: SlotGridDay[];
|
|
30
30
|
/** Visual / interactive state. Defaults to `'default'`. */
|
|
31
31
|
state?: SlotGridState;
|
|
32
|
+
/** Localised guidance below the empty title, for an empty day or range. */
|
|
33
|
+
emptyDescription?: string;
|
|
32
34
|
/** Density of the slot buttons and day headers. Defaults to `'md'`. */
|
|
33
35
|
size?: SlotGridSize;
|
|
34
36
|
/** Id of the currently selected slot (controlled). */
|