@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/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) + title, onDismiss
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