@alfadocs/ui-kit 0.0.17 → 0.0.19

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.
@@ -1,4 +1,4 @@
1
- import { P as a } from "../../_chunks/privacy-lock-Bk5mIqMq.js";
1
+ import { P as a } from "../../_chunks/privacy-lock-C1X42Sit.js";
2
2
  export {
3
3
  a as PrivacyLock
4
4
  };
@@ -1,4 +1,4 @@
1
- import { S as n } from "../../_chunks/sign-in-with-alfadocs-button-CprizH2U.js";
1
+ import { S as n } from "../../_chunks/sign-in-with-alfadocs-button-y3gy-W-D.js";
2
2
  export {
3
3
  n as SignInWithAlfadocsButton
4
4
  };
@@ -1,6 +1,12 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type ButtonProps } from '../button';
3
- export interface SignInWithAlfadocsButtonProps extends Omit<ButtonProps, 'startIcon' | 'children'> {
3
+ type AllowedIntent = Exclude<NonNullable<ButtonProps['intent']>, 'destructive'>;
4
+ export interface SignInWithAlfadocsButtonProps extends Omit<ButtonProps, 'startIcon' | 'children' | 'intent'> {
5
+ /**
6
+ * Visual intent. Inherits the Button intent set with `destructive`
7
+ * omitted (no "destroy account" sign-in flow exists).
8
+ */
9
+ intent?: AllowedIntent;
4
10
  /**
5
11
  * Override the visible label. When omitted, the component reads
6
12
  * `ui.auth.continueWithAlfadocs` (English fallback: "Continue with
@@ -10,4 +16,5 @@ export interface SignInWithAlfadocsButtonProps extends Omit<ButtonProps, 'startI
10
16
  label?: ReactNode;
11
17
  }
12
18
  export declare const SignInWithAlfadocsButton: import("react").ForwardRefExoticComponent<SignInWithAlfadocsButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
19
+ export {};
13
20
  //# sourceMappingURL=sign-in-with-alfadocs-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sign-in-with-alfadocs-button.d.ts","sourceRoot":"","sources":["../../../src/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAUrD,MAAM,WAAW,6BACf,SAAQ,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,UAAU,CAAC;IACnD;;;;;OAKG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,eAAO,MAAM,wBAAwB,6HAkBnC,CAAC"}
1
+ {"version":3,"file":"sign-in-with-alfadocs-button.d.ts","sourceRoot":"","sources":["../../../src/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAmBrD,KAAK,aAAa,GAAG,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC;AAShF,MAAM,WAAW,6BACf,SAAQ,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC9D;;;OAGG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,eAAO,MAAM,wBAAwB,6HA+CpC,CAAC"}
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { b as S } from "./_chunks/button.agent-BuGZBktn.js";
6
6
  import { B as g } from "./_chunks/button-group-CI7LFxt3.js";
7
7
  import { F as C } from "./_chunks/floating-action-button-BM9ib-Wf.js";
8
8
  import { I as A } from "./_chunks/icon-button-group-tERESY-n.js";
9
- import { S as I } from "./_chunks/sign-in-with-alfadocs-button-CprizH2U.js";
9
+ import { S as I } from "./_chunks/sign-in-with-alfadocs-button-y3gy-W-D.js";
10
10
  import { SafeHtml as R, sanitiseHtml as E } from "./safe-html/index.js";
11
11
  import { A as N, a as F, b as k } from "./_chunks/autocomplete.agent-kb0nmr6F.js";
12
12
  import { C as M, a as D, u as V } from "./_chunks/checkbox-CfiZ0FZc.js";
@@ -44,7 +44,7 @@ import { F as De, a as Ve, h as ve } from "./_chunks/flag-ChP784EM.js";
44
44
  import { K as Oe, k as _e } from "./_chunks/kbd-0iPlQjgC.js";
45
45
  import { K as He } from "./_chunks/key-value-pair--Je59tAF.js";
46
46
  import { L as We } from "./_chunks/list-n8vI8Yvn.js";
47
- import { L as Ke } from "./_chunks/logo-BlIdYz3n.js";
47
+ import { L as Ke } from "./_chunks/logo-UNWYb9p7.js";
48
48
  import { S as je } from "./_chunks/skeleton-vbTWUntB.js";
49
49
  import { S as qe, s as Je, u as Qe } from "./_chunks/sparkline.agent-BDTXzTy9.js";
50
50
  import { S as Ze } from "./_chunks/stat-CrumvZWf.js";
@@ -76,7 +76,7 @@ import { N as nt, i as mt } from "./_chunks/notification-card-CQxJporb.js";
76
76
  import { N as lt } from "./_chunks/notification-tray-CNWPuPZp.js";
77
77
  import { P as dt } from "./_chunks/popover-D1woU9mP.js";
78
78
  import { p as ct } from "./_chunks/popover.agent-C0qOx9WT.js";
79
- import { P as ut } from "./_chunks/privacy-lock-Bk5mIqMq.js";
79
+ import { P as ut } from "./_chunks/privacy-lock-C1X42Sit.js";
80
80
  import { P as Tt } from "./_chunks/progress-DL3-izuO.js";
81
81
  import { p as bt } from "./_chunks/progress.agent-CXkHURjX.js";
82
82
  import { S as Pt } from "./_chunks/sheet-D6XOx0fK.js";
@@ -117,7 +117,7 @@ import { S as gi, f as Ti, i as Ci } from "./_chunks/slot-grid-DL_Tuj0p.js";
117
117
  import { C as Ai, a as Pi, b as Ii, F as hi, c as Ri, d as Ei, P as Li, e as Ni, T as Fi, f as ki, g as Bi, h as Mi, l as Di, i as Vi, t as vi, r as yi } from "./_chunks/tooth-scheme.agent-CFKl3iQr.js";
118
118
  import { C as _i, W as wi, a as Hi, b as Gi, c as Wi, i as Ui, l as Ki, m as Yi, r as ji, w as zi } from "./_chunks/workflow-map-Uf-hHAO3.js";
119
119
  import { L as Ji, a as Qi, b as Xi, c as Zi } from "./_chunks/leo-sidebar-9A9AWBxX.js";
120
- import { P as an } from "./_chunks/patient-shell-BNrTtcbu.js";
120
+ import { P as an } from "./_chunks/patient-shell-D0RaWDMR.js";
121
121
  import { Root as rn } from "@radix-ui/react-aspect-ratio";
122
122
  export {
123
123
  t as ACCESSIBILITY_STORAGE_KEY,
@@ -1,4 +1,4 @@
1
- import { P as a } from "../../_chunks/patient-shell-BNrTtcbu.js";
1
+ import { P as a } from "../../_chunks/patient-shell-D0RaWDMR.js";
2
2
  export {
3
3
  a as PatientShell
4
4
  };