@slipstream-ui/core 0.11.2 → 0.11.4

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.
Files changed (215) hide show
  1. package/dist/index.d.mts +39 -7
  2. package/dist/index.d.ts +39 -7
  3. package/dist/index.js +60 -7
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +329 -276
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/manifests/accordion.manifest.json +1 -1
  8. package/dist/manifests/alert.manifest.json +1 -1
  9. package/dist/manifests/announcement-bar.manifest.json +1 -1
  10. package/dist/manifests/app-shell.manifest.json +1 -1
  11. package/dist/manifests/applied-filters.manifest.json +1 -1
  12. package/dist/manifests/article-card.manifest.json +1 -1
  13. package/dist/manifests/auth-layout.manifest.json +1 -1
  14. package/dist/manifests/autocomplete.manifest.json +1 -1
  15. package/dist/manifests/avatar.manifest.json +1 -1
  16. package/dist/manifests/badge.manifest.json +17 -5
  17. package/dist/manifests/block.manifest.json +1 -1
  18. package/dist/manifests/bottom-nav.manifest.json +1 -1
  19. package/dist/manifests/breadcrumb.manifest.json +1 -1
  20. package/dist/manifests/button-group.manifest.json +1 -1
  21. package/dist/manifests/button.manifest.json +1 -1
  22. package/dist/manifests/calendar.manifest.json +1 -1
  23. package/dist/manifests/card.manifest.json +1 -1
  24. package/dist/manifests/checkbox.manifest.json +1 -1
  25. package/dist/manifests/comparison-table.manifest.json +1 -1
  26. package/dist/manifests/confirm-dialog.manifest.json +1 -1
  27. package/dist/manifests/contact-strip.manifest.json +1 -1
  28. package/dist/manifests/container.manifest.json +1 -1
  29. package/dist/manifests/cta-section.manifest.json +1 -1
  30. package/dist/manifests/data-table.manifest.json +1 -1
  31. package/dist/manifests/date-picker-popover.manifest.json +1 -1
  32. package/dist/manifests/date-picker.manifest.json +1 -1
  33. package/dist/manifests/date-range-picker.manifest.json +1 -1
  34. package/dist/manifests/deal-card.manifest.json +1 -1
  35. package/dist/manifests/dialog.manifest.json +1 -1
  36. package/dist/manifests/document-card.manifest.json +1 -1
  37. package/dist/manifests/drawer.manifest.json +1 -1
  38. package/dist/manifests/empty-state.manifest.json +1 -1
  39. package/dist/manifests/entity-card.manifest.json +1 -1
  40. package/dist/manifests/feature-grid.manifest.json +1 -1
  41. package/dist/manifests/feature-row.manifest.json +1 -1
  42. package/dist/manifests/fieldset.manifest.json +1 -1
  43. package/dist/manifests/file-upload.manifest.json +1 -1
  44. package/dist/manifests/filter-bar.manifest.json +1 -1
  45. package/dist/manifests/filter-chips.manifest.json +1 -1
  46. package/dist/manifests/filter-panel.manifest.json +1 -1
  47. package/dist/manifests/flex.manifest.json +1 -1
  48. package/dist/manifests/form-field.manifest.json +1 -1
  49. package/dist/manifests/form-layout.manifest.json +16 -4
  50. package/dist/manifests/form.manifest.json +1 -1
  51. package/dist/manifests/grid.manifest.json +1 -1
  52. package/dist/manifests/heading.manifest.json +1 -1
  53. package/dist/manifests/hero.manifest.json +1 -1
  54. package/dist/manifests/image.manifest.json +1 -1
  55. package/dist/manifests/input-group.manifest.json +1 -1
  56. package/dist/manifests/input.manifest.json +1 -1
  57. package/dist/manifests/label.manifest.json +1 -1
  58. package/dist/manifests/link-tabs.manifest.json +1 -1
  59. package/dist/manifests/link.manifest.json +1 -1
  60. package/dist/manifests/list.manifest.json +1 -1
  61. package/dist/manifests/load-more.manifest.json +1 -1
  62. package/dist/manifests/logo-cloud.manifest.json +1 -1
  63. package/dist/manifests/menu.manifest.json +1 -1
  64. package/dist/manifests/metric-card.manifest.json +1 -1
  65. package/dist/manifests/multi-select.manifest.json +1 -1
  66. package/dist/manifests/newsletter.manifest.json +1 -1
  67. package/dist/manifests/page-header.manifest.json +1 -1
  68. package/dist/manifests/pagination.manifest.json +1 -1
  69. package/dist/manifests/password-input.manifest.json +1 -1
  70. package/dist/manifests/popover.manifest.json +1 -1
  71. package/dist/manifests/process-steps.manifest.json +1 -1
  72. package/dist/manifests/progress.manifest.json +1 -1
  73. package/dist/manifests/prose.manifest.json +1 -1
  74. package/dist/manifests/radio.manifest.json +1 -1
  75. package/dist/manifests/range-slider.manifest.json +1 -1
  76. package/dist/manifests/search.manifest.json +1 -1
  77. package/dist/manifests/section-heading.manifest.json +1 -1
  78. package/dist/manifests/section.manifest.json +1 -1
  79. package/dist/manifests/segmented-control.manifest.json +1 -1
  80. package/dist/manifests/select-menu.manifest.json +1 -1
  81. package/dist/manifests/select.manifest.json +1 -1
  82. package/dist/manifests/separator.manifest.json +1 -1
  83. package/dist/manifests/site-footer.manifest.json +1 -1
  84. package/dist/manifests/site-header.manifest.json +1 -1
  85. package/dist/manifests/skeleton.manifest.json +1 -1
  86. package/dist/manifests/spinner.manifest.json +1 -1
  87. package/dist/manifests/stat-band.manifest.json +1 -1
  88. package/dist/manifests/stepper.manifest.json +1 -1
  89. package/dist/manifests/switch.manifest.json +1 -1
  90. package/dist/manifests/table-card.manifest.json +1 -1
  91. package/dist/manifests/table-of-contents.manifest.json +1 -1
  92. package/dist/manifests/table.manifest.json +1 -1
  93. package/dist/manifests/tabs.manifest.json +1 -1
  94. package/dist/manifests/testimonial.manifest.json +1 -1
  95. package/dist/manifests/text.manifest.json +1 -1
  96. package/dist/manifests/textarea.manifest.json +1 -1
  97. package/dist/manifests/theme-toggle.manifest.json +1 -1
  98. package/dist/manifests/time-picker.manifest.json +1 -1
  99. package/dist/manifests/timeline.manifest.json +1 -1
  100. package/dist/manifests/toast.manifest.json +1 -1
  101. package/dist/manifests/tombstone-card.manifest.json +1 -1
  102. package/dist/manifests/tooltip.manifest.json +1 -1
  103. package/dist/src/components/badge/Badge.d.ts +12 -2
  104. package/dist/src/components/badge/Badge.js +44 -4
  105. package/dist/src/components/badge/Badge.js.map +1 -1
  106. package/dist/src/components/badge/Badge.mjs +46 -6
  107. package/dist/src/components/badge/Badge.mjs.map +1 -1
  108. package/dist/src/components/form-layout/FormLayout.d.ts +26 -4
  109. package/dist/src/components/form-layout/FormLayout.js +16 -3
  110. package/dist/src/components/form-layout/FormLayout.js.map +1 -1
  111. package/dist/src/components/form-layout/FormLayout.mjs +16 -3
  112. package/dist/src/components/form-layout/FormLayout.mjs.map +1 -1
  113. package/dist/styles-full.css +1 -1
  114. package/dist/styles.css +1 -1
  115. package/package.json +3 -3
  116. package/src/components/badge/Badge.test.tsx +46 -0
  117. package/src/components/badge/Badge.tsx +58 -4
  118. package/src/components/form-layout/FormLayout.test.tsx +26 -0
  119. package/src/components/form-layout/FormLayout.tsx +37 -5
  120. package/src/manifests/accordion.manifest.json +1 -1
  121. package/src/manifests/alert.manifest.json +1 -1
  122. package/src/manifests/announcement-bar.manifest.json +1 -1
  123. package/src/manifests/app-shell.manifest.json +1 -1
  124. package/src/manifests/applied-filters.manifest.json +1 -1
  125. package/src/manifests/article-card.manifest.json +1 -1
  126. package/src/manifests/auth-layout.manifest.json +1 -1
  127. package/src/manifests/autocomplete.manifest.json +1 -1
  128. package/src/manifests/avatar.manifest.json +1 -1
  129. package/src/manifests/badge.manifest.json +17 -5
  130. package/src/manifests/block.manifest.json +1 -1
  131. package/src/manifests/bottom-nav.manifest.json +1 -1
  132. package/src/manifests/breadcrumb.manifest.json +1 -1
  133. package/src/manifests/button-group.manifest.json +1 -1
  134. package/src/manifests/button.manifest.json +1 -1
  135. package/src/manifests/calendar.manifest.json +1 -1
  136. package/src/manifests/card.manifest.json +1 -1
  137. package/src/manifests/checkbox.manifest.json +1 -1
  138. package/src/manifests/comparison-table.manifest.json +1 -1
  139. package/src/manifests/confirm-dialog.manifest.json +1 -1
  140. package/src/manifests/contact-strip.manifest.json +1 -1
  141. package/src/manifests/container.manifest.json +1 -1
  142. package/src/manifests/cta-section.manifest.json +1 -1
  143. package/src/manifests/data-table.manifest.json +1 -1
  144. package/src/manifests/date-picker-popover.manifest.json +1 -1
  145. package/src/manifests/date-picker.manifest.json +1 -1
  146. package/src/manifests/date-range-picker.manifest.json +1 -1
  147. package/src/manifests/deal-card.manifest.json +1 -1
  148. package/src/manifests/dialog.manifest.json +1 -1
  149. package/src/manifests/document-card.manifest.json +1 -1
  150. package/src/manifests/drawer.manifest.json +1 -1
  151. package/src/manifests/empty-state.manifest.json +1 -1
  152. package/src/manifests/entity-card.manifest.json +1 -1
  153. package/src/manifests/feature-grid.manifest.json +1 -1
  154. package/src/manifests/feature-row.manifest.json +1 -1
  155. package/src/manifests/fieldset.manifest.json +1 -1
  156. package/src/manifests/file-upload.manifest.json +1 -1
  157. package/src/manifests/filter-bar.manifest.json +1 -1
  158. package/src/manifests/filter-chips.manifest.json +1 -1
  159. package/src/manifests/filter-panel.manifest.json +1 -1
  160. package/src/manifests/flex.manifest.json +1 -1
  161. package/src/manifests/form-field.manifest.json +1 -1
  162. package/src/manifests/form-layout.manifest.json +16 -4
  163. package/src/manifests/form.manifest.json +1 -1
  164. package/src/manifests/grid.manifest.json +1 -1
  165. package/src/manifests/heading.manifest.json +1 -1
  166. package/src/manifests/hero.manifest.json +1 -1
  167. package/src/manifests/image.manifest.json +1 -1
  168. package/src/manifests/input-group.manifest.json +1 -1
  169. package/src/manifests/input.manifest.json +1 -1
  170. package/src/manifests/label.manifest.json +1 -1
  171. package/src/manifests/link-tabs.manifest.json +1 -1
  172. package/src/manifests/link.manifest.json +1 -1
  173. package/src/manifests/list.manifest.json +1 -1
  174. package/src/manifests/load-more.manifest.json +1 -1
  175. package/src/manifests/logo-cloud.manifest.json +1 -1
  176. package/src/manifests/menu.manifest.json +1 -1
  177. package/src/manifests/metric-card.manifest.json +1 -1
  178. package/src/manifests/multi-select.manifest.json +1 -1
  179. package/src/manifests/newsletter.manifest.json +1 -1
  180. package/src/manifests/page-header.manifest.json +1 -1
  181. package/src/manifests/pagination.manifest.json +1 -1
  182. package/src/manifests/password-input.manifest.json +1 -1
  183. package/src/manifests/popover.manifest.json +1 -1
  184. package/src/manifests/process-steps.manifest.json +1 -1
  185. package/src/manifests/progress.manifest.json +1 -1
  186. package/src/manifests/prose.manifest.json +1 -1
  187. package/src/manifests/radio.manifest.json +1 -1
  188. package/src/manifests/range-slider.manifest.json +1 -1
  189. package/src/manifests/search.manifest.json +1 -1
  190. package/src/manifests/section-heading.manifest.json +1 -1
  191. package/src/manifests/section.manifest.json +1 -1
  192. package/src/manifests/segmented-control.manifest.json +1 -1
  193. package/src/manifests/select-menu.manifest.json +1 -1
  194. package/src/manifests/select.manifest.json +1 -1
  195. package/src/manifests/separator.manifest.json +1 -1
  196. package/src/manifests/site-footer.manifest.json +1 -1
  197. package/src/manifests/site-header.manifest.json +1 -1
  198. package/src/manifests/skeleton.manifest.json +1 -1
  199. package/src/manifests/spinner.manifest.json +1 -1
  200. package/src/manifests/stat-band.manifest.json +1 -1
  201. package/src/manifests/stepper.manifest.json +1 -1
  202. package/src/manifests/switch.manifest.json +1 -1
  203. package/src/manifests/table-card.manifest.json +1 -1
  204. package/src/manifests/table-of-contents.manifest.json +1 -1
  205. package/src/manifests/table.manifest.json +1 -1
  206. package/src/manifests/tabs.manifest.json +1 -1
  207. package/src/manifests/testimonial.manifest.json +1 -1
  208. package/src/manifests/text.manifest.json +1 -1
  209. package/src/manifests/textarea.manifest.json +1 -1
  210. package/src/manifests/theme-toggle.manifest.json +1 -1
  211. package/src/manifests/time-picker.manifest.json +1 -1
  212. package/src/manifests/timeline.manifest.json +1 -1
  213. package/src/manifests/toast.manifest.json +1 -1
  214. package/src/manifests/tombstone-card.manifest.json +1 -1
  215. package/src/manifests/tooltip.manifest.json +1 -1
package/dist/index.d.mts CHANGED
@@ -299,19 +299,29 @@ declare const InputGroupAddon: React.ForwardRefExoticComponent<React.HTMLAttribu
299
299
  } & React.RefAttributes<HTMLDivElement>>;
300
300
 
301
301
  declare const badgeVariants: (props?: ({
302
- variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
302
+ variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "neutral" | "accent" | "outline-danger" | null | undefined;
303
303
  size?: "sm" | "lg" | "md" | null | undefined;
304
304
  } & class_variance_authority_types.ClassProp) | undefined) => string;
305
305
  type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants> & {
306
306
  /** Render the child element (e.g. a router Link) with badge styling. */
307
307
  asChild?: boolean;
308
+ /**
309
+ * Leading status dot, colored to match the variant. Decorative only —
310
+ * pair it with text that carries the meaning.
311
+ */
312
+ dot?: boolean;
308
313
  };
309
314
  declare const Badge: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
310
- variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
315
+ variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "neutral" | "accent" | "outline-danger" | null | undefined;
311
316
  size?: "sm" | "lg" | "md" | null | undefined;
312
317
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
313
318
  /** Render the child element (e.g. a router Link) with badge styling. */
314
319
  asChild?: boolean;
320
+ /**
321
+ * Leading status dot, colored to match the variant. Decorative only —
322
+ * pair it with text that carries the meaning.
323
+ */
324
+ dot?: boolean;
315
325
  } & React.RefAttributes<HTMLSpanElement>>;
316
326
 
317
327
  type BottomNavItem = {
@@ -1119,17 +1129,32 @@ declare const Form: React.ForwardRefExoticComponent<React.FormHTMLAttributes<HTM
1119
1129
  gap?: GapValue;
1120
1130
  } & React.RefAttributes<HTMLFormElement>>;
1121
1131
 
1132
+ /** Column count per breakpoint; `base` applies at every width. */
1133
+ type FormLayoutColumns = 1 | 2 | 3 | 4 | {
1134
+ base?: 1 | 2 | 3 | 4;
1135
+ sm?: 1 | 2 | 3 | 4;
1136
+ md?: 1 | 2 | 3 | 4;
1137
+ lg?: 1 | 2 | 3 | 4;
1138
+ xl?: 1 | 2 | 3 | 4;
1139
+ };
1122
1140
  type FormLayoutProps = React.HTMLAttributes<HTMLElement> & {
1123
1141
  /** Grouping layout: even vertical stack (default), horizontal row, or responsive grid. */
1124
1142
  layout?: 'stack' | 'row' | 'grid';
1125
- /** Grid column count (1-4); grid wraps naturally via responsive variants passed as className. */
1126
- columns?: 1 | 2 | 3 | 4;
1143
+ /**
1144
+ * Grid column count (1-4) at every width, or per breakpoint
1145
+ * (`{ base: 1, md: 2 }`) for responsive grids without className overrides.
1146
+ */
1147
+ columns?: FormLayoutColumns;
1127
1148
  /** Even spacing between children — token ('md') or exact pixels (16). */
1128
1149
  gap?: GapValue;
1129
1150
  /** Group label; renders a semantic <legend> when as="fieldset". */
1130
1151
  legend?: string;
1152
+ /** Extra classes for the legend (fieldset mode). */
1153
+ legendClassName?: string;
1131
1154
  /** Supporting line under the legend (fieldset mode). */
1132
1155
  description?: string;
1156
+ /** Extra classes for the description (fieldset mode). */
1157
+ descriptionClassName?: string;
1133
1158
  /** Render as a semantic fieldset (default 'div'). */
1134
1159
  as?: 'div' | 'fieldset';
1135
1160
  };
@@ -1142,14 +1167,21 @@ type FormLayoutProps = React.HTMLAttributes<HTMLElement> & {
1142
1167
  declare const FormLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
1143
1168
  /** Grouping layout: even vertical stack (default), horizontal row, or responsive grid. */
1144
1169
  layout?: "stack" | "row" | "grid";
1145
- /** Grid column count (1-4); grid wraps naturally via responsive variants passed as className. */
1146
- columns?: 1 | 2 | 3 | 4;
1170
+ /**
1171
+ * Grid column count (1-4) at every width, or per breakpoint
1172
+ * (`{ base: 1, md: 2 }`) for responsive grids without className overrides.
1173
+ */
1174
+ columns?: FormLayoutColumns;
1147
1175
  /** Even spacing between children — token ('md') or exact pixels (16). */
1148
1176
  gap?: GapValue;
1149
1177
  /** Group label; renders a semantic <legend> when as="fieldset". */
1150
1178
  legend?: string;
1179
+ /** Extra classes for the legend (fieldset mode). */
1180
+ legendClassName?: string;
1151
1181
  /** Supporting line under the legend (fieldset mode). */
1152
1182
  description?: string;
1183
+ /** Extra classes for the description (fieldset mode). */
1184
+ descriptionClassName?: string;
1153
1185
  /** Render as a semantic fieldset (default 'div'). */
1154
1186
  as?: "div" | "fieldset";
1155
1187
  } & React.RefAttributes<HTMLElement>>;
@@ -4398,4 +4430,4 @@ declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<H
4398
4430
  } & React.RefAttributes<HTMLElement>>;
4399
4431
 
4400
4432
  export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, BottomNav, Breadcrumb, Button, ButtonGroup, CTASection, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, DataTable, DatePicker, DatePickerPopover, DateRangePicker, DealCard, Dialog, DialogBody, DialogDescription, DialogFooter, DialogHeader, DialogTitle, Divider, DocumentCard, Drawer, EmptyState, EntityCard, FeatureGrid, FeatureRow, Fieldset, FileUpload, FilterBar, FilterChips, FilterPanel, Flex, FlexItem, Form, FormField, FormLayout, Grid, GridItem, Heading, Hero, Image, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, LoadMore, LogoCloud, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, ProcessSteps, ProfileCard, Progress, Prose, Radio, RadioCard, RadioGroup, RadioGroupContext, RadioGroupItem, RangeSlider, Search, Section, SectionHeading, SegmentedControl, Select, SelectMenu, Separator, Sidebar, SiteFooter, SiteHeader, Skeleton, Spinner, StatBand, Stepper, Switch, Table, TableBody, TableCaption, TableCard, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Text, Textarea, ThemeToggle, TimePicker, Timeline, ToastProvider, Toaster, TombstoneCard, Tooltip, alertVariants, badgeVariants, buttonVariants, cn, documentHead, isComponentManifest, resolveGap, separatorVariants, spinnerVariants, toast, useCombobox, usePresence, useScrollSpy, useToast };
4401
- export type { AccessibilityRequirement, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionSection, AccordionTriggerProps, AlertDescriptionProps, AlertProps, AlertTitleProps, AnnouncementBarProps, AntiPattern, AppShellProps, AppliedFiltersProps, ArticleCardProps, AuthLayoutProps, AutocompleteOption, AutocompleteProps, BadgeProps, BlockElement, BlockProps, BottomNavItem, BottomNavProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CTASectionProps, CTASectionTone, CalendarProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, DataTableColumn, DataTableProps, DatePickerPopoverProps, DatePickerProps, DateRange, DateRangePickerProps, DateRangePreset, DealCardProps, DealMetric, DealStatus, DialogBodyProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogSize, DialogTitleProps, DocumentCardProps, DocumentHead, DocumentHeadInput, DocumentStatus, DrawerProps, DrawerSide, DrawerSize, EmptyStateAction, EmptyStateProps, EntityCardProps, EntityStat, FeatureGridProps, FeatureItem, FeatureRowProps, FieldsetProps, FileUploadProps, FilterBarProps, FilterChip, FilterChipsProps, FilterPanelProps, FilterSection, FlexItemProps, FlexProps, FormFieldLabelPlacement, FormFieldProps, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, ImageProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, LoadMoreProps, LogoCloudProps, LogoItem, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTone, MetricTrend, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverAnchorProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProcessStep, ProcessStepsProps, ProfileCardProps, ProgressProps, PropSchema, ProseProps, RadioCardProps, RadioGroupItemProps, RadioGroupProps, RadioProps, RangeSliderProps, SearchOption, SearchProps, SectionHeadingProps, SectionProps, SectionTone, SegmentedControlProps, SegmentedOption, SelectMenuItem, SelectMenuProps, SelectOption, SelectOptionGroup, SelectProps, SeparatorProps, SidebarItem, SidebarProps, SidebarSection, SiteFooterColumn, SiteFooterLink, SiteFooterProps, SiteHeaderProps, SiteNavColumn, SiteNavItem, SiteNavLink, SkeletonProps, SortIconState, SpinnerProps, StatBandProps, StatItem, StepperProps, StepperStep, SwitchProps, TableBodyProps, TableCaptionProps, TableCardProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableOfContentsProps, TableProps, TableRowProps, TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, TestimonialProps, TextProps, TextareaProps, ThemeToggleProps, TimePickerProps, TimelineItem, TimelineProps, ToastAction, ToastContextValue, ToastOptions, ToastRecord, ToastVariant, ToasterPosition, ToasterProps, TocHeading, TombstoneCardProps, TombstoneStatus, TooltipProps, UsageExample };
4433
+ export type { AccessibilityRequirement, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionSection, AccordionTriggerProps, AlertDescriptionProps, AlertProps, AlertTitleProps, AnnouncementBarProps, AntiPattern, AppShellProps, AppliedFiltersProps, ArticleCardProps, AuthLayoutProps, AutocompleteOption, AutocompleteProps, BadgeProps, BlockElement, BlockProps, BottomNavItem, BottomNavProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CTASectionProps, CTASectionTone, CalendarProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, DataTableColumn, DataTableProps, DatePickerPopoverProps, DatePickerProps, DateRange, DateRangePickerProps, DateRangePreset, DealCardProps, DealMetric, DealStatus, DialogBodyProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogSize, DialogTitleProps, DocumentCardProps, DocumentHead, DocumentHeadInput, DocumentStatus, DrawerProps, DrawerSide, DrawerSize, EmptyStateAction, EmptyStateProps, EntityCardProps, EntityStat, FeatureGridProps, FeatureItem, FeatureRowProps, FieldsetProps, FileUploadProps, FilterBarProps, FilterChip, FilterChipsProps, FilterPanelProps, FilterSection, FlexItemProps, FlexProps, FormFieldLabelPlacement, FormFieldProps, FormLayoutColumns, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, ImageProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, LoadMoreProps, LogoCloudProps, LogoItem, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTone, MetricTrend, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverAnchorProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProcessStep, ProcessStepsProps, ProfileCardProps, ProgressProps, PropSchema, ProseProps, RadioCardProps, RadioGroupItemProps, RadioGroupProps, RadioProps, RangeSliderProps, SearchOption, SearchProps, SectionHeadingProps, SectionProps, SectionTone, SegmentedControlProps, SegmentedOption, SelectMenuItem, SelectMenuProps, SelectOption, SelectOptionGroup, SelectProps, SeparatorProps, SidebarItem, SidebarProps, SidebarSection, SiteFooterColumn, SiteFooterLink, SiteFooterProps, SiteHeaderProps, SiteNavColumn, SiteNavItem, SiteNavLink, SkeletonProps, SortIconState, SpinnerProps, StatBandProps, StatItem, StepperProps, StepperStep, SwitchProps, TableBodyProps, TableCaptionProps, TableCardProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableOfContentsProps, TableProps, TableRowProps, TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, TestimonialProps, TextProps, TextareaProps, ThemeToggleProps, TimePickerProps, TimelineItem, TimelineProps, ToastAction, ToastContextValue, ToastOptions, ToastRecord, ToastVariant, ToasterPosition, ToasterProps, TocHeading, TombstoneCardProps, TombstoneStatus, TooltipProps, UsageExample };
package/dist/index.d.ts CHANGED
@@ -299,19 +299,29 @@ declare const InputGroupAddon: React.ForwardRefExoticComponent<React.HTMLAttribu
299
299
  } & React.RefAttributes<HTMLDivElement>>;
300
300
 
301
301
  declare const badgeVariants: (props?: ({
302
- variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
302
+ variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "neutral" | "accent" | "outline-danger" | null | undefined;
303
303
  size?: "sm" | "lg" | "md" | null | undefined;
304
304
  } & class_variance_authority_types.ClassProp) | undefined) => string;
305
305
  type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants> & {
306
306
  /** Render the child element (e.g. a router Link) with badge styling. */
307
307
  asChild?: boolean;
308
+ /**
309
+ * Leading status dot, colored to match the variant. Decorative only —
310
+ * pair it with text that carries the meaning.
311
+ */
312
+ dot?: boolean;
308
313
  };
309
314
  declare const Badge: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
310
- variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
315
+ variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "neutral" | "accent" | "outline-danger" | null | undefined;
311
316
  size?: "sm" | "lg" | "md" | null | undefined;
312
317
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
313
318
  /** Render the child element (e.g. a router Link) with badge styling. */
314
319
  asChild?: boolean;
320
+ /**
321
+ * Leading status dot, colored to match the variant. Decorative only —
322
+ * pair it with text that carries the meaning.
323
+ */
324
+ dot?: boolean;
315
325
  } & React.RefAttributes<HTMLSpanElement>>;
316
326
 
317
327
  type BottomNavItem = {
@@ -1119,17 +1129,32 @@ declare const Form: React.ForwardRefExoticComponent<React.FormHTMLAttributes<HTM
1119
1129
  gap?: GapValue;
1120
1130
  } & React.RefAttributes<HTMLFormElement>>;
1121
1131
 
1132
+ /** Column count per breakpoint; `base` applies at every width. */
1133
+ type FormLayoutColumns = 1 | 2 | 3 | 4 | {
1134
+ base?: 1 | 2 | 3 | 4;
1135
+ sm?: 1 | 2 | 3 | 4;
1136
+ md?: 1 | 2 | 3 | 4;
1137
+ lg?: 1 | 2 | 3 | 4;
1138
+ xl?: 1 | 2 | 3 | 4;
1139
+ };
1122
1140
  type FormLayoutProps = React.HTMLAttributes<HTMLElement> & {
1123
1141
  /** Grouping layout: even vertical stack (default), horizontal row, or responsive grid. */
1124
1142
  layout?: 'stack' | 'row' | 'grid';
1125
- /** Grid column count (1-4); grid wraps naturally via responsive variants passed as className. */
1126
- columns?: 1 | 2 | 3 | 4;
1143
+ /**
1144
+ * Grid column count (1-4) at every width, or per breakpoint
1145
+ * (`{ base: 1, md: 2 }`) for responsive grids without className overrides.
1146
+ */
1147
+ columns?: FormLayoutColumns;
1127
1148
  /** Even spacing between children — token ('md') or exact pixels (16). */
1128
1149
  gap?: GapValue;
1129
1150
  /** Group label; renders a semantic <legend> when as="fieldset". */
1130
1151
  legend?: string;
1152
+ /** Extra classes for the legend (fieldset mode). */
1153
+ legendClassName?: string;
1131
1154
  /** Supporting line under the legend (fieldset mode). */
1132
1155
  description?: string;
1156
+ /** Extra classes for the description (fieldset mode). */
1157
+ descriptionClassName?: string;
1133
1158
  /** Render as a semantic fieldset (default 'div'). */
1134
1159
  as?: 'div' | 'fieldset';
1135
1160
  };
@@ -1142,14 +1167,21 @@ type FormLayoutProps = React.HTMLAttributes<HTMLElement> & {
1142
1167
  declare const FormLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
1143
1168
  /** Grouping layout: even vertical stack (default), horizontal row, or responsive grid. */
1144
1169
  layout?: "stack" | "row" | "grid";
1145
- /** Grid column count (1-4); grid wraps naturally via responsive variants passed as className. */
1146
- columns?: 1 | 2 | 3 | 4;
1170
+ /**
1171
+ * Grid column count (1-4) at every width, or per breakpoint
1172
+ * (`{ base: 1, md: 2 }`) for responsive grids without className overrides.
1173
+ */
1174
+ columns?: FormLayoutColumns;
1147
1175
  /** Even spacing between children — token ('md') or exact pixels (16). */
1148
1176
  gap?: GapValue;
1149
1177
  /** Group label; renders a semantic <legend> when as="fieldset". */
1150
1178
  legend?: string;
1179
+ /** Extra classes for the legend (fieldset mode). */
1180
+ legendClassName?: string;
1151
1181
  /** Supporting line under the legend (fieldset mode). */
1152
1182
  description?: string;
1183
+ /** Extra classes for the description (fieldset mode). */
1184
+ descriptionClassName?: string;
1153
1185
  /** Render as a semantic fieldset (default 'div'). */
1154
1186
  as?: "div" | "fieldset";
1155
1187
  } & React.RefAttributes<HTMLElement>>;
@@ -4398,4 +4430,4 @@ declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<H
4398
4430
  } & React.RefAttributes<HTMLElement>>;
4399
4431
 
4400
4432
  export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, BottomNav, Breadcrumb, Button, ButtonGroup, CTASection, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, DataTable, DatePicker, DatePickerPopover, DateRangePicker, DealCard, Dialog, DialogBody, DialogDescription, DialogFooter, DialogHeader, DialogTitle, Divider, DocumentCard, Drawer, EmptyState, EntityCard, FeatureGrid, FeatureRow, Fieldset, FileUpload, FilterBar, FilterChips, FilterPanel, Flex, FlexItem, Form, FormField, FormLayout, Grid, GridItem, Heading, Hero, Image, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, LoadMore, LogoCloud, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, ProcessSteps, ProfileCard, Progress, Prose, Radio, RadioCard, RadioGroup, RadioGroupContext, RadioGroupItem, RangeSlider, Search, Section, SectionHeading, SegmentedControl, Select, SelectMenu, Separator, Sidebar, SiteFooter, SiteHeader, Skeleton, Spinner, StatBand, Stepper, Switch, Table, TableBody, TableCaption, TableCard, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Text, Textarea, ThemeToggle, TimePicker, Timeline, ToastProvider, Toaster, TombstoneCard, Tooltip, alertVariants, badgeVariants, buttonVariants, cn, documentHead, isComponentManifest, resolveGap, separatorVariants, spinnerVariants, toast, useCombobox, usePresence, useScrollSpy, useToast };
4401
- export type { AccessibilityRequirement, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionSection, AccordionTriggerProps, AlertDescriptionProps, AlertProps, AlertTitleProps, AnnouncementBarProps, AntiPattern, AppShellProps, AppliedFiltersProps, ArticleCardProps, AuthLayoutProps, AutocompleteOption, AutocompleteProps, BadgeProps, BlockElement, BlockProps, BottomNavItem, BottomNavProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CTASectionProps, CTASectionTone, CalendarProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, DataTableColumn, DataTableProps, DatePickerPopoverProps, DatePickerProps, DateRange, DateRangePickerProps, DateRangePreset, DealCardProps, DealMetric, DealStatus, DialogBodyProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogSize, DialogTitleProps, DocumentCardProps, DocumentHead, DocumentHeadInput, DocumentStatus, DrawerProps, DrawerSide, DrawerSize, EmptyStateAction, EmptyStateProps, EntityCardProps, EntityStat, FeatureGridProps, FeatureItem, FeatureRowProps, FieldsetProps, FileUploadProps, FilterBarProps, FilterChip, FilterChipsProps, FilterPanelProps, FilterSection, FlexItemProps, FlexProps, FormFieldLabelPlacement, FormFieldProps, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, ImageProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, LoadMoreProps, LogoCloudProps, LogoItem, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTone, MetricTrend, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverAnchorProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProcessStep, ProcessStepsProps, ProfileCardProps, ProgressProps, PropSchema, ProseProps, RadioCardProps, RadioGroupItemProps, RadioGroupProps, RadioProps, RangeSliderProps, SearchOption, SearchProps, SectionHeadingProps, SectionProps, SectionTone, SegmentedControlProps, SegmentedOption, SelectMenuItem, SelectMenuProps, SelectOption, SelectOptionGroup, SelectProps, SeparatorProps, SidebarItem, SidebarProps, SidebarSection, SiteFooterColumn, SiteFooterLink, SiteFooterProps, SiteHeaderProps, SiteNavColumn, SiteNavItem, SiteNavLink, SkeletonProps, SortIconState, SpinnerProps, StatBandProps, StatItem, StepperProps, StepperStep, SwitchProps, TableBodyProps, TableCaptionProps, TableCardProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableOfContentsProps, TableProps, TableRowProps, TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, TestimonialProps, TextProps, TextareaProps, ThemeToggleProps, TimePickerProps, TimelineItem, TimelineProps, ToastAction, ToastContextValue, ToastOptions, ToastRecord, ToastVariant, ToasterPosition, ToasterProps, TocHeading, TombstoneCardProps, TombstoneStatus, TooltipProps, UsageExample };
4433
+ export type { AccessibilityRequirement, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionSection, AccordionTriggerProps, AlertDescriptionProps, AlertProps, AlertTitleProps, AnnouncementBarProps, AntiPattern, AppShellProps, AppliedFiltersProps, ArticleCardProps, AuthLayoutProps, AutocompleteOption, AutocompleteProps, BadgeProps, BlockElement, BlockProps, BottomNavItem, BottomNavProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CTASectionProps, CTASectionTone, CalendarProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, DataTableColumn, DataTableProps, DatePickerPopoverProps, DatePickerProps, DateRange, DateRangePickerProps, DateRangePreset, DealCardProps, DealMetric, DealStatus, DialogBodyProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogSize, DialogTitleProps, DocumentCardProps, DocumentHead, DocumentHeadInput, DocumentStatus, DrawerProps, DrawerSide, DrawerSize, EmptyStateAction, EmptyStateProps, EntityCardProps, EntityStat, FeatureGridProps, FeatureItem, FeatureRowProps, FieldsetProps, FileUploadProps, FilterBarProps, FilterChip, FilterChipsProps, FilterPanelProps, FilterSection, FlexItemProps, FlexProps, FormFieldLabelPlacement, FormFieldProps, FormLayoutColumns, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, ImageProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, LoadMoreProps, LogoCloudProps, LogoItem, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTone, MetricTrend, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverAnchorProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProcessStep, ProcessStepsProps, ProfileCardProps, ProgressProps, PropSchema, ProseProps, RadioCardProps, RadioGroupItemProps, RadioGroupProps, RadioProps, RangeSliderProps, SearchOption, SearchProps, SectionHeadingProps, SectionProps, SectionTone, SegmentedControlProps, SegmentedOption, SelectMenuItem, SelectMenuProps, SelectOption, SelectOptionGroup, SelectProps, SeparatorProps, SidebarItem, SidebarProps, SidebarSection, SiteFooterColumn, SiteFooterLink, SiteFooterProps, SiteHeaderProps, SiteNavColumn, SiteNavItem, SiteNavLink, SkeletonProps, SortIconState, SpinnerProps, StatBandProps, StatItem, StepperProps, StepperStep, SwitchProps, TableBodyProps, TableCaptionProps, TableCardProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableOfContentsProps, TableProps, TableRowProps, TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, TestimonialProps, TextProps, TextareaProps, ThemeToggleProps, TimePickerProps, TimelineItem, TimelineProps, ToastAction, ToastContextValue, ToastOptions, ToastRecord, ToastVariant, ToasterPosition, ToasterProps, TocHeading, TombstoneCardProps, TombstoneStatus, TooltipProps, UsageExample };
package/dist/index.js CHANGED
@@ -997,7 +997,14 @@ var badgeVariants = (0, import_class_variance_authority2.cva)(
997
997
  info: "border-transparent bg-info text-info-foreground hover:bg-info/80",
998
998
  secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
999
999
  destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
1000
- outline: "text-foreground"
1000
+ outline: "text-foreground",
1001
+ // Quiet outline tones for status metadata (directory chips, filter
1002
+ // tags): tinted border and ink text, subtle tint on hover. Follows the
1003
+ // Alert/Button outline language.
1004
+ "outline-success": "border-success/50 bg-background text-success-ink hover:bg-success/10",
1005
+ "outline-warning": "border-warning/50 bg-background text-warning-ink hover:bg-warning/10",
1006
+ "outline-info": "border-info/50 bg-background text-info-ink hover:bg-info/10",
1007
+ "outline-danger": "border-destructive/50 bg-background text-destructive hover:bg-destructive/10"
1001
1008
  },
1002
1009
  size: {
1003
1010
  sm: "px-2 py-0 text-[11px]",
@@ -1011,10 +1018,43 @@ var badgeVariants = (0, import_class_variance_authority2.cva)(
1011
1018
  }
1012
1019
  }
1013
1020
  );
1021
+ var dotVariants = {
1022
+ default: "bg-primary-foreground",
1023
+ primary: "bg-primary-foreground",
1024
+ neutral: "bg-muted-foreground",
1025
+ accent: "bg-accent-foreground",
1026
+ danger: "bg-destructive-foreground",
1027
+ destructive: "bg-destructive-foreground",
1028
+ success: "bg-success-foreground",
1029
+ warning: "bg-warning-foreground",
1030
+ info: "bg-info-foreground",
1031
+ secondary: "bg-secondary-foreground",
1032
+ outline: "bg-foreground",
1033
+ "outline-success": "bg-success",
1034
+ "outline-warning": "bg-warning",
1035
+ "outline-info": "bg-info",
1036
+ "outline-danger": "bg-destructive"
1037
+ };
1014
1038
  var Badge = React11.forwardRef(
1015
- ({ className, variant, size, asChild = false, ...props }, ref) => {
1016
- const Comp = asChild ? import_react_slot2.Slot : "span";
1017
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Comp, { ref, className: cn(badgeVariants({ variant, size }), className), ...props });
1039
+ ({ className, variant, size, asChild = false, dot = false, children, ...props }, ref) => {
1040
+ const classNames = cn(badgeVariants({ variant, size }), dot && "gap-1.5", className);
1041
+ const dotEl = dot ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1042
+ "span",
1043
+ {
1044
+ "aria-hidden": "true",
1045
+ className: cn("h-1.5 w-1.5 shrink-0 rounded-full", dotVariants[variant ?? "default"])
1046
+ }
1047
+ ) : null;
1048
+ if (asChild) {
1049
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_react_slot2.Slot, { ref, className: classNames, ...props, children: [
1050
+ dotEl,
1051
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_slot2.Slottable, { children })
1052
+ ] });
1053
+ }
1054
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { ref, className: classNames, ...props, children: [
1055
+ dotEl,
1056
+ children
1057
+ ] });
1018
1058
  }
1019
1059
  );
1020
1060
  Badge.displayName = "Badge";
@@ -2710,13 +2750,26 @@ var GRID_COLUMNS = {
2710
2750
  3: "grid-cols-3",
2711
2751
  4: "grid-cols-4"
2712
2752
  };
2753
+ var GRID_BREAKPOINTS = ["sm", "md", "lg", "xl"];
2754
+ function gridColumnClasses(columns) {
2755
+ if (typeof columns === "number") return GRID_COLUMNS[columns];
2756
+ return [
2757
+ columns.base !== void 0 ? GRID_COLUMNS[columns.base] : "",
2758
+ ...GRID_BREAKPOINTS.map((bp) => {
2759
+ const count = columns[bp];
2760
+ return count !== void 0 ? `${bp}:${GRID_COLUMNS[count]}` : "";
2761
+ })
2762
+ ].filter(Boolean).join(" ");
2763
+ }
2713
2764
  var FormLayout = React30.forwardRef(
2714
2765
  ({
2715
2766
  layout = "stack",
2716
2767
  columns = 2,
2717
2768
  gap,
2718
2769
  legend,
2770
+ legendClassName,
2719
2771
  description,
2772
+ descriptionClassName,
2720
2773
  as = "div",
2721
2774
  className,
2722
2775
  style,
@@ -2733,15 +2786,15 @@ var FormLayout = React30.forwardRef(
2733
2786
  "flex min-w-0",
2734
2787
  layout === "stack" && "flex-col",
2735
2788
  layout === "row" && "flex-row flex-wrap items-end",
2736
- layout === "grid" && `grid ${GRID_COLUMNS[columns]}`,
2789
+ layout === "grid" && `grid ${gridColumnClasses(columns)}`,
2737
2790
  gapResolved.className,
2738
2791
  className
2739
2792
  ),
2740
2793
  style: { ...gapResolved.style, ...style },
2741
2794
  ...props,
2742
2795
  children: [
2743
- legend && as === "fieldset" && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("legend", { className: "col-span-full p-0 text-sm font-medium leading-none", children: legend }),
2744
- description && as === "fieldset" && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "col-span-full text-xs text-muted-foreground", children: description }),
2796
+ legend && as === "fieldset" && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("legend", { className: cn("col-span-full p-0 text-sm font-medium leading-none", legendClassName), children: legend }),
2797
+ description && as === "fieldset" && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: cn("col-span-full text-xs text-muted-foreground", descriptionClassName), children: description }),
2745
2798
  children
2746
2799
  ]
2747
2800
  }