@krak-stack/registry 0.11.4 → 0.11.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 (175) hide show
  1. package/CHANGELOG.md +23 -1
  2. package/README.md +23 -9
  3. package/dist/components/agent/react.js +226 -1072
  4. package/dist/components/app-switcher/html.js +10 -53
  5. package/dist/components/app-switcher/react.js +29 -139
  6. package/dist/components/async-action-button/html.js +3 -34
  7. package/dist/components/async-action-button/react.d.ts +1 -1
  8. package/dist/components/async-action-button/react.js +8 -54
  9. package/dist/components/audit-log-table/react.js +706 -1279
  10. package/dist/components/bulk-list-input/html.js +3 -40
  11. package/dist/components/bulk-list-input/react.d.ts +1 -1
  12. package/dist/components/bulk-list-input/react.js +6 -59
  13. package/dist/components/code-block/html.js +1 -35
  14. package/dist/components/code-block/react.js +12 -59
  15. package/dist/components/color-input/html.js +2 -19
  16. package/dist/components/color-input/react.js +6 -97
  17. package/dist/components/copy-button/html.js +1 -35
  18. package/dist/components/copy-button/react.d.ts +1 -1
  19. package/dist/components/copy-button/react.js +7 -54
  20. package/dist/components/copy-value/html.js +11 -52
  21. package/dist/components/copy-value/react.js +25 -165
  22. package/dist/components/cron-input/html.js +2 -18
  23. package/dist/components/cron-input/react.js +15 -30
  24. package/dist/components/danger-confirmation/html.js +11 -57
  25. package/dist/components/danger-confirmation/react.js +26 -187
  26. package/dist/components/data-table/classes.d.ts +9 -3
  27. package/dist/components/data-table/html.d.ts +93 -21
  28. package/dist/components/data-table/html.js +309 -196
  29. package/dist/components/data-table/index.d.ts +97 -9
  30. package/dist/components/data-table/react.d.ts +14 -3
  31. package/dist/components/data-table/react.js +700 -1273
  32. package/dist/components/data-table/schema.d.ts +175 -16
  33. package/dist/components/date-input/html.js +19 -74
  34. package/dist/components/date-input/react.d.ts +1 -1
  35. package/dist/components/date-input/react.js +28 -313
  36. package/dist/components/docs/classes.d.ts +15 -0
  37. package/dist/components/docs/html.d.ts +55 -0
  38. package/dist/components/docs/html.js +837 -0
  39. package/dist/components/docs/index.d.ts +49 -0
  40. package/dist/components/docs/react.d.ts +10 -0
  41. package/dist/components/docs/react.js +949 -0
  42. package/dist/components/docs/schema.d.ts +49 -0
  43. package/dist/components/editable-text/html.js +6 -52
  44. package/dist/components/editable-text/react.js +13 -83
  45. package/dist/components/editing-locale-switcher/html.d.ts +2 -2
  46. package/dist/components/editing-locale-switcher/html.js +13 -43
  47. package/dist/components/editing-locale-switcher/react.js +17 -141
  48. package/dist/components/effect-form/react.js +249 -812
  49. package/dist/components/email-composer/react.js +62 -279
  50. package/dist/components/email-editor/html.js +13 -58
  51. package/dist/components/email-editor/react.js +187 -483
  52. package/dist/components/error-component/html.js +2 -47
  53. package/dist/components/error-component/react.js +33 -137
  54. package/dist/components/file-input/html.js +9 -40
  55. package/dist/components/file-input/react.js +39 -208
  56. package/dist/components/form/react.js +212 -777
  57. package/dist/components/icon-input/html.js +9 -56
  58. package/dist/components/icon-input/react.js +43 -143
  59. package/dist/components/image-crop-editor/html.js +1 -35
  60. package/dist/components/image-crop-editor/react.js +21 -66
  61. package/dist/components/locale-switcher/html.js +8 -55
  62. package/dist/components/locale-switcher/react.js +21 -146
  63. package/dist/components/map-menu/html.d.ts +8 -8
  64. package/dist/components/map-menu/html.js +13 -72
  65. package/dist/components/map-menu/react.js +92 -309
  66. package/dist/components/markdown/html.js +1 -35
  67. package/dist/components/markdown/react.js +20 -64
  68. package/dist/components/notification-menu/html.js +14 -50
  69. package/dist/components/notification-menu/react.js +73 -343
  70. package/dist/components/pagination/html.js +17 -73
  71. package/dist/components/pagination/react.js +37 -200
  72. package/dist/components/phone-number-input/html.js +19 -57
  73. package/dist/components/phone-number-input/react.d.ts +1 -1
  74. package/dist/components/phone-number-input/react.js +43 -142
  75. package/dist/components/presence-transition/index.d.ts +2 -2
  76. package/dist/components/registry-previews/component-example.js +26 -126
  77. package/dist/components/rich-text-editor/html.d.ts +12 -12
  78. package/dist/components/rich-text-editor/html.js +12 -85
  79. package/dist/components/rich-text-editor/react.js +55 -272
  80. package/dist/components/search-menu/classes.d.ts +2 -0
  81. package/dist/components/search-menu/html.d.ts +2 -0
  82. package/dist/components/search-menu/html.js +40 -73
  83. package/dist/components/search-menu/index.d.ts +27 -2
  84. package/dist/components/search-menu/react.d.ts +1 -1
  85. package/dist/components/search-menu/react.js +59 -280
  86. package/dist/components/search-menu/schema.d.ts +1 -0
  87. package/dist/components/select-with-custom-input/html.d.ts +2 -2
  88. package/dist/components/select-with-custom-input/html.js +13 -48
  89. package/dist/components/select-with-custom-input/react.js +22 -146
  90. package/dist/components/sidebar-layout/html.d.ts +16 -6
  91. package/dist/components/sidebar-layout/html.js +83 -69
  92. package/dist/components/sidebar-layout/index.d.ts +16 -0
  93. package/dist/components/sidebar-layout/react.js +105 -698
  94. package/dist/components/stats-card/react.js +13 -58
  95. package/dist/components/support/html.js +14 -69
  96. package/dist/components/support/react.js +74 -320
  97. package/dist/components/theme-switcher/html.js +11 -55
  98. package/dist/components/theme-switcher/react.js +28 -152
  99. package/dist/components/time-input/html.d.ts +2 -2
  100. package/dist/components/time-input/html.js +8 -53
  101. package/dist/components/time-input/react.js +34 -188
  102. package/dist/components/timezone-input/html.js +11 -67
  103. package/dist/components/timezone-input/react.js +41 -143
  104. package/dist/components/toast/html.d.ts +6 -6
  105. package/dist/components/toast/html.js +13 -46
  106. package/dist/components/tracking-notice/react.js +39 -188
  107. package/dist/components/unsaved-changes-guard/html.js +9 -43
  108. package/dist/components/unsaved-changes-guard/react.js +19 -169
  109. package/dist/components/upload-attachment/html.d.ts +4 -4
  110. package/dist/components/upload-attachment/html.js +4 -35
  111. package/dist/components/upload-attachment/react.js +25 -164
  112. package/dist/components/virtualized-combobox/html.js +10 -35
  113. package/dist/components/virtualized-combobox/react.js +28 -129
  114. package/dist/components/webhook-delivery-table/html.js +320 -206
  115. package/dist/components/webhook-delivery-table/react.js +736 -1376
  116. package/dist/lib/docs.integrations.server.js +150 -202
  117. package/dist/lib/docs.js +305 -1085
  118. package/dist/lib/docs.server.js +134 -186
  119. package/dist/lib/documentation-toolkit.js +144 -196
  120. package/dist/services/agent/client/index.js +226 -1072
  121. package/dist/services/notification/client/index.js +73 -343
  122. package/dist/services/notification/public.js +73 -343
  123. package/package.json +5 -13
  124. package/dist/components/effectcn/alert-dialog.d.ts +0 -13
  125. package/dist/components/effectcn/button.d.ts +0 -31
  126. package/dist/components/effectcn/calendar.d.ts +0 -12
  127. package/dist/components/effectcn/checkbox.d.ts +0 -10
  128. package/dist/components/effectcn/combobox.d.ts +0 -25
  129. package/dist/components/effectcn/dialog.d.ts +0 -19
  130. package/dist/components/effectcn/field.d.ts +0 -11
  131. package/dist/components/effectcn/file-drop.d.ts +0 -8
  132. package/dist/components/effectcn/input.d.ts +0 -26
  133. package/dist/components/effectcn/menu.d.ts +0 -85
  134. package/dist/components/effectcn/menubar.d.ts +0 -8
  135. package/dist/components/effectcn/popover.d.ts +0 -18
  136. package/dist/components/effectcn/scroll-area.d.ts +0 -12
  137. package/dist/components/effectcn/select.d.ts +0 -68
  138. package/dist/components/effectcn/toast.d.ts +0 -29
  139. package/dist/components/ui/alert-dialog.d.ts +0 -18
  140. package/dist/components/ui/alert.d.ts +0 -10
  141. package/dist/components/ui/attachment.d.ts +0 -23
  142. package/dist/components/ui/badge.d.ts +0 -7
  143. package/dist/components/ui/bubble.d.ts +0 -16
  144. package/dist/components/ui/button.d.ts +0 -8
  145. package/dist/components/ui/calendar.d.ts +0 -10
  146. package/dist/components/ui/card.d.ts +0 -11
  147. package/dist/components/ui/checkbox.d.ts +0 -3
  148. package/dist/components/ui/collapsible.d.ts +0 -5
  149. package/dist/components/ui/command.d.ts +0 -18
  150. package/dist/components/ui/dialog.d.ts +0 -17
  151. package/dist/components/ui/dropdown-menu.d.ts +0 -29
  152. package/dist/components/ui/empty.d.ts +0 -11
  153. package/dist/components/ui/field.d.ts +0 -24
  154. package/dist/components/ui/input-group.d.ts +0 -17
  155. package/dist/components/ui/input.d.ts +0 -3
  156. package/dist/components/ui/item.d.ts +0 -22
  157. package/dist/components/ui/label.d.ts +0 -3
  158. package/dist/components/ui/menubar.d.ts +0 -29
  159. package/dist/components/ui/message-scroller.d.ts +0 -10
  160. package/dist/components/ui/message.d.ts +0 -10
  161. package/dist/components/ui/popover.d.ts +0 -9
  162. package/dist/components/ui/scroll-area.d.ts +0 -4
  163. package/dist/components/ui/select.d.ts +0 -15
  164. package/dist/components/ui/select.js +0 -159
  165. package/dist/components/ui/separator.d.ts +0 -3
  166. package/dist/components/ui/sheet.d.ts +0 -14
  167. package/dist/components/ui/sidebar.d.ts +0 -63
  168. package/dist/components/ui/skeleton.d.ts +0 -2
  169. package/dist/components/ui/table.d.ts +0 -10
  170. package/dist/components/ui/tabs.d.ts +0 -10
  171. package/dist/components/ui/textarea.d.ts +0 -3
  172. package/dist/components/ui/tooltip.d.ts +0 -6
  173. package/dist/components/ui/trace.d.ts +0 -18
  174. package/dist/lib/effectcn-form.d.ts +0 -3
  175. package/dist/lib/effectcn-form.js +0 -54
@@ -1,13 +0,0 @@
1
- import type { Html } from "effect/ui/html";
2
- import type { AlertDialogParts } from "effect/ui/kit";
3
- type ClassOption = {
4
- readonly class?: string | undefined;
5
- };
6
- export declare const AlertDialogBackdrop: <Msg>(h: Html.H<Msg>, dialog: AlertDialogParts) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div"> | undefined;
7
- export declare const AlertDialogViewport: <Msg>(h: Html.H<Msg>, dialog: AlertDialogParts) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
8
- export declare const AlertDialogPopup: <Msg>(h: Html.H<Msg>, dialog: AlertDialogParts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
9
- export declare const AlertDialogHeader: <Msg>(h: Html.H<Msg>) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
10
- export declare const AlertDialogTitle: <Msg>(h: Html.H<Msg>, dialog: AlertDialogParts) => Html.Element<Msg, never, Html.Events, HTMLHeadingElement, "h2">;
11
- export declare const AlertDialogDescription: <Msg>(h: Html.H<Msg>, dialog: AlertDialogParts) => Html.Element<Msg, never, Html.Events, HTMLParagraphElement, "p">;
12
- export declare const AlertDialogFooter: <Msg>(h: Html.H<Msg>) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
13
- export {};
@@ -1,31 +0,0 @@
1
- import { type ButtonElement, type ButtonProps } from "effect/ui/kit";
2
- declare const variants: {
3
- readonly default: "bg-primary text-primary-foreground hover:bg-primary/85";
4
- readonly secondary: "bg-secondary text-secondary-foreground hover:bg-accent";
5
- readonly outline: "border-input bg-background text-foreground shadow-sm hover:bg-accent hover:text-accent-foreground";
6
- readonly ghost: "text-foreground hover:bg-accent hover:text-accent-foreground";
7
- readonly brand: "bg-brand-soft text-brand-soft-foreground hover:bg-brand-soft/85";
8
- readonly destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/85";
9
- readonly link: "h-auto px-0 text-foreground underline decoration-transparent underline-offset-4 hover:decoration-current";
10
- };
11
- declare const sizes: {
12
- readonly default: "";
13
- readonly sm: "h-7 rounded-sm px-2.5 text-xs";
14
- readonly lg: "h-10 px-5 text-sm";
15
- readonly icon: "w-8.5 px-0";
16
- readonly "icon-sm": "h-7 w-7 rounded-sm px-0";
17
- };
18
- export declare const buttonVariants: (options?: {
19
- variant?: keyof typeof variants | undefined;
20
- size?: keyof typeof sizes | undefined;
21
- class?: string | undefined;
22
- }) => string;
23
- export declare const Button: <Msg, R = never>(h: {
24
- readonly button: ButtonElement<Msg>;
25
- }, options?: NonNullable<Parameters<typeof buttonVariants>[0]> & {
26
- loading?: boolean | undefined;
27
- element?: ButtonElement<Msg, R> | undefined;
28
- props?: ButtonProps | undefined;
29
- onPress?: NoInfer<Msg> | undefined;
30
- }) => ButtonElement<Msg, R>;
31
- export {};
@@ -1,12 +0,0 @@
1
- import type { Component } from "effect/ui";
2
- import type { Html } from "effect/ui/html";
3
- import type { Calendar } from "effect/ui/kit";
4
- type Parts = Pick<Component.Headless.Parts<typeof Calendar>, "root" | "previous" | "next" | "weekday" | "weekdays" | "months">;
5
- type Month = Parts["months"][number];
6
- export declare const CalendarRoot: <Msg>(h: Html.H<Msg>, calendar: Parts, options?: {
7
- readonly variant?: "card" | "ghost";
8
- readonly class?: string | undefined;
9
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
10
- export declare const CalendarHeader: <Msg>(h: Html.H<Msg>, calendar: Parts, month: Month) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
11
- export declare const CalendarGrid: <Msg>(h: Html.H<Msg>, calendar: Parts, month: Month) => Html.Element<Msg, never, Html.Events, HTMLTableElement, "table">;
12
- export {};
@@ -1,10 +0,0 @@
1
- import type { Component } from "effect/ui";
2
- import type { Html } from "effect/ui/html";
3
- import type { Checkbox } from "effect/ui/kit";
4
- type Parts = Component.Headless.Parts<typeof Checkbox>;
5
- type ClassOption = {
6
- readonly class?: string | undefined;
7
- };
8
- export declare const CheckboxRoot: <Msg>(h: Html.H<Msg>, checkbox: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLButtonElement, "button">;
9
- export declare const CheckboxIndicator: <Msg>(h: Html.H<Msg>, checkbox: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLSpanElement, "span">;
10
- export {};
@@ -1,25 +0,0 @@
1
- import type { Component } from "effect/ui";
2
- import type { Html } from "effect/ui/html";
3
- import type { Combobox } from "effect/ui/kit";
4
- type Parts = Component.Headless.Parts<typeof Combobox>;
5
- type ClassOption = {
6
- readonly class?: string | undefined;
7
- };
8
- export declare const ComboboxButton: <Msg>(h: Html.H<Msg>, combobox: Parts, options?: ClassOption & {
9
- readonly value?: string | undefined;
10
- readonly valueClass?: string | undefined;
11
- }) => Html.Element<Msg, never, Html.Events, HTMLButtonElement, "button">;
12
- export declare const ComboboxClear: <Msg>(h: Html.H<Msg>, combobox: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLButtonElement, "button"> | undefined;
13
- export declare const ComboboxPositioner: <Msg>(h: Html.H<Msg>, combobox: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
14
- export declare const ComboboxPopup: <Msg>(h: Html.H<Msg>, combobox: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
15
- export declare const ComboboxSearchInput: <Msg>(h: Html.H<Msg>, combobox: Parts, options?: ClassOption & {
16
- readonly placeholder?: string | undefined;
17
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
18
- export declare const ComboboxEmpty: <Msg>(h: Html.H<Msg>, combobox: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
19
- export declare const ComboboxItem: <Msg>(h: Html.H<Msg>, combobox: Parts, options: ClassOption & {
20
- readonly value: string;
21
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
22
- export declare const ComboboxItemIndicator: <Msg>(h: Html.H<Msg>, combobox: Parts, options: ClassOption & {
23
- readonly value: string;
24
- }) => Html.Element<Msg, never, Html.Events, HTMLSpanElement, "span"> | undefined;
25
- export {};
@@ -1,19 +0,0 @@
1
- import type { Component, View } from "effect/ui";
2
- import type { Html } from "effect/ui/html";
3
- import type { Dialog } from "effect/ui/kit";
4
- type Parts = Component.Headless.Parts<typeof Dialog>;
5
- type ClassOption = {
6
- class?: string | undefined;
7
- };
8
- export declare const DialogBackdrop: <Msg>(h: Html.H<Msg>, dialog: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div"> | undefined;
9
- export declare const DialogViewport: <Msg>(h: Html.H<Msg>, dialog: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
10
- export declare const DialogPopup: <Msg>(h: Html.H<Msg>, dialog: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
11
- export declare const DialogHeader: <Msg>(h: Html.H<Msg>, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
12
- export declare const DialogTitle: <Msg>(h: Html.H<Msg>, dialog: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLHeadingElement, "h2">;
13
- export declare const DialogDescription: <Msg>(h: Html.H<Msg>, dialog: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLParagraphElement, "p">;
14
- export declare const DialogCloseIcon: <Msg>(h: Html.H<Msg>, dialog: Parts, options: ClassOption & {
15
- label: string;
16
- disabled?: boolean | undefined;
17
- icon?: View.Input<Msg, never>;
18
- }) => Html.Element<Msg, never, Html.Events, HTMLButtonElement, "button">;
19
- export {};
@@ -1,11 +0,0 @@
1
- import type { Component } from "effect/ui";
2
- import type { Html } from "effect/ui/html";
3
- import type { Field } from "effect/ui/kit";
4
- type Parts = Component.Headless.Parts<typeof Field>;
5
- type ClassOption = {
6
- class?: string | undefined;
7
- };
8
- export declare const FieldRoot: <Msg>(h: Html.H<Msg>, field: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
9
- export declare const FieldLabel: <Msg>(h: Html.H<Msg>, field: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLLabelElement, "label">;
10
- export declare const FieldError: <Msg>(h: Html.H<Msg>, field: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div"> | undefined;
11
- export {};
@@ -1,8 +0,0 @@
1
- import type { Html } from "effect/ui/html";
2
- /** The effectcn drop-zone surface, also usable with a form-owned file input. */
3
- export declare const fileDropZoneClass: string;
4
- export declare const FileDropIcon: <Msg>(h: Html.H<Msg>) => Html.Element<Msg, never, Html.Events, HTMLSpanElement, "span">;
5
- export declare const FileDropTitle: <Msg>(h: Html.H<Msg>) => Html.Element<Msg, never, Html.Events, HTMLParagraphElement, "p">;
6
- export declare const FileDropHint: <Msg>(h: Html.H<Msg>, options?: {
7
- class?: string;
8
- }) => Html.Element<Msg, never, Html.Events, HTMLParagraphElement, "p">;
@@ -1,26 +0,0 @@
1
- import type { Html } from "effect/ui/html";
2
- import { type InputElement, type InputProps } from "effect/ui/kit";
3
- declare const sizes: {
4
- readonly default: "";
5
- readonly sm: "h-7 rounded-sm px-2.5 text-xs";
6
- readonly lg: "h-10 px-3.5 text-sm";
7
- };
8
- type ClassOption = {
9
- readonly class?: string | undefined;
10
- };
11
- type InputOptions = ClassOption & {
12
- readonly size?: keyof typeof sizes | undefined;
13
- };
14
- /** Also styles a native textarea or select without replacing its behavior. */
15
- export declare const inputVariants: (options?: InputOptions) => string;
16
- export declare const Input: <Msg, R = never>(h: {
17
- readonly input: InputElement<Msg>;
18
- }, options: InputOptions & {
19
- readonly element?: InputElement<Msg, R> | undefined;
20
- readonly props: InputProps;
21
- readonly onUpdate?: ((event: {
22
- readonly value: string;
23
- }) => NoInfer<Msg> | undefined) | undefined;
24
- }) => InputElement<Msg, R>;
25
- export declare const InputGroup: <Msg>(h: Html.H<Msg>, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
26
- export {};
@@ -1,85 +0,0 @@
1
- import type { Component } from "effect/ui";
2
- import type { Html } from "effect/ui/html";
3
- import type { Menu, MenuTriggerOptions } from "effect/ui/kit";
4
- import { buttonVariants } from "./button.js";
5
- type ButtonStyle = NonNullable<Parameters<typeof buttonVariants>[0]>;
6
- type ButtonSize = ButtonStyle["size"];
7
- type ButtonVariant = ButtonStyle["variant"];
8
- /** What a `Menu`'s `view` closure receives. A `ContextMenu`'s parts fit the item helpers too. */
9
- export type MenuParts = Component.Headless.Parts<typeof Menu>;
10
- interface ClassOption {
11
- readonly class?: string | undefined;
12
- }
13
- declare const itemVariants: {
14
- readonly default: "";
15
- readonly destructive: "text-destructive data-[highlighted]:bg-destructive/10 data-[highlighted]:text-destructive [&_svg]:text-destructive";
16
- };
17
- export type MenuItemVariant = keyof typeof itemVariants;
18
- /** The button that opens the menu. It looks like an outline `Button` unless `variant` says otherwise. */
19
- export declare const MenuTrigger: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "trigger">, options?: MenuTriggerOptions & ClassOption & {
20
- readonly variant?: ButtonVariant | undefined;
21
- readonly size?: ButtonSize | undefined;
22
- }) => Html.Element<Msg, never, Html.Events, HTMLButtonElement, "button">;
23
- /** A chevron for inside a trigger. It turns while the trigger's popup is open. */
24
- export declare const MenuChevron: <Msg>(h: Html.H<Msg>, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLSpanElement, "span">;
25
- /** The popover the menu places next to its trigger. Put a `MenuPopup` inside. */
26
- export declare const MenuPositioner: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "positioner">, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
27
- /** The panel with the items. */
28
- export declare const MenuPopup: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "popup">, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
29
- /** An action. `inset` lines its label up with checkbox and radio items. */
30
- export declare const MenuItem: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "item">, options: ClassOption & {
31
- readonly value: string;
32
- readonly variant?: MenuItemVariant | undefined;
33
- readonly inset?: boolean | undefined;
34
- readonly closeOnClick?: boolean | undefined;
35
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
36
- /** An item that is a real link. Chain `target` and `rel` on the result. */
37
- export declare const MenuLinkItem: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "linkItem">, options: ClassOption & {
38
- readonly value: string;
39
- readonly href: string;
40
- readonly closeOnClick?: boolean | undefined;
41
- }) => Html.Element<Msg, never, Html.Events, HTMLAnchorElement, "a">;
42
- /**
43
- * An item with a tick while it is checked. The tick is drawn from `data-checked`;
44
- * the item is checked when its entry in the menu's `items` has `checked: true`.
45
- */
46
- export declare const MenuCheckboxItem: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "checkboxItem">, options: ClassOption & {
47
- readonly value: string;
48
- readonly closeOnClick?: boolean | undefined;
49
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
50
- /** The group around radio items. Mark the checked one with `checked: true` in the menu's `items`. */
51
- export declare const MenuRadioGroup: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "radioGroup">, options?: ClassOption & {
52
- readonly label?: string | undefined;
53
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
54
- /** An item with a dot while it is the checked one of its `MenuRadioGroup`. */
55
- export declare const MenuRadioItem: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "radioItem">, options: ClassOption & {
56
- readonly value: string;
57
- readonly closeOnClick?: boolean | undefined;
58
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
59
- /** The parent menu's item that opens `submenu`, a `Menu` with `parentItem` drawn inside the popup. */
60
- export declare const MenuSubTrigger: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "item">, submenu: Pick<MenuParts, "submenuTrigger">, options: ClassOption & {
61
- readonly value: string;
62
- readonly inset?: boolean | undefined;
63
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
64
- /** A group of items. Give its `MenuLabel` the same `group`. */
65
- export declare const MenuGroup: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "group">, options: ClassOption & {
66
- readonly group: string;
67
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
68
- /** The small heading of a group. */
69
- export declare const MenuLabel: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "groupLabel">, options: ClassOption & {
70
- readonly group: string;
71
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
72
- /** A line between items. */
73
- export declare const MenuSeparator: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "separator">, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
74
- /** A keyboard hint at the end of an item. */
75
- export declare const MenuShortcut: <Msg>(h: Html.H<Msg>, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLSpanElement, "span">;
76
- /** The filter's input, at the top of the popup. The menu needs a `query` prop to filter. */
77
- export declare const MenuInput: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "input">, options?: ClassOption & {
78
- readonly placeholder?: string | undefined;
79
- readonly label?: string | undefined;
80
- }) => Html.VoidElement<Msg, never, Html.EventsOf<"input">, HTMLInputElement, "input">;
81
- /** The element around the items of a filtering menu. */
82
- export declare const MenuList: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "list">, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
83
- /** Shown while the filter matches nothing, and `undefined` otherwise. */
84
- export declare const MenuEmpty: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "empty">, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div"> | undefined;
85
- export {};
@@ -1,8 +0,0 @@
1
- import type { Component } from "effect/ui";
2
- import type { Html } from "effect/ui/html";
3
- import type { Menu, Menubar } from "effect/ui/kit";
4
- type MenubarParts = Component.Headless.Parts<typeof Menubar>;
5
- type MenuParts = Component.Headless.Parts<typeof Menu>;
6
- export declare const MenubarRoot: <Msg>(h: Html.H<Msg>, menubar: Pick<MenubarParts, "root">, className?: string) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
7
- export declare const MenubarTrigger: <Msg>(h: Html.H<Msg>, menu: Pick<MenuParts, "trigger">, label: string, className?: string) => Html.Element<Msg, never, Html.Events, HTMLButtonElement, "button">;
8
- export {};
@@ -1,18 +0,0 @@
1
- import type { Component } from "effect/ui";
2
- import type { Html } from "effect/ui/html";
3
- import type { Popover } from "effect/ui/kit";
4
- type Parts = Component.Headless.Parts<typeof Popover>;
5
- type ClassOption = {
6
- readonly class?: string | undefined;
7
- };
8
- declare const sizes: {
9
- readonly sm: "w-56";
10
- readonly default: "w-72";
11
- readonly auto: "w-auto";
12
- };
13
- export declare const PopoverPositioner: <Msg>(h: Html.H<Msg>, popover: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
14
- export declare const PopoverPopup: <Msg>(h: Html.H<Msg>, popover: Parts, options?: ClassOption & {
15
- readonly size?: keyof typeof sizes | undefined;
16
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
17
- export declare const PopoverTitle: <Msg>(h: Html.H<Msg>, popover: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLHeadingElement, "h2">;
18
- export {};
@@ -1,12 +0,0 @@
1
- import type { Component } from "effect/ui";
2
- import type { Html } from "effect/ui/html";
3
- import type { ScrollArea } from "effect/ui/kit";
4
- type Parts = Component.Headless.Parts<typeof ScrollArea>;
5
- type ClassOption = {
6
- readonly class?: string | undefined;
7
- };
8
- export declare const ScrollAreaRoot: <Msg>(h: Html.H<Msg>, area: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
9
- export declare const ScrollAreaViewport: <Msg>(h: Html.H<Msg>, area: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
10
- export declare const ScrollAreaContent: <Msg>(h: Html.H<Msg>, area: Parts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
11
- export declare const ScrollAreaScrollbar: <Msg>(h: Html.H<Msg>, area: Parts) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div"> | undefined;
12
- export {};
@@ -1,68 +0,0 @@
1
- import type { Component } from "effect/ui";
2
- import type { Html } from "effect/ui/html";
3
- import type { Select } from "effect/ui/kit";
4
- /** What the `view` closure of the kit's `Select` receives. */
5
- export type SelectParts = Component.Headless.Parts<typeof Select>;
6
- export type SelectSize = keyof typeof triggerSizes;
7
- interface ClassOption {
8
- readonly class?: string | undefined;
9
- }
10
- declare const triggerSizes: {
11
- readonly sm: "h-7 min-w-36 gap-1.5 rounded-sm pr-2 pl-2.5 text-xs";
12
- readonly default: "h-8.5 min-w-48 pr-2.5 pl-3 text-[13px]";
13
- readonly lg: "h-10 min-w-56 pr-3 pl-3.5 text-sm";
14
- };
15
- /** The text above the trigger. It names the trigger, and a click focuses it. */
16
- export declare const SelectLabel: <Msg>(h: Html.H<Msg>, select: SelectParts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
17
- /** The button that opens the popup. Put `SelectValue` and `SelectIcon` inside. */
18
- export declare const SelectTrigger: <Msg>(h: Html.H<Msg>, select: SelectParts, options?: ClassOption & {
19
- readonly size?: SelectSize | undefined;
20
- }) => Html.Element<Msg, never, Html.Events, HTMLButtonElement, "button">;
21
- /** The selected label, or the placeholder, inside the trigger. */
22
- export declare const SelectValue: <Msg>(h: Html.H<Msg>, select: SelectParts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLSpanElement, "span">;
23
- /** The chevron inside the trigger. */
24
- export declare const SelectIcon: <Msg>(h: Html.H<Msg>, select: SelectParts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLSpanElement, "span">;
25
- /**
26
- * The element the kit places, in the top layer. Put `SelectPopup` inside. Its
27
- * vertical margin is the gap the kit keeps to the viewport's edges while the
28
- * popup covers the trigger.
29
- */
30
- export declare const SelectPositioner: <Msg>(h: Html.H<Msg>, select: SelectParts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
31
- /**
32
- * The box with the options. Over the trigger (`data-side="none"`) it only
33
- * fades and has no `max-height`: the kit measures it to line the selected
34
- * option up with the trigger's text, and a scale or a cap would throw that
35
- * off. Next to the trigger it also scales and stops at 20rem.
36
- */
37
- export declare const SelectPopup: <Msg>(h: Html.H<Msg>, select: SelectParts, options?: ClassOption & {
38
- readonly size?: SelectSize | undefined;
39
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
40
- /** The scrolling part of a popup that also holds scroll arrows. */
41
- export declare const SelectList: <Msg>(h: Html.H<Msg>, select: SelectParts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
42
- /** One option. Put `SelectItemText` and `SelectItemIndicator` inside. */
43
- export declare const SelectItem: <Msg>(h: Html.H<Msg>, select: SelectParts, options: ClassOption & {
44
- readonly value: string;
45
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
46
- /** The option's label, which the kit lines up with the trigger's text. */
47
- export declare const SelectItemText: <Msg>(h: Html.H<Msg>, select: SelectParts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
48
- /** The tick of a selected option. `undefined` for the others. */
49
- export declare const SelectItemIndicator: <Msg>(h: Html.H<Msg>, select: SelectParts, options: ClassOption & {
50
- readonly value: string;
51
- }) => Html.Element<Msg, never, Html.Events, HTMLSpanElement, "span"> | undefined;
52
- /** A checkbox in front of an option's label, for a `multiple` select. */
53
- export declare const SelectItemCheckbox: <Msg>(h: Html.H<Msg>, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLSpanElement, "span">;
54
- /** A run of options under a `SelectGroupLabel`. */
55
- export declare const SelectGroup: <Msg>(h: Html.H<Msg>, select: SelectParts, options: ClassOption & {
56
- readonly group: string;
57
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
58
- export declare const SelectGroupLabel: <Msg>(h: Html.H<Msg>, select: SelectParts, options: ClassOption & {
59
- readonly group: string;
60
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
61
- export declare const SelectSeparator: <Msg>(h: Html.H<Msg>, select: SelectParts, options?: ClassOption & {
62
- readonly key?: string | undefined;
63
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
64
- /** Shown while the list can scroll up. Hovering it scrolls. Needs `SelectList`. */
65
- export declare const SelectScrollUpArrow: <Msg>(h: Html.H<Msg>, select: SelectParts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div"> | undefined;
66
- /** Shown while the list can scroll down. Hovering it scrolls. Needs `SelectList`. */
67
- export declare const SelectScrollDownArrow: <Msg>(h: Html.H<Msg>, select: SelectParts, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div"> | undefined;
68
- export {};
@@ -1,29 +0,0 @@
1
- import type { Component } from "effect/ui";
2
- import type { Html } from "effect/ui/html";
3
- import type { ToastItem, ToastProvider } from "effect/ui/kit";
4
- type Parts = Component.Headless.Parts<typeof ToastProvider>;
5
- type ClassOption = {
6
- class?: string | undefined;
7
- };
8
- declare const positions: {
9
- readonly "top-left": "inset-[1rem_auto_auto_1rem] [--toast-direction:1]";
10
- readonly "top-center": "inset-[1rem_0_auto_0] mx-auto [--toast-direction:1]";
11
- readonly "top-right": "inset-[1rem_1rem_auto_auto] [--toast-direction:1]";
12
- readonly "bottom-left": "inset-[auto_auto_1rem_1rem] [--toast-direction:-1]";
13
- readonly "bottom-center": "inset-[auto_0_1rem_0] mx-auto [--toast-direction:-1]";
14
- readonly "bottom-right": "inset-[auto_1rem_1rem_auto] [--toast-direction:-1]";
15
- };
16
- export declare const ToastViewport: <Msg>(h: Html.H<Msg>, provider: Parts, options: ClassOption & {
17
- position: keyof typeof positions;
18
- label: string;
19
- }) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
20
- export declare const Toast: <Msg>(h: Html.H<Msg>, provider: Parts, toast: ToastItem, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
21
- export declare const ToastContent: <Msg>(h: Html.H<Msg>, provider: Parts, toast: ToastItem, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
22
- export declare const ToastText: <Msg>(h: Html.H<Msg>, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
23
- export declare const ToastTitle: <Msg>(h: Html.H<Msg>, provider: Parts, toast: ToastItem, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
24
- export declare const ToastDescription: <Msg>(h: Html.H<Msg>, provider: Parts, toast: ToastItem, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLDivElement, "div">;
25
- export declare const ToastAction: <Msg>(h: Html.H<Msg>, provider: Parts, toast: ToastItem, options?: ClassOption) => Html.Element<Msg, never, Html.Events, HTMLButtonElement, "button">;
26
- export declare const ToastClose: <Msg>(h: Html.H<Msg>, provider: Parts, toast: ToastItem, options: ClassOption & {
27
- label: string;
28
- }) => Html.Element<Msg, never, Html.Events, HTMLButtonElement, "button">;
29
- export {};
@@ -1,18 +0,0 @@
1
- import * as React from "react";
2
- import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog";
3
- import { Button } from "./button.js";
4
- declare function AlertDialog({ ...props }: AlertDialogPrimitive.Root.Props): React.JSX.Element;
5
- declare function AlertDialogTrigger({ ...props }: AlertDialogPrimitive.Trigger.Props): React.JSX.Element;
6
- declare function AlertDialogPortal({ ...props }: AlertDialogPrimitive.Portal.Props): React.JSX.Element;
7
- declare function AlertDialogOverlay({ className, ...props }: AlertDialogPrimitive.Backdrop.Props): React.JSX.Element;
8
- declare function AlertDialogContent({ className, size, ...props }: AlertDialogPrimitive.Popup.Props & {
9
- size?: "default" | "sm";
10
- }): React.JSX.Element;
11
- declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
12
- declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
13
- declare function AlertDialogMedia({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
14
- declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): React.JSX.Element;
15
- declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): React.JSX.Element;
16
- declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof Button>): React.JSX.Element;
17
- declare function AlertDialogCancel({ className, variant, size, ...props }: AlertDialogPrimitive.Close.Props & Pick<React.ComponentProps<typeof Button>, "variant" | "size">): React.JSX.Element;
18
- export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
@@ -1,10 +0,0 @@
1
- import * as React from "react";
2
- import { type VariantProps } from "class-variance-authority";
3
- declare const alertVariants: (props?: ({
4
- variant?: "default" | "destructive" | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
- declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): React.JSX.Element;
7
- declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
8
- declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
9
- declare function AlertAction({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
10
- export { Alert, AlertTitle, AlertDescription, AlertAction };
@@ -1,23 +0,0 @@
1
- import * as React from "react";
2
- import { useRender } from "@base-ui/react/use-render";
3
- import { type VariantProps } from "class-variance-authority";
4
- import { Button } from "./button.js";
5
- declare const attachmentVariants: (props?: ({
6
- size?: "default" | "sm" | "xs" | null | undefined;
7
- orientation?: "horizontal" | "vertical" | null | undefined;
8
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
- declare function Attachment({ className, state, size, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof attachmentVariants> & {
10
- state?: "idle" | "uploading" | "processing" | "error" | "done";
11
- }): React.JSX.Element;
12
- declare const attachmentMediaVariants: (props?: ({
13
- variant?: "icon" | "image" | null | undefined;
14
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
- declare function AttachmentMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof attachmentMediaVariants>): React.JSX.Element;
16
- declare function AttachmentContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
17
- declare function AttachmentTitle({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
18
- declare function AttachmentDescription({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
19
- declare function AttachmentActions({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
20
- declare function AttachmentAction({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): React.JSX.Element;
21
- declare function AttachmentTrigger({ className, render, type, ...props }: useRender.ComponentProps<"button">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
22
- declare function AttachmentGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
23
- export { Attachment, AttachmentGroup, AttachmentMedia, AttachmentContent, AttachmentTitle, AttachmentDescription, AttachmentActions, AttachmentAction, AttachmentTrigger, };
@@ -1,7 +0,0 @@
1
- import { useRender } from "@base-ui/react/use-render";
2
- import { type VariantProps } from "class-variance-authority";
3
- declare const badgeVariants: (props?: ({
4
- variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "secondary" | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
- declare function Badge({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
7
- export { Badge, badgeVariants };
@@ -1,16 +0,0 @@
1
- import * as React from "react";
2
- import { useRender } from "@base-ui/react/use-render";
3
- import { type VariantProps } from "class-variance-authority";
4
- declare function BubbleGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
5
- declare const bubbleVariants: (props?: ({
6
- variant?: "default" | "destructive" | "ghost" | "muted" | "outline" | "secondary" | "tinted" | null | undefined;
7
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
- declare function Bubble({ variant, align, className, ...props }: React.ComponentProps<"div"> & VariantProps<typeof bubbleVariants> & {
9
- align?: "start" | "end";
10
- }): React.JSX.Element;
11
- declare function BubbleContent({ className, render, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
12
- declare function BubbleReactions({ side, align, className, ...props }: React.ComponentProps<"div"> & {
13
- align?: "start" | "end";
14
- side?: "top" | "bottom";
15
- }): React.JSX.Element;
16
- export { BubbleGroup, Bubble, BubbleContent, BubbleReactions };
@@ -1,8 +0,0 @@
1
- import { Button as ButtonPrimitive } from "@base-ui/react/button";
2
- import { type VariantProps } from "class-variance-authority";
3
- declare const buttonVariants: (props?: ({
4
- variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "secondary" | null | undefined;
5
- size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xs" | "lg" | "sm" | "xs" | null | undefined;
6
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
- declare function Button({ className, variant, size, ...props }: ButtonPrimitive.Props & VariantProps<typeof buttonVariants>): import("react").JSX.Element;
8
- export { Button, buttonVariants };
@@ -1,10 +0,0 @@
1
- import * as React from "react";
2
- import { DayPicker, type DayButton, type Locale } from "react-day-picker";
3
- import { Button } from "./button.js";
4
- declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
- buttonVariant?: React.ComponentProps<typeof Button>["variant"];
6
- }): React.JSX.Element;
7
- declare function CalendarDayButton({ className, day, modifiers, locale, ...props }: React.ComponentProps<typeof DayButton> & {
8
- locale?: Partial<Locale>;
9
- }): React.JSX.Element;
10
- export { Calendar, CalendarDayButton };
@@ -1,11 +0,0 @@
1
- import * as React from "react";
2
- declare function Card({ className, size, ...props }: React.ComponentProps<"div"> & {
3
- size?: "default" | "sm";
4
- }): React.JSX.Element;
5
- declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
6
- declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
7
- declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
8
- declare function CardAction({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
9
- declare function CardContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
10
- declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
11
- export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
@@ -1,3 +0,0 @@
1
- import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";
2
- declare function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props): import("react").JSX.Element;
3
- export { Checkbox };
@@ -1,5 +0,0 @@
1
- import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
2
- declare function Collapsible({ ...props }: CollapsiblePrimitive.Root.Props): import("react").JSX.Element;
3
- declare function CollapsibleTrigger({ ...props }: CollapsiblePrimitive.Trigger.Props): import("react").JSX.Element;
4
- declare function CollapsibleContent({ ...props }: CollapsiblePrimitive.Panel.Props): import("react").JSX.Element;
5
- export { Collapsible, CollapsibleTrigger, CollapsibleContent };
@@ -1,18 +0,0 @@
1
- import * as React from "react";
2
- import { Command as CommandPrimitive } from "cmdk";
3
- import { Dialog } from "./dialog.js";
4
- declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): React.JSX.Element;
5
- declare function CommandDialog({ title, description, children, className, ...props }: Omit<React.ComponentProps<typeof Dialog>, "children"> & {
6
- title: string;
7
- description: string;
8
- className?: string;
9
- children: React.ReactNode;
10
- }): React.JSX.Element;
11
- declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): React.JSX.Element;
12
- declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): React.JSX.Element;
13
- declare function CommandEmpty({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): React.JSX.Element;
14
- declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): React.JSX.Element;
15
- declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): React.JSX.Element;
16
- declare function CommandItem({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): React.JSX.Element;
17
- declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
18
- export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, };
@@ -1,17 +0,0 @@
1
- import * as React from "react";
2
- import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
3
- declare function Dialog({ ...props }: DialogPrimitive.Root.Props): React.JSX.Element;
4
- declare function DialogTrigger({ ...props }: DialogPrimitive.Trigger.Props): React.JSX.Element;
5
- declare function DialogPortal({ ...props }: DialogPrimitive.Portal.Props): React.JSX.Element;
6
- declare function DialogClose({ ...props }: DialogPrimitive.Close.Props): React.JSX.Element;
7
- declare function DialogOverlay({ className, ...props }: DialogPrimitive.Backdrop.Props): React.JSX.Element;
8
- declare function DialogContent({ className, children, showCloseButton, ...props }: DialogPrimitive.Popup.Props & {
9
- showCloseButton?: boolean;
10
- }): React.JSX.Element;
11
- declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
12
- declare function DialogFooter({ className, showCloseButton, children, ...props }: React.ComponentProps<"div"> & {
13
- showCloseButton?: boolean;
14
- }): React.JSX.Element;
15
- declare function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props): React.JSX.Element;
16
- declare function DialogDescription({ className, ...props }: DialogPrimitive.Description.Props): React.JSX.Element;
17
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -1,29 +0,0 @@
1
- import * as React from "react";
2
- import { Menu as MenuPrimitive } from "@base-ui/react/menu";
3
- declare function DropdownMenu({ ...props }: MenuPrimitive.Root.Props): React.JSX.Element;
4
- declare function DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props): React.JSX.Element;
5
- declare function DropdownMenuTrigger({ ...props }: MenuPrimitive.Trigger.Props): React.JSX.Element;
6
- declare function DropdownMenuContent({ align, alignOffset, side, sideOffset, className, ...props }: MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): React.JSX.Element;
7
- declare function DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props): React.JSX.Element;
8
- declare function DropdownMenuLabel({ className, inset, ...props }: MenuPrimitive.GroupLabel.Props & {
9
- inset?: boolean;
10
- }): React.JSX.Element;
11
- declare function DropdownMenuItem({ className, inset, variant, ...props }: MenuPrimitive.Item.Props & {
12
- inset?: boolean;
13
- variant?: "default" | "destructive";
14
- }): React.JSX.Element;
15
- declare function DropdownMenuSub({ ...props }: MenuPrimitive.SubmenuRoot.Props): React.JSX.Element;
16
- declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: MenuPrimitive.SubmenuTrigger.Props & {
17
- inset?: boolean;
18
- }): React.JSX.Element;
19
- declare function DropdownMenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: React.ComponentProps<typeof DropdownMenuContent>): React.JSX.Element;
20
- declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: MenuPrimitive.CheckboxItem.Props & {
21
- inset?: boolean;
22
- }): React.JSX.Element;
23
- declare function DropdownMenuRadioGroup({ ...props }: MenuPrimitive.RadioGroup.Props): React.JSX.Element;
24
- declare function DropdownMenuRadioItem({ className, children, inset, ...props }: MenuPrimitive.RadioItem.Props & {
25
- inset?: boolean;
26
- }): React.JSX.Element;
27
- declare function DropdownMenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props): React.JSX.Element;
28
- declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
29
- export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };