@alfadocs/ui-kit 0.51.0 → 0.52.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/{logo-yituK7sE.js → logo-1FuSGx0n.js} +2 -1
- package/dist/_chunks/marketplace-app-shell-C4OYAC22.js +513 -0
- package/dist/_chunks/maximize-2-Cm9OUQ2m.js +17 -0
- package/dist/_chunks/patient-shell-Coarf346.js +162 -0
- package/dist/_chunks/{privacy-lock-BmX_gkvt.js → privacy-lock-BN3L-alb.js} +2 -2
- package/dist/_chunks/{public-footer.agent-okt8ZRc5.js → public-footer.agent-CfXuW1x6.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-CuYn_kKP.js → sign-in-with-alfadocs-button-BpAjVmsI.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/brand/product-lockup/product-lockup.d.ts +47 -12
- package/dist/components/logo/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/index.js +6 -6
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +8 -6
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/marketplace-app-shell-Dmo1S9av.js +0 -428
- package/dist/_chunks/patient-shell-c2YixkQw.js +0 -174
|
@@ -4,7 +4,7 @@ import { useTranslation as V } from "react-i18next";
|
|
|
4
4
|
import * as i from "@radix-ui/react-dialog";
|
|
5
5
|
import { B as u } from "./button-DD_0Xdmr.js";
|
|
6
6
|
import { I as W } from "./icon-button-CKEOrN37.js";
|
|
7
|
-
import { L as X } from "./logo-
|
|
7
|
+
import { L as X } from "./logo-1FuSGx0n.js";
|
|
8
8
|
import { u as Y } from "./registry-nPAVE19X.js";
|
|
9
9
|
import { E as h } from "./eye-off-xEXDAh5z.js";
|
|
10
10
|
import { U as Z } from "./user-CPxpqFjJ.js";
|
|
@@ -190,4 +190,4 @@ export {
|
|
|
190
190
|
ee as P,
|
|
191
191
|
$ as p
|
|
192
192
|
};
|
|
193
|
-
//# sourceMappingURL=privacy-lock-
|
|
193
|
+
//# sourceMappingURL=privacy-lock-BN3L-alb.js.map
|
|
@@ -4,7 +4,7 @@ import { c as R } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as S } from "react-i18next";
|
|
5
5
|
import { L as f } from "./link-DrD_cRUg.js";
|
|
6
6
|
import { S as m } from "./separator-CYU_bGFn.js";
|
|
7
|
-
import { L as T } from "./logo-
|
|
7
|
+
import { L as T } from "./logo-1FuSGx0n.js";
|
|
8
8
|
import { A as D, b as G, c as U, a as O } from "./accordion-9lJSMMsZ.js";
|
|
9
9
|
const L = "https://www.alfadocs.com", F = {
|
|
10
10
|
privacy: "/privacy-prenotazione-online",
|
|
@@ -588,4 +588,4 @@ export {
|
|
|
588
588
|
W as c,
|
|
589
589
|
ye as p
|
|
590
590
|
};
|
|
591
|
-
//# sourceMappingURL=public-footer.agent-
|
|
591
|
+
//# sourceMappingURL=public-footer.agent-CfXuW1x6.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as L, useRef as c, useEffect as b } from "react";
|
|
3
3
|
import { useTranslation as y } from "react-i18next";
|
|
4
4
|
import { B as E } from "./button-DD_0Xdmr.js";
|
|
5
|
-
import { L as I } from "./logo-
|
|
5
|
+
import { L as I } from "./logo-1FuSGx0n.js";
|
|
6
6
|
import { S as g } from "./spinner-OjQNn8oN.js";
|
|
7
7
|
const A = /* @__PURE__ */ new Set([
|
|
8
8
|
"primary",
|
|
@@ -46,4 +46,4 @@ B.displayName = "SignInWithAlfadocsButton";
|
|
|
46
46
|
export {
|
|
47
47
|
B as S
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=sign-in-with-alfadocs-button-
|
|
49
|
+
//# sourceMappingURL=sign-in-with-alfadocs-button-BpAjVmsI.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -7,11 +7,26 @@ declare const productName: (props?: ({
|
|
|
7
7
|
type LockupSize = NonNullable<VariantProps<typeof productName>['size']>;
|
|
8
8
|
export type ProductLockupProps = {
|
|
9
9
|
/**
|
|
10
|
-
* The product name
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* The product name. Passed verbatim (product names are not translated).
|
|
11
|
+
*
|
|
12
|
+
* - `variant="standard"` (default): renders as "Alfadocs <name>" with the
|
|
13
|
+
* wordmark; accessible name is `Alfadocs <name>`.
|
|
14
|
+
* - `variant="maker"`: renders as "[mark] <name> by Alfadocs"; accessible
|
|
15
|
+
* name is `<name> by Alfadocs`.
|
|
13
16
|
*/
|
|
14
17
|
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* Which lockup composition to use.
|
|
20
|
+
*
|
|
21
|
+
* - `'standard'` (default) — Alfadocs wordmark + product name ("Alfadocs
|
|
22
|
+
* Builders"). Use for **internal** Alfadocs products (Alfadocs Builders,
|
|
23
|
+
* Alfadocs API) where the product is part of the Alfadocs family.
|
|
24
|
+
* - `'maker'` — "<name> by Alfadocs" with the four-pillar mark and the name
|
|
25
|
+
* as the prominent element. Use for **external** marketplace extensions
|
|
26
|
+
* ("Scribe by Alfadocs") where the extension's own name leads and
|
|
27
|
+
* "by Alfadocs" is the maker attribution.
|
|
28
|
+
*/
|
|
29
|
+
variant?: 'standard' | 'maker';
|
|
15
30
|
/**
|
|
16
31
|
* Render the name as a solid `--foreground` ink, upright (no gradient, no
|
|
17
32
|
* italic), and pair it with the monochrome wordmark. Use for print,
|
|
@@ -32,21 +47,41 @@ export type ProductLockupProps = {
|
|
|
32
47
|
className?: string;
|
|
33
48
|
} & Omit<ComponentPropsWithoutRef<'span'>, 'role' | 'aria-label' | 'aria-hidden' | 'children' | 'className'>;
|
|
34
49
|
/**
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
50
|
+
* Pairs a product name with the Alfadocs brand. Two compositions:
|
|
51
|
+
*
|
|
52
|
+
* - `variant="standard"` (default) — the Alfadocs wordmark + product name
|
|
53
|
+
* ("Alfadocs Builders"). For internal Alfadocs products. Exposed to
|
|
54
|
+
* assistive tech as a single `img` named `Alfadocs <name>`.
|
|
55
|
+
* - `variant="maker"` — "[mark] <name> by Alfadocs". For external marketplace
|
|
56
|
+
* extensions where the extension's name leads. Exposed as a single `img`
|
|
57
|
+
* named `<name> by Alfadocs`.
|
|
38
58
|
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
59
|
+
* In both cases the inner wordmark/mark and the visible name are decorative so
|
|
60
|
+
* the brand isn't announced twice. Every marketplace app should use this
|
|
61
|
+
* rather than hand-rolling a wordmark + typed span.
|
|
42
62
|
*/
|
|
43
63
|
export declare const ProductLockup: import("react").ForwardRefExoticComponent<{
|
|
44
64
|
/**
|
|
45
|
-
* The product name
|
|
46
|
-
*
|
|
47
|
-
*
|
|
65
|
+
* The product name. Passed verbatim (product names are not translated).
|
|
66
|
+
*
|
|
67
|
+
* - `variant="standard"` (default): renders as "Alfadocs <name>" with the
|
|
68
|
+
* wordmark; accessible name is `Alfadocs <name>`.
|
|
69
|
+
* - `variant="maker"`: renders as "[mark] <name> by Alfadocs"; accessible
|
|
70
|
+
* name is `<name> by Alfadocs`.
|
|
48
71
|
*/
|
|
49
72
|
name: string;
|
|
73
|
+
/**
|
|
74
|
+
* Which lockup composition to use.
|
|
75
|
+
*
|
|
76
|
+
* - `'standard'` (default) — Alfadocs wordmark + product name ("Alfadocs
|
|
77
|
+
* Builders"). Use for **internal** Alfadocs products (Alfadocs Builders,
|
|
78
|
+
* Alfadocs API) where the product is part of the Alfadocs family.
|
|
79
|
+
* - `'maker'` — "<name> by Alfadocs" with the four-pillar mark and the name
|
|
80
|
+
* as the prominent element. Use for **external** marketplace extensions
|
|
81
|
+
* ("Scribe by Alfadocs") where the extension's own name leads and
|
|
82
|
+
* "by Alfadocs" is the maker attribution.
|
|
83
|
+
*/
|
|
84
|
+
variant?: "standard" | "maker";
|
|
50
85
|
/**
|
|
51
86
|
* Render the name as a solid `--foreground` ink, upright (no gradient, no
|
|
52
87
|
* italic), and pair it with the monochrome wordmark. Use for print,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as s, a as A, P as L, S as e, c as S, p as _ } from "../../_chunks/public-footer.agent-
|
|
1
|
+
import { D as s, a as A, P as L, S as e, c as S, p as _ } from "../../_chunks/public-footer.agent-CfXuW1x6.js";
|
|
2
2
|
export {
|
|
3
3
|
s as DEFAULT_MARKETING_BASE_URL,
|
|
4
4
|
A as DEFAULT_SOCIAL_URLS,
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { b as I } from "./_chunks/button.agent-BuGZBktn.js";
|
|
|
10
10
|
import { B as E } from "./_chunks/button-group-Ciq6J4IW.js";
|
|
11
11
|
import { F } from "./_chunks/floating-action-button-pojvb9gG.js";
|
|
12
12
|
import { I as _ } from "./_chunks/icon-button-group-C48khLE0.js";
|
|
13
|
-
import { S as D } from "./_chunks/sign-in-with-alfadocs-button-
|
|
13
|
+
import { S as D } from "./_chunks/sign-in-with-alfadocs-button-BpAjVmsI.js";
|
|
14
14
|
import { SafeHtml as O, sanitiseHtml as B } from "./safe-html/index.js";
|
|
15
15
|
import { A as k, p as H } from "./_chunks/address-autocomplete-CT-9AOli.js";
|
|
16
16
|
import { A as v, a as V, b as G } from "./_chunks/autocomplete-CDqxB68B.js";
|
|
@@ -68,7 +68,7 @@ import { F as So, a as To, h as bo } from "./_chunks/flag-DZ6V7-hU.js";
|
|
|
68
68
|
import { K as Io, k as Ro } from "./_chunks/kbd-D855ZXIW.js";
|
|
69
69
|
import { K as ho, a as Fo } from "./_chunks/key-value-pair-CkQIb9EG.js";
|
|
70
70
|
import { L as _o, l as Lo } from "./_chunks/list-BOwqwy03.js";
|
|
71
|
-
import { L as yo } from "./_chunks/logo-
|
|
71
|
+
import { L as yo } from "./_chunks/logo-1FuSGx0n.js";
|
|
72
72
|
import { M as Bo } from "./_chunks/map-view-Tb5VfK9Y.js";
|
|
73
73
|
import { R as ko } from "./_chunks/rating-BRD7O74e.js";
|
|
74
74
|
import { S as wo } from "./_chunks/skeleton-CZbwyJAA.js";
|
|
@@ -85,7 +85,7 @@ import { N as Ot, a as Bt, b as Mt, c as kt, d as Ht, e as wt, f as vt, g as Vt,
|
|
|
85
85
|
import { S as Ut } from "./_chunks/skip-link-BaSMtPwB.js";
|
|
86
86
|
import { L as Yt } from "./_chunks/link-DrD_cRUg.js";
|
|
87
87
|
import { P as Qt, a as jt, b as zt, c as Xt, d as Jt, e as Zt, f as $t, g as as, p as es } from "./_chunks/pagination-DQOgnxxw.js";
|
|
88
|
-
import { D as os, a as ts, P as ss, S as ns, c as is, p as ps } from "./_chunks/public-footer.agent-
|
|
88
|
+
import { D as os, a as ts, P as ss, S as ns, c as is, p as ps } from "./_chunks/public-footer.agent-CfXuW1x6.js";
|
|
89
89
|
import { P as ls, p as ds } from "./_chunks/public-header.agent-BY6FH71R.js";
|
|
90
90
|
import { S as fs, f as gs, s as As } from "./_chunks/search-bar-CvN_S0jW.js";
|
|
91
91
|
import { S as Cs, a as us, b as Ss, c as Ts, d as bs, e as Ps, f as Is, g as Rs, h as Es, i as hs, j as Fs, k as Ns, l as _s, m as Ls, n as Ds, o as ys, p as Os, q as Bs, s as Ms, u as ks } from "./_chunks/sidebar-DPEHzxLZ.js";
|
|
@@ -114,7 +114,7 @@ import { n as Yn } from "./_chunks/notification-card.agent-Rqt3ofk9.js";
|
|
|
114
114
|
import { N as Qn, n as jn } from "./_chunks/notification-tray-BWHDIjgd.js";
|
|
115
115
|
import { P as Xn, p as Jn } from "./_chunks/popover-Devce-tT.js";
|
|
116
116
|
import { P as $n, R as ai, T as ei, a as ri, r as oi } from "./_chunks/pregnancy-weight-gain-BMRBeA8V.js";
|
|
117
|
-
import { P as si, p as ni } from "./_chunks/privacy-lock-
|
|
117
|
+
import { P as si, p as ni } from "./_chunks/privacy-lock-BN3L-alb.js";
|
|
118
118
|
import { P as pi, a as mi, p as li, b as di } from "./_chunks/product-hub-panel-CkfZBA3t.js";
|
|
119
119
|
import { P as fi, p as gi } from "./_chunks/progress-kzIRcdaq.js";
|
|
120
120
|
import { S as xi, s as Ci } from "./_chunks/sheet-xbzu4YiY.js";
|
|
@@ -171,8 +171,8 @@ import { T as Gl } from "./_chunks/transaction-chip-BZCa6XDn.js";
|
|
|
171
171
|
import { W as Ul } from "./_chunks/whatsapp-button-DUjlWGKf.js";
|
|
172
172
|
import { C as Yl, W as ql, a as Ql, b as jl, c as zl, i as Xl, l as Jl, m as Zl, r as $l, w as ad, d as ed, e as rd, f as od } from "./_chunks/workflow-map-BJDUNYlX.js";
|
|
173
173
|
import { A as sd, a as nd, b as id, c as pd } from "./_chunks/alia-sidebar-DlvyXgVC.js";
|
|
174
|
-
import { P as ld } from "./_chunks/patient-shell-
|
|
175
|
-
import { C as cd, M as fd, P as gd } from "./_chunks/marketplace-app-shell-
|
|
174
|
+
import { P as ld } from "./_chunks/patient-shell-Coarf346.js";
|
|
175
|
+
import { C as cd, M as fd, P as gd } from "./_chunks/marketplace-app-shell-C4OYAC22.js";
|
|
176
176
|
import { D as xd, d as Cd } from "./_chunks/dependent-selector-CRWgieHm.js";
|
|
177
177
|
import { D as Sd, d as Td } from "./_chunks/document-scanner-biBS_f6c.js";
|
|
178
178
|
import { F as Pd, c as Id, a as Rd, b as Ed, f as hd, w as Fd, i as Nd } from "./_chunks/fiscal-code-input-BZ0FxwUl.js";
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
* AlfaDocs (the kind a partner scaffolds with Claude Code, Lovable, etc.).
|
|
4
4
|
*
|
|
5
5
|
* It is a thin, opinionated composition of kit primitives: an `AppFrame` with
|
|
6
|
-
* a branded `Header` (the
|
|
7
|
-
* rendered `monochrome` so it rides the header's ink
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
6
|
+
* a branded `Header` (the maker `ProductLockup` — "<Product> by Alfadocs" —
|
|
7
|
+
* rendered `monochrome` so it rides the header's ink; maker is the lockup
|
|
8
|
+
* style for external marketplace extensions), a `Sidebar` for app
|
|
9
|
+
* navigation, `HeaderSettings` (theme/locale/accessibility), and a bare-avatar
|
|
10
|
+
* account menu (fullscreen + sign-out) matching the main app shell.
|
|
11
|
+
* `ConnectWithAlfadocs` is the matching pre-auth screen, with the full-colour
|
|
12
|
+
* maker lockup and `SignInWithAlfadocsButton`.
|
|
11
13
|
*
|
|
12
14
|
* Like `PatientShell`, this pattern ships a RUNTIME component (surfaced via
|
|
13
15
|
* `src/patterns/index.ts` and the library bundle) because consuming apps mount
|
|
@@ -90,7 +92,7 @@ export interface MarketplaceAppShellLabels {
|
|
|
90
92
|
fullscreen?: string;
|
|
91
93
|
}
|
|
92
94
|
export interface MarketplaceAppShellProps {
|
|
93
|
-
/**
|
|
95
|
+
/** Extension name — renders as the maker lockup "<productName> by Alfadocs". */
|
|
94
96
|
productName: string;
|
|
95
97
|
/** Link target for the brand lockup. Default `'/'`. */
|
|
96
98
|
productHref?: string;
|