@alfadocs/ui-kit 1.103.0 → 1.104.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.
Files changed (31) hide show
  1. package/dist/_chunks/{calendar-appointment-editor-dialog-DL6V6xfj.js → calendar-appointment-editor-dialog-DqyATSh3.js} +3 -3
  2. package/dist/_chunks/{care-plan-header-F4l0st2X.js → care-plan-header-k8FslxsU.js} +2 -2
  3. package/dist/_chunks/{contact-profile-card-LXbmhx48.js → contact-profile-card-uExd3pKC.js} +13 -13
  4. package/dist/_chunks/{key-value-pair-Cg7gjL7J.js → key-value-pair-DOTl68_U.js} +63 -63
  5. package/dist/_chunks/{patient-summary-card-B4Ijw_ig.js → patient-summary-card-DB7fv-Tr.js} +2 -2
  6. package/dist/_chunks/{payment-request-card-CrXhB5H-.js → payment-request-card-IR83TJax.js} +2 -2
  7. package/dist/_chunks/{periodontal-chart-JmsaYYb7.js → periodontal-chart-DqdUEFxK.js} +2 -2
  8. package/dist/_chunks/{periodontal-chart-card-TxZBO6kb.js → periodontal-chart-card-CCkzStlm.js} +2 -2
  9. package/dist/_chunks/stat-group-DSNnzkbW.js +107 -0
  10. package/dist/_chunks/{use-appointment-details-read-DawTb1SQ.js → use-appointment-details-read-CmqGGYCy.js} +2 -2
  11. package/dist/_chunks/{workflow-map-D_pyYK1B.js → workflow-map-B1jf6QaB.js} +2 -2
  12. package/dist/agent-catalog.json +1 -1
  13. package/dist/components/appointment-details-panel/index.js +1 -1
  14. package/dist/components/care-plan-header/index.js +1 -1
  15. package/dist/components/contact-profile-card/index.js +1 -1
  16. package/dist/components/index.d.ts +1 -0
  17. package/dist/components/key-value-pair/index.js +1 -1
  18. package/dist/components/patient-summary-card/index.js +1 -1
  19. package/dist/components/payment-card/index.js +1 -1
  20. package/dist/components/periodontal-chart/index.js +1 -1
  21. package/dist/components/periodontal-chart-card/index.js +1 -1
  22. package/dist/components/stat-group/index.d.ts +3 -0
  23. package/dist/components/stat-group/index.js +8 -0
  24. package/dist/components/stat-group/stat-group.d.ts +23 -0
  25. package/dist/components/workflow/index.js +1 -1
  26. package/dist/core.css +1 -1
  27. package/dist/host-compat.css +4 -1
  28. package/dist/index.js +880 -875
  29. package/dist/patterns/calendar/index.js +1 -1
  30. package/dist/tokens.css +1 -1
  31. package/package.json +5 -1
@@ -0,0 +1,23 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ export declare const STAT_GROUP_MAX_COLUMNS = 6;
3
+ export type StatGroupColumns = 1 | 2 | 3 | 4 | 5 | 6;
4
+ /**
5
+ * Columns for `count` tiles when `available` columns fit: one row if they
6
+ * all fit, otherwise balanced rows, preferring a split with no lone tile.
7
+ */
8
+ export declare function statGroupColumns(count: number, available: number): StatGroupColumns;
9
+ /** True when the last row would hold a single tile at this column count. */
10
+ export declare function statGroupHasOrphan(count: number, cols: number): boolean;
11
+ export interface StatGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
12
+ /** The tiles, usually `Stat`. Each child becomes one grid cell. */
13
+ children: ReactNode;
14
+ /**
15
+ * Most columns allowed, 1 to 6. Default 6. Lower it to keep tiles wider,
16
+ * for example 4 on a dense dashboard.
17
+ */
18
+ maxColumns?: StatGroupColumns;
19
+ /** Accessible name for the group of figures. */
20
+ 'aria-label'?: string;
21
+ }
22
+ export declare const StatGroup: import("react").ForwardRefExoticComponent<StatGroupProps & import("react").RefAttributes<HTMLDivElement>>;
23
+ //# sourceMappingURL=stat-group.d.ts.map
@@ -1,4 +1,4 @@
1
- import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-D_pyYK1B.js";
1
+ import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-B1jf6QaB.js";
2
2
  export {
3
3
  r as CORE_PATIENT_FIELDS,
4
4
  e as WorkflowCard,