@devalok/shilp-sutra 0.19.1 → 0.20.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/composed/activity-feed.d.ts +16 -0
- package/dist/composed/activity-feed.d.ts.map +1 -1
- package/dist/composed/activity-feed.js +111 -59
- package/dist/composed/index.d.ts +2 -2
- package/dist/composed/index.d.ts.map +1 -1
- package/dist/composed/index.js +18 -17
- package/dist/ui/banner.d.ts +5 -1
- package/dist/ui/banner.d.ts.map +1 -1
- package/dist/ui/banner.js +34 -34
- package/docs/components/composed/activity-feed.md +13 -1
- package/docs/components/ui/banner.md +7 -1
- package/llms-full.txt +21 -3
- package/llms.txt +2 -2
- package/package.json +699 -699
package/llms.txt
CHANGED
|
@@ -167,7 +167,7 @@ Components with two-axis system: Button, Badge, Alert, Chip, Banner, Progress, S
|
|
|
167
167
|
|
|
168
168
|
### Feedback & Notifications
|
|
169
169
|
- Alert: variant(subtle|filled|outline) color(info|success|warning|error|neutral) + title, onDismiss
|
|
170
|
-
- Banner: color(info|success|warning|error|neutral) +
|
|
170
|
+
- Banner: color(info|success|warning|error|neutral) + actions?(ReactNode), onDismiss. `action` (singular) deprecated, use `actions`. Mobile flex-wrap for multiple buttons.
|
|
171
171
|
- Toast: imperative API via toast.success/error/warning/info/loading/message/undo/promise/upload/custom — REQUIRES <Toaster> at layout root
|
|
172
172
|
- Spinner: size(sm|md|lg) — renders with role="status"
|
|
173
173
|
- Progress: track size(sm|md|lg), indicator color(default|success|warning|error)
|
|
@@ -238,7 +238,7 @@ NOTIFICATION SELECTION GUIDE:
|
|
|
238
238
|
- (UploadProgress REMOVED — upload tracking is now built into toast.upload())
|
|
239
239
|
- RichTextEditor: Tiptap editor — bold/italic/underline/strike/highlight, headings, blockquote, lists (bullet/ordered/task), code, links, images (paste/drop/upload), file attachments, @mentions, emoji picker + :shortcode:, text alignment, HR. Props: onImageUpload?, onFileUpload?, mentions?, onMentionSearch?, onMentionSelect?(item: MentionItem)
|
|
240
240
|
- RichTextViewer: read-only renderer for RichTextEditor HTML content (renders all above content types)
|
|
241
|
-
- ActivityFeed: items(ActivityItem[]), onLoadMore, loading, hasMore, emptyState, compact, maxInitialItems. Type: ActivityItem = { id, actor?, action, timestamp, icon?, color?, detail? }
|
|
241
|
+
- ActivityFeed: items(ActivityItem[]), onLoadMore, loading, hasMore, emptyState, compact, maxInitialItems, groupBy?('time'|'none'), groupLabels?({ today, yesterday, thisWeek, older }). Type: ActivityItem = { id, actor?, action, timestamp, icon?, color?, detail? }. Utility: groupItemsByTime(items, labels) exported.
|
|
242
242
|
- CommandPalette, MemberPicker
|
|
243
243
|
- ErrorDisplay, GlobalLoading
|
|
244
244
|
- Loading skeletons: CardSkeleton, TableSkeleton, BoardSkeleton, ListSkeleton
|