@alfadocs/ui-kit 1.109.0 → 1.111.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/{anamnesis-summary-rows-QhbDdY7b.js → anamnesis-summary-rows-BrTx7diS.js} +2 -2
- package/dist/_chunks/{calculator-dialog-BsVVb8cT.js → calculator-dialog-D4TyJwqy.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-D8DblVjW.js → calendar-appointment-editor-dialog-Oc3Df8O3.js} +4 -4
- package/dist/_chunks/data-grid.agent-CASyEAnb.js +1773 -0
- package/dist/_chunks/{dialog-C7RWaH08.js → dialog-BTjSQjdY.js} +17 -16
- package/dist/_chunks/{file-manager-BDKe59sg.js → file-manager-CVxBE4yy.js} +2 -2
- package/dist/_chunks/{help-me-write-templates-YmceSxf5.js → help-me-write-templates-CWxgjDZl.js} +2 -2
- package/dist/_chunks/{notes-panel-SlzUL8in.js → notes-panel-Cz621DWV.js} +3 -3
- package/dist/_chunks/{public-footer-3Jy1zHSs.js → public-footer-DGjLTtNK.js} +30 -30
- package/dist/_chunks/{radiograph-panel.agent-0ngF2sGS.js → radiograph-panel.agent-CXah49KM.js} +2 -2
- package/dist/_chunks/{reviews-panel-CtrwZOUS.js → reviews-panel-B03auSpQ.js} +210 -207
- package/dist/_chunks/{rich-text-editor-C3nANKZt.js → rich-text-editor-BLS2cK-u.js} +2 -2
- package/dist/_chunks/{signature-request-opW0fQ5P.js → signature-request-DJwdPji_.js} +2 -2
- package/dist/_chunks/{signed-out-frame-Bs_LSPWe.js → signed-out-frame-CPow3aCZ.js} +2 -2
- package/dist/_chunks/{task-editor-CmXcj6cC.js → task-editor-jqRf2JP6.js} +2 -2
- package/dist/_chunks/{widget-picker-DNYIqRT1.js → widget-picker-U4JsEhQE.js} +2 -2
- package/dist/ag-grid.css +0 -10
- package/dist/agent-catalog.json +66 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/data-grid/data-grid.agent.d.ts +3 -0
- package/dist/components/data-grid/data-grid.d.ts +28 -0
- package/dist/components/data-grid/index.d.ts +4 -0
- package/dist/components/data-grid/index.js +6 -0
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/reviews-panel/reviews-panel.d.ts +7 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-legacy.css +17 -1
- package/dist/i18n/locales/ar.d.ts +1 -0
- package/dist/i18n/locales/ar.js +1 -0
- package/dist/i18n/locales/de.d.ts +1 -0
- package/dist/i18n/locales/de.js +1 -0
- package/dist/i18n/locales/el.d.ts +1 -0
- package/dist/i18n/locales/el.js +1 -0
- package/dist/i18n/locales/en.d.ts +1 -0
- package/dist/i18n/locales/en.js +1 -0
- package/dist/i18n/locales/es.d.ts +1 -0
- package/dist/i18n/locales/es.js +1 -0
- package/dist/i18n/locales/fr.d.ts +1 -0
- package/dist/i18n/locales/fr.js +1 -0
- package/dist/i18n/locales/hi.d.ts +1 -0
- package/dist/i18n/locales/hi.js +1 -0
- package/dist/i18n/locales/it.d.ts +1 -0
- package/dist/i18n/locales/it.js +1 -0
- package/dist/i18n/locales/ja.d.ts +1 -0
- package/dist/i18n/locales/ja.js +1 -0
- package/dist/i18n/locales/nl.d.ts +1 -0
- package/dist/i18n/locales/nl.js +1 -0
- package/dist/i18n/locales/pl.d.ts +1 -0
- package/dist/i18n/locales/pl.js +1 -0
- package/dist/i18n/locales/pt.d.ts +1 -0
- package/dist/i18n/locales/pt.js +1 -0
- package/dist/i18n/locales/ro.d.ts +1 -0
- package/dist/i18n/locales/ro.js +1 -0
- package/dist/i18n/locales/ru.d.ts +1 -0
- package/dist/i18n/locales/ru.js +1 -0
- package/dist/i18n/locales/sq.d.ts +1 -0
- package/dist/i18n/locales/sq.js +1 -0
- package/dist/i18n/locales/sv.d.ts +1 -0
- package/dist/i18n/locales/sv.js +1 -0
- package/dist/i18n/locales/tr.d.ts +1 -0
- package/dist/i18n/locales/tr.js +1 -0
- package/dist/i18n/locales/zh.d.ts +1 -0
- package/dist/i18n/locales/zh.js +1 -0
- package/dist/index.js +982 -979
- package/dist/locales/ar.json +1 -0
- package/dist/locales/de.json +1 -0
- package/dist/locales/el.json +1 -0
- package/dist/locales/en.json +1 -0
- package/dist/locales/es.json +1 -0
- package/dist/locales/fr.json +1 -0
- package/dist/locales/hi.json +1 -0
- package/dist/locales/it.json +1 -0
- package/dist/locales/ja.json +1 -0
- package/dist/locales/nl.json +1 -0
- package/dist/locales/pl.json +1 -0
- package/dist/locales/pt.json +1 -0
- package/dist/locales/ro.json +1 -0
- package/dist/locales/ru.json +1 -0
- package/dist/locales/sq.json +1 -0
- package/dist/locales/sv.json +1 -0
- package/dist/locales/tr.json +1 -0
- package/dist/locales/zh.json +1 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/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/tokens.css +1 -6
- package/package.json +6 -1
|
@@ -25,7 +25,7 @@ import { u as ca, f as da } from "./non-modal-tab-exit-j3CPOuE3.js";
|
|
|
25
25
|
import { V as Xr } from "./variables-menu-DQl8H4Gh.js";
|
|
26
26
|
import { a as Fn } from "./tooltip-uEBdD1-5.js";
|
|
27
27
|
import { P as ne } from "./popover-CN5IsOeS.js";
|
|
28
|
-
import { D as ie } from "./dialog-
|
|
28
|
+
import { D as ie } from "./dialog-BTjSQjdY.js";
|
|
29
29
|
import { C as jn } from "./color-picker-AcaWuKah.js";
|
|
30
30
|
import { S as nn } from "./state-backed-text-input-DVETOhSS.js";
|
|
31
31
|
import { C as ua } from "./checkbox-a7Sh-dXb.js";
|
|
@@ -4145,4 +4145,4 @@ export {
|
|
|
4145
4145
|
Ii as r,
|
|
4146
4146
|
Ts as w
|
|
4147
4147
|
};
|
|
4148
|
-
//# sourceMappingURL=rich-text-editor-
|
|
4148
|
+
//# sourceMappingURL=rich-text-editor-BLS2cK-u.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, jsxs as u, Fragment as ge } from "react/jsx-runtime";
|
|
2
2
|
import { useState as _, useRef as oe, useEffect as je, useId as B, forwardRef as Mi, useLayoutEffect as Qt } from "react";
|
|
3
3
|
import { useTranslation as Fn } from "react-i18next";
|
|
4
|
-
import { D as q } from "./dialog-
|
|
4
|
+
import { D as q } from "./dialog-BTjSQjdY.js";
|
|
5
5
|
import { Q as $i } from "./qr-code-DHEma21c.js";
|
|
6
6
|
import { S as zi } from "./spinner-CoflYlEx.js";
|
|
7
7
|
import { S as Ie } from "./skeleton-tTWJpvAq.js";
|
|
@@ -2787,4 +2787,4 @@ Or.displayName = "SignatureRequestModal";
|
|
|
2787
2787
|
export {
|
|
2788
2788
|
Or as S
|
|
2789
2789
|
};
|
|
2790
|
-
//# sourceMappingURL=signature-request-
|
|
2790
|
+
//# sourceMappingURL=signature-request-DJwdPji_.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as e, Fragment as v } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as y } from "react";
|
|
3
3
|
import { c as H } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { A as S } from "./app-frame-DUPEwu4E.js";
|
|
5
|
-
import { P as x } from "./public-footer-
|
|
5
|
+
import { P as x } from "./public-footer-DGjLTtNK.js";
|
|
6
6
|
import { useTranslation as b } from "react-i18next";
|
|
7
7
|
import { B as u } from "./button-DohK_Ak_.js";
|
|
8
8
|
import { H as N, g as O, f as F, a as z, d as B } from "./header-l_B8MV0g.js";
|
|
@@ -168,4 +168,4 @@ export {
|
|
|
168
168
|
V as S,
|
|
169
169
|
w as a
|
|
170
170
|
};
|
|
171
|
-
//# sourceMappingURL=signed-out-frame-
|
|
171
|
+
//# sourceMappingURL=signed-out-frame-CPow3aCZ.js.map
|
|
@@ -6,7 +6,7 @@ import { A as M } from "./alert-C4WKViaS.js";
|
|
|
6
6
|
import { B as Me } from "./button-DohK_Ak_.js";
|
|
7
7
|
import { I as We } from "./icon-button-S8_weU3g.js";
|
|
8
8
|
import { C as Qe } from "./combobox-duuDRI1t.js";
|
|
9
|
-
import { D as ce } from "./dialog-
|
|
9
|
+
import { D as ce } from "./dialog-BTjSQjdY.js";
|
|
10
10
|
import { D as Bt } from "./date-picker-CdhXlgVI.js";
|
|
11
11
|
import { F as H } from "./form-field-CyHfOVKF.js";
|
|
12
12
|
import { I as Ft } from "./icon-button-group-mXvYDaba.js";
|
|
@@ -1239,4 +1239,4 @@ export {
|
|
|
1239
1239
|
vn as T,
|
|
1240
1240
|
ln as t
|
|
1241
1241
|
};
|
|
1242
|
-
//# sourceMappingURL=task-editor-
|
|
1242
|
+
//# sourceMappingURL=task-editor-jqRf2JP6.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as _, useState as p, useEffect as N, useMemo as v, useCallback as j, useImperativeHandle as B } from "react";
|
|
3
3
|
import { c as C } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as H } from "react-i18next";
|
|
5
|
-
import { D as u } from "./dialog-
|
|
5
|
+
import { D as u } from "./dialog-BTjSQjdY.js";
|
|
6
6
|
import { S as A } from "./state-backed-text-input-DVETOhSS.js";
|
|
7
7
|
import { B as I } from "./badge-BUk4RjTS.js";
|
|
8
8
|
import { u as D } from "./registry-DvAUVLHh.js";
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
E as W,
|
|
214
214
|
K as w
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=widget-picker-
|
|
216
|
+
//# sourceMappingURL=widget-picker-U4JsEhQE.js.map
|
package/dist/ag-grid.css
CHANGED
|
@@ -2728,16 +2728,6 @@ button.ag-side-button-button:focus{box-shadow:none}
|
|
|
2728
2728
|
.ag-theme-alfadocs .ag-row-selected{color:HighlightText}
|
|
2729
2729
|
.ag-theme-alfadocs .data-table-row-success,.ag-theme-alfadocs .data-table-row-warning,.ag-theme-alfadocs .data-table-row-error,.ag-theme-alfadocs .data-table-row-archived,.ag-theme-alfadocs .ag-row.ds-data-table-expanded-row{background-color:Canvas;color:CanvasText}}
|
|
2730
2730
|
|
|
2731
|
-
:root,.theme-light{--data-grid-border-mix: 50%;--data-grid-eyebrow-size: var(--font-size-xs);--data-grid-group-size: var(--font-size-sm);--data-grid-selected-mix: 10%;--data-grid-eyebrow-ink: var(--foreground);--data-grid-header-surface: var(--muted)}
|
|
2732
|
-
|
|
2733
|
-
.theme-dark{--data-grid-eyebrow-ink: var(--muted-foreground);--data-grid-header-surface: color-mix( in srgb, var(--foreground) 6%, transparent )}
|
|
2734
|
-
|
|
2735
|
-
.theme-accessible{--data-grid-border-mix: 35%;--data-grid-eyebrow-size: var(--font-size-sm);--data-grid-group-size: var(--font-size-base);--data-grid-eyebrow-ink: var(--muted-foreground)}
|
|
2736
|
-
|
|
2737
|
-
.theme-light.theme-accessible{--data-grid-header-surface: color-mix( in srgb, var(--foreground) 4%, transparent )}
|
|
2738
|
-
|
|
2739
|
-
.theme-dark.theme-accessible{--data-grid-selected-mix: 18%}
|
|
2740
|
-
|
|
2741
2731
|
.ag-theme-alfadocs .sr-only-th .ag-header-cell-text{position:absolute!important;inline-size:1px!important;block-size:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
|
|
2742
2732
|
|
|
2743
2733
|
.ag-theme-alfadocs .ag-body-horizontal-scroll-viewport,.ag-theme-alfadocs .ag-body-vertical-scroll-viewport{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.
|
|
3
|
+
"packageVersion": "1.111.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -3471,6 +3471,20 @@
|
|
|
3471
3471
|
}
|
|
3472
3472
|
}
|
|
3473
3473
|
},
|
|
3474
|
+
{
|
|
3475
|
+
"kind": "component",
|
|
3476
|
+
"id": "data-grid",
|
|
3477
|
+
"capabilities": [],
|
|
3478
|
+
"state": [],
|
|
3479
|
+
"actions": [],
|
|
3480
|
+
"domHooks": {
|
|
3481
|
+
"root": {
|
|
3482
|
+
"attr": "data-component",
|
|
3483
|
+
"value": "data-grid",
|
|
3484
|
+
"description": "Marks the element as a kit DataGrid."
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
3487
|
+
},
|
|
3474
3488
|
{
|
|
3475
3489
|
"kind": "component",
|
|
3476
3490
|
"id": "data-table",
|
|
@@ -19583,6 +19597,57 @@
|
|
|
19583
19597
|
}
|
|
19584
19598
|
]
|
|
19585
19599
|
},
|
|
19600
|
+
{
|
|
19601
|
+
"kind": "pattern",
|
|
19602
|
+
"id": "care-plan-margin",
|
|
19603
|
+
"composes": [
|
|
19604
|
+
{
|
|
19605
|
+
"component": "dialog",
|
|
19606
|
+
"as": "marginDialog"
|
|
19607
|
+
},
|
|
19608
|
+
{
|
|
19609
|
+
"component": "form-field",
|
|
19610
|
+
"as": "discountField"
|
|
19611
|
+
},
|
|
19612
|
+
{
|
|
19613
|
+
"component": "number-input",
|
|
19614
|
+
"as": "discount"
|
|
19615
|
+
},
|
|
19616
|
+
{
|
|
19617
|
+
"component": "data-grid",
|
|
19618
|
+
"as": "marginGrid"
|
|
19619
|
+
},
|
|
19620
|
+
{
|
|
19621
|
+
"component": "transaction-chip",
|
|
19622
|
+
"as": "amount"
|
|
19623
|
+
},
|
|
19624
|
+
{
|
|
19625
|
+
"component": "info-tip",
|
|
19626
|
+
"as": "columnHelp"
|
|
19627
|
+
},
|
|
19628
|
+
{
|
|
19629
|
+
"component": "money",
|
|
19630
|
+
"as": "hourCost"
|
|
19631
|
+
},
|
|
19632
|
+
{
|
|
19633
|
+
"component": "card",
|
|
19634
|
+
"as": "hoursCard"
|
|
19635
|
+
},
|
|
19636
|
+
{
|
|
19637
|
+
"component": "form-field",
|
|
19638
|
+
"as": "hoursField"
|
|
19639
|
+
},
|
|
19640
|
+
{
|
|
19641
|
+
"component": "number-input",
|
|
19642
|
+
"as": "yearlyHours"
|
|
19643
|
+
},
|
|
19644
|
+
{
|
|
19645
|
+
"component": "button",
|
|
19646
|
+
"as": "saveHours"
|
|
19647
|
+
}
|
|
19648
|
+
],
|
|
19649
|
+
"workflows": []
|
|
19650
|
+
},
|
|
19586
19651
|
{
|
|
19587
19652
|
"kind": "pattern",
|
|
19588
19653
|
"id": "care-plans",
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
export interface DataGridColumn<TData> {
|
|
3
|
+
/** Unique within the grid. */
|
|
4
|
+
id: string;
|
|
5
|
+
header: ReactNode;
|
|
6
|
+
/** The column's plain name, when `header` holds more than text, such as an
|
|
7
|
+
* InfoTip. Without it, the tip's name joins every cell's announcement. */
|
|
8
|
+
headerLabel?: string;
|
|
9
|
+
/** What this column shows for a row. */
|
|
10
|
+
cell: (row: TData) => ReactNode;
|
|
11
|
+
/** This column's cell in the totals row. The row appears when any column
|
|
12
|
+
* has a footer. */
|
|
13
|
+
footer?: ReactNode;
|
|
14
|
+
/** Amounts go `end`, so a column lines up on the decimal. */
|
|
15
|
+
align?: 'start' | 'end';
|
|
16
|
+
/** Keeps the column in view while the others scroll sideways. */
|
|
17
|
+
pin?: 'start' | 'end';
|
|
18
|
+
}
|
|
19
|
+
export interface DataGridProps<TData> extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'dir'> {
|
|
20
|
+
columns: DataGridColumn<TData>[];
|
|
21
|
+
rows: TData[];
|
|
22
|
+
getRowId: (row: TData) => string;
|
|
23
|
+
/** Names the table for screen readers. Pass a translated string. */
|
|
24
|
+
caption: string;
|
|
25
|
+
}
|
|
26
|
+
/** The first column is the row header, so name each row with it. */
|
|
27
|
+
export declare function DataGrid<TData extends object>({ columns, rows, getRowId, caption, className, ...rest }: DataGridProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=data-grid.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { type ComponentPropsWithoutRef, type HTMLAttributes, type ReactNode } fr
|
|
|
2
2
|
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
3
3
|
import { type VariantProps } from 'class-variance-authority';
|
|
4
4
|
declare const contentVariants: (props?: ({
|
|
5
|
-
size?: "sm" | "md" | "lg" | "fullscreen" | null | undefined;
|
|
5
|
+
size?: "sm" | "md" | "lg" | "xl" | "fullscreen" | null | undefined;
|
|
6
6
|
scroll?: "body" | "surface" | null | undefined;
|
|
7
7
|
flush?: boolean | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -16,7 +16,7 @@ export interface DialogRootProps extends ComponentPropsWithoutRef<typeof RadixDi
|
|
|
16
16
|
id?: string;
|
|
17
17
|
}
|
|
18
18
|
export interface DialogContentProps extends Omit<ComponentPropsWithoutRef<typeof RadixDialog.Content>, 'role'>, VariantProps<typeof contentVariants> {
|
|
19
|
-
size?: 'sm' | 'md' | 'lg' | 'fullscreen';
|
|
19
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | 'fullscreen';
|
|
20
20
|
variant?: 'default' | 'alert' | 'confirmation';
|
|
21
21
|
/**
|
|
22
22
|
* Hide the top-right dismiss "X". The default is **variant-aware**: the X is
|
|
@@ -76,6 +76,7 @@ export * from './carousel';
|
|
|
76
76
|
export * from './connection-status';
|
|
77
77
|
export * from './contact-card';
|
|
78
78
|
export * from './counter';
|
|
79
|
+
export * from './data-grid';
|
|
79
80
|
export * from './data-table';
|
|
80
81
|
export * from './data-table-tabs';
|
|
81
82
|
export * from './clinical-note-card';
|
|
@@ -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-DGjLTtNK.js";
|
|
2
2
|
import { p as _ } from "../../_chunks/public-footer.agent-CRZCrq3_.js";
|
|
3
3
|
export {
|
|
4
4
|
s as DEFAULT_MARKETING_BASE_URL,
|
|
@@ -82,6 +82,13 @@ export interface ReviewsPanelProps extends Omit<ComponentPropsWithoutRef<'sectio
|
|
|
82
82
|
* width or inside a narrow column. Defaults to false.
|
|
83
83
|
*/
|
|
84
84
|
hideFilter?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* @default true
|
|
87
|
+
* Show the review count on each star filter chip. Pass `false` when the
|
|
88
|
+
* per-star counts are not known (no server histogram): the chips stay
|
|
89
|
+
* usable but show no number, and their accessible names drop the count.
|
|
90
|
+
*/
|
|
91
|
+
showStarCounts?: boolean;
|
|
85
92
|
/**
|
|
86
93
|
* @default 'flat'
|
|
87
94
|
* `'elevated'` wraps the panel in the equivalent of `Card variant="elevated"`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-
|
|
1
|
+
import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-BLS2cK-u.js";
|
|
2
2
|
import { k as s } from "../../_chunks/kit-extensions-BOnTM4Yf.js";
|
|
3
3
|
export {
|
|
4
4
|
i as RichTextEditor,
|