@widgetic/design-system 0.3.85 → 0.3.86

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 (242) hide show
  1. package/dist/components/shad-editor/colorpicker.svelte +6 -1
  2. package/dist/components/shad-editor/colorpicker.svelte.d.ts +5 -2
  3. package/dist/components/shad-editor/custom/code-extended.svelte +6 -2
  4. package/dist/components/shad-editor/custom/code-extended.svelte.d.ts +4 -2
  5. package/dist/components/shad-editor/custom/image-extended-component.svelte +6 -1
  6. package/dist/components/shad-editor/custom/image-extended-component.svelte.d.ts +4 -2
  7. package/dist/components/shad-editor/editor-toolbar.svelte +6 -1
  8. package/dist/components/shad-editor/editor-toolbar.svelte.d.ts +3 -2
  9. package/dist/components/shad-editor/icons/block-quote.svelte +6 -1
  10. package/dist/components/shad-editor/icons/block-quote.svelte.d.ts +6 -2
  11. package/dist/components/shad-editor/icons/bold.svelte +6 -1
  12. package/dist/components/shad-editor/icons/bold.svelte.d.ts +6 -2
  13. package/dist/components/shad-editor/icons/buttle-list.svelte +6 -1
  14. package/dist/components/shad-editor/icons/buttle-list.svelte.d.ts +6 -2
  15. package/dist/components/shad-editor/icons/code.svelte +6 -1
  16. package/dist/components/shad-editor/icons/code.svelte.d.ts +6 -2
  17. package/dist/components/shad-editor/icons/highlighter.svelte +6 -1
  18. package/dist/components/shad-editor/icons/highlighter.svelte.d.ts +3 -2
  19. package/dist/components/shad-editor/icons/image.svelte +6 -1
  20. package/dist/components/shad-editor/icons/image.svelte.d.ts +6 -2
  21. package/dist/components/shad-editor/icons/italic.svelte +6 -1
  22. package/dist/components/shad-editor/icons/italic.svelte.d.ts +6 -2
  23. package/dist/components/shad-editor/icons/link.svelte +6 -1
  24. package/dist/components/shad-editor/icons/link.svelte.d.ts +6 -2
  25. package/dist/components/shad-editor/icons/ordered-list.svelte +6 -1
  26. package/dist/components/shad-editor/icons/ordered-list.svelte.d.ts +6 -2
  27. package/dist/components/shad-editor/icons/quickcolor.svelte +6 -1
  28. package/dist/components/shad-editor/icons/quickcolor.svelte.d.ts +6 -2
  29. package/dist/components/shad-editor/icons/redo.svelte +6 -1
  30. package/dist/components/shad-editor/icons/redo.svelte.d.ts +6 -2
  31. package/dist/components/shad-editor/icons/search-replace.svelte +6 -1
  32. package/dist/components/shad-editor/icons/search-replace.svelte.d.ts +6 -2
  33. package/dist/components/shad-editor/icons/strikethrough.svelte +6 -1
  34. package/dist/components/shad-editor/icons/strikethrough.svelte.d.ts +6 -2
  35. package/dist/components/shad-editor/icons/subscript.svelte +6 -1
  36. package/dist/components/shad-editor/icons/subscript.svelte.d.ts +6 -2
  37. package/dist/components/shad-editor/icons/superscript.svelte +6 -1
  38. package/dist/components/shad-editor/icons/superscript.svelte.d.ts +6 -2
  39. package/dist/components/shad-editor/icons/table.svelte +6 -1
  40. package/dist/components/shad-editor/icons/table.svelte.d.ts +6 -2
  41. package/dist/components/shad-editor/icons/task-list.svelte +6 -1
  42. package/dist/components/shad-editor/icons/task-list.svelte.d.ts +6 -2
  43. package/dist/components/shad-editor/icons/text.svelte +6 -1
  44. package/dist/components/shad-editor/icons/text.svelte.d.ts +6 -2
  45. package/dist/components/shad-editor/icons/textalign.svelte +6 -1
  46. package/dist/components/shad-editor/icons/textalign.svelte.d.ts +6 -2
  47. package/dist/components/shad-editor/icons/textcolor.svelte +6 -1
  48. package/dist/components/shad-editor/icons/textcolor.svelte.d.ts +3 -2
  49. package/dist/components/shad-editor/icons/underline.svelte +6 -1
  50. package/dist/components/shad-editor/icons/underline.svelte.d.ts +6 -2
  51. package/dist/components/shad-editor/icons/undo.svelte +6 -1
  52. package/dist/components/shad-editor/icons/undo.svelte.d.ts +6 -2
  53. package/dist/components/shad-editor/shad-editor.svelte +6 -1
  54. package/dist/components/shad-editor/shad-editor.svelte.d.ts +3 -2
  55. package/dist/components/ui/accordion/index.d.ts +1 -0
  56. package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte +6 -1
  57. package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +5 -2
  58. package/dist/components/ui/breadcrumb/breadcrumb-item.svelte +6 -1
  59. package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +5 -2
  60. package/dist/components/ui/breadcrumb/breadcrumb-list.svelte +6 -1
  61. package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +5 -2
  62. package/dist/components/ui/breadcrumb/breadcrumb-page.svelte +6 -1
  63. package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +5 -2
  64. package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte +6 -1
  65. package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +5 -2
  66. package/dist/components/ui/breadcrumb/breadcrumb.svelte +6 -1
  67. package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +5 -2
  68. package/dist/components/ui/calendar/calendar-cell.svelte +6 -1
  69. package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +4 -2
  70. package/dist/components/ui/calendar/calendar-day.svelte +6 -1
  71. package/dist/components/ui/calendar/calendar-day.svelte.d.ts +4 -2
  72. package/dist/components/ui/calendar/calendar-grid-body.svelte +6 -1
  73. package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +4 -2
  74. package/dist/components/ui/calendar/calendar-grid-head.svelte +6 -1
  75. package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +4 -2
  76. package/dist/components/ui/calendar/calendar-grid-row.svelte +6 -1
  77. package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +4 -2
  78. package/dist/components/ui/calendar/calendar-grid.svelte +6 -1
  79. package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +4 -2
  80. package/dist/components/ui/calendar/calendar-head-cell.svelte +6 -1
  81. package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +4 -2
  82. package/dist/components/ui/calendar/calendar-header.svelte +6 -1
  83. package/dist/components/ui/calendar/calendar-header.svelte.d.ts +4 -2
  84. package/dist/components/ui/calendar/calendar-heading.svelte +6 -1
  85. package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +4 -2
  86. package/dist/components/ui/calendar/calendar-months.svelte +6 -1
  87. package/dist/components/ui/calendar/calendar-months.svelte.d.ts +5 -2
  88. package/dist/components/ui/calendar/calendar-next-button.svelte +6 -1
  89. package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +4 -2
  90. package/dist/components/ui/calendar/calendar-prev-button.svelte +6 -1
  91. package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +4 -2
  92. package/dist/components/ui/calendar/calendar.svelte +6 -1
  93. package/dist/components/ui/calendar/calendar.svelte.d.ts +4 -2
  94. package/dist/components/ui/card/card-content.svelte +6 -1
  95. package/dist/components/ui/card/card-content.svelte.d.ts +5 -2
  96. package/dist/components/ui/card/card-description.svelte +6 -1
  97. package/dist/components/ui/card/card-description.svelte.d.ts +5 -2
  98. package/dist/components/ui/card/card-footer.svelte +6 -1
  99. package/dist/components/ui/card/card-footer.svelte.d.ts +5 -2
  100. package/dist/components/ui/card/card-header.svelte +6 -1
  101. package/dist/components/ui/card/card-header.svelte.d.ts +5 -2
  102. package/dist/components/ui/card/card.svelte +6 -1
  103. package/dist/components/ui/card/card.svelte.d.ts +5 -2
  104. package/dist/components/ui/checkbox/checkbox.svelte +6 -1
  105. package/dist/components/ui/checkbox/checkbox.svelte.d.ts +4 -2
  106. package/dist/components/ui/command/command-empty.svelte +6 -1
  107. package/dist/components/ui/command/command-empty.svelte.d.ts +4 -2
  108. package/dist/components/ui/command/command-input.svelte +6 -1
  109. package/dist/components/ui/command/command-input.svelte.d.ts +4 -2
  110. package/dist/components/ui/command/command-item.svelte +6 -1
  111. package/dist/components/ui/command/command-item.svelte.d.ts +4 -2
  112. package/dist/components/ui/command/command-link-item.svelte +6 -1
  113. package/dist/components/ui/command/command-link-item.svelte.d.ts +4 -2
  114. package/dist/components/ui/command/command-list.svelte +6 -1
  115. package/dist/components/ui/command/command-list.svelte.d.ts +4 -2
  116. package/dist/components/ui/command/command-separator.svelte +6 -1
  117. package/dist/components/ui/command/command-separator.svelte.d.ts +4 -2
  118. package/dist/components/ui/command/command-shortcut.svelte +6 -1
  119. package/dist/components/ui/command/command-shortcut.svelte.d.ts +5 -2
  120. package/dist/components/ui/command/command.svelte +6 -1
  121. package/dist/components/ui/command/command.svelte.d.ts +4 -2
  122. package/dist/components/ui/dialog/dialog-description.svelte +6 -1
  123. package/dist/components/ui/dialog/dialog-description.svelte.d.ts +4 -2
  124. package/dist/components/ui/dialog/dialog-footer.svelte +6 -1
  125. package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +5 -2
  126. package/dist/components/ui/dialog/dialog-header.svelte +6 -1
  127. package/dist/components/ui/dialog/dialog-header.svelte.d.ts +5 -2
  128. package/dist/components/ui/dialog/dialog-overlay.svelte +6 -1
  129. package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +4 -2
  130. package/dist/components/ui/dialog/dialog-title.svelte +6 -1
  131. package/dist/components/ui/dialog/dialog-title.svelte.d.ts +4 -2
  132. package/dist/components/ui/drawer/drawer-description.svelte +6 -1
  133. package/dist/components/ui/drawer/drawer-description.svelte.d.ts +4 -2
  134. package/dist/components/ui/drawer/drawer-footer.svelte +6 -1
  135. package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +5 -2
  136. package/dist/components/ui/drawer/drawer-header.svelte +6 -1
  137. package/dist/components/ui/drawer/drawer-header.svelte.d.ts +5 -2
  138. package/dist/components/ui/drawer/drawer-nested.svelte +6 -1
  139. package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +4 -2
  140. package/dist/components/ui/drawer/drawer-overlay.svelte +6 -1
  141. package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +4 -2
  142. package/dist/components/ui/drawer/drawer-title.svelte +6 -1
  143. package/dist/components/ui/drawer/drawer-title.svelte.d.ts +4 -2
  144. package/dist/components/ui/drawer/drawer.svelte +6 -1
  145. package/dist/components/ui/drawer/drawer.svelte.d.ts +4 -2
  146. package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +6 -1
  147. package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +4 -2
  148. package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte +6 -1
  149. package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +4 -2
  150. package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte +6 -1
  151. package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +5 -2
  152. package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +6 -1
  153. package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +4 -2
  154. package/dist/components/ui/input/input.svelte +6 -1
  155. package/dist/components/ui/input/input.svelte.d.ts +5 -2
  156. package/dist/components/ui/input-otp/input-otp-group.svelte +6 -1
  157. package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +5 -2
  158. package/dist/components/ui/input-otp/input-otp-separator.svelte +6 -1
  159. package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +5 -2
  160. package/dist/components/ui/input-otp/input-otp-slot.svelte +6 -1
  161. package/dist/components/ui/input-otp/input-otp-slot.svelte.d.ts +5 -2
  162. package/dist/components/ui/input-otp/input-otp.svelte +6 -1
  163. package/dist/components/ui/input-otp/input-otp.svelte.d.ts +5 -2
  164. package/dist/components/ui/label/label.svelte +6 -1
  165. package/dist/components/ui/label/label.svelte.d.ts +4 -2
  166. package/dist/components/ui/progress/progress.svelte +6 -1
  167. package/dist/components/ui/progress/progress.svelte.d.ts +4 -2
  168. package/dist/components/ui/radio-group/radio-group-item.svelte +6 -1
  169. package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +4 -2
  170. package/dist/components/ui/radio-group/radio-group.svelte +6 -1
  171. package/dist/components/ui/radio-group/radio-group.svelte.d.ts +4 -2
  172. package/dist/components/ui/range-calendar/range-calendar-cell.svelte +6 -1
  173. package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +4 -2
  174. package/dist/components/ui/range-calendar/range-calendar-day.svelte +6 -1
  175. package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +4 -2
  176. package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte +6 -1
  177. package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +4 -2
  178. package/dist/components/ui/range-calendar/range-calendar-grid.svelte +6 -1
  179. package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +4 -2
  180. package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte +6 -1
  181. package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +4 -2
  182. package/dist/components/ui/range-calendar/range-calendar-header.svelte +6 -1
  183. package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +4 -2
  184. package/dist/components/ui/range-calendar/range-calendar-heading.svelte +6 -1
  185. package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +4 -2
  186. package/dist/components/ui/range-calendar/range-calendar-months.svelte +6 -1
  187. package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +5 -2
  188. package/dist/components/ui/range-calendar/range-calendar-next-button.svelte +6 -1
  189. package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +4 -2
  190. package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte +6 -1
  191. package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +4 -2
  192. package/dist/components/ui/range-calendar/range-calendar.svelte +6 -1
  193. package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +4 -2
  194. package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte +6 -1
  195. package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +4 -2
  196. package/dist/components/ui/select/select-group-heading.svelte +6 -1
  197. package/dist/components/ui/select/select-group-heading.svelte.d.ts +4 -2
  198. package/dist/components/ui/select/select-item.svelte +6 -1
  199. package/dist/components/ui/select/select-item.svelte.d.ts +4 -2
  200. package/dist/components/ui/select/select-scroll-down-button.svelte +6 -1
  201. package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +4 -2
  202. package/dist/components/ui/select/select-scroll-up-button.svelte +6 -1
  203. package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +4 -2
  204. package/dist/components/ui/select/select-separator.svelte +6 -1
  205. package/dist/components/ui/select/select-separator.svelte.d.ts +4 -2
  206. package/dist/components/ui/select/select-trigger.svelte +6 -1
  207. package/dist/components/ui/select/select-trigger.svelte.d.ts +4 -2
  208. package/dist/components/ui/separator/separator.svelte +6 -1
  209. package/dist/components/ui/separator/separator.svelte.d.ts +4 -2
  210. package/dist/components/ui/slider/slider.svelte +6 -1
  211. package/dist/components/ui/slider/slider.svelte.d.ts +4 -2
  212. package/dist/components/ui/switch/switch.svelte +6 -1
  213. package/dist/components/ui/switch/switch.svelte.d.ts +4 -2
  214. package/dist/components/ui/table/table-body.svelte +6 -1
  215. package/dist/components/ui/table/table-body.svelte.d.ts +5 -2
  216. package/dist/components/ui/table/table-caption.svelte +6 -1
  217. package/dist/components/ui/table/table-caption.svelte.d.ts +5 -2
  218. package/dist/components/ui/table/table-cell.svelte +6 -1
  219. package/dist/components/ui/table/table-cell.svelte.d.ts +5 -2
  220. package/dist/components/ui/table/table-footer.svelte +6 -1
  221. package/dist/components/ui/table/table-footer.svelte.d.ts +5 -2
  222. package/dist/components/ui/table/table-head.svelte +6 -1
  223. package/dist/components/ui/table/table-head.svelte.d.ts +5 -2
  224. package/dist/components/ui/table/table-header.svelte +6 -1
  225. package/dist/components/ui/table/table-header.svelte.d.ts +5 -2
  226. package/dist/components/ui/table/table-row.svelte +6 -1
  227. package/dist/components/ui/table/table-row.svelte.d.ts +5 -2
  228. package/dist/components/ui/table/table.svelte +6 -1
  229. package/dist/components/ui/table/table.svelte.d.ts +5 -2
  230. package/dist/components/ui/tabs/tabs-content.svelte +6 -1
  231. package/dist/components/ui/tabs/tabs-content.svelte.d.ts +4 -2
  232. package/dist/components/ui/tabs/tabs-list.svelte +6 -1
  233. package/dist/components/ui/tabs/tabs-list.svelte.d.ts +4 -2
  234. package/dist/components/ui/tabs/tabs-trigger.svelte +6 -1
  235. package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +4 -2
  236. package/dist/components/ui/textarea/textarea.svelte +6 -1
  237. package/dist/components/ui/textarea/textarea.svelte.d.ts +5 -2
  238. package/dist/components/ui/toggle-group/toggle-group-item.svelte +6 -1
  239. package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +5 -2
  240. package/dist/components/ui/tooltip/tooltip-content.svelte +6 -1
  241. package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +4 -2
  242. package/package.json +1 -1
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+
3
+ export type CardProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import type { WithElementRef } from "bits-ui";
3
8
  import type { HTMLAttributes } from "svelte/elements";
@@ -8,7 +13,7 @@
8
13
  class: className,
9
14
  children,
10
15
  ...restProps
11
- }: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
16
+ }: CardProps = $props();
12
17
  </script>
13
18
 
14
19
  <div
@@ -1,4 +1,7 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ export type CardProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
3
+ import type { WithElementRef } from "bits-ui";
4
+ import type { HTMLAttributes } from "svelte/elements";
2
5
  declare const __propDef: {
3
6
  props: Record<string, never>;
4
7
  events: {
@@ -6,9 +9,9 @@ declare const __propDef: {
6
9
  };
7
10
  slots: {};
8
11
  };
9
- export type CardProps = typeof __propDef.props;
12
+ type CardProps_ = typeof __propDef.props;
10
13
  export type CardEvents = typeof __propDef.events;
11
14
  export type CardSlots = typeof __propDef.slots;
12
- export default class Card extends SvelteComponentTyped<CardProps, CardEvents, CardSlots> {
15
+ export default class Card extends SvelteComponentTyped<CardProps_, CardEvents, CardSlots> {
13
16
  }
14
17
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Checkbox as CheckboxPrimitive, WithoutChildrenOrChild } from "bits-ui";
3
+ export type CheckboxProps = WithoutChildrenOrChild<CheckboxPrimitive.RootProps>;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Checkbox as CheckboxPrimitive, type WithoutChildrenOrChild } from "bits-ui";
3
8
  import Check from "lucide-svelte/icons/check";
@@ -10,7 +15,7 @@
10
15
  indeterminate = $bindable(false),
11
16
  class: className,
12
17
  ...restProps
13
- }: WithoutChildrenOrChild<CheckboxPrimitive.RootProps> = $props();
18
+ }: CheckboxProps = $props();
14
19
  </script>
15
20
 
16
21
  <CheckboxPrimitive.Root
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Checkbox as CheckboxPrimitive, WithoutChildrenOrChild } from "bits-ui";
3
+ export type CheckboxProps = WithoutChildrenOrChild<CheckboxPrimitive.RootProps>;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type CheckboxProps = typeof __propDef.props;
11
+ type CheckboxProps_ = typeof __propDef.props;
10
12
  export type CheckboxEvents = typeof __propDef.events;
11
13
  export type CheckboxSlots = typeof __propDef.slots;
12
- export default class Checkbox extends SvelteComponentTyped<CheckboxProps, CheckboxEvents, CheckboxSlots> {
14
+ export default class Checkbox extends SvelteComponentTyped<CheckboxProps_, CheckboxEvents, CheckboxSlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandEmptyProps = CommandPrimitive.EmptyProps;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Command as CommandPrimitive } from "bits-ui";
3
8
  import { cn } from "../../../utils.js";
@@ -6,7 +11,7 @@
6
11
  ref = $bindable(null),
7
12
  class: className,
8
13
  ...restProps
9
- }: CommandPrimitive.EmptyProps = $props();
14
+ }: CommandEmptyProps = $props();
10
15
  </script>
11
16
 
12
17
  <CommandPrimitive.Empty class={cn("py-6 text-center text-sm", className)} {...restProps} />
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandEmptyProps = CommandPrimitive.EmptyProps;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type CommandEmptyProps = typeof __propDef.props;
11
+ type CommandEmptyProps_ = typeof __propDef.props;
10
12
  export type CommandEmptyEvents = typeof __propDef.events;
11
13
  export type CommandEmptySlots = typeof __propDef.slots;
12
- export default class CommandEmpty extends SvelteComponentTyped<CommandEmptyProps, CommandEmptyEvents, CommandEmptySlots> {
14
+ export default class CommandEmpty extends SvelteComponentTyped<CommandEmptyProps_, CommandEmptyEvents, CommandEmptySlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandInputProps = CommandPrimitive.InputProps;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Command as CommandPrimitive } from "bits-ui";
3
8
  import Search from "lucide-svelte/icons/search";
@@ -8,7 +13,7 @@
8
13
  class: className,
9
14
  value = $bindable(""),
10
15
  ...restProps
11
- }: CommandPrimitive.InputProps = $props();
16
+ }: CommandInputProps = $props();
12
17
  </script>
13
18
 
14
19
  <div class="flex items-center border-b px-2" data-command-input-wrapper="">
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandInputProps = CommandPrimitive.InputProps;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type CommandInputProps = typeof __propDef.props;
11
+ type CommandInputProps_ = typeof __propDef.props;
10
12
  export type CommandInputEvents = typeof __propDef.events;
11
13
  export type CommandInputSlots = typeof __propDef.slots;
12
- export default class CommandInput extends SvelteComponentTyped<CommandInputProps, CommandInputEvents, CommandInputSlots> {
14
+ export default class CommandInput extends SvelteComponentTyped<CommandInputProps_, CommandInputEvents, CommandInputSlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandItemProps = CommandPrimitive.ItemProps;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Command as CommandPrimitive } from "bits-ui";
3
8
  import { cn } from "../../../utils.js";
@@ -6,7 +11,7 @@
6
11
  ref = $bindable(null),
7
12
  class: className,
8
13
  ...restProps
9
- }: CommandPrimitive.ItemProps = $props();
14
+ }: CommandItemProps = $props();
10
15
  </script>
11
16
 
12
17
  <CommandPrimitive.Item
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandItemProps = CommandPrimitive.ItemProps;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type CommandItemProps = typeof __propDef.props;
11
+ type CommandItemProps_ = typeof __propDef.props;
10
12
  export type CommandItemEvents = typeof __propDef.events;
11
13
  export type CommandItemSlots = typeof __propDef.slots;
12
- export default class CommandItem extends SvelteComponentTyped<CommandItemProps, CommandItemEvents, CommandItemSlots> {
14
+ export default class CommandItem extends SvelteComponentTyped<CommandItemProps_, CommandItemEvents, CommandItemSlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandLinkItemProps = CommandPrimitive.LinkItemProps;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Command as CommandPrimitive } from "bits-ui";
3
8
  import { cn } from "../../../utils.js";
@@ -6,7 +11,7 @@
6
11
  ref = $bindable(null),
7
12
  class: className,
8
13
  ...restProps
9
- }: CommandPrimitive.LinkItemProps = $props();
14
+ }: CommandLinkItemProps = $props();
10
15
  </script>
11
16
 
12
17
  <CommandPrimitive.LinkItem
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandLinkItemProps = CommandPrimitive.LinkItemProps;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type CommandLinkItemProps = typeof __propDef.props;
11
+ type CommandLinkItemProps_ = typeof __propDef.props;
10
12
  export type CommandLinkItemEvents = typeof __propDef.events;
11
13
  export type CommandLinkItemSlots = typeof __propDef.slots;
12
- export default class CommandLinkItem extends SvelteComponentTyped<CommandLinkItemProps, CommandLinkItemEvents, CommandLinkItemSlots> {
14
+ export default class CommandLinkItem extends SvelteComponentTyped<CommandLinkItemProps_, CommandLinkItemEvents, CommandLinkItemSlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandListProps = CommandPrimitive.ListProps;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Command as CommandPrimitive } from "bits-ui";
3
8
  import { cn } from "../../../utils.js";
@@ -6,7 +11,7 @@
6
11
  ref = $bindable(null),
7
12
  class: className,
8
13
  ...restProps
9
- }: CommandPrimitive.ListProps = $props();
14
+ }: CommandListProps = $props();
10
15
  </script>
11
16
 
12
17
  <CommandPrimitive.List
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandListProps = CommandPrimitive.ListProps;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type CommandListProps = typeof __propDef.props;
11
+ type CommandListProps_ = typeof __propDef.props;
10
12
  export type CommandListEvents = typeof __propDef.events;
11
13
  export type CommandListSlots = typeof __propDef.slots;
12
- export default class CommandList extends SvelteComponentTyped<CommandListProps, CommandListEvents, CommandListSlots> {
14
+ export default class CommandList extends SvelteComponentTyped<CommandListProps_, CommandListEvents, CommandListSlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandSeparatorProps = CommandPrimitive.SeparatorProps;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Command as CommandPrimitive } from "bits-ui";
3
8
  import { cn } from "../../../utils.js";
@@ -6,7 +11,7 @@
6
11
  ref = $bindable(null),
7
12
  class: className,
8
13
  ...restProps
9
- }: CommandPrimitive.SeparatorProps = $props();
14
+ }: CommandSeparatorProps = $props();
10
15
  </script>
11
16
 
12
17
  <CommandPrimitive.Separator class={cn("bg-border -mx-1 h-px", className)} bind:ref {...restProps} />
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandSeparatorProps = CommandPrimitive.SeparatorProps;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type CommandSeparatorProps = typeof __propDef.props;
11
+ type CommandSeparatorProps_ = typeof __propDef.props;
10
12
  export type CommandSeparatorEvents = typeof __propDef.events;
11
13
  export type CommandSeparatorSlots = typeof __propDef.slots;
12
- export default class CommandSeparator extends SvelteComponentTyped<CommandSeparatorProps, CommandSeparatorEvents, CommandSeparatorSlots> {
14
+ export default class CommandSeparator extends SvelteComponentTyped<CommandSeparatorProps_, CommandSeparatorEvents, CommandSeparatorSlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+
3
+ export type CommandShortcutProps = WithElementRef<HTMLAttributes<HTMLSpanElement>>;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import type { WithElementRef } from "bits-ui";
3
8
  import type { HTMLAttributes } from "svelte/elements";
@@ -8,7 +13,7 @@
8
13
  class: className,
9
14
  children,
10
15
  ...restProps
11
- }: WithElementRef<HTMLAttributes<HTMLSpanElement>> = $props();
16
+ }: CommandShortcutProps = $props();
12
17
  </script>
13
18
 
14
19
  <span
@@ -1,4 +1,7 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ export type CommandShortcutProps = WithElementRef<HTMLAttributes<HTMLSpanElement>>;
3
+ import type { WithElementRef } from "bits-ui";
4
+ import type { HTMLAttributes } from "svelte/elements";
2
5
  declare const __propDef: {
3
6
  props: Record<string, never>;
4
7
  events: {
@@ -6,9 +9,9 @@ declare const __propDef: {
6
9
  };
7
10
  slots: {};
8
11
  };
9
- export type CommandShortcutProps = typeof __propDef.props;
12
+ type CommandShortcutProps_ = typeof __propDef.props;
10
13
  export type CommandShortcutEvents = typeof __propDef.events;
11
14
  export type CommandShortcutSlots = typeof __propDef.slots;
12
- export default class CommandShortcut extends SvelteComponentTyped<CommandShortcutProps, CommandShortcutEvents, CommandShortcutSlots> {
15
+ export default class CommandShortcut extends SvelteComponentTyped<CommandShortcutProps_, CommandShortcutEvents, CommandShortcutSlots> {
13
16
  }
14
17
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandProps = CommandPrimitive.RootProps;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Command as CommandPrimitive } from "bits-ui";
3
8
  import { cn } from "../../../utils.js";
@@ -7,7 +12,7 @@
7
12
  value = $bindable(""),
8
13
  class: className,
9
14
  ...restProps
10
- }: CommandPrimitive.RootProps = $props();
15
+ }: CommandProps = $props();
11
16
  </script>
12
17
 
13
18
  <CommandPrimitive.Root
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Command as CommandPrimitive } from "bits-ui";
3
+ export type CommandProps = CommandPrimitive.RootProps;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type CommandProps = typeof __propDef.props;
11
+ type CommandProps_ = typeof __propDef.props;
10
12
  export type CommandEvents = typeof __propDef.events;
11
13
  export type CommandSlots = typeof __propDef.slots;
12
- export default class Command extends SvelteComponentTyped<CommandProps, CommandEvents, CommandSlots> {
14
+ export default class Command extends SvelteComponentTyped<CommandProps_, CommandEvents, CommandSlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Dialog as DialogPrimitive } from "bits-ui";
3
+ export type DialogDescriptionProps = DialogPrimitive.DescriptionProps;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Dialog as DialogPrimitive } from "bits-ui";
3
8
  import { cn } from "../../../utils.js";
@@ -6,7 +11,7 @@
6
11
  ref = $bindable(null),
7
12
  class: className,
8
13
  ...restProps
9
- }: DialogPrimitive.DescriptionProps = $props();
14
+ }: DialogDescriptionProps = $props();
10
15
  </script>
11
16
 
12
17
  <DialogPrimitive.Description
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Dialog as DialogPrimitive } from "bits-ui";
3
+ export type DialogDescriptionProps = DialogPrimitive.DescriptionProps;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type DialogDescriptionProps = typeof __propDef.props;
11
+ type DialogDescriptionProps_ = typeof __propDef.props;
10
12
  export type DialogDescriptionEvents = typeof __propDef.events;
11
13
  export type DialogDescriptionSlots = typeof __propDef.slots;
12
- export default class DialogDescription extends SvelteComponentTyped<DialogDescriptionProps, DialogDescriptionEvents, DialogDescriptionSlots> {
14
+ export default class DialogDescription extends SvelteComponentTyped<DialogDescriptionProps_, DialogDescriptionEvents, DialogDescriptionSlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+
3
+ export type DialogFooterProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import type { WithElementRef } from "bits-ui";
3
8
  import type { HTMLAttributes } from "svelte/elements";
@@ -8,7 +13,7 @@
8
13
  class: className,
9
14
  children,
10
15
  ...restProps
11
- }: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
16
+ }: DialogFooterProps = $props();
12
17
  </script>
13
18
 
14
19
  <div
@@ -1,4 +1,7 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ export type DialogFooterProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
3
+ import type { WithElementRef } from "bits-ui";
4
+ import type { HTMLAttributes } from "svelte/elements";
2
5
  declare const __propDef: {
3
6
  props: Record<string, never>;
4
7
  events: {
@@ -6,9 +9,9 @@ declare const __propDef: {
6
9
  };
7
10
  slots: {};
8
11
  };
9
- export type DialogFooterProps = typeof __propDef.props;
12
+ type DialogFooterProps_ = typeof __propDef.props;
10
13
  export type DialogFooterEvents = typeof __propDef.events;
11
14
  export type DialogFooterSlots = typeof __propDef.slots;
12
- export default class DialogFooter extends SvelteComponentTyped<DialogFooterProps, DialogFooterEvents, DialogFooterSlots> {
15
+ export default class DialogFooter extends SvelteComponentTyped<DialogFooterProps_, DialogFooterEvents, DialogFooterSlots> {
13
16
  }
14
17
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+
3
+ export type DialogHeaderProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import type { HTMLAttributes } from "svelte/elements";
3
8
  import type { WithElementRef } from "bits-ui";
@@ -8,7 +13,7 @@
8
13
  class: className,
9
14
  children,
10
15
  ...restProps
11
- }: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
16
+ }: DialogHeaderProps = $props();
12
17
  </script>
13
18
 
14
19
  <div
@@ -1,4 +1,7 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ export type DialogHeaderProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
3
+ import type { HTMLAttributes } from "svelte/elements";
4
+ import type { WithElementRef } from "bits-ui";
2
5
  declare const __propDef: {
3
6
  props: Record<string, never>;
4
7
  events: {
@@ -6,9 +9,9 @@ declare const __propDef: {
6
9
  };
7
10
  slots: {};
8
11
  };
9
- export type DialogHeaderProps = typeof __propDef.props;
12
+ type DialogHeaderProps_ = typeof __propDef.props;
10
13
  export type DialogHeaderEvents = typeof __propDef.events;
11
14
  export type DialogHeaderSlots = typeof __propDef.slots;
12
- export default class DialogHeader extends SvelteComponentTyped<DialogHeaderProps, DialogHeaderEvents, DialogHeaderSlots> {
15
+ export default class DialogHeader extends SvelteComponentTyped<DialogHeaderProps_, DialogHeaderEvents, DialogHeaderSlots> {
13
16
  }
14
17
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Dialog as DialogPrimitive } from "bits-ui";
3
+ export type DialogOverlayProps = DialogPrimitive.OverlayProps;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Dialog as DialogPrimitive } from "bits-ui";
3
8
  import { cn } from "../../../utils.js";
@@ -6,7 +11,7 @@
6
11
  ref = $bindable(null),
7
12
  class: className,
8
13
  ...restProps
9
- }: DialogPrimitive.OverlayProps = $props();
14
+ }: DialogOverlayProps = $props();
10
15
  </script>
11
16
 
12
17
  <DialogPrimitive.Overlay
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Dialog as DialogPrimitive } from "bits-ui";
3
+ export type DialogOverlayProps = DialogPrimitive.OverlayProps;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type DialogOverlayProps = typeof __propDef.props;
11
+ type DialogOverlayProps_ = typeof __propDef.props;
10
12
  export type DialogOverlayEvents = typeof __propDef.events;
11
13
  export type DialogOverlaySlots = typeof __propDef.slots;
12
- export default class DialogOverlay extends SvelteComponentTyped<DialogOverlayProps, DialogOverlayEvents, DialogOverlaySlots> {
14
+ export default class DialogOverlay extends SvelteComponentTyped<DialogOverlayProps_, DialogOverlayEvents, DialogOverlaySlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Dialog as DialogPrimitive } from "bits-ui";
3
+ export type DialogTitleProps = DialogPrimitive.TitleProps;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Dialog as DialogPrimitive } from "bits-ui";
3
8
  import { cn } from "../../../utils.js";
@@ -6,7 +11,7 @@
6
11
  ref = $bindable(null),
7
12
  class: className,
8
13
  ...restProps
9
- }: DialogPrimitive.TitleProps = $props();
14
+ }: DialogTitleProps = $props();
10
15
  </script>
11
16
 
12
17
  <DialogPrimitive.Title
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Dialog as DialogPrimitive } from "bits-ui";
3
+ export type DialogTitleProps = DialogPrimitive.TitleProps;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type DialogTitleProps = typeof __propDef.props;
11
+ type DialogTitleProps_ = typeof __propDef.props;
10
12
  export type DialogTitleEvents = typeof __propDef.events;
11
13
  export type DialogTitleSlots = typeof __propDef.slots;
12
- export default class DialogTitle extends SvelteComponentTyped<DialogTitleProps, DialogTitleEvents, DialogTitleSlots> {
14
+ export default class DialogTitle extends SvelteComponentTyped<DialogTitleProps_, DialogTitleEvents, DialogTitleSlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+ import type { Drawer as DrawerPrimitive } from "vaul-svelte";
3
+ export type DrawerDescriptionProps = DrawerPrimitive.DescriptionProps;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { Drawer as DrawerPrimitive } from "vaul-svelte";
3
8
  import { cn } from "../../../utils.js";
@@ -6,7 +11,7 @@
6
11
  ref = $bindable(null),
7
12
  class: className,
8
13
  ...restProps
9
- }: DrawerPrimitive.DescriptionProps = $props();
14
+ }: DrawerDescriptionProps = $props();
10
15
  </script>
11
16
 
12
17
  <DrawerPrimitive.Description
@@ -1,4 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { Drawer as DrawerPrimitive } from "vaul-svelte";
3
+ export type DrawerDescriptionProps = DrawerPrimitive.DescriptionProps;
2
4
  declare const __propDef: {
3
5
  props: Record<string, never>;
4
6
  events: {
@@ -6,9 +8,9 @@ declare const __propDef: {
6
8
  };
7
9
  slots: {};
8
10
  };
9
- export type DrawerDescriptionProps = typeof __propDef.props;
11
+ type DrawerDescriptionProps_ = typeof __propDef.props;
10
12
  export type DrawerDescriptionEvents = typeof __propDef.events;
11
13
  export type DrawerDescriptionSlots = typeof __propDef.slots;
12
- export default class DrawerDescription extends SvelteComponentTyped<DrawerDescriptionProps, DrawerDescriptionEvents, DrawerDescriptionSlots> {
14
+ export default class DrawerDescription extends SvelteComponentTyped<DrawerDescriptionProps_, DrawerDescriptionEvents, DrawerDescriptionSlots> {
13
15
  }
14
16
  export {};
@@ -1,3 +1,8 @@
1
+ <script lang="ts" module>
2
+
3
+ export type DrawerFooterProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
4
+ </script>
5
+
1
6
  <script lang="ts">
2
7
  import { cn } from "../../../utils.js";
3
8
  import type { WithElementRef } from "bits-ui";
@@ -8,7 +13,7 @@
8
13
  class: className,
9
14
  children,
10
15
  ...restProps
11
- }: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
16
+ }: DrawerFooterProps = $props();
12
17
  </script>
13
18
 
14
19
  <div bind:this={ref} class={cn("mt-auto flex flex-col gap-2 p-4", className)} {...restProps}>
@@ -1,4 +1,7 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ export type DrawerFooterProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
3
+ import type { WithElementRef } from "bits-ui";
4
+ import type { HTMLAttributes } from "svelte/elements";
2
5
  declare const __propDef: {
3
6
  props: Record<string, never>;
4
7
  events: {
@@ -6,9 +9,9 @@ declare const __propDef: {
6
9
  };
7
10
  slots: {};
8
11
  };
9
- export type DrawerFooterProps = typeof __propDef.props;
12
+ type DrawerFooterProps_ = typeof __propDef.props;
10
13
  export type DrawerFooterEvents = typeof __propDef.events;
11
14
  export type DrawerFooterSlots = typeof __propDef.slots;
12
- export default class DrawerFooter extends SvelteComponentTyped<DrawerFooterProps, DrawerFooterEvents, DrawerFooterSlots> {
15
+ export default class DrawerFooter extends SvelteComponentTyped<DrawerFooterProps_, DrawerFooterEvents, DrawerFooterSlots> {
13
16
  }
14
17
  export {};