@lukeashford/aurelius 2.16.0 → 2.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/index.d.mts +99 -18
- package/dist/index.d.ts +99 -18
- package/dist/index.js +726 -613
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +692 -584
- package/dist/index.mjs.map +1 -1
- package/dist/styles/theme.css +5 -0
- package/llms.md +36 -5
- package/package.json +1 -1
package/dist/styles/theme.css
CHANGED
package/llms.md
CHANGED
|
@@ -100,6 +100,7 @@ Import from `@lukeashford/aurelius`:
|
|
|
100
100
|
|-----------|-------|
|
|
101
101
|
| Accordion | type, defaultValue, value, onValueChange, value, disabled |
|
|
102
102
|
| Alert | variant (info, success, warning, error), title |
|
|
103
|
+
| ArtifactCard | artifact, onExpand, isLoading |
|
|
103
104
|
| AttachmentPreview | attachments, onRemove, removable, maxVisible |
|
|
104
105
|
| AudioCard | src, title, subtitle, playing, controls, volume, muted, loop, mediaClassName, contentClassName, playerProps, height |
|
|
105
106
|
| Avatar | src, alt, name, size (xs, sm, md, lg, xl, 2xl), status (online, offline, busy) |
|
|
@@ -107,7 +108,7 @@ Import from `@lukeashford/aurelius`:
|
|
|
107
108
|
| BrandIcon | size (sm, md, lg), variant (solid, outline) |
|
|
108
109
|
| Breadcrumb | separator, current |
|
|
109
110
|
| Button | variant (primary, important, elevated, outlined, featured, ghost, danger), size (sm, md, lg, xl), loading |
|
|
110
|
-
| Card | variant (default, elevated, outlined, ghost, featured), interactive, selected, noPadding, title, subtitle, action, align,
|
|
111
|
+
| Card | variant (default, elevated, outlined, ghost, featured), interactive, selected, noPadding, isLoading, title, subtitle, action, align, aspect, position |
|
|
111
112
|
| Checkbox | label |
|
|
112
113
|
| Col | span, offset, order |
|
|
113
114
|
| ColorSwatch | color, label |
|
|
@@ -128,7 +129,7 @@ Import from `@lukeashford/aurelius`:
|
|
|
128
129
|
| Modal | isOpen, onClose, title, children, className |
|
|
129
130
|
| Navbar | fixed, bordered, position, active, active |
|
|
130
131
|
| Pagination | page, totalPages, onPageChange, siblingCount, showEdges |
|
|
131
|
-
| PdfCard |
|
|
132
|
+
| PdfCard | src, title, subtitle, height, mediaClassName, contentClassName |
|
|
132
133
|
| Popover | children, trigger, position (top, bottom, left, right), align (start, center, end), open, onOpenChange, closeOnClickOutside |
|
|
133
134
|
| Progress | value, max, size (sm, md, lg), variant (default, success, warning, error), showValue, formatValue, indeterminate |
|
|
134
135
|
| Radio | label |
|
|
@@ -145,6 +146,7 @@ Import from `@lukeashford/aurelius`:
|
|
|
145
146
|
| Switch | checked, defaultChecked, onCheckedChange, label |
|
|
146
147
|
| Table | responsive, hoverable, selected, sortable, sortDirection |
|
|
147
148
|
| Tabs | defaultValue, value, onValueChange, value, value, forceMount |
|
|
149
|
+
| TextCard | content, title, subtitle, isMarkdown, maxHeight, contentClassName |
|
|
148
150
|
| Textarea | error |
|
|
149
151
|
| Toast | children, position (top-right, top-left, bottom-right, bottom-left, top-center, bottom-center), defaultDuration |
|
|
150
152
|
| Tooltip | content, children, open, side (top, right, bottom, left) |
|
|
@@ -180,6 +182,23 @@ Import from `@lukeashford/aurelius`:
|
|
|
180
182
|
- **value**: Unique identifier for this item
|
|
181
183
|
- **disabled**: Disable this item
|
|
182
184
|
|
|
185
|
+
**ArtifactCard**
|
|
186
|
+
A dispatcher component that renders the appropriate specialist card
|
|
187
|
+
based on the artifact type.
|
|
188
|
+
|
|
189
|
+
- **Artifact.inlineContent**: * For text artifacts - the content (markdown, HTML, or plain text)
|
|
190
|
+
- **Artifact.url**: * For artifacts that source from a URL (image, video, audio, pdf, file)
|
|
191
|
+
- **Artifact.mimeType**: * The mime type of the content
|
|
192
|
+
- **Artifact.alt**: * For image artifacts - alt text
|
|
193
|
+
- **Artifact.title**: * Display title shown below the artifact
|
|
194
|
+
- **Artifact.subtitle**: * Display subtitle shown below the title
|
|
195
|
+
- **Artifact.isPending**: * Whether this artifact is still loading (shows skeleton)
|
|
196
|
+
- **Artifact.fullWidth**: * Whether the artifact should span full width in the grid
|
|
197
|
+
- **Artifact.scriptElements**: * For html artifacts - structured script elements (used by ScriptCard)
|
|
198
|
+
- **artifact**: * The artifact object to display
|
|
199
|
+
- **onExpand**: * Callback when the artifact should be expanded/opened
|
|
200
|
+
- **isLoading**: * Whether the artifact is still loading
|
|
201
|
+
|
|
183
202
|
**AttachmentPreview**
|
|
184
203
|
- **AttachmentItem.id**: * Unique identifier
|
|
185
204
|
- **AttachmentItem.file**: * The File object
|
|
@@ -225,7 +244,7 @@ Import from `@lukeashford/aurelius`:
|
|
|
225
244
|
**PdfCard**
|
|
226
245
|
A card for displaying PDF documents with an embedded viewer.
|
|
227
246
|
|
|
228
|
-
- **
|
|
247
|
+
- **src**: * URL of the PDF file
|
|
229
248
|
- **title**: * Title of the document
|
|
230
249
|
- **subtitle**: * Subtitle or document metadata
|
|
231
250
|
- **height**: * Height of the PDF viewer
|
|
@@ -282,6 +301,16 @@ Follows standard screenplay formatting conventions:
|
|
|
282
301
|
- **value**: Value matching the corresponding Tab
|
|
283
302
|
- **forceMount**: Force the panel to stay mounted when inactive
|
|
284
303
|
|
|
304
|
+
**TextCard**
|
|
305
|
+
A card for displaying text content, supporting Markdown and HTML formatting.
|
|
306
|
+
|
|
307
|
+
- **content**: * Text content to display (Markdown, HTML, or plain text)
|
|
308
|
+
- **title**: * Optional title for the card
|
|
309
|
+
- **subtitle**: * Optional subtitle or metadata
|
|
310
|
+
- **isMarkdown**: * Whether the content should be treated as Markdown @default true
|
|
311
|
+
- **maxHeight**: * Maximum height of the content area before scrolling @default '16rem'
|
|
312
|
+
- **contentClassName**: * Optional class name for the content container
|
|
313
|
+
|
|
285
314
|
**ArtifactsPanel**
|
|
286
315
|
ArtifactsPanel displays rich content artifacts in a slide-in panel.
|
|
287
316
|
|
|
@@ -433,9 +462,11 @@ TodosList displays a structured list of tasks with status indicators.
|
|
|
433
462
|
|
|
434
463
|
Features:
|
|
435
464
|
- Nested tasks with indentation
|
|
436
|
-
- Status indicators: done (checkmark), in_progress (snake animation), pending (empty),
|
|
465
|
+
- Status indicators: done (checkmark), in_progress (snake animation), pending (empty),
|
|
466
|
+
cancelled, failed
|
|
437
467
|
- Done tasks are crossed out with golden checkmark
|
|
438
|
-
- Cancelled/failed tasks are crossed out with subtle styling and sorted to bottom of their local
|
|
468
|
+
- Cancelled/failed tasks are crossed out with subtle styling and sorted to bottom of their local
|
|
469
|
+
group
|
|
439
470
|
- Max 1/4 screen height with scroll
|
|
440
471
|
- Subtasks appear when parent task is in_progress or done
|
|
441
472
|
|
package/package.json
CHANGED