@lukeashford/aurelius 2.5.0 → 2.6.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 +4 -126
- package/dist/index.d.ts +4 -126
- package/dist/index.js +373 -65
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +374 -66
- package/dist/index.mjs.map +1 -1
- package/llms.md +30 -1
- package/package.json +1 -1
package/llms.md
CHANGED
|
@@ -84,7 +84,7 @@ Import from `@lukeashford/aurelius`:
|
|
|
84
84
|
| Card | variant (default, elevated, outlined, ghost, featured), interactive, selected, noPadding |
|
|
85
85
|
| ChatHistory | messages |
|
|
86
86
|
| Checkbox | label |
|
|
87
|
-
| Col |
|
|
87
|
+
| Col | span (auto, full), offset, order (first, last, none) |
|
|
88
88
|
| ColorSwatch | color, label |
|
|
89
89
|
| Container | size (sm, md, lg, xl, fluid, responsive) |
|
|
90
90
|
| Dialog | description, confirmText, cancelText, isLoading |
|
|
@@ -121,6 +121,35 @@ Import from `@lukeashford/aurelius`:
|
|
|
121
121
|
| Toast | children, position (top-right, top-left, bottom-right, bottom-left, top-center, bottom-center), defaultDuration |
|
|
122
122
|
| Tooltip | content, children, open, side (top, right, bottom, left) |
|
|
123
123
|
|
|
124
|
+
### Component Notes
|
|
125
|
+
|
|
126
|
+
**Accordion**
|
|
127
|
+
- **type**: Allow multiple items to be open at once
|
|
128
|
+
- **defaultValue**: Default expanded item(s)
|
|
129
|
+
- **value**: Controlled expanded item(s)
|
|
130
|
+
- **onValueChange**: Callback when expanded items change
|
|
131
|
+
|
|
132
|
+
**ChatHistory**
|
|
133
|
+
- **messages**: Array of chat messages. Each item requires: content (string), variant ('user' | 'assistant'). Optional: id, isStreaming.
|
|
134
|
+
|
|
135
|
+
**Popover**
|
|
136
|
+
- **trigger**: The trigger element
|
|
137
|
+
- **position**: Position relative to trigger
|
|
138
|
+
- **align**: Alignment along the position axis
|
|
139
|
+
- **open**: Controlled open state
|
|
140
|
+
- **onOpenChange**: Callback when open state changes
|
|
141
|
+
- **closeOnClickOutside**: Close when clicking outside
|
|
142
|
+
|
|
143
|
+
**Stepper**
|
|
144
|
+
- **steps**: Array of steps. Each requires: id (string | number), label (string).
|
|
145
|
+
- **currentStep**: ID of the current step (must match a step.id from the steps array).
|
|
146
|
+
|
|
147
|
+
**Tabs**
|
|
148
|
+
- **defaultValue**: The id of the initially active tab
|
|
149
|
+
- **value**: Controlled active tab value
|
|
150
|
+
- **onValueChange**: Callback when active tab changes
|
|
151
|
+
|
|
152
|
+
|
|
124
153
|
### Component usage example
|
|
125
154
|
|
|
126
155
|
```tsx
|
package/package.json
CHANGED