@alfadocs/ui-kit 0.19.0 → 0.20.1

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 (84) hide show
  1. package/dist/_chunks/_commonjsHelpers-DaMA6jEr.js +9 -0
  2. package/dist/_chunks/{ai-prompt-input-B-w5Rx3V.js → ai-prompt-input-B5MdixzR.js} +2 -2
  3. package/dist/_chunks/{alert-DBnawbmf.js → alert-ywPR59NE.js} +14 -1
  4. package/dist/_chunks/{leo-sidebar-DIsiTju3.js → alia-sidebar-Bof6TlFx.js} +211 -211
  5. package/dist/_chunks/{audio-recorder-DNkQLW1G.js → audio-recorder-D4xM3H5i.js} +2 -2
  6. package/dist/_chunks/{chat-message-g3lxpXM_.js → chat-message-ChOnwqf_.js} +5 -5
  7. package/dist/_chunks/editable-currency-cell-renderer-Dn3-ANF5.js +1932 -0
  8. package/dist/_chunks/{email-input-DKN5JERd.js → email-input-DvJ_kPKL.js} +2 -2
  9. package/dist/_chunks/exceljs.min-DUJ-5CGx.js +23045 -0
  10. package/dist/_chunks/file-spreadsheet-zUkY8rJ2.js +25 -0
  11. package/dist/_chunks/{file-upload-nMh-1jDD.js → file-upload-DxAQprcU.js} +103 -122
  12. package/dist/_chunks/{freemium-paywall-DXc7XlGE.js → freemium-paywall-CM6V1zNf.js} +2 -2
  13. package/dist/_chunks/grip-vertical-Dlg0_k5C.js +19 -0
  14. package/dist/_chunks/html2canvas.esm-dgT_1dIT.js +4872 -0
  15. package/dist/_chunks/{index-CFoBa86t.js → index-BcMWc8W2.js} +2 -2
  16. package/dist/_chunks/index.es-B8zMZ1wV.js +6694 -0
  17. package/dist/_chunks/jspdf.es.min-DaapWjR1.js +10007 -0
  18. package/dist/_chunks/jspdf.plugin.autotable-CSiDNyPn.js +1088 -0
  19. package/dist/_chunks/{map-view-DVP-Kp9l.js → map-view-CcwycFQX.js} +2 -2
  20. package/dist/_chunks/{patient-shell-Dr64lBp_.js → patient-shell-DavGODt9.js} +2 -2
  21. package/dist/_chunks/{payment-form-BjkuQeqR.js → payment-form-F7uh0Rqr.js} +2 -2
  22. package/dist/_chunks/{pdf-viewer-BG_nsFT5.js → pdf-viewer-CuYaVR1I.js} +2 -2
  23. package/dist/_chunks/{purify.es-DpIUMBYC.js → purify.es-Cm3utOpm.js} +2 -2
  24. package/dist/_chunks/{rich-text-editor-C7TCIlQO.js → rich-text-editor-J-wAz9eN.js} +22 -22
  25. package/dist/_chunks/{sidebar-BqzlRBvC.js → sidebar-DkyC6GvS.js} +167 -180
  26. package/dist/_chunks/{suggestion-chip-C4Jz0LrM.js → suggestion-chip-C4kxWUIs.js} +2 -2
  27. package/dist/_chunks/{warning-stack-CDH9TudY.js → warning-stack-bDicCvxs.js} +2 -2
  28. package/dist/_chunks/{workflow-map-BeKe23uw.js → workflow-map-BkLglexk.js} +2 -2
  29. package/dist/agent-catalog.json +1 -1
  30. package/dist/components/ai-prompt-input/index.js +1 -1
  31. package/dist/components/alert/index.js +1 -1
  32. package/dist/components/app-frame/app-frame.d.ts +1 -1
  33. package/dist/components/audio-recorder/index.js +1 -1
  34. package/dist/components/chat-container/chat-container.d.ts +1 -1
  35. package/dist/components/chat-message/chat-message.d.ts +1 -1
  36. package/dist/components/chat-message/index.js +1 -1
  37. package/dist/components/data-table/cell-renderers/balance-cell-renderer.d.ts +37 -0
  38. package/dist/components/data-table/cell-renderers/editable-currency-cell-renderer.d.ts +23 -0
  39. package/dist/components/data-table/cell-renderers/editable-text-cell-renderer.d.ts +11 -0
  40. package/dist/components/data-table/cell-renderers/image-cell-renderer.d.ts +19 -0
  41. package/dist/components/data-table/cell-renderers/toggle-cell-renderer.d.ts +15 -3
  42. package/dist/components/data-table/data-table.d.ts +30 -3
  43. package/dist/components/data-table/filters/date-range-filter.d.ts +30 -0
  44. package/dist/components/data-table/filters/select-filter.d.ts +64 -0
  45. package/dist/components/data-table/filters/typeahead-filter.d.ts +49 -0
  46. package/dist/components/data-table/index.d.ts +13 -2
  47. package/dist/components/data-table/index.js +24 -14
  48. package/dist/components/data-table/toolbar.d.ts +80 -1
  49. package/dist/components/email-input/index.js +1 -1
  50. package/dist/components/file-upload/index.js +1 -1
  51. package/dist/components/freemium-paywall/index.js +1 -1
  52. package/dist/components/index.d.ts +1 -1
  53. package/dist/components/map-view/index.js +1 -1
  54. package/dist/components/payment-form/index.js +1 -1
  55. package/dist/components/pdf-viewer/index.js +1 -1
  56. package/dist/components/rich-text-editor/index.js +1 -1
  57. package/dist/components/sidebar/index.js +1 -1
  58. package/dist/components/suggestion-chip/index.js +1 -1
  59. package/dist/components/warning-stack/index.js +1 -1
  60. package/dist/components/workflow/index.js +1 -1
  61. package/dist/i18n/config.js +81 -13
  62. package/dist/i18n/resources.d.ts +77 -9
  63. package/dist/index.js +421 -411
  64. package/dist/locales/de.json +13 -3
  65. package/dist/locales/en.json +32 -3
  66. package/dist/locales/it.json +32 -3
  67. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts +3 -0
  68. package/dist/patterns/alia-assistant/alia-embedded.d.ts +13 -0
  69. package/dist/patterns/{leo-assistant/leo-popout.d.ts → alia-assistant/alia-popout.d.ts} +4 -4
  70. package/dist/patterns/{leo-assistant/leo-sidebar.d.ts → alia-assistant/alia-sidebar.d.ts} +10 -10
  71. package/dist/patterns/{leo-assistant/leo-types.d.ts → alia-assistant/alia-types.d.ts} +23 -23
  72. package/dist/patterns/alia-assistant/index.d.ts +20 -0
  73. package/dist/patterns/alia-assistant/index.js +8 -0
  74. package/dist/patterns/patient-shell/index.js +1 -1
  75. package/dist/patterns/patient-shell/patient-shell.d.ts +1 -1
  76. package/dist/safe-html/index.js +6 -6
  77. package/dist/tokens.css +2 -2
  78. package/package.json +7 -4
  79. package/dist/_chunks/_commonjsHelpers-C6fGbg64.js +0 -7
  80. package/dist/_chunks/balance-cell-renderer-DJB6WDPe.js +0 -1015
  81. package/dist/patterns/leo-assistant/index.d.ts +0 -20
  82. package/dist/patterns/leo-assistant/index.js +0 -8
  83. package/dist/patterns/leo-assistant/leo-chat-surface.d.ts +0 -3
  84. package/dist/patterns/leo-assistant/leo-embedded.d.ts +0 -13
@@ -366,6 +366,16 @@
366
366
  "resetFilter": "Zurücksetzen",
367
367
  "noRowsToShow": "Keine Zeilen anzuzeigen",
368
368
  "selectAll": "Alle auswählen"
369
+ },
370
+ "selectFilter": {
371
+ "all": "Alle",
372
+ "selectedCount": "{{count}} ausgewählt",
373
+ "clear": "Zurücksetzen",
374
+ "apply": "Anwenden"
375
+ },
376
+ "typeaheadFilter": {
377
+ "placeholder": "Suchen …",
378
+ "clear": "Zurücksetzen"
369
379
  }
370
380
  },
371
381
  "emptyState": {
@@ -568,8 +578,8 @@
568
578
  }
569
579
  }
570
580
  },
571
- "leo": {
572
- "name": "Leo",
581
+ "alia": {
582
+ "name": "Alia",
573
583
  "greeting": "Hallo, wie kann ich Ihnen helfen?",
574
584
  "subtitle": "Ihr persönlicher Assistent für die Datenanalyse",
575
585
  "newConversation": "Neue Unterhaltung",
@@ -583,7 +593,7 @@
583
593
  "exampleQuestions": "Fragen Sie zum Beispiel",
584
594
  "upgrade": "Upgrade",
585
595
  "headerLabel": "Assistenten-Kopfzeile",
586
- "panelLabel": "Leo-Assistenten-Bereich"
596
+ "panelLabel": "Alia-Assistenten-Bereich"
587
597
  },
588
598
  "chat": {
589
599
  "typing": "Assistent schreibt",
@@ -337,6 +337,25 @@
337
337
  "print": "Print",
338
338
  "columnToggle": "Columns",
339
339
  "bulkAction": "{{count}} selected",
340
+ "refresh": "Refresh",
341
+ "export": {
342
+ "menu": "Export",
343
+ "csv": "Export CSV",
344
+ "xlsx": "Export Excel",
345
+ "pdf": "Export PDF",
346
+ "custom": "Export"
347
+ },
348
+ "quickSearch": {
349
+ "placeholder": "Search…",
350
+ "label": "Quick search"
351
+ },
352
+ "filterChips": {
353
+ "label": "Active filters",
354
+ "clearAll": "Clear all"
355
+ },
356
+ "facetFilter": {
357
+ "label": "Filter"
358
+ },
340
359
  "expandRow": "Expand row",
341
360
  "collapseRow": "Collapse row",
342
361
  "totalRow": "Total",
@@ -373,6 +392,16 @@
373
392
  "resetFilter": "Reset",
374
393
  "noRowsToShow": "No rows to show",
375
394
  "selectAll": "Select all"
395
+ },
396
+ "selectFilter": {
397
+ "all": "All",
398
+ "selectedCount": "{{count}} selected",
399
+ "clear": "Clear",
400
+ "apply": "Apply"
401
+ },
402
+ "typeaheadFilter": {
403
+ "placeholder": "Search…",
404
+ "clear": "Clear"
376
405
  }
377
406
  },
378
407
  "emptyState": {
@@ -599,8 +628,8 @@
599
628
  }
600
629
  }
601
630
  },
602
- "leo": {
603
- "name": "Leo",
631
+ "alia": {
632
+ "name": "Alia",
604
633
  "greeting": "Hi, how can I help you?",
605
634
  "subtitle": "Your personal assistant for data analysis",
606
635
  "newConversation": "New conversation",
@@ -614,7 +643,7 @@
614
643
  "exampleQuestions": "Try asking",
615
644
  "upgrade": "Upgrade",
616
645
  "headerLabel": "Assistant header",
617
- "panelLabel": "Leo assistant panel"
646
+ "panelLabel": "Alia assistant panel"
618
647
  },
619
648
  "chat": {
620
649
  "typing": "Assistant is typing",
@@ -330,6 +330,25 @@
330
330
  "print": "Stampa",
331
331
  "columnToggle": "Colonne",
332
332
  "bulkAction": "{{count}} selezionati",
333
+ "refresh": "Aggiorna",
334
+ "export": {
335
+ "menu": "Esporta",
336
+ "csv": "Esporta CSV",
337
+ "xlsx": "Esporta Excel",
338
+ "pdf": "Esporta PDF",
339
+ "custom": "Esporta"
340
+ },
341
+ "quickSearch": {
342
+ "placeholder": "Cerca…",
343
+ "label": "Ricerca rapida"
344
+ },
345
+ "filterChips": {
346
+ "label": "Filtri attivi",
347
+ "clearAll": "Rimuovi tutti"
348
+ },
349
+ "facetFilter": {
350
+ "label": "Filtro"
351
+ },
333
352
  "expandRow": "Espandi riga",
334
353
  "collapseRow": "Comprimi riga",
335
354
  "totalRow": "Totale",
@@ -366,6 +385,16 @@
366
385
  "resetFilter": "Reimposta",
367
386
  "noRowsToShow": "Nessuna riga da mostrare",
368
387
  "selectAll": "Seleziona tutto"
388
+ },
389
+ "selectFilter": {
390
+ "all": "Tutti",
391
+ "selectedCount": "{{count}} selezionati",
392
+ "clear": "Rimuovi",
393
+ "apply": "Applica"
394
+ },
395
+ "typeaheadFilter": {
396
+ "placeholder": "Cerca…",
397
+ "clear": "Rimuovi"
369
398
  }
370
399
  },
371
400
  "emptyState": {
@@ -568,8 +597,8 @@
568
597
  }
569
598
  }
570
599
  },
571
- "leo": {
572
- "name": "Leo",
600
+ "alia": {
601
+ "name": "Alia",
573
602
  "greeting": "Ciao, come posso aiutarti?",
574
603
  "subtitle": "Il tuo assistente personale per l'analisi dei dati",
575
604
  "newConversation": "Nuova conversazione",
@@ -583,7 +612,7 @@
583
612
  "exampleQuestions": "Prova a chiedere",
584
613
  "upgrade": "Passa al piano superiore",
585
614
  "headerLabel": "Intestazione assistente",
586
- "panelLabel": "Pannello assistente Leo"
615
+ "panelLabel": "Pannello assistente Alia"
587
616
  },
588
617
  "chat": {
589
618
  "typing": "L'assistente sta scrivendo",
@@ -0,0 +1,3 @@
1
+ import type { AliaChatSurfaceProps } from './alia-types';
2
+ export declare const AliaChatSurface: import("react").ForwardRefExoticComponent<AliaChatSurfaceProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=alia-chat-surface.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Alia Assistant — embedded (full-page) mode. Fills the parent container
3
+ * (typically `<AppFrame padded={false}>`'s `<main>` slot) with a
4
+ * ChatGPT-style centred conversation column.
5
+ */
6
+ import { type ReactNode } from 'react';
7
+ import type { AliaChatSurfaceProps } from './alia-types';
8
+ export interface AliaEmbeddedProps extends AliaChatSurfaceProps {
9
+ /** Optional slot rendered above the chat surface (e.g. a breadcrumb). */
10
+ headerSlot?: ReactNode;
11
+ }
12
+ export declare const AliaEmbedded: import("react").ForwardRefExoticComponent<AliaEmbeddedProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ //# sourceMappingURL=alia-embedded.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { LeoChatSurfaceProps } from './leo-types';
2
- export interface LeoPopoutProps extends LeoChatSurfaceProps {
1
+ import type { AliaChatSurfaceProps } from './alia-types';
2
+ export interface AliaPopoutProps extends AliaChatSurfaceProps {
3
3
  /** Whether the popout panel is open. */
4
4
  open: boolean;
5
5
  /** Fires when the panel should open or close. */
@@ -9,5 +9,5 @@ export interface LeoPopoutProps extends LeoChatSurfaceProps {
9
9
  /** Optional unseen message count badge on the FAB. */
10
10
  unseenCount?: number;
11
11
  }
12
- export declare const LeoPopout: import("react").ForwardRefExoticComponent<LeoPopoutProps & import("react").RefAttributes<HTMLDivElement>>;
13
- //# sourceMappingURL=leo-popout.d.ts.map
12
+ export declare const AliaPopout: import("react").ForwardRefExoticComponent<AliaPopoutProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ //# sourceMappingURL=alia-popout.d.ts.map
@@ -1,15 +1,15 @@
1
1
  /**
2
- * Leo Assistant — sidebar (docked panel) mode.
2
+ * Alia Assistant — sidebar (docked panel) mode.
3
3
  *
4
4
  * A persistent, non-modal panel that docks to the `inline-end` edge of
5
- * the layout. Unlike `LeoPopout` it does NOT trap focus or overlay
6
- * content — users can chat with Leo while continuing to interact with
5
+ * the layout. Unlike `AliaPopout` it does NOT trap focus or overlay
6
+ * content — users can chat with Alia while continuing to interact with
7
7
  * the main surface. Collapses to an icon rail when `open={false}`.
8
8
  *
9
- * This is the intended **default desktop mode** for Leo once MCP tool
10
- * access and settings land: users will want Leo visible while they
9
+ * This is the intended **default desktop mode** for Alia once MCP tool
10
+ * access and settings land: users will want Alia visible while they
11
11
  * configure servers, inspect tool runs, and reference data. On mobile
12
- * viewports the consuming app should flip to `LeoPopout` because a
12
+ * viewports the consuming app should flip to `AliaPopout` because a
13
13
  * 22rem sidebar would consume the entire screen.
14
14
  *
15
15
  * Unlike the popout (Radix Dialog) and embedded (full-page main) modes,
@@ -17,8 +17,8 @@
17
17
  * layout flow and consumes inline space.
18
18
  */
19
19
  import { type ReactNode } from 'react';
20
- import type { LeoChatSurfaceProps } from './leo-types';
21
- export interface LeoSidebarProps extends LeoChatSurfaceProps {
20
+ import type { AliaChatSurfaceProps } from './alia-types';
21
+ export interface AliaSidebarProps extends AliaChatSurfaceProps {
22
22
  /** Whether the sidebar is expanded. When false, a narrow icon rail
23
23
  * stays visible and clicking it fires `onOpenChange(true)`. */
24
24
  open: boolean;
@@ -34,5 +34,5 @@ export interface LeoSidebarProps extends LeoChatSurfaceProps {
34
34
  * list or settings accordion). Future hook for the MCP panel. */
35
35
  footerSlot?: ReactNode;
36
36
  }
37
- export declare const LeoSidebar: import("react").ForwardRefExoticComponent<LeoSidebarProps & import("react").RefAttributes<HTMLElement>>;
38
- //# sourceMappingURL=leo-sidebar.d.ts.map
37
+ export declare const AliaSidebar: import("react").ForwardRefExoticComponent<AliaSidebarProps & import("react").RefAttributes<HTMLElement>>;
38
+ //# sourceMappingURL=alia-sidebar.d.ts.map
@@ -1,14 +1,14 @@
1
1
  /**
2
- * Leo Assistant — shared types.
2
+ * Alia Assistant — shared types.
3
3
  *
4
4
  * These types describe the message, suggestion, and surface props that
5
- * the consuming app flows into the Leo pattern. The pattern itself owns
5
+ * the consuming app flows into the Alia pattern. The pattern itself owns
6
6
  * NO state or business logic — it is a purely presentational composition
7
7
  * of existing DS primitives (ChatContainer, ChatMessage, StreamingText,
8
8
  * SuggestionChip, TypingIndicator, Progress, …).
9
9
  */
10
10
  import type { ReactNode } from 'react';
11
- export interface LeoMessage {
11
+ export interface AliaMessage {
12
12
  id: string;
13
13
  role: 'user' | 'assistant' | 'system';
14
14
  content: string;
@@ -17,18 +17,18 @@ export interface LeoMessage {
17
17
  /** When true, content is still being streamed — renders via StreamingText. */
18
18
  streaming?: boolean;
19
19
  }
20
- export interface LeoSuggestion {
20
+ export interface AliaSuggestion {
21
21
  id: string;
22
22
  label: string;
23
23
  /** Optional icon (e.g. from lucide-react). */
24
24
  icon?: ReactNode;
25
25
  }
26
- export interface LeoAssistantAvatar {
26
+ export interface AliaAssistantAvatar {
27
27
  name?: string;
28
28
  src?: string;
29
29
  }
30
30
  /**
31
- * Current-user avatar for user-role messages in the Leo surface. Consumers
31
+ * Current-user avatar for user-role messages in the Alia surface. Consumers
32
32
  * plug this through from their auth/profile store so the conversation
33
33
  * shows the real user's initials or photo instead of the default generic
34
34
  * person tile.
@@ -40,62 +40,62 @@ export interface LeoAssistantAvatar {
40
40
  * `<SidebarProfilePill>`-style chip). When set, replaces
41
41
  * `<Avatar>` entirely.
42
42
  */
43
- export interface LeoUserAvatar {
43
+ export interface AliaUserAvatar {
44
44
  name?: string;
45
45
  src?: string;
46
46
  slot?: import('react').ReactNode;
47
47
  }
48
- export interface LeoUsage {
48
+ export interface AliaUsage {
49
49
  current: number;
50
50
  limit: number;
51
51
  /**
52
52
  * Optional override for the "X of Y messages used" label.
53
- * Defaults to `t('leo.usageLabel', { current, limit })`.
53
+ * Defaults to `t('alia.usageLabel', { current, limit })`.
54
54
  */
55
55
  label?: string;
56
56
  }
57
- export interface LeoChatSurfaceProps {
57
+ export interface AliaChatSurfaceProps {
58
58
  /** Current message history. */
59
- messages: LeoMessage[];
59
+ messages: AliaMessage[];
60
60
  /** Fires when the user submits a message through the composer. */
61
61
  onSend: (text: string) => void;
62
62
  /** Fires when the user clicks retry on a failed message. */
63
63
  onRetry?: (messageId: string) => void;
64
64
  /** Fires when the user clicks a suggestion chip. */
65
- onSuggestion?: (suggestion: LeoSuggestion) => void;
65
+ onSuggestion?: (suggestion: AliaSuggestion) => void;
66
66
  /**
67
67
  * Suggestion chips shown above the composer (and inline in the empty
68
68
  * state). Typically refreshed by the consuming app after each assistant
69
69
  * response.
70
70
  */
71
- suggestions?: LeoSuggestion[];
71
+ suggestions?: AliaSuggestion[];
72
72
  /** Whether the assistant is currently generating a response. */
73
73
  isGenerating?: boolean;
74
74
  /** Fires when the user clicks "Stop generating". */
75
75
  onStopGenerating?: () => void;
76
76
  /** Usage data for the freemium paywall — omit to hide the usage bar. */
77
- usage?: LeoUsage;
77
+ usage?: AliaUsage;
78
78
  /** Fires when the user clicks "Upgrade" in the paywall CTA. */
79
79
  onUpgrade?: () => void;
80
80
  /**
81
81
  * Assistant name shown in the header and message avatars. Defaults to
82
- * `t('leo.name')` → "Leo".
82
+ * `t('alia.name')` → "Alia".
83
83
  */
84
84
  assistantName?: string;
85
85
  /** Assistant avatar props (passed to `<Avatar>`). */
86
- assistantAvatar?: LeoAssistantAvatar;
86
+ assistantAvatar?: AliaAssistantAvatar;
87
87
  /**
88
- * Current-user avatar for user-role messages. When omitted, Leo renders
89
- * a neutral `User`-icon tile. See `LeoUserAvatar`.
88
+ * Current-user avatar for user-role messages. When omitted, Alia renders
89
+ * a neutral `User`-icon tile. See `AliaUserAvatar`.
90
90
  */
91
- userAvatar?: LeoUserAvatar;
91
+ userAvatar?: AliaUserAvatar;
92
92
  /**
93
93
  * Greeting heading shown when the conversation is empty. Defaults to
94
- * `t('leo.greeting')`.
94
+ * `t('alia.greeting')`.
95
95
  */
96
96
  greeting?: string;
97
97
  /**
98
- * Subheading under the greeting. Defaults to `t('leo.subtitle')`.
98
+ * Subheading under the greeting. Defaults to `t('alia.subtitle')`.
99
99
  */
100
100
  subtitle?: string;
101
101
  /** Density variant. */
@@ -108,7 +108,7 @@ export interface LeoChatSurfaceProps {
108
108
  * Fires when the user picks or drops files via the composer's attach
109
109
  * control. When omitted, the attach button isn't rendered. Consumers are
110
110
  * responsible for uploading, validating, and echoing the file(s) back
111
- * into the conversation — Leo itself holds no attachment state.
111
+ * into the conversation — Alia itself holds no attachment state.
112
112
  */
113
113
  onAttach?: (files: FileList) => void;
114
114
  /** MIME / extension allow-list forwarded to the native file picker. */
@@ -119,4 +119,4 @@ export interface LeoChatSurfaceProps {
119
119
  */
120
120
  headerEndSlot?: ReactNode;
121
121
  }
122
- //# sourceMappingURL=leo-types.d.ts.map
122
+ //# sourceMappingURL=alia-types.d.ts.map
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Alia Assistant pattern — composition of DS primitives into a complete
3
+ * AI-chat experience. See `alia-assistant.mdx` for usage, acceptance
4
+ * gate, and a11y notes.
5
+ *
6
+ * Unlike most patterns in this folder, Alia exports runtime components
7
+ * (AliaEmbedded + AliaPopout) because real consuming apps (platform,
8
+ * booking, alfascribe) need to mount it in production, not just
9
+ * reference its story shape. The exports are therefore surfaced via
10
+ * `src/patterns/index.ts` and included in the library bundle.
11
+ */
12
+ export { AliaChatSurface } from './alia-chat-surface';
13
+ export { AliaEmbedded } from './alia-embedded';
14
+ export type { AliaEmbeddedProps } from './alia-embedded';
15
+ export { AliaPopout } from './alia-popout';
16
+ export type { AliaPopoutProps } from './alia-popout';
17
+ export { AliaSidebar } from './alia-sidebar';
18
+ export type { AliaSidebarProps } from './alia-sidebar';
19
+ export type { AliaChatSurfaceProps, AliaMessage, AliaSuggestion, AliaAssistantAvatar, AliaUsage, } from './alia-types';
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { A as i, a as A, b as d, c as l } from "../../_chunks/alia-sidebar-Bof6TlFx.js";
2
+ export {
3
+ i as AliaChatSurface,
4
+ A as AliaEmbedded,
5
+ d as AliaPopout,
6
+ l as AliaSidebar
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { P as a } from "../../_chunks/patient-shell-Dr64lBp_.js";
1
+ import { P as a } from "../../_chunks/patient-shell-DavGODt9.js";
2
2
  export {
3
3
  a as PatientShell
4
4
  };
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Deliberately flatter than the clinician `AppFrame` composition: no
6
6
  * command palette, no favourites, no practice/chain affordances, no
7
- * Leo, no privacy lock. Mirrors the legacy `_header.html.twig`
7
+ * Alia, no privacy lock. Mirrors the legacy `_header.html.twig`
8
8
  * `app.user.type == 'patient'` branch and the `knp_menu_render('pcp')`
9
9
  * flat nav menu.
10
10
  *
@@ -1,6 +1,6 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import { p as a } from "../_chunks/purify.es-DpIUMBYC.js";
3
- import { forwardRef as i, useMemo as m } from "react";
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import s from "../_chunks/purify.es-Cm3utOpm.js";
3
+ import { forwardRef as a, useMemo as m } from "react";
4
4
  const c = {
5
5
  ALLOWED_TAGS: [
6
6
  "a",
@@ -57,15 +57,15 @@ function _(t) {
57
57
  }
58
58
  }
59
59
  function u(t, e) {
60
- return a.sanitize(t, _(e));
60
+ return s.sanitize(t, _(e));
61
61
  }
62
- const A = i(
62
+ const A = a(
63
63
  ({ html: t, profile: e = "markdown", ...o }, r) => {
64
64
  const n = m(
65
65
  () => u(t, e),
66
66
  [t, e]
67
67
  );
68
- return /* @__PURE__ */ s(
68
+ return /* @__PURE__ */ i(
69
69
  "div",
70
70
  {
71
71
  ref: r,