@alfadocs/ui-kit 0.17.3 → 0.18.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/{carousel.agent-Xuw9LPZN.js → carousel.agent-CQPFfppK.js} +533 -513
- package/dist/_chunks/{patient-shell-BOOaWZA9.js → patient-shell-Dr64lBp_.js} +2 -2
- package/dist/_chunks/theme-root-BOO73p5t.js +26 -0
- package/dist/agent-catalog.json +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/theme-root/index.js +1 -1
- package/dist/components/theme-root/theme-root.d.ts +11 -0
- package/dist/index.js +3 -3
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/theme-root-CSKD5ZRm.js +0 -25
|
@@ -7,7 +7,7 @@ import { D as n } from "./dropdown-menu-DZxwF23X.js";
|
|
|
7
7
|
import { H as L, g as A, f as H, e as x, a as C, c as M, d as B } from "./header-DqmKROIY.js";
|
|
8
8
|
import { L as N } from "./logo-_Z-jLq80.js";
|
|
9
9
|
import { S as T, a as _, h as O, j as P, k as W, i as j } from "./sidebar-BqzlRBvC.js";
|
|
10
|
-
import { T as z } from "./theme-root-
|
|
10
|
+
import { T as z } from "./theme-root-BOO73p5t.js";
|
|
11
11
|
import { a as R } from "./tooltip-DHik5yRI.js";
|
|
12
12
|
import { u as D } from "./use-theme-B1cwAXJR.js";
|
|
13
13
|
import { c as h } from "./createLucideIcon-CrFbzy84.js";
|
|
@@ -185,4 +185,4 @@ V.displayName = "PatientShell";
|
|
|
185
185
|
export {
|
|
186
186
|
V as P
|
|
187
187
|
};
|
|
188
|
-
//# sourceMappingURL=patient-shell-
|
|
188
|
+
//# sourceMappingURL=patient-shell-Dr64lBp_.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as c } from "react";
|
|
3
|
+
import { Slot as f } from "@radix-ui/react-slot";
|
|
4
|
+
function h(t, s, m, o) {
|
|
5
|
+
const e = [t === "dark" ? "theme-dark" : "theme-light"];
|
|
6
|
+
return s && e.push("theme-accessible"), m && e.push("ds:contents"), o && e.push(o), e.join(" ");
|
|
7
|
+
}
|
|
8
|
+
const l = c(
|
|
9
|
+
({
|
|
10
|
+
theme: t = "light",
|
|
11
|
+
accessible: s = !1,
|
|
12
|
+
transparent: m = !0,
|
|
13
|
+
asChild: o = !1,
|
|
14
|
+
className: e,
|
|
15
|
+
children: r,
|
|
16
|
+
...a
|
|
17
|
+
}, i) => {
|
|
18
|
+
const n = h(t, s, m, e);
|
|
19
|
+
return /* @__PURE__ */ p(o ? f : "div", { ref: i, className: n, "data-component": "theme-root", ...a, children: r });
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
l.displayName = "ThemeRoot";
|
|
23
|
+
export {
|
|
24
|
+
l as T
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=theme-root-BOO73p5t.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -5,6 +5,17 @@ export interface ThemeRootProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
5
5
|
theme?: ThemeBase;
|
|
6
6
|
/** Layer the AAA `theme-accessible` modifier on top of the base. */
|
|
7
7
|
accessible?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the wrapper should be transparent to layout (`display:
|
|
10
|
+
* contents`). Defaults to `true` so the wrapper does not become a
|
|
11
|
+
* containing block for sticky / fixed descendants. Set `false` to
|
|
12
|
+
* render a real layout box (the pre-0.18.0 behaviour).
|
|
13
|
+
*
|
|
14
|
+
* Note: when `asChild` is set, the consumer's element receives this
|
|
15
|
+
* class. If the consumer's element relies on its own layout box,
|
|
16
|
+
* pass `transparent={false}`.
|
|
17
|
+
*/
|
|
18
|
+
transparent?: boolean;
|
|
8
19
|
/**
|
|
9
20
|
* When true, merges the theme classes onto the single child element
|
|
10
21
|
* instead of rendering a wrapping `<div>`. Useful when the theme root
|
package/dist/index.js
CHANGED
|
@@ -43,7 +43,7 @@ import { A as Ie, g as Re, n as ke } from "./_chunks/avatar-I10iCDs8.js";
|
|
|
43
43
|
import { B as Ee } from "./_chunks/badge-cLYVGlMh.js";
|
|
44
44
|
import { B as Ne } from "./_chunks/benefit-card-DXmrAyfn.js";
|
|
45
45
|
import { C as Be } from "./_chunks/card-CWzuTLYE.js";
|
|
46
|
-
import { C as we, c as Ve } from "./_chunks/carousel.agent-
|
|
46
|
+
import { C as we, c as Ve } from "./_chunks/carousel.agent-CQPFfppK.js";
|
|
47
47
|
import { C as ve } from "./_chunks/contact-card-DTQUMetD.js";
|
|
48
48
|
import { A as Oe, B as _e, C as Ge, a as We, D as Ue, b as Ke, L as Ye, S as je, T as ze, c as qe, d as Qe, e as Je, U as Xe, f as Ze, u as $e } from "./_chunks/balance-cell-renderer-DJB6WDPe.js";
|
|
49
49
|
import { D as er } from "./_chunks/description-list-y7Hk51KI.js";
|
|
@@ -107,7 +107,7 @@ import { C as Zs, a as $s, b as an, c as en } from "./_chunks/collapsible-hHiyZp
|
|
|
107
107
|
import { H as on, P as tn, a as sn, R as nn, r as pn, u as mn } from "./_chunks/resizable-COV-cnth.js";
|
|
108
108
|
import { S as fn, a as dn, b as cn, c as gn, d as xn, e as un } from "./_chunks/scroll-area-DEDU-lp-.js";
|
|
109
109
|
import { S as Sn } from "./_chunks/separator-CYU_bGFn.js";
|
|
110
|
-
import { T as Tn } from "./_chunks/theme-root-
|
|
110
|
+
import { T as Tn } from "./_chunks/theme-root-BOO73p5t.js";
|
|
111
111
|
import { V as Pn } from "./_chunks/visually-hidden-BHxEUGyT.js";
|
|
112
112
|
import { C as In, c as Rn, a as kn } from "./_chunks/chart-BLvFl169.js";
|
|
113
113
|
import { A as En, a as Fn } from "./_chunks/ai-prompt-input-B-w5Rx3V.js";
|
|
@@ -133,7 +133,7 @@ import { T as Xi } from "./_chunks/transaction-chip-z9ENE50O.js";
|
|
|
133
133
|
import { W as $i } from "./_chunks/whatsapp-button-Bj5FIhpC.js";
|
|
134
134
|
import { C as ep, W as rp, a as op, b as tp, c as sp, i as np, l as ip, m as pp, r as mp, w as lp, d as fp, e as dp, f as cp } from "./_chunks/workflow-map-BeKe23uw.js";
|
|
135
135
|
import { L as xp, a as up, b as Ap, c as Sp } from "./_chunks/leo-sidebar-DIsiTju3.js";
|
|
136
|
-
import { P as Tp } from "./_chunks/patient-shell-
|
|
136
|
+
import { P as Tp } from "./_chunks/patient-shell-Dr64lBp_.js";
|
|
137
137
|
import { Root as Pp } from "@radix-ui/react-aspect-ratio";
|
|
138
138
|
export {
|
|
139
139
|
p as ACCESSIBILITY_STORAGE_KEY,
|