@alfadocs/ui-kit 0.99.0 → 1.0.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 +2 -1
- package/dist/_chunks/{clinical-note-card-C7F_24IC.js → clinical-note-card-D63x_AkK.js} +5 -2
- package/dist/_chunks/{notes-panel-BKwd-bOV.js → notes-panel-CTcOLLVo.js} +3 -3
- package/dist/_chunks/{rich-text-editor-DHpV2q6d.js → rich-text-editor-CfeXPPWs.js} +10 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/index.js +3 -3
- package/dist/tokens.css +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The AlfaDocs design system — React components, tokens, and translations.
|
|
4
4
|
|
|
5
|
-
>
|
|
5
|
+
> Released. Breaking changes land in majors and are called out in
|
|
6
|
+
> [CHANGELOG.md](./CHANGELOG.md).
|
|
6
7
|
|
|
7
8
|
## Install
|
|
8
9
|
|
|
@@ -100,7 +100,10 @@ const te = [
|
|
|
100
100
|
"[&_a]:ds:underline [&_a]:ds:underline-offset-2",
|
|
101
101
|
"[&_code]:ds:rounded-[var(--radius-sm)] [&_code]:ds:bg-muted/30 [&_code]:ds:ps-[var(--spacing-xs)] [&_code]:ds:pe-[var(--spacing-xs)] [&_code]:ds:font-[family-name:var(--font-mono)]",
|
|
102
102
|
"[&_p]:ds:m-0 [&_p+p]:ds:mt-[var(--spacing-sm)]",
|
|
103
|
-
|
|
103
|
+
// `list-disc` / `list-decimal` are load-bearing: the card renders host
|
|
104
|
+
// HTML inside `[data-component]`, where preflight's `list-style: none`
|
|
105
|
+
// still applies. Without them the indent lands but the markers do not.
|
|
106
|
+
"ds:[&_ul]:m-0 ds:[&_ul]:ps-[var(--spacing-md)] ds:[&_ul]:list-disc ds:[&_ol]:m-0 ds:[&_ol]:ps-[var(--spacing-md)] ds:[&_ol]:list-decimal",
|
|
104
107
|
// Rich-text (Redactor) extras — harmless on markdown notes, which carry
|
|
105
108
|
// none of these tags. Headings, inline images and tables stay readable.
|
|
106
109
|
"[&_h2]:type-title-item [&_h3]:type-title-item [&_h2]:ds:m-0 [&_h3]:ds:m-0",
|
|
@@ -433,4 +436,4 @@ export {
|
|
|
433
436
|
pe as C,
|
|
434
437
|
ne as c
|
|
435
438
|
};
|
|
436
|
-
//# sourceMappingURL=clinical-note-card-
|
|
439
|
+
//# sourceMappingURL=clinical-note-card-D63x_AkK.js.map
|
|
@@ -2,8 +2,8 @@ import { jsxs as y, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as ne, useRef as o, useState as V, useId as ie, useCallback as ae, useImperativeHandle as re, useMemo as se } from "react";
|
|
3
3
|
import { useTranslation as oe } from "react-i18next";
|
|
4
4
|
import { u as le } from "./registry-DvAUVLHh.js";
|
|
5
|
-
import { C as ce } from "./clinical-note-card-
|
|
6
|
-
import { R as de } from "./rich-text-editor-
|
|
5
|
+
import { C as ce } from "./clinical-note-card-D63x_AkK.js";
|
|
6
|
+
import { R as de } from "./rich-text-editor-CfeXPPWs.js";
|
|
7
7
|
import { T as pe } from "./text-area-Bt3p7Pt0.js";
|
|
8
8
|
import { B as ue } from "./button-CPGiR_bH.js";
|
|
9
9
|
import { C as me } from "./checkbox-BuZ1u__2.js";
|
|
@@ -321,4 +321,4 @@ const _e = ne(
|
|
|
321
321
|
export {
|
|
322
322
|
_e as N
|
|
323
323
|
};
|
|
324
|
-
//# sourceMappingURL=notes-panel-
|
|
324
|
+
//# sourceMappingURL=notes-panel-CTcOLLVo.js.map
|
|
@@ -575,7 +575,15 @@ const un = [
|
|
|
575
575
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
576
576
|
"ds:bg-[color-mix(in_srgb,var(--background)_70%,transparent)]",
|
|
577
577
|
"ds:p-[var(--spacing-sm)] ds:[max-block-size:10rem] ds:overflow-y-auto",
|
|
578
|
-
"ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--foreground)]"
|
|
578
|
+
"ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--foreground)]",
|
|
579
|
+
// The preview renders arbitrary model-generated rich text, and the
|
|
580
|
+
// `rich-text` SafeHtml profile allows ul/ol/li. Inside a
|
|
581
|
+
// [data-component] preflight's list reset still applies and the host
|
|
582
|
+
// undo deliberately does not reach, so markers and indent have to be
|
|
583
|
+
// asked for explicitly — otherwise a generated bullet list previews as
|
|
584
|
+
// flush, marker-less lines.
|
|
585
|
+
"ds:[&_ul]:list-disc ds:[&_ol]:list-decimal",
|
|
586
|
+
"ds:[&_ul]:ps-[var(--spacing-md)] ds:[&_ol]:ps-[var(--spacing-md)]"
|
|
579
587
|
].join(" ");
|
|
580
588
|
function dt(o, i) {
|
|
581
589
|
return i ? o ? /\s$/.test(o) ? `${o}${i}` : `${o} ${i}` : i : o;
|
|
@@ -2618,4 +2626,4 @@ export {
|
|
|
2618
2626
|
hn as r,
|
|
2619
2627
|
Qn as w
|
|
2620
2628
|
};
|
|
2621
|
-
//# sourceMappingURL=rich-text-editor-
|
|
2629
|
+
//# sourceMappingURL=rich-text-editor-CfeXPPWs.js.map
|
package/dist/agent-catalog.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -79,7 +79,7 @@ import { A as io, D as no, T as lo, a as mo, b as po, c as co, d as fo, e as go,
|
|
|
79
79
|
import { B as xo, C as Co, E as So, a as To, R as Io, T as Po, b as ho, r as No, u as bo } from "./_chunks/editable-currency-cell-renderer-Dus_sBvX.js";
|
|
80
80
|
import { C as Ro, D as _o, a as yo, b as vo, I as Do, L as Fo, N as Mo, c as Lo, S as Oo, d as ko, e as Bo, T as wo, f as Ho, g as Go, U as Vo } from "./_chunks/link-cell-renderer-Bt-mXeQY.js";
|
|
81
81
|
import { D as Wo, d as zo, a as Ko, b as Yo } from "./_chunks/data-table-tabs-BEUXiRlu.js";
|
|
82
|
-
import { C as Xo, c as qo } from "./_chunks/clinical-note-card-
|
|
82
|
+
import { C as Xo, c as qo } from "./_chunks/clinical-note-card-D63x_AkK.js";
|
|
83
83
|
import { D as $o } from "./_chunks/description-list-ClNLdRMy.js";
|
|
84
84
|
import { E as Zo } from "./_chunks/empty-state-CrLsi0XI.js";
|
|
85
85
|
import { F as ei, f as si } from "./_chunks/file-manager-B9LZzT5E.js";
|
|
@@ -138,7 +138,7 @@ import { M as wd, m as Hd } from "./_chunks/message-tray-BFlu8clI.js";
|
|
|
138
138
|
import { N as Vd, i as Ud } from "./_chunks/notification-card-D29_sVA1.js";
|
|
139
139
|
import { n as zd } from "./_chunks/notification-card.agent-DxGBZb8T.js";
|
|
140
140
|
import { N as Yd, n as jd } from "./_chunks/notification-tray-CzIzz3bX.js";
|
|
141
|
-
import { N as qd } from "./_chunks/notes-panel-
|
|
141
|
+
import { N as qd } from "./_chunks/notes-panel-CTcOLLVo.js";
|
|
142
142
|
import { P as $d, p as Jd } from "./_chunks/popover-Cc0a69sw.js";
|
|
143
143
|
import { R as am, I as em, r as sm } from "./_chunks/radiograph-panel.agent-AsXJBr1p.js";
|
|
144
144
|
import { P as tm, R as om, T as im, a as nm, r as lm } from "./_chunks/pregnancy-weight-gain-B-CkVYnU.js";
|
|
@@ -203,7 +203,7 @@ import { P as Zg, a as aA, p as eA, b as sA } from "./_chunks/payment-request-ca
|
|
|
203
203
|
import { P as tA, f as oA, p as iA, a as nA, s as lA, b as dA, c as mA } from "./_chunks/payment-form-BoGxEmGn.js";
|
|
204
204
|
import { P as cA, p as fA } from "./_chunks/pdf-viewer-CcOuR2wj.js";
|
|
205
205
|
import { R as AA, r as uA } from "./_chunks/reviews-panel-DmOjvmyH.js";
|
|
206
|
-
import { R as CA, r as SA, w as TA } from "./_chunks/rich-text-editor-
|
|
206
|
+
import { R as CA, r as SA, w as TA } from "./_chunks/rich-text-editor-CfeXPPWs.js";
|
|
207
207
|
import { E as PA } from "./_chunks/editor-overlay-DE3esyio.js";
|
|
208
208
|
import { S as NA, s as bA } from "./_chunks/signature-capture-D6ut9_IR.js";
|
|
209
209
|
import { S as RA, s as _A } from "./_chunks/signature-field-0rFODJlW.js";
|