@walidsj/react-ui 0.2.0 → 0.3.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.
Files changed (212) hide show
  1. package/README.md +52 -37
  2. package/dist/{accordion-Da0Y5c3W.js → accordion-nzbtc3_2.js} +8 -3
  3. package/dist/accordion-nzbtc3_2.js.map +1 -0
  4. package/dist/{alert-D7lYqDGZ.js → alert-BQzMceKI.js} +7 -3
  5. package/dist/alert-BQzMceKI.js.map +1 -0
  6. package/dist/{alert-dialog-BSyPkfNR.js → alert-dialog-_E4de7AY.js} +13 -3
  7. package/dist/alert-dialog-_E4de7AY.js.map +1 -0
  8. package/dist/{autocomplete-D_OafKFC.js → autocomplete-CVD8GTVR.js} +10 -3
  9. package/dist/autocomplete-CVD8GTVR.js.map +1 -0
  10. package/dist/{avatar-CgtyIpnX.js → avatar-1d_t2tas.js} +9 -4
  11. package/dist/avatar-1d_t2tas.js.map +1 -0
  12. package/dist/{breadcrumb-ieuPHz2w.js → breadcrumb-BGVDD5TT.js} +10 -3
  13. package/dist/breadcrumb-BGVDD5TT.js.map +1 -0
  14. package/dist/{collapsible-CaAEi_w7.js → collapsible-odw6ynaJ.js} +7 -3
  15. package/dist/collapsible-odw6ynaJ.js.map +1 -0
  16. package/dist/{combobox-CDRnBR2S.js → combobox-BjSMdUz_.js} +17 -3
  17. package/dist/combobox-BjSMdUz_.js.map +1 -0
  18. package/dist/components/accordion/accordion.d.ts +9 -4
  19. package/dist/components/accordion/index.d.ts +1 -1
  20. package/dist/components/accordion/index.js +1 -1
  21. package/dist/components/alert/alert.d.ts +4 -3
  22. package/dist/components/alert/index.d.ts +1 -1
  23. package/dist/components/alert/index.js +1 -1
  24. package/dist/components/alert-dialog/alert-dialog.d.ts +16 -9
  25. package/dist/components/alert-dialog/index.d.ts +1 -1
  26. package/dist/components/alert-dialog/index.js +1 -1
  27. package/dist/components/autocomplete/autocomplete.d.ts +13 -6
  28. package/dist/components/autocomplete/index.d.ts +1 -1
  29. package/dist/components/autocomplete/index.js +1 -1
  30. package/dist/components/avatar/avatar-group.d.ts +3 -2
  31. package/dist/components/avatar/avatar.d.ts +7 -3
  32. package/dist/components/avatar/index.d.ts +2 -2
  33. package/dist/components/avatar/index.js +1 -1
  34. package/dist/components/breadcrumb/breadcrumb.d.ts +10 -6
  35. package/dist/components/breadcrumb/index.d.ts +1 -1
  36. package/dist/components/breadcrumb/index.js +1 -1
  37. package/dist/components/card/card.d.ts +7 -6
  38. package/dist/components/card/index.d.ts +1 -1
  39. package/dist/components/collapsible/collapsible.d.ts +7 -3
  40. package/dist/components/collapsible/index.d.ts +1 -1
  41. package/dist/components/collapsible/index.js +1 -1
  42. package/dist/components/combobox/combobox.d.ts +22 -13
  43. package/dist/components/combobox/index.d.ts +1 -1
  44. package/dist/components/combobox/index.js +1 -1
  45. package/dist/components/context-menu/context-menu.d.ts +20 -10
  46. package/dist/components/context-menu/index.d.ts +1 -1
  47. package/dist/components/context-menu/index.js +1 -1
  48. package/dist/components/description-list/description-list.d.ts +4 -3
  49. package/dist/components/description-list/index.d.ts +1 -1
  50. package/dist/components/description-list/index.js +1 -1
  51. package/dist/components/dialog/dialog.d.ts +11 -6
  52. package/dist/components/dialog/index.d.ts +1 -1
  53. package/dist/components/dialog/index.js +1 -1
  54. package/dist/components/drawer/drawer.d.ts +13 -8
  55. package/dist/components/drawer/index.d.ts +1 -1
  56. package/dist/components/drawer/index.js +1 -1
  57. package/dist/components/dropdown-menu/dropdown-menu.d.ts +10 -5
  58. package/dist/components/dropdown-menu/index.d.ts +1 -1
  59. package/dist/components/dropdown-menu/index.js +1 -1
  60. package/dist/components/empty/empty.d.ts +4 -3
  61. package/dist/components/empty/index.d.ts +1 -1
  62. package/dist/components/empty/index.js +1 -1
  63. package/dist/components/field/field.d.ts +9 -4
  64. package/dist/components/field/index.d.ts +1 -1
  65. package/dist/components/field/index.js +1 -1
  66. package/dist/components/fieldset/fieldset.d.ts +6 -2
  67. package/dist/components/fieldset/index.d.ts +1 -1
  68. package/dist/components/fieldset/index.js +1 -1
  69. package/dist/components/input-group/index.d.ts +1 -1
  70. package/dist/components/input-group/index.js +1 -1
  71. package/dist/components/input-group/input-group.d.ts +3 -2
  72. package/dist/components/menubar/index.d.ts +1 -1
  73. package/dist/components/menubar/index.js +1 -1
  74. package/dist/components/menubar/menubar.d.ts +13 -6
  75. package/dist/components/navigation-menu/index.d.ts +1 -1
  76. package/dist/components/navigation-menu/index.js +1 -1
  77. package/dist/components/navigation-menu/navigation-menu.d.ts +19 -10
  78. package/dist/components/number-field/index.d.ts +1 -1
  79. package/dist/components/number-field/index.js +1 -1
  80. package/dist/components/number-field/number-field.d.ts +11 -5
  81. package/dist/components/otp-field/index.d.ts +1 -1
  82. package/dist/components/otp-field/index.js +1 -1
  83. package/dist/components/otp-field/otp-field.d.ts +8 -3
  84. package/dist/components/pagination/index.d.ts +1 -1
  85. package/dist/components/pagination/index.js +1 -1
  86. package/dist/components/pagination/pagination.d.ts +11 -7
  87. package/dist/components/popover/index.d.ts +1 -1
  88. package/dist/components/popover/index.js +1 -1
  89. package/dist/components/popover/popover.d.ts +11 -6
  90. package/dist/components/preview-card/index.d.ts +1 -1
  91. package/dist/components/preview-card/index.js +1 -1
  92. package/dist/components/preview-card/preview-card.d.ts +9 -4
  93. package/dist/components/radio-group/index.d.ts +1 -1
  94. package/dist/components/radio-group/index.js +1 -1
  95. package/dist/components/radio-group/radio-group.d.ts +6 -2
  96. package/dist/components/select/index.d.ts +1 -1
  97. package/dist/components/select/index.js +1 -1
  98. package/dist/components/select/select.d.ts +11 -6
  99. package/dist/components/sheet/index.d.ts +1 -1
  100. package/dist/components/sheet/index.js +1 -1
  101. package/dist/components/sheet/sheet.d.ts +12 -8
  102. package/dist/components/sidebar/index.d.ts +1 -1
  103. package/dist/components/sidebar/index.js +1 -1
  104. package/dist/components/sidebar/sidebar.d.ts +10 -9
  105. package/dist/components/table/index.d.ts +1 -1
  106. package/dist/components/table/index.js +1 -1
  107. package/dist/components/table/table.d.ts +9 -8
  108. package/dist/components/tabs/index.d.ts +1 -1
  109. package/dist/components/tabs/index.js +1 -1
  110. package/dist/components/tabs/tabs.d.ts +10 -4
  111. package/dist/components/toast/index.d.ts +1 -1
  112. package/dist/components/toast/index.js +1 -1
  113. package/dist/components/toast/toast.d.ts +10 -7
  114. package/dist/components/toggle-group/index.d.ts +1 -1
  115. package/dist/components/toggle-group/index.js +1 -1
  116. package/dist/components/toggle-group/toggle-group.d.ts +6 -2
  117. package/dist/components/toolbar/index.d.ts +1 -1
  118. package/dist/components/toolbar/index.js +1 -1
  119. package/dist/components/toolbar/toolbar.d.ts +14 -6
  120. package/dist/components/tooltip/index.d.ts +1 -1
  121. package/dist/components/tooltip/index.js +1 -1
  122. package/dist/components/tooltip/tooltip.d.ts +7 -4
  123. package/dist/{context-menu-Bgjfb3Vn.js → context-menu-paRijJ7d.js} +14 -3
  124. package/dist/context-menu-paRijJ7d.js.map +1 -0
  125. package/dist/{description-list-DsadmGs0.js → description-list-DDfz-rHA.js} +7 -3
  126. package/dist/description-list-DDfz-rHA.js.map +1 -0
  127. package/dist/{dialog-55wgLYTM.js → dialog-wnHwh4r8.js} +10 -3
  128. package/dist/dialog-wnHwh4r8.js.map +1 -0
  129. package/dist/{drawer-C00GsyiF.js → drawer-C27gyXYB.js} +12 -3
  130. package/dist/drawer-C27gyXYB.js.map +1 -0
  131. package/dist/{dropdown-menu-Bdv_CYy4.js → dropdown-menu-nea36MKM.js} +9 -3
  132. package/dist/dropdown-menu-nea36MKM.js.map +1 -0
  133. package/dist/{empty-BQnRtQAg.js → empty-Cqrg0Hyt.js} +7 -3
  134. package/dist/empty-Cqrg0Hyt.js.map +1 -0
  135. package/dist/{field-CmdqOHUg.js → field-C-2eNSGZ.js} +8 -3
  136. package/dist/field-C-2eNSGZ.js.map +1 -0
  137. package/dist/{fieldset-DyFySEr8.js → fieldset-Cgl_KnGa.js} +4 -3
  138. package/dist/fieldset-Cgl_KnGa.js.map +1 -0
  139. package/dist/index.d.ts +38 -35
  140. package/dist/index.js +48 -42
  141. package/dist/index.js.map +1 -1
  142. package/dist/{input-group-wc-i4msT.js → input-group-DgRdsJK8.js} +4 -3
  143. package/dist/input-group-DgRdsJK8.js.map +1 -0
  144. package/dist/{menubar-Dsu8-ZDe.js → menubar-11VKbNs2.js} +10 -3
  145. package/dist/menubar-11VKbNs2.js.map +1 -0
  146. package/dist/{navigation-menu-DsyXq41S.js → navigation-menu-DP7r2PP-.js} +14 -3
  147. package/dist/navigation-menu-DP7r2PP-.js.map +1 -0
  148. package/dist/{number-field-B1tNwdKz.js → number-field-YJ_58VU5.js} +9 -3
  149. package/dist/number-field-YJ_58VU5.js.map +1 -0
  150. package/dist/{otp-field-Cptj2cmZ.js → otp-field-DZmagJ_O.js} +7 -3
  151. package/dist/otp-field-DZmagJ_O.js.map +1 -0
  152. package/dist/{pagination-2XGW4DoY.js → pagination-CSAJn5Ph.js} +11 -3
  153. package/dist/pagination-CSAJn5Ph.js.map +1 -0
  154. package/dist/{popover-D5LdFHVS.js → popover-COYlKfkf.js} +10 -3
  155. package/dist/popover-COYlKfkf.js.map +1 -0
  156. package/dist/{preview-card-Cmds7aMj.js → preview-card-ByyvdPvk.js} +8 -3
  157. package/dist/preview-card-ByyvdPvk.js.map +1 -0
  158. package/dist/{radio-group-C2eDfEYd.js → radio-group-OdNChchU.js} +4 -3
  159. package/dist/radio-group-OdNChchU.js.map +1 -0
  160. package/dist/{select-CRy8QX_0.js → select--Rn5DQaC.js} +10 -3
  161. package/dist/select--Rn5DQaC.js.map +1 -0
  162. package/dist/{sheet-BVDn2j7O.js → sheet-B6-iNDZG.js} +12 -3
  163. package/dist/sheet-B6-iNDZG.js.map +1 -0
  164. package/dist/{sidebar-CHBlzB0E.js → sidebar-C9YE73TS.js} +13 -3
  165. package/dist/sidebar-C9YE73TS.js.map +1 -0
  166. package/dist/{table-BG-OtXYI.js → table-CH0H16pL.js} +12 -3
  167. package/dist/table-CH0H16pL.js.map +1 -0
  168. package/dist/{tabs-BsDJVa2q.js → tabs-VnWSV0RD.js} +8 -3
  169. package/dist/tabs-VnWSV0RD.js.map +1 -0
  170. package/dist/{toast-BtHOJV7_.js → toast-BkDQhrZ5.js} +11 -3
  171. package/dist/toast-BkDQhrZ5.js.map +1 -0
  172. package/dist/{toggle-group-NHZGXljI.js → toggle-group-B8vnkGCk.js} +4 -3
  173. package/dist/toggle-group-B8vnkGCk.js.map +1 -0
  174. package/dist/{toolbar-DJDrGUV_.js → toolbar-BVA36_dH.js} +10 -3
  175. package/dist/toolbar-BVA36_dH.js.map +1 -0
  176. package/dist/{tooltip-B07nkHWG.js → tooltip-a7t8wv2L.js} +8 -3
  177. package/dist/tooltip-a7t8wv2L.js.map +1 -0
  178. package/package.json +1 -1
  179. package/dist/accordion-Da0Y5c3W.js.map +0 -1
  180. package/dist/alert-D7lYqDGZ.js.map +0 -1
  181. package/dist/alert-dialog-BSyPkfNR.js.map +0 -1
  182. package/dist/autocomplete-D_OafKFC.js.map +0 -1
  183. package/dist/avatar-CgtyIpnX.js.map +0 -1
  184. package/dist/breadcrumb-ieuPHz2w.js.map +0 -1
  185. package/dist/collapsible-CaAEi_w7.js.map +0 -1
  186. package/dist/combobox-CDRnBR2S.js.map +0 -1
  187. package/dist/context-menu-Bgjfb3Vn.js.map +0 -1
  188. package/dist/description-list-DsadmGs0.js.map +0 -1
  189. package/dist/dialog-55wgLYTM.js.map +0 -1
  190. package/dist/drawer-C00GsyiF.js.map +0 -1
  191. package/dist/dropdown-menu-Bdv_CYy4.js.map +0 -1
  192. package/dist/empty-BQnRtQAg.js.map +0 -1
  193. package/dist/field-CmdqOHUg.js.map +0 -1
  194. package/dist/fieldset-DyFySEr8.js.map +0 -1
  195. package/dist/input-group-wc-i4msT.js.map +0 -1
  196. package/dist/menubar-Dsu8-ZDe.js.map +0 -1
  197. package/dist/navigation-menu-DsyXq41S.js.map +0 -1
  198. package/dist/number-field-B1tNwdKz.js.map +0 -1
  199. package/dist/otp-field-Cptj2cmZ.js.map +0 -1
  200. package/dist/pagination-2XGW4DoY.js.map +0 -1
  201. package/dist/popover-D5LdFHVS.js.map +0 -1
  202. package/dist/preview-card-Cmds7aMj.js.map +0 -1
  203. package/dist/radio-group-C2eDfEYd.js.map +0 -1
  204. package/dist/select-CRy8QX_0.js.map +0 -1
  205. package/dist/sheet-BVDn2j7O.js.map +0 -1
  206. package/dist/sidebar-CHBlzB0E.js.map +0 -1
  207. package/dist/table-BG-OtXYI.js.map +0 -1
  208. package/dist/tabs-BsDJVa2q.js.map +0 -1
  209. package/dist/toast-BtHOJV7_.js.map +0 -1
  210. package/dist/toggle-group-NHZGXljI.js.map +0 -1
  211. package/dist/toolbar-DJDrGUV_.js.map +0 -1
  212. package/dist/tooltip-B07nkHWG.js.map +0 -1
package/README.md CHANGED
@@ -26,7 +26,7 @@ Requires React 19. The package is ESM-only.
26
26
  ## Usage
27
27
 
28
28
  Import the compiled stylesheet once, then use components from the package
29
- root. `InputGroup` and `InputGroupAddon` place optional prefix/suffix content
29
+ root. `InputGroup` and `InputGroup.Addon` place optional prefix/suffix content
30
30
  beside an `Input`; unlabeled addons are decorative. `Container` centers content
31
31
  within a responsive maximum width:
32
32
 
@@ -64,8 +64,8 @@ import { Textarea } from "@walidsj/react-ui/components/textarea";
64
64
  ### Label, Badge, Card, and Separator
65
65
 
66
66
  The package also exports `Label`, `Badge`, `Separator`, and composable card
67
- parts: `Card`, `CardHeader`, `CardTitle`, `CardDescription`, `CardContent`,
68
- and `CardFooter`. Badge variants are `default`, `secondary`, `outline`,
67
+ parts: `Card`, `Card.Header`, `Card.Title`, `Card.Description`, `Card.Content`,
68
+ and `Card.Footer`. Badge variants are `default`, `secondary`, `outline`,
69
69
  `accent`, `success`, `warning`, and `danger`. `Separator` uses Base UI's
70
70
  separator primitive and accepts `horizontal` or `vertical` orientation.
71
71
 
@@ -75,56 +75,56 @@ These components use Base UI for keyboard and focus behavior. Compose their
75
75
  parts as needed:
76
76
 
77
77
  ``` tsx
78
- import { Tabs, TabsContent, TabsList, TabsTrigger } from "@walidsj/react-ui";
78
+ import { Tabs } from "@walidsj/react-ui";
79
79
 
80
80
  <Tabs defaultValue="account">
81
- <TabsList>
82
- <TabsTrigger value="account">Account</TabsTrigger>
83
- <TabsTrigger value="security">Security</TabsTrigger>
84
- </TabsList>
85
- <TabsContent value="account">Account settings</TabsContent>
86
- <TabsContent value="security">Security settings</TabsContent>
81
+ <Tabs.List>
82
+ <Tabs.Trigger value="account">Account</Tabs.Trigger>
83
+ <Tabs.Trigger value="security">Security</Tabs.Trigger>
84
+ </Tabs.List>
85
+ <Tabs.Content value="account">Account settings</Tabs.Content>
86
+ <Tabs.Content value="security">Security settings</Tabs.Content>
87
87
  </Tabs>
88
88
  ```
89
89
 
90
- `DialogContent` should include a `DialogTitle` for an accessible name.
91
- `Tooltip` instances should be wrapped in `TooltipProvider`.
90
+ `Dialog.Content` should include a `Dialog.Title` for an accessible name.
91
+ `Tooltip` instances should be wrapped in `Tooltip.Provider`.
92
92
 
93
93
  ### More controls and layout components
94
94
 
95
95
  `Switch` and `Checkbox` are Base UI-backed controls. `Select` is composed
96
- from `Select`, `SelectTrigger`, `SelectValue`, `SelectContent`, and
97
- `SelectItem`. `Accordion` is composed from `AccordionItem`,
98
- `AccordionTrigger`, and `AccordionContent`. `Avatar` supports `AvatarImage`
99
- and should always include an `AvatarFallback`. `AvatarGroup` overlaps avatars
100
- and can include `AvatarGroupCount` to indicate additional members.
96
+ from `Select`, `Select.Trigger`, `Select.Value`, `Select.Content`, and
97
+ `Select.Item`. `Accordion` is composed from `Accordion.Item`,
98
+ `Accordion.Trigger`, and `Accordion.Content`. `Avatar` supports `Avatar.Image`
99
+ and should always include an `Avatar.Fallback`. `AvatarGroup` overlaps avatars
100
+ and can include `AvatarGroup.Count` to indicate additional members.
101
101
 
102
102
  For data and feedback, the package exports composable semantic table parts
103
- (`Table`, `TableHeader`, `TableBody`, `TableRow`, `TableHead`, `TableCell`,
104
- `TableFooter`, and `TableCaption`), Base UI-backed `Progress`, `Skeleton`
103
+ (`Table`, `Table.Header`, `Table.Body`, `Table.Row`, `Table.Head`, `Table.Cell`,
104
+ `Table.Footer`, and `Table.Caption`), Base UI-backed `Progress`, `Skeleton`
105
105
  for loading placeholders, and `Alert` with `default`, `danger`, `success`,
106
106
  and `warning` variants.
107
107
 
108
108
  Additional navigation and choice components include `Popover`,
109
- `RadioGroup`/`RadioGroupItem`, `ToggleGroup`/`ToggleGroupItem`, and semantic
110
- breadcrumb parts (`Breadcrumb`, `BreadcrumbList`, `BreadcrumbItem`,
111
- `BreadcrumbLink`, `BreadcrumbPage`, and `BreadcrumbSeparator`).
109
+ `RadioGroup`/`RadioGroup.Item`, `ToggleGroup`/`ToggleGroup.Item`, and semantic
110
+ breadcrumb parts (`Breadcrumb`, `Breadcrumb.List`, `Breadcrumb.Item`,
111
+ `Breadcrumb.Link`, `Breadcrumb.Page`, and `Breadcrumb.Separator`).
112
112
 
113
- Form composition also includes Base UI `Field` parts (`FieldLabel`,
114
- `FieldDescription`, and `FieldError`), `Slider`, `NumberField` with its group,
113
+ Form composition also includes Base UI `Field` parts (`Field.Label`,
114
+ `Field.Description`, and `Field.Error`), `Slider`, `NumberField` with its group,
115
115
  input and increment/decrement controls, and `Collapsible` with trigger and
116
116
  content parts.
117
117
 
118
118
  `Combobox` provides a searchable selection built on Base UI. Pass an `items`
119
- collection to the root, then compose `ComboboxInputGroup`, `ComboboxInput`,
120
- `ComboboxContent`, and `ComboboxItem`. `Meter` is a non-interactive value
119
+ collection to the root, then compose `Combobox.InputGroup`, `Combobox.Input`,
120
+ `Combobox.Content`, and `Combobox.Item`. `Meter` is a non-interactive value
121
121
  display with `primary`, `success`, `warning`, and `danger` variants. `Toolbar`
122
122
  provides keyboard-navigable action groups, while `ContextMenu` provides
123
- right-click actions. `OTPField` composes one `OTPFieldInput` per code slot and
123
+ right-click actions. `OTPField` composes one `OTPField.Input` per code slot and
124
124
  supports Base UI's native paste and keyboard behavior.
125
125
 
126
126
  The OTP root requires `length` (the number of code slots); use
127
- `OTPFieldSeparator` only for visual grouping and do not count it as a slot.
127
+ `OTPField.Separator` only for visual grouping and do not count it as a slot.
128
128
 
129
129
  `Autocomplete` suggests matching values while allowing free-form input. Its
130
130
  object values can provide `label` and `value`; otherwise configure
@@ -135,7 +135,7 @@ content panels. Both use Base UI keyboard and focus behavior.
135
135
 
136
136
  `CheckboxGroup` shares selected values across a set of native-style checkboxes.
137
137
  `PreviewCard` reveals link context on hover or keyboard focus. `Drawer` is a
138
- swipe-dismissible bottom panel; use `DrawerTitle` and `DrawerDescription` to
138
+ swipe-dismissible bottom panel; use `Drawer.Title` and `Drawer.Description` to
139
139
  provide its accessible name and description.
140
140
 
141
141
  `Toggle` is a standalone two-state button. `Form` wraps Base UI's native form
@@ -146,7 +146,7 @@ several radio options share one value and keyboard navigation context.
146
146
  `AspectRatio` reserves a stable content frame (16:9 by default) for images,
147
147
  video, and other responsive media.
148
148
  `Kbd` styles the native `<kbd>` element for semantic keyboard shortcut labels.
149
- `Empty`, `EmptyTitle`, and `EmptyDescription` compose a clear no-content
149
+ `Empty`, `Empty.Title`, and `Empty.Description` compose a clear no-content
150
150
  message; place an action such as a `Button` inside `Empty` when users can
151
151
  create or recover content.
152
152
  `InlineCode` styles short code fragments within prose; use a preformatted
@@ -159,22 +159,22 @@ supports horizontal (default) or vertical orientation.
159
159
  `focusable` for content such as a keyboard-revealed skip link.
160
160
  `Sidebar` provides composable navigation layout parts. The mobile overlay,
161
161
  collapse state, and route selection remain under application control; use
162
- `aria-current="page"` on the active `SidebarMenuButton` link.
162
+ `aria-current="page"` on the active `Sidebar.MenuButton` link.
163
163
  `IconButton` reuses the standard button variants with square sizing and
164
164
  requires an `aria-label` for its icon-only content.
165
165
  `Link` styles a native anchor and preserves browser navigation behavior; use
166
166
  your router's link component when client-side routing is required.
167
- `DescriptionList`, `DescriptionTerm`, and `DescriptionDetails` provide
167
+ `DescriptionList`, `DescriptionList.Term`, and `DescriptionList.Details` provide
168
168
  semantic label/value pairs for record details and summaries.
169
169
  `StatusIndicator` pairs a colored dot with a visible label using `default`,
170
170
  `success`, `warning`, or `danger` variants.
171
171
 
172
- Overlays include `AlertDialog` (with `AlertDialogHeader`, `AlertDialogFooter`,
173
- `AlertDialogCancel`, and `AlertDialogAction`) and `Sheet` with `right`, `left`,
172
+ Overlays include `AlertDialog` (with `AlertDialog.Header`, `AlertDialog.Footer`,
173
+ `AlertDialog.Cancel`, and `AlertDialog.Action`) and `Sheet` with `right`, `left`,
174
174
  `top`, and `bottom` sides. `ScrollArea` adds themed scrollbars around a native
175
- scroll container. `Pagination` is composed from `PaginationContent`,
176
- `PaginationItem`, `PaginationLink`, `PaginationPrevious`, `PaginationNext`, and
177
- `PaginationEllipsis`.
175
+ scroll container. `Pagination` is composed from `Pagination.Content`,
176
+ `Pagination.Item`, `Pagination.Link`, `Pagination.Previous`, `Pagination.Next`, and
177
+ `Pagination.Ellipsis`.
178
178
 
179
179
  Notifications use Base UI toast primitives. Wrap the application in
180
180
  `ToastProvider`, render `Toaster` once, and call `useToastManager` from a
@@ -280,6 +280,21 @@ buttons, pagination arrows, numeric steppers, accordion chevrons) use
280
280
  `@tabler/icons-react`, which ships as a runtime dependency of this package.
281
281
  Consumers do not need to install it separately.
282
282
 
283
+ ## Migration
284
+
285
+ Compound parts moved from flat exports (`CardTitle`) to object namespaces
286
+ (`Card.Title`). Import only the namespace root, then use its properties:
287
+
288
+ ``` tsx
289
+ // Before (removed)
290
+ import { Card, CardTitle } from "@walidsj/react-ui";
291
+ <Card><CardTitle>Account</CardTitle></Card>
292
+
293
+ // After
294
+ import { Card } from "@walidsj/react-ui";
295
+ <Card><Card.Title>Account</Card.Title></Card>
296
+ ```
297
+
283
298
  ## Styling
284
299
 
285
300
  The package ships a precompiled stylesheet at
@@ -3,7 +3,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { IconChevronDown } from "@tabler/icons-react";
4
4
  import { Accordion } from "@base-ui/react/accordion";
5
5
  // src/components/accordion/accordion.tsx
6
- var Accordion$1 = Accordion.Root;
6
+ var AccordionRoot = Accordion.Root;
7
7
  function AccordionItem({ className, ...props }) {
8
8
  return /* @__PURE__ */ jsx(Accordion.Item, {
9
9
  ...props,
@@ -30,6 +30,11 @@ function AccordionContent({ className, ...props }) {
30
30
  className: cn("text-muted-foreground overflow-hidden pb-4 text-sm", className)
31
31
  });
32
32
  }
33
- export { AccordionTrigger as i, AccordionContent as n, AccordionItem as r, Accordion$1 as t };
33
+ var Accordion$1 = Object.assign(AccordionRoot, {
34
+ Item: AccordionItem,
35
+ Trigger: AccordionTrigger,
36
+ Content: AccordionContent
37
+ });
38
+ export { Accordion$1 as t };
34
39
 
35
- //# sourceMappingURL=accordion-Da0Y5c3W.js.map
40
+ //# sourceMappingURL=accordion-nzbtc3_2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion-nzbtc3_2.js","names":["BaseAccordion","Accordion"],"sources":["../src/components/accordion/accordion.tsx"],"sourcesContent":["import { Accordion as BaseAccordion } from \"@base-ui/react/accordion\";\nimport { IconChevronDown } from \"@tabler/icons-react\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst AccordionRoot = BaseAccordion.Root;\n\nfunction AccordionItem({ className, ...props }: ComponentProps<typeof BaseAccordion.Item>) {\n return <BaseAccordion.Item {...props} className={cn(\"border-border border-b\", className)} />;\n}\n\nfunction AccordionTrigger({ className, children, ...props }: ComponentProps<typeof BaseAccordion.Trigger>) {\n return <BaseAccordion.Header className=\"flex\"><BaseAccordion.Trigger {...props} className={cn(\"text-foreground focus-visible:ring-ring flex flex-1 items-center justify-between py-4 text-left text-sm font-medium outline-none focus-visible:ring-2\", className)}>{children}<span className=\"text-muted-foreground ml-3 flex transition-transform data-[panel-open]:rotate-180\" aria-hidden=\"true\"><IconChevronDown size={16} /></span></BaseAccordion.Trigger></BaseAccordion.Header>;\n}\n\nfunction AccordionContent({ className, ...props }: ComponentProps<typeof BaseAccordion.Panel>) {\n return <BaseAccordion.Panel {...props} className={cn(\"text-muted-foreground overflow-hidden pb-4 text-sm\", className)} />;\n}\n\nexport const Accordion = Object.assign(AccordionRoot, {\n Item: AccordionItem,\n Trigger: AccordionTrigger,\n Content: AccordionContent,\n});\n"],"mappings":";;;;;AAKA,IAAM,gBAAgBA,UAAc;AAEpC,SAAS,cAAc,EAAE,WAAW,GAAG,SAAoD;CACzF,OAAO,oBAACA,UAAc,MAAf;EAAoB,GAAI;EAAO,WAAW,GAAG,0BAA0B,SAAS;CAAI,CAAA;AAC7F;AAEA,SAAS,iBAAiB,EAAE,WAAW,UAAU,GAAG,SAAuD;CACzG,OAAO,oBAACA,UAAc,QAAf;EAAsB,WAAU;EAAO,UAAA,qBAACA,UAAc,SAAf;GAAuB,GAAI;GAAO,WAAW,GAAG,yJAAyJ,SAAS;GAAlN,UAAA,CAAsN,UAAS,oBAAC,QAAD;IAAM,WAAU;IAAoF,eAAY;IAAO,UAAA,oBAAC,iBAAD,EAAiB,MAAM,GAAK,CAAA;GAAO,CAAA,CAAwB;;CAAuB,CAAA;AACxd;AAEA,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAqD;CAC7F,OAAO,oBAACA,UAAc,OAAf;EAAqB,GAAI;EAAO,WAAW,GAAG,sDAAsD,SAAS;CAAI,CAAA;AAC1H;AAEA,IAAaC,cAAY,OAAO,OAAO,eAAe;CACpD,MAAM;CACN,SAAS;CACT,SAAS;AACX,CAAC"}
@@ -12,7 +12,7 @@ var alertVariants = cva("rounded-ui-lg border p-4 text-sm", {
12
12
  } },
13
13
  defaultVariants: { variant: "default" }
14
14
  });
15
- var Alert = forwardRef(function Alert({ className, variant = "default", ...props }, ref) {
15
+ var AlertRoot = forwardRef(function AlertRoot({ className, variant = "default", ...props }, ref) {
16
16
  return /* @__PURE__ */ jsx("div", {
17
17
  ...props,
18
18
  ref,
@@ -34,6 +34,10 @@ var AlertDescription = forwardRef(function AlertDescription({ className, ...prop
34
34
  className: cn("text-sm opacity-90 [&_p]:leading-relaxed", className)
35
35
  });
36
36
  });
37
- export { AlertDescription as n, AlertTitle as r, Alert as t };
37
+ var Alert = Object.assign(AlertRoot, {
38
+ Title: AlertTitle,
39
+ Description: AlertDescription
40
+ });
41
+ export { Alert as t };
38
42
 
39
- //# sourceMappingURL=alert-D7lYqDGZ.js.map
43
+ //# sourceMappingURL=alert-BQzMceKI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-BQzMceKI.js","names":[],"sources":["../src/components/alert/alert.tsx"],"sourcesContent":["import { cva, type VariantProps } from \"class-variance-authority\";\nimport { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst alertVariants = cva(\"rounded-ui-lg border p-4 text-sm\", {\n variants: {\n variant: {\n default: \"border-border bg-background text-foreground\",\n danger: \"border-danger/40 bg-danger/10 text-foreground [&>svg]:text-danger\",\n success: \"border-success-foreground/30 bg-success text-success-foreground\",\n warning: \"border-warning-foreground/30 bg-warning text-warning-foreground\",\n },\n },\n defaultVariants: { variant: \"default\" },\n});\n\nexport interface AlertProps extends ComponentPropsWithoutRef<\"div\">, VariantProps<typeof alertVariants> {}\n\nconst AlertRoot = forwardRef<HTMLDivElement, AlertProps>(function AlertRoot(\n { className, variant = \"default\", ...props }, ref,\n) {\n return <div {...props} ref={ref} role=\"alert\" className={cn(alertVariants({ variant }), className)} />;\n});\n\nconst AlertTitle = forwardRef<HTMLHeadingElement, ComponentPropsWithoutRef<\"h5\">>(\n function AlertTitle({ className, ...props }, ref) {\n return <h5 {...props} ref={ref} className={cn(\"mb-1 font-medium leading-none tracking-tight\", className)} />;\n },\n);\n\nconst AlertDescription = forwardRef<HTMLParagraphElement, ComponentPropsWithoutRef<\"div\">>(\n function AlertDescription({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"text-sm opacity-90 [&_p]:leading-relaxed\", className)} />;\n },\n);\n\nexport const Alert = Object.assign(AlertRoot, {\n Title: AlertTitle,\n Description: AlertDescription,\n});\n"],"mappings":";;;;;AAIA,IAAM,gBAAgB,IAAI,oCAAoC;CAC5D,UAAU,EACR,SAAS;EACP,SAAS;EACT,QAAQ;EACR,SAAS;EACT,SAAS;CACX,EACF;CACA,iBAAiB,EAAE,SAAS,UAAU;AACxC,CAAC;AAID,IAAM,YAAY,WAAuC,SAAS,UAChE,EAAE,WAAW,UAAU,WAAW,GAAG,SAAS,KAC9C;CACA,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,MAAK;EAAQ,WAAW,GAAG,cAAc,EAAE,QAAQ,CAAC,GAAG,SAAS;CAAI,CAAA;AACvG,CAAC;AAED,IAAM,aAAa,WACjB,SAAS,WAAW,EAAE,WAAW,GAAG,SAAS,KAAK;CAChD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,gDAAgD,SAAS;CAAI,CAAA;AAC7G,CACF;AAEA,IAAM,mBAAmB,WACvB,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAS,KAAK;CACtD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,4CAA4C,SAAS;CAAI,CAAA;AAC1G,CACF;AAEA,IAAa,QAAQ,OAAO,OAAO,WAAW;CAC5C,OAAO;CACP,aAAa;AACf,CAAC"}
@@ -4,7 +4,7 @@ import { forwardRef } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { AlertDialog } from "@base-ui/react/alert-dialog";
6
6
  // src/components/alert-dialog/alert-dialog.tsx
7
- var AlertDialog$1 = AlertDialog.Root;
7
+ var AlertDialogRoot = AlertDialog.Root;
8
8
  var AlertDialogTrigger = AlertDialog.Trigger;
9
9
  function AlertDialogContent({ className, children, ...props }) {
10
10
  return /* @__PURE__ */ jsxs(AlertDialog.Portal, { children: [/* @__PURE__ */ jsx(AlertDialog.Backdrop, { className: "fixed inset-0 z-40 bg-black/45 transition-opacity data-ending-style:opacity-0 data-starting-style:opacity-0" }), /* @__PURE__ */ jsx(AlertDialog.Viewport, {
@@ -60,6 +60,16 @@ function AlertDialogCancel({ className, ...props }) {
60
60
  }), className)
61
61
  });
62
62
  }
63
- export { AlertDialogDescription as a, AlertDialogTitle as c, AlertDialogContent as i, AlertDialogTrigger as l, AlertDialogAction as n, AlertDialogFooter as o, AlertDialogCancel as r, AlertDialogHeader as s, AlertDialog$1 as t };
63
+ var AlertDialog$1 = Object.assign(AlertDialogRoot, {
64
+ Trigger: AlertDialogTrigger,
65
+ Action: AlertDialogAction,
66
+ Cancel: AlertDialogCancel,
67
+ Content: AlertDialogContent,
68
+ Description: AlertDialogDescription,
69
+ Footer: AlertDialogFooter,
70
+ Header: AlertDialogHeader,
71
+ Title: AlertDialogTitle
72
+ });
73
+ export { AlertDialog$1 as t };
64
74
 
65
- //# sourceMappingURL=alert-dialog-BSyPkfNR.js.map
75
+ //# sourceMappingURL=alert-dialog-_E4de7AY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-dialog-_E4de7AY.js","names":["BaseAlertDialog","AlertDialog"],"sources":["../src/components/alert-dialog/alert-dialog.tsx"],"sourcesContent":["import { AlertDialog as BaseAlertDialog } from \"@base-ui/react/alert-dialog\";\nimport { type ComponentProps, type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { buttonVariants } from \"../button/button\";\nimport { cn } from \"../../lib/cn\";\n\nconst AlertDialogRoot = BaseAlertDialog.Root;\nconst AlertDialogTrigger = BaseAlertDialog.Trigger;\n\nfunction AlertDialogContent({ className, children, ...props }: ComponentProps<typeof BaseAlertDialog.Popup>) {\n return (\n <BaseAlertDialog.Portal>\n <BaseAlertDialog.Backdrop className=\"fixed inset-0 z-40 bg-black/45 transition-opacity data-ending-style:opacity-0 data-starting-style:opacity-0\" />\n <BaseAlertDialog.Viewport className=\"fixed inset-0 z-50 grid place-items-center overflow-y-auto p-4\">\n <BaseAlertDialog.Popup\n {...props}\n className={cn(\n \"rounded-ui-lg border-border bg-background text-foreground w-full max-w-md border p-6 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none transition-[transform,opacity] data-ending-style:scale-[0.98] data-ending-style:opacity-0 data-starting-style:scale-[0.98] data-starting-style:opacity-0\",\n className,\n )}\n >\n {children}\n </BaseAlertDialog.Popup>\n </BaseAlertDialog.Viewport>\n </BaseAlertDialog.Portal>\n );\n}\n\nfunction AlertDialogTitle({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Title>) {\n return <BaseAlertDialog.Title {...props} className={cn(\"text-foreground text-lg font-semibold tracking-tight\", className)} />;\n}\n\nfunction AlertDialogDescription({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Description>) {\n return <BaseAlertDialog.Description {...props} className={cn(\"text-muted-foreground mt-2 text-sm\", className)} />;\n}\n\nconst AlertDialogHeader = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function AlertDialogHeader({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"flex flex-col\", className)} />;\n },\n);\n\nconst AlertDialogFooter = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function AlertDialogFooter({ className, ...props }, ref) {\n return <div {...props} ref={ref} className={cn(\"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\", className)} />;\n },\n);\n\nexport interface AlertDialogActionProps extends ComponentProps<typeof BaseAlertDialog.Close> {\n variant?: \"primary\" | \"danger\";\n}\n\nfunction AlertDialogAction({ className, variant = \"primary\", ...props }: AlertDialogActionProps) {\n return <BaseAlertDialog.Close {...props} className={cn(buttonVariants({ variant, size: \"md\" }), className)} />;\n}\n\nfunction AlertDialogCancel({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Close>) {\n return <BaseAlertDialog.Close {...props} className={cn(buttonVariants({ variant: \"outline\", size: \"md\" }), className)} />;\n}\n\nexport const AlertDialog = Object.assign(AlertDialogRoot, {\n Trigger: AlertDialogTrigger,\n Action: AlertDialogAction,\n Cancel: AlertDialogCancel,\n Content: AlertDialogContent,\n Description: AlertDialogDescription,\n Footer: AlertDialogFooter,\n Header: AlertDialogHeader,\n Title: AlertDialogTitle,\n});\n"],"mappings":";;;;;;AAKA,IAAM,kBAAkBA,YAAgB;AACxC,IAAM,qBAAqBA,YAAgB;AAE3C,SAAS,mBAAmB,EAAE,WAAW,UAAU,GAAG,SAAuD;CAC3G,OACE,qBAACA,YAAgB,QAAjB,EAAA,UAAA,CACE,oBAACA,YAAgB,UAAjB,EAA0B,WAAU,8GAA+G,CAAA,GACnJ,oBAACA,YAAgB,UAAjB;EAA0B,WAAU;EAClC,UAAA,oBAACA,YAAgB,OAAjB;GACE,GAAI;GACJ,WAAW,GACT,kSACA,SACF;GAEC;EACoB,CAAA;CACC,CAAA,CACJ,EAAA,CAAA;AAE5B;AAEA,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CAC/F,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,wDAAwD,SAAS;CAAI,CAAA;AAC9H;AAEA,SAAS,uBAAuB,EAAE,WAAW,GAAG,SAA6D;CAC3G,OAAO,oBAACA,YAAgB,aAAjB;EAA6B,GAAI;EAAO,WAAW,GAAG,sCAAsC,SAAS;CAAI,CAAA;AAClH;AAEA,IAAM,oBAAoB,WACxB,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAS,KAAK;CACvD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,iBAAiB,SAAS;CAAI,CAAA;AAC/E,CACF;AAEA,IAAM,oBAAoB,WACxB,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAS,KAAK;CACvD,OAAO,oBAAC,OAAD;EAAK,GAAI;EAAY;EAAK,WAAW,GAAG,+DAA+D,SAAS;CAAI,CAAA;AAC7H,CACF;AAMA,SAAS,kBAAkB,EAAE,WAAW,UAAU,WAAW,GAAG,SAAiC;CAC/F,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,eAAe;GAAE;GAAS,MAAM;EAAK,CAAC,GAAG,SAAS;CAAI,CAAA;AAC/G;AAEA,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAuD;CAChG,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,eAAe;GAAE,SAAS;GAAW,MAAM;EAAK,CAAC,GAAG,SAAS;CAAI,CAAA;AAC1H;AAEA,IAAaC,gBAAc,OAAO,OAAO,iBAAiB;CACxD,SAAS;CACT,QAAQ;CACR,QAAQ;CACR,SAAS;CACT,aAAa;CACb,QAAQ;CACR,QAAQ;CACR,OAAO;AACT,CAAC"}
@@ -3,7 +3,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { IconX } from "@tabler/icons-react";
4
4
  import { Autocomplete } from "@base-ui/react/autocomplete";
5
5
  // src/components/autocomplete/autocomplete.tsx
6
- var Autocomplete$1 = Autocomplete.Root;
6
+ var AutocompleteRoot = Autocomplete.Root;
7
7
  function AutocompleteInputGroup({ className, ...props }) {
8
8
  return /* @__PURE__ */ jsx(Autocomplete.InputGroup, {
9
9
  ...props,
@@ -50,6 +50,13 @@ function AutocompleteItem({ className, ...props }) {
50
50
  className: cn("data-highlighted:bg-muted rounded-ui-sm flex cursor-default items-center px-2 py-1.5 text-sm outline-none select-none data-disabled:opacity-50", className)
51
51
  });
52
52
  }
53
- export { AutocompleteInputGroup as a, AutocompleteInput as i, AutocompleteClear as n, AutocompleteItem as o, AutocompleteContent as r, Autocomplete$1 as t };
53
+ var Autocomplete$1 = Object.assign(AutocompleteRoot, {
54
+ InputGroup: AutocompleteInputGroup,
55
+ Input: AutocompleteInput,
56
+ Content: AutocompleteContent,
57
+ Item: AutocompleteItem,
58
+ Clear: AutocompleteClear
59
+ });
60
+ export { Autocomplete$1 as t };
54
61
 
55
- //# sourceMappingURL=autocomplete-D_OafKFC.js.map
62
+ //# sourceMappingURL=autocomplete-CVD8GTVR.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autocomplete-CVD8GTVR.js","names":["BaseAutocomplete","Autocomplete"],"sources":["../src/components/autocomplete/autocomplete.tsx"],"sourcesContent":["import { Autocomplete as BaseAutocomplete } from \"@base-ui/react/autocomplete\";\nimport { IconX } from \"@tabler/icons-react\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst AutocompleteRoot = BaseAutocomplete.Root;\n\nfunction AutocompleteInputGroup({ className, ...props }: ComponentProps<typeof BaseAutocomplete.InputGroup>) {\n return <BaseAutocomplete.InputGroup {...props} className={cn(\"rounded-ui-md border-border bg-background focus-within:border-ring focus-within:ring-ring/40 relative flex h-10 w-full items-center border focus-within:ring-2\", className)} />;\n}\n\nfunction AutocompleteInput({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Input>) {\n return <BaseAutocomplete.Input {...props} className={cn(\"text-foreground placeholder:text-muted-foreground h-full min-w-0 flex-1 bg-transparent px-3 text-sm outline-none\", className)} />;\n}\n\nfunction AutocompleteClear({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Clear>) {\n return <BaseAutocomplete.Clear {...props} aria-label=\"Clear input\" className={cn(\"text-muted-foreground hover:text-foreground flex h-full w-8 items-center justify-center text-sm\", className)}><IconX size={16} aria-hidden=\"true\" /></BaseAutocomplete.Clear>;\n}\n\nfunction AutocompleteContent({ className, children, ...props }: ComponentProps<typeof BaseAutocomplete.Popup>) {\n return (\n <BaseAutocomplete.Portal>\n <BaseAutocomplete.Positioner sideOffset={4} className=\"z-50 outline-none\">\n <BaseAutocomplete.Popup {...props} className={cn(\"rounded-ui-lg border-border bg-background text-foreground min-w-[var(--anchor-width)] overflow-hidden border p-1 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none\", className)}>\n <BaseAutocomplete.Empty className=\"text-muted-foreground px-2 py-3 text-sm\">No results found.</BaseAutocomplete.Empty>\n <BaseAutocomplete.List className=\"max-h-64 overflow-y-auto overscroll-contain outline-none data-empty:p-0\">{children}</BaseAutocomplete.List>\n </BaseAutocomplete.Popup>\n </BaseAutocomplete.Positioner>\n </BaseAutocomplete.Portal>\n );\n}\n\nfunction AutocompleteItem({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Item>) {\n return <BaseAutocomplete.Item {...props} className={cn(\"data-highlighted:bg-muted rounded-ui-sm flex cursor-default items-center px-2 py-1.5 text-sm outline-none select-none data-disabled:opacity-50\", className)} />;\n}\n\nexport const Autocomplete = Object.assign(AutocompleteRoot, {\n InputGroup: AutocompleteInputGroup,\n Input: AutocompleteInput,\n Content: AutocompleteContent,\n Item: AutocompleteItem,\n Clear: AutocompleteClear,\n});\n"],"mappings":";;;;;AAKA,IAAM,mBAAmBA,aAAiB;AAE1C,SAAS,uBAAuB,EAAE,WAAW,GAAG,SAA6D;CAC3G,OAAO,oBAACA,aAAiB,YAAlB;EAA6B,GAAI;EAAO,WAAW,GAAG,kKAAkK,SAAS;CAAI,CAAA;AAC9O;AAEA,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAwD;CACjG,OAAO,oBAACA,aAAiB,OAAlB;EAAwB,GAAI;EAAO,WAAW,GAAG,oHAAoH,SAAS;CAAI,CAAA;AAC3L;AAEA,SAAS,kBAAkB,EAAE,WAAW,GAAG,SAAwD;CACjG,OAAO,oBAACA,aAAiB,OAAlB;EAAwB,GAAI;EAAO,cAAW;EAAc,WAAW,GAAG,mGAAmG,SAAS;EAAG,UAAA,oBAAC,OAAD;GAAO,MAAM;GAAI,eAAY;EAAQ,CAAA;CAAyB,CAAA;AAChQ;AAEA,SAAS,oBAAoB,EAAE,WAAW,UAAU,GAAG,SAAwD;CAC7G,OACE,oBAACA,aAAiB,QAAlB,EAAA,UACE,oBAACA,aAAiB,YAAlB;EAA6B,YAAY;EAAG,WAAU;EACpD,UAAA,qBAACA,aAAiB,OAAlB;GAAwB,GAAI;GAAO,WAAW,GAAG,qKAAqK,SAAS;GAA/N,UAAA,CACE,oBAACA,aAAiB,OAAlB;IAAwB,WAAU;IAA0C,UAAA;GAAyC,CAAA,GACrH,oBAACA,aAAiB,MAAlB;IAAuB,WAAU;IAA2E;GAAgC,CAAA,CACtH;;CACG,CAAA,EACN,CAAA;AAE7B;AAEA,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAuD;CAC/F,OAAO,oBAACA,aAAiB,MAAlB;EAAuB,GAAI;EAAO,WAAW,GAAG,kJAAkJ,SAAS;CAAI,CAAA;AACxN;AAEA,IAAaC,iBAAe,OAAO,OAAO,kBAAkB;CAC1D,YAAY;CACZ,OAAO;CACP,SAAS;CACT,MAAM;CACN,OAAO;AACT,CAAC"}
@@ -3,7 +3,7 @@ import { forwardRef } from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { Avatar } from "@base-ui/react/avatar";
5
5
  // src/components/avatar/avatar.tsx
6
- var Avatar$1 = Avatar.Root;
6
+ var AvatarRoot = Avatar.Root;
7
7
  function AvatarImage({ className, ...props }) {
8
8
  return /* @__PURE__ */ jsx(Avatar.Image, {
9
9
  ...props,
@@ -16,8 +16,12 @@ function AvatarFallback({ className, ...props }) {
16
16
  className: cn("bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-xs font-medium", className)
17
17
  });
18
18
  }
19
+ var Avatar$1 = Object.assign(AvatarRoot, {
20
+ Fallback: AvatarFallback,
21
+ Image: AvatarImage
22
+ });
19
23
  // src/components/avatar/avatar-group.tsx
20
- var AvatarGroup = forwardRef(function AvatarGroup({ className, role = "group", ...props }, ref) {
24
+ var AvatarGroupRoot = forwardRef(function AvatarGroupRoot({ className, role = "group", ...props }, ref) {
21
25
  return /* @__PURE__ */ jsx("div", {
22
26
  ...props,
23
27
  ref,
@@ -32,6 +36,7 @@ var AvatarGroupCount = forwardRef(function AvatarGroupCount({ className, ...prop
32
36
  className: cn("bg-muted text-muted-foreground inline-flex size-10 shrink-0 items-center justify-center rounded-full text-xs font-medium", className)
33
37
  });
34
38
  });
35
- export { AvatarImage as a, AvatarFallback as i, AvatarGroupCount as n, Avatar$1 as r, AvatarGroup as t };
39
+ var AvatarGroup = Object.assign(AvatarGroupRoot, { Count: AvatarGroupCount });
40
+ export { Avatar$1 as n, AvatarGroup as t };
36
41
 
37
- //# sourceMappingURL=avatar-CgtyIpnX.js.map
42
+ //# sourceMappingURL=avatar-1d_t2tas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar-1d_t2tas.js","names":["BaseAvatar","Avatar"],"sources":["../src/components/avatar/avatar.tsx","../src/components/avatar/avatar-group.tsx"],"sourcesContent":["import { Avatar as BaseAvatar } from \"@base-ui/react/avatar\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst AvatarRoot = BaseAvatar.Root;\n\nfunction AvatarImage({ className, ...props }: ComponentProps<typeof BaseAvatar.Image>) {\n return <BaseAvatar.Image {...props} className={cn(\"aspect-square size-full object-cover\", className)} />;\n}\n\nfunction AvatarFallback({ className, ...props }: ComponentProps<typeof BaseAvatar.Fallback>) {\n return <BaseAvatar.Fallback {...props} className={cn(\"bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-xs font-medium\", className)} />;\n}\n\nexport const Avatar = Object.assign(AvatarRoot, { Fallback: AvatarFallback, Image: AvatarImage });\n","import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst AvatarGroupRoot = forwardRef<HTMLDivElement, ComponentPropsWithoutRef<\"div\">>(\n function AvatarGroupRoot({ className, role = \"group\", ...props }, ref) {\n return (\n <div\n {...props}\n ref={ref}\n role={role}\n className={cn(\"flex w-fit items-center -space-x-3 [&>*]:ring-2 [&>*]:ring-background\", className)}\n />\n );\n },\n);\n\nconst AvatarGroupCount = forwardRef<HTMLSpanElement, ComponentPropsWithoutRef<\"span\">>(\n function AvatarGroupCount({ className, ...props }, ref) {\n return (\n <span\n {...props}\n ref={ref}\n className={cn(\"bg-muted text-muted-foreground inline-flex size-10 shrink-0 items-center justify-center rounded-full text-xs font-medium\", className)}\n />\n );\n },\n);\n\nexport const AvatarGroup = Object.assign(AvatarGroupRoot, { Count: AvatarGroupCount });\n"],"mappings":";;;;;AAIA,IAAM,aAAaA,OAAW;AAE9B,SAAS,YAAY,EAAE,WAAW,GAAG,SAAkD;CACrF,OAAO,oBAACA,OAAW,OAAZ;EAAkB,GAAI;EAAO,WAAW,GAAG,wCAAwC,SAAS;CAAI,CAAA;AACzG;AAEA,SAAS,eAAe,EAAE,WAAW,GAAG,SAAqD;CAC3F,OAAO,oBAACA,OAAW,UAAZ;EAAqB,GAAI;EAAO,WAAW,GAAG,8GAA8G,SAAS;CAAI,CAAA;AAClL;AAEA,IAAaC,WAAS,OAAO,OAAO,YAAY;CAAE,UAAU;CAAgB,OAAO;AAAY,CAAC;;ACXhG,IAAM,kBAAkB,WACtB,SAAS,gBAAgB,EAAE,WAAW,OAAO,SAAS,GAAG,SAAS,KAAK;CACrE,OACE,oBAAC,OAAD;EACE,GAAI;EACC;EACC;EACN,WAAW,GAAG,yEAAyE,SAAS;CACjG,CAAA;AAEL,CACF;AAEA,IAAM,mBAAmB,WACvB,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAS,KAAK;CACtD,OACE,oBAAC,QAAD;EACE,GAAI;EACC;EACL,WAAW,GAAG,4HAA4H,SAAS;CACpJ,CAAA;AAEL,CACF;AAEA,IAAa,cAAc,OAAO,OAAO,iBAAiB,EAAE,OAAO,iBAAiB,CAAC"}
@@ -2,7 +2,7 @@ import { t as cn } from "./cn-Ccwc28Yd.js";
2
2
  import { forwardRef } from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  // src/components/breadcrumb/breadcrumb.tsx
5
- function Breadcrumb({ ...props }) {
5
+ function BreadcrumbRoot({ ...props }) {
6
6
  return /* @__PURE__ */ jsx("nav", {
7
7
  "aria-label": "breadcrumb",
8
8
  ...props
@@ -45,6 +45,13 @@ function BreadcrumbSeparator({ className, children = "/", ...props }) {
45
45
  children
46
46
  });
47
47
  }
48
- export { BreadcrumbPage as a, BreadcrumbList as i, BreadcrumbItem as n, BreadcrumbSeparator as o, BreadcrumbLink as r, Breadcrumb as t };
48
+ var Breadcrumb = Object.assign(BreadcrumbRoot, {
49
+ Item: BreadcrumbItem,
50
+ Link: BreadcrumbLink,
51
+ List: BreadcrumbList,
52
+ Page: BreadcrumbPage,
53
+ Separator: BreadcrumbSeparator
54
+ });
55
+ export { Breadcrumb as t };
49
56
 
50
- //# sourceMappingURL=breadcrumb-ieuPHz2w.js.map
57
+ //# sourceMappingURL=breadcrumb-BGVDD5TT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumb-BGVDD5TT.js","names":[],"sources":["../src/components/breadcrumb/breadcrumb.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nfunction BreadcrumbRoot({ ...props }: ComponentPropsWithoutRef<\"nav\">) {\n return <nav aria-label=\"breadcrumb\" {...props} />;\n}\n\nconst BreadcrumbList = forwardRef<HTMLOListElement, ComponentPropsWithoutRef<\"ol\">>(\n function BreadcrumbList({ className, ...props }, ref) {\n return <ol {...props} ref={ref} className={cn(\"text-muted-foreground flex flex-wrap items-center gap-2 text-sm\", className)} />;\n },\n);\n\nconst BreadcrumbItem = forwardRef<HTMLLIElement, ComponentPropsWithoutRef<\"li\">>(\n function BreadcrumbItem({ className, ...props }, ref) {\n return <li {...props} ref={ref} className={cn(\"inline-flex items-center gap-2\", className)} />;\n },\n);\n\nconst BreadcrumbLink = forwardRef<HTMLAnchorElement, ComponentPropsWithoutRef<\"a\">>(\n function BreadcrumbLink({ className, ...props }, ref) {\n return <a {...props} ref={ref} className={cn(\"hover:text-foreground transition-colors\", className)} />;\n },\n);\n\nconst BreadcrumbPage = forwardRef<HTMLSpanElement, ComponentPropsWithoutRef<\"span\">>(\n function BreadcrumbPage({ className, ...props }, ref) {\n return <span {...props} ref={ref} aria-current=\"page\" className={cn(\"text-foreground font-normal\", className)} />;\n },\n);\n\nfunction BreadcrumbSeparator({ className, children = \"/\", ...props }: ComponentPropsWithoutRef<\"li\">) {\n return <li {...props} aria-hidden=\"true\" className={cn(\"text-muted-foreground [&>svg]:size-3.5\", className)}>{children}</li>;\n}\n\nexport const Breadcrumb = Object.assign(BreadcrumbRoot, {\n Item: BreadcrumbItem,\n Link: BreadcrumbLink,\n List: BreadcrumbList,\n Page: BreadcrumbPage,\n Separator: BreadcrumbSeparator,\n});\n"],"mappings":";;;;AAGA,SAAS,eAAe,EAAE,GAAG,SAA0C;CACrE,OAAO,oBAAC,OAAD;EAAK,cAAW;EAAa,GAAI;CAAQ,CAAA;AAClD;AAEA,IAAM,iBAAiB,WACrB,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,mEAAmE,SAAS;CAAI,CAAA;AAChI,CACF;AAEA,IAAM,iBAAiB,WACrB,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAY;EAAK,WAAW,GAAG,kCAAkC,SAAS;CAAI,CAAA;AAC/F,CACF;AAEA,IAAM,iBAAiB,WACrB,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,KAAD;EAAG,GAAI;EAAY;EAAK,WAAW,GAAG,2CAA2C,SAAS;CAAI,CAAA;AACvG,CACF;AAEA,IAAM,iBAAiB,WACrB,SAAS,eAAe,EAAE,WAAW,GAAG,SAAS,KAAK;CACpD,OAAO,oBAAC,QAAD;EAAM,GAAI;EAAY;EAAK,gBAAa;EAAO,WAAW,GAAG,+BAA+B,SAAS;CAAI,CAAA;AAClH,CACF;AAEA,SAAS,oBAAoB,EAAE,WAAW,WAAW,KAAK,GAAG,SAAyC;CACpG,OAAO,oBAAC,MAAD;EAAI,GAAI;EAAO,eAAY;EAAO,WAAW,GAAG,0CAA0C,SAAS;EAAI;CAAa,CAAA;AAC7H;AAEA,IAAa,aAAa,OAAO,OAAO,gBAAgB;CACtD,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,WAAW;AACb,CAAC"}
@@ -2,7 +2,7 @@ import { t as cn } from "./cn-Ccwc28Yd.js";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { Collapsible } from "@base-ui/react/collapsible";
4
4
  // src/components/collapsible/collapsible.tsx
5
- var Collapsible$1 = Collapsible.Root;
5
+ var CollapsibleRoot = Collapsible.Root;
6
6
  function CollapsibleTrigger({ className, ...props }) {
7
7
  return /* @__PURE__ */ jsx(Collapsible.Trigger, {
8
8
  ...props,
@@ -15,6 +15,10 @@ function CollapsibleContent({ className, ...props }) {
15
15
  className: cn("overflow-hidden", className)
16
16
  });
17
17
  }
18
- export { CollapsibleContent as n, CollapsibleTrigger as r, Collapsible$1 as t };
18
+ var Collapsible$1 = Object.assign(CollapsibleRoot, {
19
+ Trigger: CollapsibleTrigger,
20
+ Content: CollapsibleContent
21
+ });
22
+ export { Collapsible$1 as t };
19
23
 
20
- //# sourceMappingURL=collapsible-CaAEi_w7.js.map
24
+ //# sourceMappingURL=collapsible-odw6ynaJ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible-odw6ynaJ.js","names":["BaseCollapsible","Collapsible"],"sources":["../src/components/collapsible/collapsible.tsx"],"sourcesContent":["import { Collapsible as BaseCollapsible } from \"@base-ui/react/collapsible\";\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst CollapsibleRoot = BaseCollapsible.Root;\n\nfunction CollapsibleTrigger({ className, ...props }: ComponentProps<typeof BaseCollapsible.Trigger>) {\n return <BaseCollapsible.Trigger {...props} className={cn(\"text-foreground focus-visible:ring-ring inline-flex items-center gap-2 text-sm font-medium outline-none focus-visible:ring-2\", className)} />;\n}\n\nfunction CollapsibleContent({ className, ...props }: ComponentProps<typeof BaseCollapsible.Panel>) {\n return <BaseCollapsible.Panel {...props} className={cn(\"overflow-hidden\", className)} />;\n}\n\nexport const Collapsible = Object.assign(CollapsibleRoot, {\n Trigger: CollapsibleTrigger,\n Content: CollapsibleContent,\n});\n"],"mappings":";;;;AAIA,IAAM,kBAAkBA,YAAgB;AAExC,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAAyD;CACnG,OAAO,oBAACA,YAAgB,SAAjB;EAAyB,GAAI;EAAO,WAAW,GAAG,gIAAgI,SAAS;CAAI,CAAA;AACxM;AAEA,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAAuD;CACjG,OAAO,oBAACA,YAAgB,OAAjB;EAAuB,GAAI;EAAO,WAAW,GAAG,mBAAmB,SAAS;CAAI,CAAA;AACzF;AAEA,IAAaC,gBAAc,OAAO,OAAO,iBAAiB;CACxD,SAAS;CACT,SAAS;AACX,CAAC"}
@@ -3,7 +3,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { IconCheck, IconChevronDown, IconX } from "@tabler/icons-react";
4
4
  import { Combobox } from "@base-ui/react/combobox";
5
5
  // src/components/combobox/combobox.tsx
6
- var Combobox$1 = Combobox.Root;
6
+ var ComboboxRoot = Combobox.Root;
7
7
  var ComboboxLabel = Combobox.Label;
8
8
  var ComboboxValue = Combobox.Value;
9
9
  var ComboboxGroup = Combobox.Group;
@@ -79,6 +79,20 @@ function ComboboxItem({ className, children, ...props }) {
79
79
  })]
80
80
  });
81
81
  }
82
- export { ComboboxGroupLabel as a, ComboboxItem as c, ComboboxSeparator as d, ComboboxTrigger as f, ComboboxGroup as i, ComboboxItemIndicator as l, ComboboxClear as n, ComboboxInput as o, ComboboxValue as p, ComboboxContent as r, ComboboxInputGroup as s, Combobox$1 as t, ComboboxLabel as u };
82
+ var Combobox$1 = Object.assign(ComboboxRoot, {
83
+ Trigger: ComboboxTrigger,
84
+ Value: ComboboxValue,
85
+ Input: ComboboxInput,
86
+ InputGroup: ComboboxInputGroup,
87
+ Content: ComboboxContent,
88
+ Group: ComboboxGroup,
89
+ GroupLabel: ComboboxGroupLabel,
90
+ Item: ComboboxItem,
91
+ ItemIndicator: ComboboxItemIndicator,
92
+ Label: ComboboxLabel,
93
+ Separator: ComboboxSeparator,
94
+ Clear: ComboboxClear
95
+ });
96
+ export { Combobox$1 as t };
83
97
 
84
- //# sourceMappingURL=combobox-CDRnBR2S.js.map
98
+ //# sourceMappingURL=combobox-BjSMdUz_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox-BjSMdUz_.js","names":["BaseCombobox","Combobox"],"sources":["../src/components/combobox/combobox.tsx"],"sourcesContent":["import { Combobox as BaseCombobox } from \"@base-ui/react/combobox\";\nimport { IconCheck, IconChevronDown, IconX } from \"@tabler/icons-react\";\nimport type { ComponentProps, ReactNode } from \"react\";\nimport { cn } from \"../../lib/cn\";\n\nconst ComboboxRoot = BaseCombobox.Root;\nconst ComboboxLabel = BaseCombobox.Label;\nconst ComboboxValue = BaseCombobox.Value;\nconst ComboboxGroup = BaseCombobox.Group;\nconst ComboboxItemIndicator = BaseCombobox.ItemIndicator;\nconst ComboboxSeparator = BaseCombobox.Separator;\n\nfunction ComboboxInputGroup({ className, ...props }: ComponentProps<typeof BaseCombobox.InputGroup>) {\n return (\n <BaseCombobox.InputGroup\n {...props}\n className={cn(\n \"rounded-ui-md border-border bg-background focus-within:border-ring focus-within:ring-ring/40 relative flex h-10 w-full items-center border outline-none focus-within:ring-2\",\n className,\n )}\n />\n );\n}\n\nfunction ComboboxInput({ className, ...props }: ComponentProps<typeof BaseCombobox.Input>) {\n return (\n <BaseCombobox.Input\n {...props}\n className={cn(\"text-foreground placeholder:text-muted-foreground h-full min-w-0 flex-1 bg-transparent px-3 text-sm outline-none\", className)}\n />\n );\n}\n\nfunction ComboboxClear({ className, ...props }: ComponentProps<typeof BaseCombobox.Clear>) {\n return (\n <BaseCombobox.Clear\n {...props}\n aria-label=\"Clear selection\"\n className={cn(\"text-muted-foreground hover:text-foreground flex h-full w-8 shrink-0 items-center justify-center text-sm outline-none\", className)}\n >\n <IconX size={16} aria-hidden=\"true\" />\n </BaseCombobox.Clear>\n );\n}\n\nfunction ComboboxTrigger({ className, ...props }: ComponentProps<typeof BaseCombobox.Trigger>) {\n return (\n <BaseCombobox.Trigger\n {...props}\n aria-label=\"Open options\"\n className={cn(\"text-muted-foreground hover:text-foreground flex h-full w-8 shrink-0 items-center justify-center text-sm outline-none\", className)}\n >\n <IconChevronDown size={16} aria-hidden=\"true\" />\n </BaseCombobox.Trigger>\n );\n}\n\nexport interface ComboboxContentProps extends Omit<ComponentProps<typeof BaseCombobox.Popup>, \"children\"> {\n children?: ComponentProps<typeof BaseCombobox.List>[\"children\"];\n empty?: ReactNode;\n listClassName?: string;\n}\n\nfunction ComboboxContent({ className, children, empty = \"No results found.\", listClassName, ...props }: ComboboxContentProps) {\n return (\n <BaseCombobox.Portal>\n <BaseCombobox.Positioner sideOffset={4} className=\"outline-none\">\n <BaseCombobox.Popup\n {...props}\n className={cn(\n \"rounded-ui-lg border-border bg-background text-foreground max-h-72 min-w-[var(--anchor-width)] overflow-hidden border p-1 shadow-[0_8px_30px_rgb(0,0,0,0.12)] outline-none data-ending-style:scale-[0.98] data-ending-style:opacity-0 data-starting-style:scale-[0.98] data-starting-style:opacity-0\",\n className,\n )}\n >\n <BaseCombobox.Empty className=\"text-muted-foreground px-2 py-3 text-sm\">{empty}</BaseCombobox.Empty>\n <BaseCombobox.List className={cn(\"max-h-64 overflow-y-auto overscroll-contain outline-none data-empty:p-0\", listClassName)}>\n {children}\n </BaseCombobox.List>\n </BaseCombobox.Popup>\n </BaseCombobox.Positioner>\n </BaseCombobox.Portal>\n );\n}\n\nfunction ComboboxGroupLabel({ className, ...props }: ComponentProps<typeof BaseCombobox.GroupLabel>) {\n return <BaseCombobox.GroupLabel {...props} className={cn(\"text-muted-foreground px-2 py-1.5 text-xs font-medium\", className)} />;\n}\n\nfunction ComboboxItem({ className, children, ...props }: ComponentProps<typeof BaseCombobox.Item>) {\n return (\n <BaseCombobox.Item\n {...props}\n className={cn(\n \"data-highlighted:bg-muted rounded-ui-sm relative flex cursor-default items-center gap-2 py-1.5 pr-8 pl-2 text-sm outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-50\",\n className,\n )}\n >\n {children}\n <BaseCombobox.ItemIndicator className=\"absolute right-2 flex\"><IconCheck size={16} aria-hidden=\"true\" /></BaseCombobox.ItemIndicator>\n </BaseCombobox.Item>\n );\n}\n\nexport const Combobox = Object.assign(ComboboxRoot, {\n Trigger: ComboboxTrigger,\n Value: ComboboxValue,\n Input: ComboboxInput,\n InputGroup: ComboboxInputGroup,\n Content: ComboboxContent,\n Group: ComboboxGroup,\n GroupLabel: ComboboxGroupLabel,\n Item: ComboboxItem,\n ItemIndicator: ComboboxItemIndicator,\n Label: ComboboxLabel,\n Separator: ComboboxSeparator,\n Clear: ComboboxClear,\n});\n"],"mappings":";;;;;AAKA,IAAM,eAAeA,SAAa;AAClC,IAAM,gBAAgBA,SAAa;AACnC,IAAM,gBAAgBA,SAAa;AACnC,IAAM,gBAAgBA,SAAa;AACnC,IAAM,wBAAwBA,SAAa;AAC3C,IAAM,oBAAoBA,SAAa;AAEvC,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAAyD;CACnG,OACE,oBAACA,SAAa,YAAd;EACE,GAAI;EACJ,WAAW,GACT,+KACA,SACF;CACD,CAAA;AAEL;AAEA,SAAS,cAAc,EAAE,WAAW,GAAG,SAAoD;CACzF,OACE,oBAACA,SAAa,OAAd;EACE,GAAI;EACJ,WAAW,GAAG,oHAAoH,SAAS;CAC5I,CAAA;AAEL;AAEA,SAAS,cAAc,EAAE,WAAW,GAAG,SAAoD;CACzF,OACE,oBAACA,SAAa,OAAd;EACE,GAAI;EACJ,cAAW;EACX,WAAW,GAAG,yHAAyH,SAAS;EAEhJ,UAAA,oBAAC,OAAD;GAAO,MAAM;GAAI,eAAY;EAAQ,CAAA;CACnB,CAAA;AAExB;AAEA,SAAS,gBAAgB,EAAE,WAAW,GAAG,SAAsD;CAC7F,OACE,oBAACA,SAAa,SAAd;EACE,GAAI;EACJ,cAAW;EACX,WAAW,GAAG,yHAAyH,SAAS;EAEhJ,UAAA,oBAAC,iBAAD;GAAiB,MAAM;GAAI,eAAY;EAAQ,CAAA;CAC3B,CAAA;AAE1B;AAQA,SAAS,gBAAgB,EAAE,WAAW,UAAU,QAAQ,qBAAqB,eAAe,GAAG,SAA+B;CAC5H,OACE,oBAACA,SAAa,QAAd,EAAA,UACE,oBAACA,SAAa,YAAd;EAAyB,YAAY;EAAG,WAAU;EAChD,UAAA,qBAACA,SAAa,OAAd;GACE,GAAI;GACJ,WAAW,GACT,wSACA,SACF;GALF,UAAA,CAOE,oBAACA,SAAa,OAAd;IAAoB,WAAU;IAA2C,UAAA;GAA0B,CAAA,GACnG,oBAACA,SAAa,MAAd;IAAmB,WAAW,GAAG,2EAA2E,aAAa;IACtH;GACgB,CAAA,CACD;;CACG,CAAA,EACN,CAAA;AAEzB;AAEA,SAAS,mBAAmB,EAAE,WAAW,GAAG,SAAyD;CACnG,OAAO,oBAACA,SAAa,YAAd;EAAyB,GAAI;EAAO,WAAW,GAAG,yDAAyD,SAAS;CAAI,CAAA;AACjI;AAEA,SAAS,aAAa,EAAE,WAAW,UAAU,GAAG,SAAmD;CACjG,OACE,qBAACA,SAAa,MAAd;EACE,GAAI;EACJ,WAAW,GACT,wMACA,SACF;EALF,UAAA,CAOG,UACD,oBAACA,SAAa,eAAd;GAA4B,WAAU;GAAwB,UAAA,oBAAC,WAAD;IAAW,MAAM;IAAI,eAAY;GAAQ,CAAA;EAA6B,CAAA,CACnH;;AAEvB;AAEA,IAAaC,aAAW,OAAO,OAAO,cAAc;CAClD,SAAS;CACT,OAAO;CACP,OAAO;CACP,YAAY;CACZ,SAAS;CACT,OAAO;CACP,YAAY;CACZ,MAAM;CACN,eAAe;CACf,OAAO;CACP,WAAW;CACX,OAAO;AACT,CAAC"}
@@ -1,6 +1,11 @@
1
1
  import { Accordion as BaseAccordion } from '@base-ui/react/accordion';
2
2
  import { ComponentProps } from 'react';
3
- export declare const Accordion: <Value = any>(props: BaseAccordion.Root.Props<Value>) => React.JSX.Element;
4
- export declare function AccordionItem({ className, ...props }: ComponentProps<typeof BaseAccordion.Item>): import('react').JSX.Element;
5
- export declare function AccordionTrigger({ className, children, ...props }: ComponentProps<typeof BaseAccordion.Trigger>): import('react').JSX.Element;
6
- export declare function AccordionContent({ className, ...props }: ComponentProps<typeof BaseAccordion.Panel>): import('react').JSX.Element;
3
+ declare function AccordionItem({ className, ...props }: ComponentProps<typeof BaseAccordion.Item>): import('react').JSX.Element;
4
+ declare function AccordionTrigger({ className, children, ...props }: ComponentProps<typeof BaseAccordion.Trigger>): import('react').JSX.Element;
5
+ declare function AccordionContent({ className, ...props }: ComponentProps<typeof BaseAccordion.Panel>): import('react').JSX.Element;
6
+ export declare const Accordion: (<Value = any>(props: BaseAccordion.Root.Props<Value>) => React.JSX.Element) & {
7
+ Item: typeof AccordionItem;
8
+ Trigger: typeof AccordionTrigger;
9
+ Content: typeof AccordionContent;
10
+ };
11
+ export {};
@@ -1 +1 @@
1
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './accordion';
1
+ export { Accordion } from './accordion';
@@ -1 +1 @@
1
- export { t as Accordion, n as AccordionContent, r as AccordionItem, i as AccordionTrigger } from "../../accordion-Da0Y5c3W.js";
1
+ export { t as Accordion } from "../../accordion-nzbtc3_2.js";
@@ -5,7 +5,8 @@ declare const alertVariants: (props?: ({
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export interface AlertProps extends ComponentPropsWithoutRef<"div">, VariantProps<typeof alertVariants> {
7
7
  }
8
- export declare const Alert: import('react').ForwardRefExoticComponent<AlertProps & import('react').RefAttributes<HTMLDivElement>>;
9
- export declare const AlertTitle: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import('react').RefAttributes<HTMLHeadingElement>>;
10
- export declare const AlertDescription: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLParagraphElement>>;
8
+ export declare const Alert: import('react').ForwardRefExoticComponent<AlertProps & import('react').RefAttributes<HTMLDivElement>> & {
9
+ Title: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import('react').RefAttributes<HTMLHeadingElement>>;
10
+ Description: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLParagraphElement>>;
11
+ };
11
12
  export {};
@@ -1,2 +1,2 @@
1
1
  export type { AlertProps } from './alert';
2
- export { Alert, AlertDescription, AlertTitle } from './alert';
2
+ export { Alert } from './alert';
@@ -1 +1 @@
1
- export { t as Alert, n as AlertDescription, r as AlertTitle } from "../../alert-D7lYqDGZ.js";
1
+ export { t as Alert } from "../../alert-BQzMceKI.js";
@@ -1,14 +1,21 @@
1
1
  import { AlertDialog as BaseAlertDialog } from '@base-ui/react/alert-dialog';
2
2
  import { ComponentProps } from 'react';
3
- export declare const AlertDialog: typeof BaseAlertDialog.Root;
4
- export declare const AlertDialogTrigger: BaseAlertDialog.Trigger;
5
- export declare function AlertDialogContent({ className, children, ...props }: ComponentProps<typeof BaseAlertDialog.Popup>): import('react').JSX.Element;
6
- export declare function AlertDialogTitle({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Title>): import('react').JSX.Element;
7
- export declare function AlertDialogDescription({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Description>): import('react').JSX.Element;
8
- export declare const AlertDialogHeader: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
9
- export declare const AlertDialogFooter: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
3
+ declare function AlertDialogContent({ className, children, ...props }: ComponentProps<typeof BaseAlertDialog.Popup>): import('react').JSX.Element;
4
+ declare function AlertDialogTitle({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Title>): import('react').JSX.Element;
5
+ declare function AlertDialogDescription({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Description>): import('react').JSX.Element;
10
6
  export interface AlertDialogActionProps extends ComponentProps<typeof BaseAlertDialog.Close> {
11
7
  variant?: "primary" | "danger";
12
8
  }
13
- export declare function AlertDialogAction({ className, variant, ...props }: AlertDialogActionProps): import('react').JSX.Element;
14
- export declare function AlertDialogCancel({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Close>): import('react').JSX.Element;
9
+ declare function AlertDialogAction({ className, variant, ...props }: AlertDialogActionProps): import('react').JSX.Element;
10
+ declare function AlertDialogCancel({ className, ...props }: ComponentProps<typeof BaseAlertDialog.Close>): import('react').JSX.Element;
11
+ export declare const AlertDialog: typeof BaseAlertDialog.Root & {
12
+ Trigger: BaseAlertDialog.Trigger;
13
+ Action: typeof AlertDialogAction;
14
+ Cancel: typeof AlertDialogCancel;
15
+ Content: typeof AlertDialogContent;
16
+ Description: typeof AlertDialogDescription;
17
+ Footer: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
18
+ Header: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
19
+ Title: typeof AlertDialogTitle;
20
+ };
21
+ export {};
@@ -1,2 +1,2 @@
1
- export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from './alert-dialog';
1
+ export { AlertDialog } from './alert-dialog';
2
2
  export type { AlertDialogActionProps } from './alert-dialog';
@@ -1 +1 @@
1
- export { t as AlertDialog, n as AlertDialogAction, r as AlertDialogCancel, i as AlertDialogContent, a as AlertDialogDescription, o as AlertDialogFooter, s as AlertDialogHeader, c as AlertDialogTitle, l as AlertDialogTrigger } from "../../alert-dialog-BSyPkfNR.js";
1
+ export { t as AlertDialog } from "../../alert-dialog-_E4de7AY.js";
@@ -1,8 +1,15 @@
1
1
  import { Autocomplete as BaseAutocomplete } from '@base-ui/react/autocomplete';
2
2
  import { ComponentProps } from 'react';
3
- export declare const Autocomplete: typeof BaseAutocomplete.Root;
4
- export declare function AutocompleteInputGroup({ className, ...props }: ComponentProps<typeof BaseAutocomplete.InputGroup>): import('react').JSX.Element;
5
- export declare function AutocompleteInput({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Input>): import('react').JSX.Element;
6
- export declare function AutocompleteClear({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Clear>): import('react').JSX.Element;
7
- export declare function AutocompleteContent({ className, children, ...props }: ComponentProps<typeof BaseAutocomplete.Popup>): import('react').JSX.Element;
8
- export declare function AutocompleteItem({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Item>): import('react').JSX.Element;
3
+ declare function AutocompleteInputGroup({ className, ...props }: ComponentProps<typeof BaseAutocomplete.InputGroup>): import('react').JSX.Element;
4
+ declare function AutocompleteInput({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Input>): import('react').JSX.Element;
5
+ declare function AutocompleteClear({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Clear>): import('react').JSX.Element;
6
+ declare function AutocompleteContent({ className, children, ...props }: ComponentProps<typeof BaseAutocomplete.Popup>): import('react').JSX.Element;
7
+ declare function AutocompleteItem({ className, ...props }: ComponentProps<typeof BaseAutocomplete.Item>): import('react').JSX.Element;
8
+ export declare const Autocomplete: typeof BaseAutocomplete.Root & {
9
+ InputGroup: typeof AutocompleteInputGroup;
10
+ Input: typeof AutocompleteInput;
11
+ Content: typeof AutocompleteContent;
12
+ Item: typeof AutocompleteItem;
13
+ Clear: typeof AutocompleteClear;
14
+ };
15
+ export {};
@@ -1 +1 @@
1
- export { Autocomplete, AutocompleteClear, AutocompleteContent, AutocompleteInput, AutocompleteInputGroup, AutocompleteItem } from './autocomplete';
1
+ export { Autocomplete } from './autocomplete';
@@ -1 +1 @@
1
- export { t as Autocomplete, n as AutocompleteClear, r as AutocompleteContent, i as AutocompleteInput, a as AutocompleteInputGroup, o as AutocompleteItem } from "../../autocomplete-D_OafKFC.js";
1
+ export { t as Autocomplete } from "../../autocomplete-CVD8GTVR.js";
@@ -1,2 +1,3 @@
1
- export declare const AvatarGroup: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
2
- export declare const AvatarGroupCount: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
1
+ export declare const AvatarGroup: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
2
+ Count: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
3
+ };