raft-ui 0.0.5 → 0.0.6

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 (110) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/button-CJqMhTPQ.mjs +621 -0
  3. package/dist/index-CpGciYPW.d.mts +267 -0
  4. package/dist/index.d.mts +11 -253
  5. package/dist/index.mjs +32 -587
  6. package/dist/wip.d.mts +133 -15
  7. package/dist/wip.mjs +289 -16
  8. package/package.json +5 -7
  9. package/src/components/alert-dialog/alert-dialog.tsx +215 -0
  10. package/src/components/alert-dialog/index.ts +30 -0
  11. package/src/components/avatar/avatar.tsx +3 -3
  12. package/src/components/avatar/index.ts +2 -2
  13. package/src/components/badge/badge.tsx +2 -2
  14. package/src/components/badge/index.ts +2 -2
  15. package/src/components/banner/banner.tsx +2 -2
  16. package/src/components/banner/index.ts +2 -2
  17. package/src/components/bottom-sheet/bottom-sheet.tsx +3 -3
  18. package/src/components/bottom-sheet/index.ts +2 -2
  19. package/src/components/button/button.tsx +7 -5
  20. package/src/components/button/index.ts +2 -2
  21. package/src/components/checkbox/checkbox-indicator.tsx +2 -2
  22. package/src/components/checkbox/checkbox.tsx +4 -4
  23. package/src/components/checkbox/index.ts +2 -2
  24. package/src/components/combobox/combobox.tsx +4 -4
  25. package/src/components/combobox/index.ts +1 -1
  26. package/src/components/context-menu/context-menu.tsx +4 -4
  27. package/src/components/context-menu/index.ts +2 -2
  28. package/src/components/conversation-preview-card/conversation-preview-card.tsx +2 -2
  29. package/src/components/conversation-preview-card/index.ts +2 -2
  30. package/src/components/description-list/description-list.tsx +2 -2
  31. package/src/components/description-list/index.ts +2 -2
  32. package/src/components/dialog/dialog.tsx +152 -0
  33. package/src/components/dialog/index.ts +26 -0
  34. package/src/components/dropdown-menu/dropdown-menu.tsx +5 -5
  35. package/src/components/dropdown-menu/index.ts +2 -2
  36. package/src/components/empty-state/empty-state.tsx +2 -2
  37. package/src/components/empty-state/index.ts +2 -2
  38. package/src/components/field/field.tsx +4 -4
  39. package/src/components/field/index.ts +2 -2
  40. package/src/components/inline-code/index.ts +2 -2
  41. package/src/components/inline-code/inline-code.tsx +2 -2
  42. package/src/components/input/index.ts +2 -2
  43. package/src/components/input/input.tsx +4 -4
  44. package/src/components/input-group/index.ts +2 -2
  45. package/src/components/input-group/input-group.tsx +5 -5
  46. package/src/components/kbd/index.ts +2 -2
  47. package/src/components/kbd/kbd.tsx +2 -2
  48. package/src/components/label/index.ts +2 -7
  49. package/src/components/label/label.tsx +2 -2
  50. package/src/components/lightbox/index.ts +2 -2
  51. package/src/components/lightbox/lightbox.tsx +3 -3
  52. package/src/components/list-item/index.ts +2 -2
  53. package/src/components/list-item/list-item.tsx +2 -2
  54. package/src/components/media-list-item/index.ts +2 -2
  55. package/src/components/media-list-item/media-list-item.tsx +4 -4
  56. package/src/components/notification-center/index.ts +2 -2
  57. package/src/components/notification-center/notification-center.tsx +5 -5
  58. package/src/components/panel-header/index.ts +2 -2
  59. package/src/components/panel-header/panel-header.tsx +2 -2
  60. package/src/components/popover/index.ts +2 -2
  61. package/src/components/popover/popover.tsx +3 -3
  62. package/src/components/preview-shell/index.ts +2 -2
  63. package/src/components/preview-shell/preview-shell.tsx +2 -2
  64. package/src/components/quoted-message-card/index.ts +2 -2
  65. package/src/components/quoted-message-card/quoted-message-card.tsx +3 -3
  66. package/src/components/radio-group/index.ts +2 -6
  67. package/src/components/radio-group/radio-group.tsx +4 -4
  68. package/src/components/section-header/index.ts +2 -2
  69. package/src/components/section-header/section-header.tsx +2 -2
  70. package/src/components/section-label/index.ts +2 -2
  71. package/src/components/section-label/section-label.tsx +2 -2
  72. package/src/components/segmented-control/index.ts +2 -2
  73. package/src/components/segmented-control/segmented-control.tsx +3 -3
  74. package/src/components/select/index.ts +2 -2
  75. package/src/components/select/select.tsx +4 -4
  76. package/src/components/separator/index.ts +2 -0
  77. package/src/components/separator/separator.tsx +40 -0
  78. package/src/components/spinner/index.ts +2 -2
  79. package/src/components/spinner/spinner.tsx +3 -3
  80. package/src/components/status/index.ts +2 -2
  81. package/src/components/status/status.tsx +2 -2
  82. package/src/components/tabs/index.ts +2 -2
  83. package/src/components/tabs/tabs.tsx +3 -3
  84. package/src/components/text/index.ts +2 -2
  85. package/src/components/text/text.tsx +1 -1
  86. package/src/components/textarea/index.ts +2 -2
  87. package/src/components/textarea/textarea.tsx +3 -3
  88. package/src/components/toggle-group/index.ts +2 -7
  89. package/src/components/toggle-group/toggle-group.tsx +3 -3
  90. package/src/components/tooltip/index.ts +2 -8
  91. package/src/components/tooltip/tooltip.tsx +3 -3
  92. package/src/index.ts +60 -57
  93. package/src/legacy/AvatarListRow.tsx +1 -1
  94. package/src/legacy/Checkbox.tsx +1 -1
  95. package/src/legacy/ConversationPreviewCard.tsx +1 -1
  96. package/src/legacy/DismissBackdrop.tsx +1 -1
  97. package/src/legacy/ExperimentalBadge.tsx +1 -1
  98. package/src/legacy/NotificationCenter.tsx +2 -2
  99. package/src/legacy/PanelHeader.tsx +1 -1
  100. package/src/legacy/QuotedMessageCard.tsx +1 -1
  101. package/src/legacy/SectionHeader.tsx +1 -1
  102. package/src/legacy/Spinner.tsx +1 -1
  103. package/src/legacy/SurfaceListItem.tsx +1 -1
  104. package/src/legacy/selection-popover.tsx +2 -2
  105. package/src/legacy/server-switcher-menu.tsx +2 -2
  106. package/src/lib/theme/theme-provider.tsx +1 -1
  107. package/src/lib/theme/use-theme.ts +1 -1
  108. package/src/wip.ts +82 -24
  109. package/dist/styled-props-B3SNekJg.d.mts +0 -16
  110. package/dist/use-theme-Y_h1DKll.mjs +0 -34
@@ -1,8 +1,8 @@
1
1
  import { mergeProps } from "@base-ui/react/merge-props";
2
2
  import { useRender } from "@base-ui/react/use-render";
3
- import { tv, type VariantProps } from "../../lib/tv.ts";
4
- import { useThemeFamily } from "../../lib/theme/use-theme.ts";
5
- import type { WithoutChildren } from "../../lib/without-children.ts";
3
+ import { tv, type VariantProps } from "../../lib/tv";
4
+ import { useThemeFamily } from "../../lib/theme/use-theme";
5
+ import type { WithoutChildren } from "../../lib/without-children";
6
6
 
7
7
  const BRAILLE_SPINNER_STYLE = `
8
8
  @keyframes raft-braille-spinner {
@@ -1,2 +1,2 @@
1
- export { Status } from "./status.tsx";
2
- export type { StatusProps } from "./status.tsx";
1
+ export { Status } from "./status";
2
+ export type { StatusProps } from "./status";
@@ -1,7 +1,7 @@
1
1
  import { mergeProps } from "@base-ui/react/merge-props";
2
2
  import { useRender } from "@base-ui/react/use-render";
3
- import { tv, type VariantProps } from "../../lib/tv.ts";
4
- import { useThemeFamily } from "../../lib/theme/use-theme.ts";
3
+ import { tv, type VariantProps } from "../../lib/tv";
4
+ import { useThemeFamily } from "../../lib/theme/use-theme";
5
5
 
6
6
  const STATUS_STYLE = `
7
7
  @keyframes raft-status-pulse-background {
@@ -9,7 +9,7 @@ export {
9
9
  SortableTabsList,
10
10
  SortableTabsTab,
11
11
  useOrderedTabs,
12
- } from "./tabs.tsx";
12
+ } from "./tabs";
13
13
  export type {
14
14
  OrderedTabItem,
15
15
  SortableTabsListProps,
@@ -21,4 +21,4 @@ export type {
21
21
  TabsPanelProps,
22
22
  TabsProps,
23
23
  TabsTabProps,
24
- } from "./tabs.tsx";
24
+ } from "./tabs";
@@ -24,9 +24,9 @@ import {
24
24
  SortableContext,
25
25
  useSortable,
26
26
  } from "@dnd-kit/sortable";
27
- import { tv, type VariantProps } from "../../lib/tv.ts";
28
- import type { StyledProps } from "../../lib/styled-props.ts";
29
- import { useThemeFamily } from "../../lib/theme/use-theme.ts";
27
+ import { tv, type VariantProps } from "../../lib/tv";
28
+ import type { StyledProps } from "../../lib/styled-props";
29
+ import { useThemeFamily } from "../../lib/theme/use-theme";
30
30
 
31
31
  const tabs = tv({
32
32
  slots: {
@@ -1,2 +1,2 @@
1
- export { Text, TextHeading, TextMono, TextSans } from "./text.tsx";
2
- export type { TextHeadingProps, TextMonoProps, TextSansProps } from "./text.tsx";
1
+ export { Text, TextHeading, TextMono, TextSans } from "./text";
2
+ export type { TextHeadingProps, TextMonoProps, TextSansProps } from "./text";
@@ -1,6 +1,6 @@
1
1
  import { mergeProps } from "@base-ui/react/merge-props";
2
2
  import { useRender } from "@base-ui/react/use-render";
3
- import { tv, type VariantProps } from "../../lib/tv.ts";
3
+ import { tv, type VariantProps } from "../../lib/tv";
4
4
 
5
5
  const textColorVariants = {
6
6
  default: ["text-foreground-strong"],
@@ -1,2 +1,2 @@
1
- export { Textarea, TextareaCounter, TextareaGroup } from "./textarea.tsx";
2
- export type { TextareaCounterProps, TextareaGroupProps, TextareaProps } from "./textarea.tsx";
1
+ export { Textarea, TextareaCounter, TextareaGroup } from "./textarea";
2
+ export type { TextareaCounterProps, TextareaGroupProps, TextareaProps } from "./textarea";
@@ -1,7 +1,7 @@
1
1
  import type { ComponentPropsWithRef } from "react";
2
- import { tv } from "../../lib/tv.ts";
3
- import { useThemeFamily } from "../../lib/theme/use-theme.ts";
4
- import type { WithoutChildren } from "../../lib/without-children.ts";
2
+ import { tv } from "../../lib/tv";
3
+ import { useThemeFamily } from "../../lib/theme/use-theme";
4
+ import type { WithoutChildren } from "../../lib/without-children";
5
5
 
6
6
  const textarea = tv({
7
7
  slots: {
@@ -1,12 +1,7 @@
1
- export {
2
- ToggleGroup,
3
- ToggleGroupCount,
4
- ToggleGroupItem,
5
- ToggleGroupLabel,
6
- } from "./toggle-group.tsx";
1
+ export { ToggleGroup, ToggleGroupCount, ToggleGroupItem, ToggleGroupLabel } from "./toggle-group";
7
2
  export type {
8
3
  ToggleGroupCountProps,
9
4
  ToggleGroupItemProps,
10
5
  ToggleGroupLabelProps,
11
6
  ToggleGroupProps,
12
- } from "./toggle-group.tsx";
7
+ } from "./toggle-group";
@@ -1,9 +1,9 @@
1
1
  import type { ComponentPropsWithRef } from "react";
2
2
  import { Toggle as BaseToggle } from "@base-ui/react/toggle";
3
3
  import { ToggleGroup as BaseToggleGroup } from "@base-ui/react/toggle-group";
4
- import { tv, type VariantProps } from "../../lib/tv.ts";
5
- import type { StyledProps } from "../../lib/styled-props.ts";
6
- import { useThemeFamily } from "../../lib/theme/use-theme.ts";
4
+ import { tv, type VariantProps } from "../../lib/tv";
5
+ import type { StyledProps } from "../../lib/styled-props";
6
+ import { useThemeFamily } from "../../lib/theme/use-theme";
7
7
 
8
8
  const toggleGroup = tv({
9
9
  slots: {
@@ -1,14 +1,8 @@
1
- export {
2
- Tooltip,
3
- TooltipContent,
4
- TooltipPortal,
5
- TooltipProvider,
6
- TooltipTrigger,
7
- } from "./tooltip.tsx";
1
+ export { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger } from "./tooltip";
8
2
  export type {
9
3
  TooltipContentProps,
10
4
  TooltipPortalProps,
11
5
  TooltipProps,
12
6
  TooltipProviderProps,
13
7
  TooltipTriggerProps,
14
- } from "./tooltip.tsx";
8
+ } from "./tooltip";
@@ -1,8 +1,8 @@
1
1
  import { Tooltip as BaseTooltip } from "@base-ui/react/tooltip";
2
2
  import type { ComponentProps } from "react";
3
- import { tv, type VariantProps } from "../../lib/tv.ts";
4
- import type { StyledProps } from "../../lib/styled-props.ts";
5
- import { useThemeFamily } from "../../lib/theme/use-theme.ts";
3
+ import { tv, type VariantProps } from "../../lib/tv";
4
+ import type { StyledProps } from "../../lib/styled-props";
5
+ import { useThemeFamily } from "../../lib/theme/use-theme";
6
6
 
7
7
  const tooltip = tv({
8
8
  slots: {
package/src/index.ts CHANGED
@@ -1,8 +1,8 @@
1
- export { Button, buttonVariants } from "./components/button/index.ts";
2
- export type { ButtonProps } from "./components/button/index.ts";
1
+ export { Button, buttonVariants } from "./components/button/index";
2
+ export type { ButtonProps } from "./components/button/index";
3
3
 
4
- export { Checkbox } from "./components/checkbox/index.ts";
5
- export type { CheckboxProps } from "./components/checkbox/index.ts";
4
+ export { Checkbox } from "./components/checkbox/index";
5
+ export type { CheckboxProps } from "./components/checkbox/index";
6
6
 
7
7
  export {
8
8
  ContextMenu,
@@ -20,7 +20,7 @@ export {
20
20
  ContextMenuSubmenu,
21
21
  ContextMenuSubmenuTrigger,
22
22
  ContextMenuTrigger,
23
- } from "./components/context-menu/index.ts";
23
+ } from "./components/context-menu/index";
24
24
  export type {
25
25
  ContextMenuCheckboxItemIndicatorProps,
26
26
  ContextMenuCheckboxItemProps,
@@ -37,7 +37,7 @@ export type {
37
37
  ContextMenuSubmenuProps,
38
38
  ContextMenuSubmenuTriggerProps,
39
39
  ContextMenuTriggerProps,
40
- } from "./components/context-menu/index.ts";
40
+ } from "./components/context-menu/index";
41
41
 
42
42
  export {
43
43
  DropdownMenu,
@@ -57,7 +57,7 @@ export {
57
57
  DropdownMenuSubmenu,
58
58
  DropdownMenuSubmenuTrigger,
59
59
  DropdownMenuTrigger,
60
- } from "./components/dropdown-menu/index.ts";
60
+ } from "./components/dropdown-menu/index";
61
61
  export type {
62
62
  DropdownMenuCheckboxItemIndicatorProps,
63
63
  DropdownMenuCheckboxItemProps,
@@ -76,7 +76,7 @@ export type {
76
76
  DropdownMenuSubmenuProps,
77
77
  DropdownMenuSubmenuTriggerProps,
78
78
  DropdownMenuTriggerProps,
79
- } from "./components/dropdown-menu/index.ts";
79
+ } from "./components/dropdown-menu/index";
80
80
 
81
81
  export {
82
82
  Tooltip,
@@ -84,14 +84,14 @@ export {
84
84
  TooltipPortal,
85
85
  TooltipProvider,
86
86
  TooltipTrigger,
87
- } from "./components/tooltip/index.ts";
87
+ } from "./components/tooltip/index";
88
88
  export type {
89
89
  TooltipContentProps,
90
90
  TooltipPortalProps,
91
91
  TooltipProps,
92
92
  TooltipProviderProps,
93
93
  TooltipTriggerProps,
94
- } from "./components/tooltip/index.ts";
94
+ } from "./components/tooltip/index";
95
95
 
96
96
  export {
97
97
  Popover,
@@ -107,7 +107,7 @@ export {
107
107
  PopoverTitle,
108
108
  PopoverTrigger,
109
109
  PopoverViewport,
110
- } from "./components/popover/index.ts";
110
+ } from "./components/popover/index";
111
111
  export type {
112
112
  PopoverArrowProps,
113
113
  PopoverBackdropProps,
@@ -122,18 +122,18 @@ export type {
122
122
  PopoverTitleProps,
123
123
  PopoverTriggerProps,
124
124
  PopoverViewportProps,
125
- } from "./components/popover/index.ts";
125
+ } from "./components/popover/index";
126
126
 
127
- export { Label, LabelAsterisk, LabelOptional, LabelSub } from "./components/label/index.ts";
127
+ export { Label, LabelAsterisk, LabelOptional, LabelSub } from "./components/label/index";
128
128
  export type {
129
129
  LabelAsteriskProps,
130
130
  LabelOptionalProps,
131
131
  LabelProps,
132
132
  LabelSubProps,
133
- } from "./components/label/index.ts";
133
+ } from "./components/label/index";
134
134
 
135
- export { Input } from "./components/input/index.ts";
136
- export type { InputProps } from "./components/input/index.ts";
135
+ export { Input } from "./components/input/index";
136
+ export type { InputProps } from "./components/input/index";
137
137
 
138
138
  export {
139
139
  Field,
@@ -143,7 +143,7 @@ export {
143
143
  FieldItem,
144
144
  FieldLabel,
145
145
  FieldValidity,
146
- } from "./components/field/index.ts";
146
+ } from "./components/field/index";
147
147
  export type {
148
148
  FieldControlProps,
149
149
  FieldDescriptionProps,
@@ -152,15 +152,15 @@ export type {
152
152
  FieldLabelProps,
153
153
  FieldProps,
154
154
  FieldValidityProps,
155
- } from "./components/field/index.ts";
155
+ } from "./components/field/index";
156
156
 
157
- export { InputGroup, InputGroupAddon, InputGroupInput } from "./components/input-group/index.ts";
157
+ export { InputGroup, InputGroupAddon, InputGroupInput } from "./components/input-group/index";
158
158
  export type {
159
159
  InputGroupAddonProps,
160
160
  InputGroupAddonTextProps,
161
161
  InputGroupInputProps,
162
162
  InputGroupProps,
163
- } from "./components/input-group/index.ts";
163
+ } from "./components/input-group/index";
164
164
 
165
165
  export {
166
166
  Combobox,
@@ -188,7 +188,7 @@ export {
188
188
  ComboboxTrigger,
189
189
  ComboboxTriggerIndicator,
190
190
  ComboboxValue,
191
- } from "./components/combobox/index.ts";
191
+ } from "./components/combobox/index";
192
192
  export type {
193
193
  ComboboxChipProps,
194
194
  ComboboxChipRemoveProps,
@@ -215,7 +215,7 @@ export type {
215
215
  ComboboxTriggerIndicatorProps,
216
216
  ComboboxTriggerProps,
217
217
  ComboboxValueProps,
218
- } from "./components/combobox/index.ts";
218
+ } from "./components/combobox/index";
219
219
 
220
220
  export {
221
221
  Select,
@@ -236,7 +236,7 @@ export {
236
236
  SelectSeparator,
237
237
  SelectTrigger,
238
238
  SelectValue,
239
- } from "./components/select/index.ts";
239
+ } from "./components/select/index";
240
240
  export type {
241
241
  SelectArrowProps,
242
242
  SelectContentProps,
@@ -256,37 +256,37 @@ export type {
256
256
  SelectSeparatorProps,
257
257
  SelectTriggerProps,
258
258
  SelectValueProps,
259
- } from "./components/select/index.ts";
259
+ } from "./components/select/index";
260
260
 
261
- export { RadioGroup, RadioGroupIndicator, RadioGroupItem } from "./components/radio-group/index.ts";
261
+ export { RadioGroup, RadioGroupIndicator, RadioGroupItem } from "./components/radio-group/index";
262
262
  export type {
263
263
  RadioGroupIndicatorProps,
264
264
  RadioGroupItemProps,
265
265
  RadioGroupProps,
266
- } from "./components/radio-group/index.ts";
266
+ } from "./components/radio-group/index";
267
267
 
268
268
  export {
269
269
  SegmentedControl,
270
270
  SegmentedControlCount,
271
271
  SegmentedControlItem,
272
272
  SegmentedControlLabel,
273
- } from "./components/segmented-control/index.ts";
273
+ } from "./components/segmented-control/index";
274
274
  export type {
275
275
  SegmentedControlCountProps,
276
276
  SegmentedControlItemProps,
277
277
  SegmentedControlLabelProps,
278
278
  SegmentedControlProps,
279
- } from "./components/segmented-control/index.ts";
279
+ } from "./components/segmented-control/index";
280
280
 
281
- export { Textarea, TextareaCounter, TextareaGroup } from "./components/textarea/index.ts";
281
+ export { Textarea, TextareaCounter, TextareaGroup } from "./components/textarea/index";
282
282
  export type {
283
283
  TextareaCounterProps,
284
284
  TextareaGroupProps,
285
285
  TextareaProps,
286
- } from "./components/textarea/index.ts";
286
+ } from "./components/textarea/index";
287
287
 
288
- export { Badge } from "./components/badge/index.ts";
289
- export type { BadgeProps } from "./components/badge/index.ts";
288
+ export { Badge } from "./components/badge/index";
289
+ export type { BadgeProps } from "./components/badge/index";
290
290
 
291
291
  export {
292
292
  Avatar,
@@ -296,7 +296,7 @@ export {
296
296
  AvatarGroupCount,
297
297
  AvatarImage,
298
298
  type AvatarSize,
299
- } from "./components/avatar/index.ts";
299
+ } from "./components/avatar/index";
300
300
  export type {
301
301
  AvatarBadgeProps,
302
302
  AvatarFallbackProps,
@@ -304,31 +304,31 @@ export type {
304
304
  AvatarGroupProps,
305
305
  AvatarImageProps,
306
306
  AvatarProps,
307
- } from "./components/avatar/index.ts";
307
+ } from "./components/avatar/index";
308
308
 
309
- export { InlineCode } from "./components/inline-code/index.ts";
310
- export type { InlineCodeProps } from "./components/inline-code/index.ts";
309
+ export { InlineCode } from "./components/inline-code/index";
310
+ export type { InlineCodeProps } from "./components/inline-code/index";
311
311
 
312
- export { Kbd, KbdGroup } from "./components/kbd/index.ts";
313
- export type { KbdGroupProps, KbdProps } from "./components/kbd/index.ts";
312
+ export { Kbd, KbdGroup } from "./components/kbd/index";
313
+ export type { KbdGroupProps, KbdProps } from "./components/kbd/index";
314
314
 
315
- export { Text, TextHeading, TextMono, TextSans } from "./components/text/index.ts";
316
- export type { TextHeadingProps, TextMonoProps, TextSansProps } from "./components/text/index.ts";
315
+ export { Text, TextHeading, TextMono, TextSans } from "./components/text/index";
316
+ export type { TextHeadingProps, TextMonoProps, TextSansProps } from "./components/text/index";
317
317
 
318
- export { Status } from "./components/status/index.ts";
319
- export type { StatusProps } from "./components/status/index.ts";
318
+ export { Status } from "./components/status/index";
319
+ export type { StatusProps } from "./components/status/index";
320
320
 
321
- export { Spinner } from "./components/spinner/index.ts";
322
- export type { SpinnerProps } from "./components/spinner/index.ts";
321
+ export { Spinner } from "./components/spinner/index";
322
+ export type { SpinnerProps } from "./components/spinner/index";
323
323
 
324
- export { Banner, BannerAction, BannerDescription, BannerTitle } from "./components/banner/index.ts";
324
+ export { Banner, BannerAction, BannerDescription, BannerTitle } from "./components/banner/index";
325
325
  export type {
326
326
  BannerActionProps,
327
327
  BannerDescriptionProps,
328
328
  BannerProps,
329
329
  BannerStatus,
330
330
  BannerTitleProps,
331
- } from "./components/banner/index.ts";
331
+ } from "./components/banner/index";
332
332
 
333
333
  export {
334
334
  EmptyState,
@@ -337,7 +337,7 @@ export {
337
337
  EmptyStateDescription,
338
338
  EmptyStateIcon,
339
339
  EmptyStateTitle,
340
- } from "./components/empty-state/index.ts";
340
+ } from "./components/empty-state/index";
341
341
  export type {
342
342
  EmptyStateActionsProps,
343
343
  EmptyStateContentProps,
@@ -345,7 +345,7 @@ export type {
345
345
  EmptyStateIconProps,
346
346
  EmptyStateProps,
347
347
  EmptyStateTitleProps,
348
- } from "./components/empty-state/index.ts";
348
+ } from "./components/empty-state/index";
349
349
 
350
350
  export {
351
351
  NotificationCenter,
@@ -365,7 +365,7 @@ export {
365
365
  NotificationCenterScroller,
366
366
  NotificationCenterTitle,
367
367
  NotificationCenterTrigger,
368
- } from "./components/notification-center/index.ts";
368
+ } from "./components/notification-center/index";
369
369
  export type {
370
370
  NotificationCenterActionButtonProps,
371
371
  NotificationCenterCountProps,
@@ -385,7 +385,7 @@ export type {
385
385
  NotificationCenterScrollerProps,
386
386
  NotificationCenterTitleProps,
387
387
  NotificationCenterTriggerProps,
388
- } from "./components/notification-center/index.ts";
388
+ } from "./components/notification-center/index";
389
389
 
390
390
  export {
391
391
  SortableTabsList,
@@ -398,7 +398,7 @@ export {
398
398
  TabsPanel,
399
399
  TabsTab,
400
400
  useOrderedTabs,
401
- } from "./components/tabs/index.ts";
401
+ } from "./components/tabs/index";
402
402
  export type {
403
403
  OrderedTabItem,
404
404
  SortableTabsListProps,
@@ -410,12 +410,15 @@ export type {
410
410
  TabsPanelProps,
411
411
  TabsProps,
412
412
  TabsTabProps,
413
- } from "./components/tabs/index.ts";
413
+ } from "./components/tabs/index";
414
414
 
415
- export { cn } from "./lib/cn.ts";
416
- export { ThemeProvider } from "./lib/theme/theme-provider.tsx";
417
- export type { ThemeProviderProps } from "./lib/theme/theme-provider.tsx";
418
- export { useTheme, useThemeFamily } from "./lib/theme/use-theme.ts";
415
+ export { Separator } from "./components/separator/index";
416
+ export type { SeparatorProps } from "./components/separator/index";
417
+
418
+ export { cn } from "./lib/cn";
419
+ export { ThemeProvider } from "./lib/theme/theme-provider";
420
+ export type { ThemeProviderProps } from "./lib/theme/theme-provider";
421
+ export { useTheme, useThemeFamily } from "./lib/theme/use-theme";
419
422
  export type {
420
423
  ResolvedThemeMode,
421
424
  SetTheme,
@@ -423,4 +426,4 @@ export type {
423
426
  Theme,
424
427
  ThemeMode,
425
428
  ThemeState,
426
- } from "./lib/theme/theme-context.ts";
429
+ } from "./lib/theme/theme-context";
@@ -1,5 +1,5 @@
1
1
  import type { HTMLAttributes, ReactNode } from "react";
2
- import SurfaceListItem from "./SurfaceListItem.tsx";
2
+ import SurfaceListItem from "./SurfaceListItem";
3
3
 
4
4
  export interface AvatarListRowProps {
5
5
  avatar: ReactNode;
@@ -22,7 +22,7 @@
22
22
  // and forcing one row layout would just push complexity into props.
23
23
 
24
24
  import type { InputHTMLAttributes } from "react";
25
- import CheckMarker, { type CheckMarkerSize } from "./CheckMarker.tsx";
25
+ import CheckMarker, { type CheckMarkerSize } from "./CheckMarker";
26
26
 
27
27
  type Size = Extract<CheckMarkerSize, "sm" | "md">;
28
28
 
@@ -1,6 +1,6 @@
1
1
  import { forwardRef } from "react";
2
2
  import type { MouseEvent, ReactNode } from "react";
3
- import AvatarSlot from "./AvatarSlot.tsx";
3
+ import AvatarSlot from "./AvatarSlot";
4
4
 
5
5
  type ConversationAuthor =
6
6
  | {
@@ -1,6 +1,6 @@
1
1
  import type { MouseEvent } from "react";
2
2
  import { Dialog } from "@base-ui/react/dialog";
3
- import { tv } from "../lib/tv.ts";
3
+ import { tv } from "../lib/tv";
4
4
 
5
5
  const dismissBackdrop = tv({
6
6
  slots: {
@@ -1,5 +1,5 @@
1
1
  import type { HTMLAttributes } from "react";
2
- import { Badge } from "./Badge.tsx";
2
+ import { Badge } from "./Badge";
3
3
 
4
4
  export interface ExperimentalBadgeProps extends HTMLAttributes<HTMLSpanElement> {
5
5
  // Callers can add positional tweaks (e.g. `-translate-y-px` inside a
@@ -1,7 +1,7 @@
1
1
  import { forwardRef, useEffect, type HTMLAttributes, type ReactNode } from "react";
2
2
  import { AlertTriangle, CheckCircle2, Info } from "lucide-react";
3
- import EmptyState from "./EmptyState.tsx";
4
- import SectionEyebrow from "./SectionEyebrow.tsx";
3
+ import EmptyState from "./EmptyState";
4
+ import SectionEyebrow from "./SectionEyebrow";
5
5
 
6
6
  export type NotificationCenterKind = "error" | "warning" | "info" | "success";
7
7
  export type NotificationCenterViewport = "desktop" | "mobile";
@@ -1,6 +1,6 @@
1
1
  import { ArrowLeft } from "lucide-react";
2
2
  import type { HTMLAttributes, ReactNode } from "react";
3
- import Button from "./button.tsx";
3
+ import Button from "./button";
4
4
 
5
5
  type DivPassthroughProps = HTMLAttributes<HTMLDivElement> &
6
6
  Record<`data-${string}`, string | undefined>;
@@ -1,6 +1,6 @@
1
1
  import type { ReactNode } from "react";
2
2
  import { Hash, MessageSquare } from "lucide-react";
3
- import AvatarSlot from "./AvatarSlot.tsx";
3
+ import AvatarSlot from "./AvatarSlot";
4
4
 
5
5
  export interface QuotedMessageCardProps {
6
6
  channelName: string;
@@ -30,7 +30,7 @@
30
30
  */
31
31
 
32
32
  import type { ReactNode } from "react";
33
- import SectionEyebrow from "./SectionEyebrow.tsx";
33
+ import SectionEyebrow from "./SectionEyebrow";
34
34
 
35
35
  export type SectionHeaderProps = {
36
36
  label: ReactNode;
@@ -1,5 +1,5 @@
1
1
  import type { ComponentProps } from "react";
2
- import { cn } from "../lib/cn.ts";
2
+ import { cn } from "../lib/cn";
3
3
 
4
4
  type SpinnerSize = "sm" | "lg";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import type { HTMLAttributes, ReactNode } from "react";
2
- import { cn } from "../lib/cn.ts";
2
+ import { cn } from "../lib/cn";
3
3
 
4
4
  export default function SurfaceListItem({
5
5
  children,
@@ -1,8 +1,8 @@
1
1
  import type { KeyboardEvent, ReactNode } from "react";
2
2
  import { Button as BaseButton } from "@base-ui/react/button";
3
3
  import { Check } from "lucide-react";
4
- import { tv } from "../lib/tv.ts";
5
- import { useThemeFamily } from "../lib/theme/use-theme.ts";
4
+ import { tv } from "../lib/tv";
5
+ import { useThemeFamily } from "../lib/theme/use-theme";
6
6
 
7
7
  // Single-select popover content: a header, an optional search box, and a list of
8
8
  // checkable rows (the trailing ✓ is the selected indicator; hover is the shared
@@ -1,8 +1,8 @@
1
1
  import { useEffect, useRef, type ComponentPropsWithRef, type ReactNode } from "react";
2
2
  import { Button as BaseButton } from "@base-ui/react/button";
3
3
  import { Check, Plus } from "lucide-react";
4
- import { tv } from "../lib/tv.ts";
5
- import { useThemeFamily } from "../lib/theme/use-theme.ts";
4
+ import { tv } from "../lib/tv";
5
+ import { useThemeFamily } from "../lib/theme/use-theme";
6
6
 
7
7
  // "Switch server" dropdown content: joined servers + join-community actions + a
8
8
  // "switch or create" action. App-domain data and navigation stay caller-owned,
@@ -17,7 +17,7 @@ import {
17
17
  type Theme,
18
18
  type ThemeState,
19
19
  type ThemeMode,
20
- } from "./theme-context.ts";
20
+ } from "./theme-context";
21
21
 
22
22
  export interface ThemeProviderProps {
23
23
  /**
@@ -1,5 +1,5 @@
1
1
  import { use } from "react";
2
- import { ThemeContext, ThemeStateContext, type Theme, type ThemeState } from "./theme-context.ts";
2
+ import { ThemeContext, ThemeStateContext, type Theme, type ThemeState } from "./theme-context";
3
3
 
4
4
  /** Read the active style family for theme-aware component recipes. */
5
5
  export function useThemeFamily(): Theme {