@lukeashford/aurelius 2.16.0 → 2.17.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 +64 -13
- package/dist/index.d.ts +64 -13
- package/dist/index.js +679 -610
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +648 -581
- package/dist/index.mjs.map +1 -1
- package/dist/styles/theme.css +5 -0
- package/llms.md +23 -3
- 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,14 @@ 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**: * The artifact object to display
|
|
190
|
+
- **onExpand**: * Callback when the artifact should be expanded/opened
|
|
191
|
+
- **isLoading**: * Whether the artifact is still loading
|
|
192
|
+
|
|
183
193
|
**AttachmentPreview**
|
|
184
194
|
- **AttachmentItem.id**: * Unique identifier
|
|
185
195
|
- **AttachmentItem.file**: * The File object
|
|
@@ -225,7 +235,7 @@ Import from `@lukeashford/aurelius`:
|
|
|
225
235
|
**PdfCard**
|
|
226
236
|
A card for displaying PDF documents with an embedded viewer.
|
|
227
237
|
|
|
228
|
-
- **
|
|
238
|
+
- **src**: * URL of the PDF file
|
|
229
239
|
- **title**: * Title of the document
|
|
230
240
|
- **subtitle**: * Subtitle or document metadata
|
|
231
241
|
- **height**: * Height of the PDF viewer
|
|
@@ -282,6 +292,16 @@ Follows standard screenplay formatting conventions:
|
|
|
282
292
|
- **value**: Value matching the corresponding Tab
|
|
283
293
|
- **forceMount**: Force the panel to stay mounted when inactive
|
|
284
294
|
|
|
295
|
+
**TextCard**
|
|
296
|
+
A card for displaying text content, supporting Markdown and HTML formatting.
|
|
297
|
+
|
|
298
|
+
- **content**: * Text content to display (Markdown, HTML, or plain text)
|
|
299
|
+
- **title**: * Optional title for the card
|
|
300
|
+
- **subtitle**: * Optional subtitle or metadata
|
|
301
|
+
- **isMarkdown**: * Whether the content should be treated as Markdown @default true
|
|
302
|
+
- **maxHeight**: * Maximum height of the content area before scrolling @default '16rem'
|
|
303
|
+
- **contentClassName**: * Optional class name for the content container
|
|
304
|
+
|
|
285
305
|
**ArtifactsPanel**
|
|
286
306
|
ArtifactsPanel displays rich content artifacts in a slide-in panel.
|
|
287
307
|
|
package/package.json
CHANGED