@widgetic/design-system 0.3.79 → 0.3.81

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 (254) hide show
  1. package/README.md +828 -123
  2. package/dist/components/CopyableHeader.svelte +13 -11
  3. package/dist/components/CopyableHeader.svelte.d.ts +34 -38
  4. package/dist/components/EmptyState.svelte +2 -9
  5. package/dist/components/EmptyState.svelte.d.ts +30 -35
  6. package/dist/components/PasswordInput.svelte +1 -5
  7. package/dist/components/PasswordInput.svelte.d.ts +19 -23
  8. package/dist/components/ThumbHashImage.svelte.d.ts +20 -24
  9. package/dist/components/WScrollArea.svelte +3 -3
  10. package/dist/components/WScrollArea.svelte.d.ts +25 -36
  11. package/dist/components/debug-grid/DebugGrid.svelte +1 -1
  12. package/dist/components/debug-grid/DebugGrid.svelte.d.ts +26 -30
  13. package/dist/components/ic/browser/BrowserInputController.svelte +1 -1
  14. package/dist/components/ic/browser/BrowserInputController.svelte.d.ts +26 -31
  15. package/dist/components/index.d.ts +1 -1
  16. package/dist/components/index.js +1 -1
  17. package/dist/components/modals/ActionModal.svelte.d.ts +36 -47
  18. package/dist/components/modals/BaseModal.svelte +1 -1
  19. package/dist/components/modals/BaseModal.svelte.d.ts +32 -36
  20. package/dist/components/modals/NewItemDialog.svelte +1 -1
  21. package/dist/components/modals/NewItemDialog.svelte.d.ts +33 -37
  22. package/dist/components/modals/Portal.svelte.d.ts +21 -32
  23. package/dist/components/modals/RenameDialog.svelte +6 -7
  24. package/dist/components/modals/RenameDialog.svelte.d.ts +33 -37
  25. package/dist/components/modals/modalStore.js +21 -26
  26. package/dist/components/navigation/Breadcrumbs.svelte +9 -9
  27. package/dist/components/navigation/Breadcrumbs.svelte.d.ts +28 -32
  28. package/dist/components/pdf/PDFViewer.svelte +19 -10
  29. package/dist/components/pdf/PDFViewer.svelte.d.ts +26 -30
  30. package/dist/components/search-input/SearchInput.svelte +8 -3
  31. package/dist/components/search-input/SearchInput.svelte.d.ts +40 -44
  32. package/dist/components/search-input/index.d.ts +14 -3
  33. package/dist/components/search-input/index.js +2 -1
  34. package/dist/components/shad-editor/colorpicker.svelte.d.ts +13 -5
  35. package/dist/components/shad-editor/custom/code-extended.svelte.d.ts +14 -4
  36. package/dist/components/shad-editor/custom/image-extended-component.svelte +1 -1
  37. package/dist/components/shad-editor/custom/image-extended-component.svelte.d.ts +14 -4
  38. package/dist/components/shad-editor/editor-toolbar.svelte.d.ts +13 -7
  39. package/dist/components/shad-editor/editor.css +4 -8
  40. package/dist/components/shad-editor/icons/block-quote.svelte.d.ts +13 -6
  41. package/dist/components/shad-editor/icons/bold.svelte.d.ts +13 -7
  42. package/dist/components/shad-editor/icons/buttle-list.svelte.d.ts +13 -6
  43. package/dist/components/shad-editor/icons/code.svelte.d.ts +13 -7
  44. package/dist/components/shad-editor/icons/highlighter.svelte.d.ts +13 -8
  45. package/dist/components/shad-editor/icons/image.svelte.d.ts +13 -7
  46. package/dist/components/shad-editor/icons/italic.svelte.d.ts +13 -7
  47. package/dist/components/shad-editor/icons/link.svelte.d.ts +13 -7
  48. package/dist/components/shad-editor/icons/ordered-list.svelte.d.ts +13 -6
  49. package/dist/components/shad-editor/icons/quickcolor.svelte.d.ts +13 -6
  50. package/dist/components/shad-editor/icons/redo.svelte.d.ts +13 -7
  51. package/dist/components/shad-editor/icons/search-replace.svelte.d.ts +13 -6
  52. package/dist/components/shad-editor/icons/strikethrough.svelte.d.ts +13 -7
  53. package/dist/components/shad-editor/icons/subscript.svelte.d.ts +13 -7
  54. package/dist/components/shad-editor/icons/superscript.svelte.d.ts +13 -7
  55. package/dist/components/shad-editor/icons/table.svelte +3 -3
  56. package/dist/components/shad-editor/icons/table.svelte.d.ts +13 -7
  57. package/dist/components/shad-editor/icons/task-list.svelte.d.ts +13 -6
  58. package/dist/components/shad-editor/icons/text.svelte +1 -1
  59. package/dist/components/shad-editor/icons/text.svelte.d.ts +13 -6
  60. package/dist/components/shad-editor/icons/textalign.svelte.d.ts +13 -6
  61. package/dist/components/shad-editor/icons/textcolor.svelte.d.ts +13 -7
  62. package/dist/components/shad-editor/icons/underline.svelte.d.ts +13 -7
  63. package/dist/components/shad-editor/icons/undo.svelte.d.ts +13 -7
  64. package/dist/components/shad-editor/onedark.css +0 -3
  65. package/dist/components/shad-editor/shad-editor.svelte +1 -1
  66. package/dist/components/shad-editor/shad-editor.svelte.d.ts +20 -30
  67. package/dist/components/toast/ToasterModal.svelte +11 -15
  68. package/dist/components/toast/ToasterModal.svelte.d.ts +11 -16
  69. package/dist/components/ui/accordion/accordion-content.svelte.d.ts +14 -4
  70. package/dist/components/ui/accordion/accordion-item.svelte.d.ts +14 -4
  71. package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +13 -6
  72. package/dist/components/ui/accordion/index.d.ts +1 -1
  73. package/dist/components/ui/alert/alert-description.svelte.d.ts +14 -25
  74. package/dist/components/ui/alert/alert-title.svelte.d.ts +16 -27
  75. package/dist/components/ui/alert/alert.svelte.d.ts +16 -27
  76. package/dist/components/ui/badge/badge.svelte +1 -1
  77. package/dist/components/ui/badge/badge.svelte.d.ts +15 -9
  78. package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +14 -5
  79. package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +14 -5
  80. package/dist/components/ui/breadcrumb/breadcrumb-link.svelte.d.ts +13 -10
  81. package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +14 -5
  82. package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +14 -5
  83. package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +14 -5
  84. package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +14 -5
  85. package/dist/components/ui/button/button.svelte +1 -1
  86. package/dist/components/ui/button/button.svelte.d.ts +16 -5
  87. package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +14 -4
  88. package/dist/components/ui/calendar/calendar-day.svelte +4 -4
  89. package/dist/components/ui/calendar/calendar-day.svelte.d.ts +14 -4
  90. package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +14 -4
  91. package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +14 -4
  92. package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +14 -4
  93. package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +14 -4
  94. package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +14 -4
  95. package/dist/components/ui/calendar/calendar-header.svelte.d.ts +14 -4
  96. package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +14 -4
  97. package/dist/components/ui/calendar/calendar-months.svelte.d.ts +14 -5
  98. package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +14 -4
  99. package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +14 -4
  100. package/dist/components/ui/calendar/calendar.svelte.d.ts +14 -5
  101. package/dist/components/ui/card/card-content.svelte.d.ts +14 -5
  102. package/dist/components/ui/card/card-description.svelte.d.ts +14 -5
  103. package/dist/components/ui/card/card-footer.svelte.d.ts +14 -5
  104. package/dist/components/ui/card/card-header.svelte.d.ts +14 -5
  105. package/dist/components/ui/card/card-title.svelte.d.ts +13 -7
  106. package/dist/components/ui/card/card.svelte +1 -1
  107. package/dist/components/ui/card/card.svelte.d.ts +14 -5
  108. package/dist/components/ui/checkbox/checkbox.svelte +1 -1
  109. package/dist/components/ui/checkbox/checkbox.svelte.d.ts +14 -4
  110. package/dist/components/ui/collapsible/index.d.ts +1 -1
  111. package/dist/components/ui/command/command-dialog.svelte +1 -1
  112. package/dist/components/ui/command/command-dialog.svelte.d.ts +13 -8
  113. package/dist/components/ui/command/command-empty.svelte.d.ts +14 -4
  114. package/dist/components/ui/command/command-group.svelte.d.ts +13 -6
  115. package/dist/components/ui/command/command-input.svelte +1 -1
  116. package/dist/components/ui/command/command-input.svelte.d.ts +14 -4
  117. package/dist/components/ui/command/command-item.svelte +1 -1
  118. package/dist/components/ui/command/command-item.svelte.d.ts +14 -4
  119. package/dist/components/ui/command/command-link-item.svelte +1 -1
  120. package/dist/components/ui/command/command-link-item.svelte.d.ts +14 -4
  121. package/dist/components/ui/command/command-list.svelte.d.ts +14 -4
  122. package/dist/components/ui/command/command-separator.svelte.d.ts +14 -4
  123. package/dist/components/ui/command/command-shortcut.svelte.d.ts +14 -5
  124. package/dist/components/ui/command/command.svelte.d.ts +14 -4
  125. package/dist/components/ui/dialog/dialog-content.svelte +1 -1
  126. package/dist/components/ui/dialog/dialog-content.svelte.d.ts +13 -8
  127. package/dist/components/ui/dialog/dialog-description.svelte.d.ts +14 -4
  128. package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +14 -5
  129. package/dist/components/ui/dialog/dialog-header.svelte.d.ts +14 -5
  130. package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +14 -4
  131. package/dist/components/ui/dialog/dialog-title.svelte.d.ts +14 -4
  132. package/dist/components/ui/drawer/drawer-content.svelte.d.ts +13 -6
  133. package/dist/components/ui/drawer/drawer-description.svelte.d.ts +14 -4
  134. package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +14 -5
  135. package/dist/components/ui/drawer/drawer-header.svelte.d.ts +14 -5
  136. package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +14 -3
  137. package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +14 -4
  138. package/dist/components/ui/drawer/drawer-title.svelte.d.ts +14 -4
  139. package/dist/components/ui/drawer/drawer.svelte.d.ts +14 -3
  140. package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
  141. package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +13 -7
  142. package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +1 -1
  143. package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +13 -6
  144. package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +13 -6
  145. package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +1 -1
  146. package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +13 -6
  147. package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +13 -7
  148. package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
  149. package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +14 -4
  150. package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +14 -4
  151. package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +14 -5
  152. package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
  153. package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +14 -4
  154. package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
  155. package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +13 -6
  156. package/dist/components/ui/dropdown-menu/index.d.ts +1 -1
  157. package/dist/components/ui/hover-card/hover-card-content.svelte +1 -1
  158. package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +13 -6
  159. package/dist/components/ui/input/input.svelte +1 -1
  160. package/dist/components/ui/input/input.svelte.d.ts +14 -5
  161. package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +14 -5
  162. package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +14 -5
  163. package/dist/components/ui/input-otp/input-otp-slot.svelte.d.ts +14 -12
  164. package/dist/components/ui/input-otp/input-otp.svelte +1 -1
  165. package/dist/components/ui/input-otp/input-otp.svelte.d.ts +14 -3
  166. package/dist/components/ui/label/label.svelte.d.ts +14 -4
  167. package/dist/components/ui/popover/popover-content.svelte +1 -1
  168. package/dist/components/ui/popover/popover-content.svelte.d.ts +13 -6
  169. package/dist/components/ui/progress/progress.svelte.d.ts +14 -4
  170. package/dist/components/ui/radio-group/radio-group-item.svelte +1 -1
  171. package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +14 -4
  172. package/dist/components/ui/radio-group/radio-group.svelte.d.ts +14 -4
  173. package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +14 -4
  174. package/dist/components/ui/range-calendar/range-calendar-day.svelte +6 -6
  175. package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +14 -4
  176. package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +14 -4
  177. package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +14 -4
  178. package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +14 -4
  179. package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +14 -4
  180. package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +14 -4
  181. package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +14 -5
  182. package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +14 -4
  183. package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +14 -4
  184. package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +14 -5
  185. package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +14 -4
  186. package/dist/components/ui/scroll-area/scroll-area.svelte.d.ts +13 -8
  187. package/dist/components/ui/select/index.d.ts +1 -1
  188. package/dist/components/ui/select/select-content.svelte.d.ts +13 -6
  189. package/dist/components/ui/select/select-group-heading.svelte.d.ts +14 -4
  190. package/dist/components/ui/select/select-item.svelte +1 -1
  191. package/dist/components/ui/select/select-item.svelte.d.ts +14 -4
  192. package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +14 -4
  193. package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +14 -4
  194. package/dist/components/ui/select/select-separator.svelte.d.ts +14 -4
  195. package/dist/components/ui/select/select-trigger.svelte +1 -1
  196. package/dist/components/ui/select/select-trigger.svelte.d.ts +14 -4
  197. package/dist/components/ui/separator/separator.svelte.d.ts +14 -4
  198. package/dist/components/ui/slider/slider.svelte +1 -1
  199. package/dist/components/ui/slider/slider.svelte.d.ts +14 -4
  200. package/dist/components/ui/sonner/sonner.svelte.d.ts +14 -4
  201. package/dist/components/ui/switch/switch.svelte +1 -1
  202. package/dist/components/ui/switch/switch.svelte.d.ts +14 -4
  203. package/dist/components/ui/table/table-body.svelte.d.ts +14 -5
  204. package/dist/components/ui/table/table-caption.svelte.d.ts +14 -5
  205. package/dist/components/ui/table/table-cell.svelte.d.ts +14 -5
  206. package/dist/components/ui/table/table-footer.svelte.d.ts +14 -5
  207. package/dist/components/ui/table/table-head.svelte.d.ts +14 -5
  208. package/dist/components/ui/table/table-header.svelte.d.ts +14 -5
  209. package/dist/components/ui/table/table-row.svelte.d.ts +14 -5
  210. package/dist/components/ui/table/table.svelte.d.ts +14 -5
  211. package/dist/components/ui/tabs/index.d.ts +1 -1
  212. package/dist/components/ui/tabs/tabs-content.svelte +1 -1
  213. package/dist/components/ui/tabs/tabs-content.svelte.d.ts +14 -4
  214. package/dist/components/ui/tabs/tabs-list.svelte.d.ts +14 -4
  215. package/dist/components/ui/tabs/tabs-trigger.svelte +1 -1
  216. package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +14 -4
  217. package/dist/components/ui/textarea/textarea.svelte +1 -1
  218. package/dist/components/ui/textarea/textarea.svelte.d.ts +14 -5
  219. package/dist/components/ui/toggle/toggle.svelte +1 -1
  220. package/dist/components/ui/toggle/toggle.svelte.d.ts +15 -9
  221. package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +14 -6
  222. package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +14 -5
  223. package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +14 -4
  224. package/dist/components/widget-system/EditableWidget.svelte.d.ts +30 -42
  225. package/dist/components/widget-system/Moveable.svelte +62 -19
  226. package/dist/components/widget-system/Moveable.svelte.d.ts +37 -49
  227. package/dist/icons/Checked.svelte.d.ts +14 -18
  228. package/dist/icons/CheckerBoardBackground.svelte.d.ts +14 -3
  229. package/dist/icons/Close.svelte.d.ts +14 -18
  230. package/dist/icons/Exclamation.svelte.d.ts +19 -22
  231. package/dist/icons/FileBrowser.svelte.d.ts +14 -18
  232. package/dist/icons/LogoWidgetic.svelte +6 -17
  233. package/dist/icons/LogoWidgetic.svelte.d.ts +14 -18
  234. package/dist/icons/LogoWidgeticGreen.svelte +13 -0
  235. package/dist/icons/LogoWidgeticGreen.svelte.d.ts +16 -0
  236. package/dist/icons/LogoWidgeticType-old.svelte +13 -0
  237. package/dist/icons/LogoWidgeticType-old.svelte.d.ts +16 -0
  238. package/dist/icons/LogoWidgeticType-old.svg +4 -0
  239. package/dist/icons/LogoWidgeticType.svelte +18 -10
  240. package/dist/icons/LogoWidgeticType.svelte.d.ts +14 -18
  241. package/dist/icons/LogoWidgeticType.svg +10 -3
  242. package/dist/icons/OpacitySliderArrows.svelte.d.ts +14 -3
  243. package/dist/icons/TestIcon.svelte.d.ts +19 -22
  244. package/dist/icons/index.d.ts +3 -1
  245. package/dist/icons/index.js +3 -1
  246. package/dist/styles/fonts.css +39 -50
  247. package/dist/styles/global.css +45 -68
  248. package/package.json +36 -47
  249. package/tailwind.config.ts +6 -1
  250. package/dist/components/search-input/index2.d.ts +0 -14
  251. package/dist/components/shad-editor/README.md +0 -18
  252. package/dist/icons/eye-off.svg +0 -1
  253. package/dist/icons/eye.svg +0 -1
  254. /package/dist/icons/{checked.svg → Checked.svg} +0 -0
@@ -1,32 +1,28 @@
1
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
- new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
- $$bindings?: Bindings;
4
- } & Exports;
5
- (internal: unknown, props: Props & {
6
- $$events?: Events;
7
- $$slots?: Slots;
8
- }): Exports & {
9
- $set?: any;
10
- $on?: any;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ class?: string;
5
+ style?: string;
6
+ url?: string;
7
+ enableCacheClearing?: boolean;
11
8
  };
12
- z_$$bindings?: Bindings;
9
+ events: {
10
+ error: CustomEvent<{
11
+ message: string;
12
+ }>;
13
+ pageChange: CustomEvent<{
14
+ page: number;
15
+ totalPages: number;
16
+ }>;
17
+ cacheCleared: CustomEvent<void>;
18
+ } & {
19
+ [evt: string]: CustomEvent<any>;
20
+ };
21
+ slots: {};
22
+ };
23
+ export type PdfViewerProps = typeof __propDef.props;
24
+ export type PdfViewerEvents = typeof __propDef.events;
25
+ export type PdfViewerSlots = typeof __propDef.slots;
26
+ export default class PdfViewer extends SvelteComponentTyped<PdfViewerProps, PdfViewerEvents, PdfViewerSlots> {
13
27
  }
14
- declare const PdfViewer: $$__sveltets_2_IsomorphicComponent<{
15
- class?: string;
16
- style?: string;
17
- url?: string;
18
- enableCacheClearing?: boolean;
19
- }, {
20
- error: CustomEvent<{
21
- message: string;
22
- }>;
23
- pageChange: CustomEvent<{
24
- page: number;
25
- totalPages: number;
26
- }>;
27
- cacheCleared: CustomEvent<void>;
28
- } & {
29
- [evt: string]: CustomEvent<any>;
30
- }, {}, {}, string>;
31
- type PdfViewer = InstanceType<typeof PdfViewer>;
32
- export default PdfViewer;
28
+ export {};
@@ -10,8 +10,8 @@
10
10
  * - Uses Widgetic design system styling
11
11
  -->
12
12
  <script lang="ts">
13
- // import { X, IconSearch } from '@widgetic/design-system/icons';
14
- import { X, IconSearch } from '../../icons';
13
+ import { X, IconSearch } from '@widgetic/design-system/icons';
14
+
15
15
  /**
16
16
  * Placeholder text for the search input
17
17
  */
@@ -79,7 +79,7 @@
79
79
  onKeydown(e);
80
80
  }}
81
81
  onpaste={onPaste}
82
- class="w-full h-[38px] border-0 bg-transparent focus:outline-hidden focus:ring-0 focus-visible:ring-0 pl-9 pr-8 subtext
82
+ class="w-full h-[38px] border-0 bg-transparent focus:outline-none focus:ring-0 focus-visible:ring-0 pl-9 pr-8 subtext
83
83
  transition-all duration-300
84
84
  {value ? 'text-[hsl(var(--grey7))]' : 'text-[hsl(var(--grey3))] placeholder:text-[hsl(var(--grey3))] placeholder:transition-colors placeholder:duration-300 group-hover:text-[hsl(var(--grey7))] group-hover:placeholder:text-[hsl(var(--grey7))] group-focus-within:text-[hsl(var(--grey7))] group-focus-within:placeholder:text-[hsl(var(--grey7)))'}
85
85
  {inputClass}"
@@ -104,6 +104,11 @@
104
104
  transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease !important;
105
105
  }
106
106
 
107
+ input::-moz-placeholder {
108
+ -moz-transition: color 300ms ease !important;
109
+ transition: color 300ms ease !important;
110
+ }
111
+
107
112
  input::placeholder {
108
113
  transition: color 300ms ease !important;
109
114
  }
@@ -1,46 +1,42 @@
1
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
- new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
- $$bindings?: Bindings;
4
- } & Exports;
5
- (internal: unknown, props: Props & {
6
- $$events?: Events;
7
- $$slots?: Slots;
8
- }): Exports & {
9
- $set?: any;
10
- $on?: any;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ /**
5
+ * Placeholder text for the search input
6
+ */ placeholder?: string;
7
+ /**
8
+ * Current search value
9
+ */ value?: string;
10
+ /**
11
+ * Input event handler
12
+ * @param event The input event
13
+ */ onInput?: (event: Event) => Promise<void> | void;
14
+ /**
15
+ * Keydown event handler
16
+ * @param event The keyboard event
17
+ */ onKeydown?: (event: KeyboardEvent) => void;
18
+ /**
19
+ * Clear button event handler
20
+ */ onClear?: () => void;
21
+ /**
22
+ * Paste event handler
23
+ * @param event The clipboard event
24
+ */ onPaste?: (event: ClipboardEvent) => void;
25
+ /**
26
+ * CSS class to apply to the container
27
+ */ containerClass?: string;
28
+ /**
29
+ * CSS class to apply to the input element
30
+ */ inputClass?: string;
11
31
  };
12
- z_$$bindings?: Bindings;
32
+ events: {
33
+ [evt: string]: CustomEvent<any>;
34
+ };
35
+ slots: {};
36
+ };
37
+ export type SearchInputProps = typeof __propDef.props;
38
+ export type SearchInputEvents = typeof __propDef.events;
39
+ export type SearchInputSlots = typeof __propDef.slots;
40
+ export default class SearchInput extends SvelteComponentTyped<SearchInputProps, SearchInputEvents, SearchInputSlots> {
13
41
  }
14
- declare const SearchInput: $$__sveltets_2_IsomorphicComponent<{
15
- /**
16
- * Placeholder text for the search input
17
- */ placeholder?: string;
18
- /**
19
- * Current search value
20
- */ value?: string;
21
- /**
22
- * Input event handler
23
- * @param event The input event
24
- */ onInput?: (event: Event) => Promise<void> | void;
25
- /**
26
- * Keydown event handler
27
- * @param event The keyboard event
28
- */ onKeydown?: (event: KeyboardEvent) => void;
29
- /**
30
- * Clear button event handler
31
- */ onClear?: () => void;
32
- /**
33
- * Paste event handler
34
- * @param event The clipboard event
35
- */ onPaste?: (event: ClipboardEvent) => void;
36
- /**
37
- * CSS class to apply to the container
38
- */ containerClass?: string;
39
- /**
40
- * CSS class to apply to the input element
41
- */ inputClass?: string;
42
- }, {
43
- [evt: string]: CustomEvent<any>;
44
- }, {}, {}, string>;
45
- type SearchInput = InstanceType<typeof SearchInput>;
46
- export default SearchInput;
42
+ export {};
@@ -1,3 +1,14 @@
1
- import SearchInput from './SearchInput.svelte';
2
- export { SearchInput };
3
- export default SearchInput;
1
+ import { SvelteComponent } from 'svelte';
2
+
3
+ export interface SearchInputProps {
4
+ placeholder?: string;
5
+ value?: string;
6
+ onInput?: (event: Event) => Promise<void> | void;
7
+ onKeydown?: (event: KeyboardEvent) => void;
8
+ onClear?: () => void;
9
+ onPaste?: (event: ClipboardEvent) => void;
10
+ containerClass?: string;
11
+ inputClass?: string;
12
+ }
13
+
14
+ export default class SearchInput extends SvelteComponent<SearchInputProps> {}
@@ -1,3 +1,4 @@
1
1
  import SearchInput from './SearchInput.svelte';
2
+
2
3
  export { SearchInput };
3
- export default SearchInput;
4
+ export default SearchInput;
@@ -1,6 +1,14 @@
1
- type $$ComponentProps = {
2
- hex: string;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
3
8
  };
4
- declare const Colorpicker: import("svelte").Component<$$ComponentProps, {}, "hex">;
5
- type Colorpicker = ReturnType<typeof Colorpicker>;
6
- export default Colorpicker;
9
+ export type ColorpickerProps = typeof __propDef.props;
10
+ export type ColorpickerEvents = typeof __propDef.events;
11
+ export type ColorpickerSlots = typeof __propDef.slots;
12
+ export default class Colorpicker extends SvelteComponentTyped<ColorpickerProps, ColorpickerEvents, ColorpickerSlots> {
13
+ }
14
+ export {};
@@ -1,4 +1,14 @@
1
- import type { NodeViewProps } from '@tiptap/core';
2
- declare const CodeExtended: import("svelte").Component<NodeViewProps, {}, "">;
3
- type CodeExtended = ReturnType<typeof CodeExtended>;
4
- export default CodeExtended;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
8
+ };
9
+ export type CodeExtendedProps = typeof __propDef.props;
10
+ export type CodeExtendedEvents = typeof __propDef.events;
11
+ export type CodeExtendedSlots = typeof __propDef.slots;
12
+ export default class CodeExtended extends SvelteComponentTyped<CodeExtendedProps, CodeExtendedEvents, CodeExtendedSlots> {
13
+ }
14
+ export {};
@@ -131,7 +131,7 @@
131
131
  <input
132
132
  value={node.attrs.title}
133
133
  type="text"
134
- class="my-1 w-full bg-transparent text-center text-sm text-muted-foreground outline-hidden"
134
+ class="my-1 w-full bg-transparent text-center text-sm text-muted-foreground outline-none"
135
135
  onchange={(e) => {
136
136
  if (e.target === null) return;
137
137
  //@ts-ignore
@@ -1,4 +1,14 @@
1
- import type { NodeViewProps } from '@tiptap/core';
2
- declare const ImageExtendedComponent: import("svelte").Component<NodeViewProps, {}, "">;
3
- type ImageExtendedComponent = ReturnType<typeof ImageExtendedComponent>;
4
- export default ImageExtendedComponent;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
8
+ };
9
+ export type ImageExtendedComponentProps = typeof __propDef.props;
10
+ export type ImageExtendedComponentEvents = typeof __propDef.events;
11
+ export type ImageExtendedComponentSlots = typeof __propDef.slots;
12
+ export default class ImageExtendedComponent extends SvelteComponentTyped<ImageExtendedComponentProps, ImageExtendedComponentEvents, ImageExtendedComponentSlots> {
13
+ }
14
+ export {};
@@ -1,8 +1,14 @@
1
- import { type Editor } from '@tiptap/core';
2
- interface Props {
3
- editor: Editor;
4
- class?: string;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
8
+ };
9
+ export type EditorToolbarProps = typeof __propDef.props;
10
+ export type EditorToolbarEvents = typeof __propDef.events;
11
+ export type EditorToolbarSlots = typeof __propDef.slots;
12
+ export default class EditorToolbar extends SvelteComponentTyped<EditorToolbarProps, EditorToolbarEvents, EditorToolbarSlots> {
5
13
  }
6
- declare const EditorToolbar: import("svelte").Component<Props, {}, "">;
7
- type EditorToolbar = ReturnType<typeof EditorToolbar>;
8
- export default EditorToolbar;
14
+ export {};
@@ -1,14 +1,11 @@
1
- /* @config "../../../../tailwind.config.ts"; */
2
- @reference "../../styles/global.css";
3
-
4
1
  .tiptap :where(p):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
5
2
  margin-top: 0 !important;
6
3
  margin-bottom: 0 !important;
7
4
  }
8
5
 
9
6
  .tiptap code:not(pre code) {
10
- /* Remove the before and after pseudo elements, replace rounded with rounded-sm */
11
- @apply rounded-sm border bg-muted/50 p-1 before:content-[''] after:content-[''];
7
+ /* Remove the before and after pseudo elements */
8
+ @apply rounded border bg-muted/50 p-1 before:content-[''] after:content-[''];
12
9
  }
13
10
 
14
11
  .tiptap blockquote p {
@@ -57,7 +54,7 @@ ul[data-type='taskList'] li[data-checked='true'] div {
57
54
  }
58
55
 
59
56
  input[type='checkbox'] {
60
- @apply !size-4 !cursor-pointer !rounded-sm;
57
+ @apply size-4 cursor-pointer rounded !important;
61
58
  }
62
59
 
63
60
  ul[data-type='taskList'] ul[data-type='taskList'] {
@@ -70,8 +67,7 @@ ul[data-type='taskList'] ul[data-type='taskList'] {
70
67
  }
71
68
 
72
69
  .color::before {
73
- /* Replace rounded with rounded-md */
74
- @apply mb-[0.15rem] mr-[0.1rem] inline-block size-[1rem] rounded-md border border-muted align-middle;
70
+ @apply mb-[0.15rem] mr-[0.1rem] inline-block size-[1rem] rounded border border-muted align-middle;
75
71
  background-color: var(--color);
76
72
  content: ' ';
77
73
  }
@@ -1,7 +1,14 @@
1
- import { type Editor } from '@tiptap/core';
2
- type $$ComponentProps = {
3
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
4
8
  };
5
- declare const BlockQuote: import("svelte").Component<$$ComponentProps, {}, "">;
6
- type BlockQuote = ReturnType<typeof BlockQuote>;
7
- export default BlockQuote;
9
+ export type BlockQuoteProps = typeof __propDef.props;
10
+ export type BlockQuoteEvents = typeof __propDef.events;
11
+ export type BlockQuoteSlots = typeof __propDef.slots;
12
+ export default class BlockQuote extends SvelteComponentTyped<BlockQuoteProps, BlockQuoteEvents, BlockQuoteSlots> {
13
+ }
14
+ export {};
@@ -1,8 +1,14 @@
1
- import { Bold } from 'lucide-svelte';
2
- import { type Editor } from '@tiptap/core';
3
- type $$ComponentProps = {
4
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
5
8
  };
6
- declare const Bold: import("svelte").Component<$$ComponentProps, {}, "">;
7
- type Bold = ReturnType<typeof Bold>;
8
- export default Bold;
9
+ export type BoldProps = typeof __propDef.props;
10
+ export type BoldEvents = typeof __propDef.events;
11
+ export type BoldSlots = typeof __propDef.slots;
12
+ export default class Bold extends SvelteComponentTyped<BoldProps, BoldEvents, BoldSlots> {
13
+ }
14
+ export {};
@@ -1,7 +1,14 @@
1
- import { type Editor } from '@tiptap/core';
2
- type $$ComponentProps = {
3
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
4
8
  };
5
- declare const ButtleList: import("svelte").Component<$$ComponentProps, {}, "">;
6
- type ButtleList = ReturnType<typeof ButtleList>;
7
- export default ButtleList;
9
+ export type ButtleListProps = typeof __propDef.props;
10
+ export type ButtleListEvents = typeof __propDef.events;
11
+ export type ButtleListSlots = typeof __propDef.slots;
12
+ export default class ButtleList extends SvelteComponentTyped<ButtleListProps, ButtleListEvents, ButtleListSlots> {
13
+ }
14
+ export {};
@@ -1,8 +1,14 @@
1
- import { Code } from 'lucide-svelte';
2
- import { type Editor } from '@tiptap/core';
3
- type $$ComponentProps = {
4
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
5
8
  };
6
- declare const Code: import("svelte").Component<$$ComponentProps, {}, "">;
7
- type Code = ReturnType<typeof Code>;
8
- export default Code;
9
+ export type CodeProps = typeof __propDef.props;
10
+ export type CodeEvents = typeof __propDef.events;
11
+ export type CodeSlots = typeof __propDef.slots;
12
+ export default class Code extends SvelteComponentTyped<CodeProps, CodeEvents, CodeSlots> {
13
+ }
14
+ export {};
@@ -1,9 +1,14 @@
1
- import { Highlighter } from 'lucide-svelte';
2
- import { type Editor } from '@tiptap/core';
3
- interface Props {
4
- editor: Editor;
5
- color?: string;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
8
+ };
9
+ export type HighlighterProps = typeof __propDef.props;
10
+ export type HighlighterEvents = typeof __propDef.events;
11
+ export type HighlighterSlots = typeof __propDef.slots;
12
+ export default class Highlighter extends SvelteComponentTyped<HighlighterProps, HighlighterEvents, HighlighterSlots> {
6
13
  }
7
- declare const Highlighter: import("svelte").Component<Props, {}, "color">;
8
- type Highlighter = ReturnType<typeof Highlighter>;
9
- export default Highlighter;
14
+ export {};
@@ -1,8 +1,14 @@
1
- import { Image } from 'lucide-svelte';
2
- import { type Editor } from '@tiptap/core';
3
- type $$ComponentProps = {
4
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
5
8
  };
6
- declare const Image: import("svelte").Component<$$ComponentProps, {}, "">;
7
- type Image = ReturnType<typeof Image>;
8
- export default Image;
9
+ export type ImageProps = typeof __propDef.props;
10
+ export type ImageEvents = typeof __propDef.events;
11
+ export type ImageSlots = typeof __propDef.slots;
12
+ export default class Image extends SvelteComponentTyped<ImageProps, ImageEvents, ImageSlots> {
13
+ }
14
+ export {};
@@ -1,8 +1,14 @@
1
- import { Italic } from 'lucide-svelte';
2
- import { type Editor } from '@tiptap/core';
3
- type $$ComponentProps = {
4
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
5
8
  };
6
- declare const Italic: import("svelte").Component<$$ComponentProps, {}, "">;
7
- type Italic = ReturnType<typeof Italic>;
8
- export default Italic;
9
+ export type ItalicProps = typeof __propDef.props;
10
+ export type ItalicEvents = typeof __propDef.events;
11
+ export type ItalicSlots = typeof __propDef.slots;
12
+ export default class Italic extends SvelteComponentTyped<ItalicProps, ItalicEvents, ItalicSlots> {
13
+ }
14
+ export {};
@@ -1,8 +1,14 @@
1
- import { Link } from 'lucide-svelte';
2
- import { type Editor } from '@tiptap/core';
3
- type $$ComponentProps = {
4
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
5
8
  };
6
- declare const Link: import("svelte").Component<$$ComponentProps, {}, "">;
7
- type Link = ReturnType<typeof Link>;
8
- export default Link;
9
+ export type LinkProps = typeof __propDef.props;
10
+ export type LinkEvents = typeof __propDef.events;
11
+ export type LinkSlots = typeof __propDef.slots;
12
+ export default class Link extends SvelteComponentTyped<LinkProps, LinkEvents, LinkSlots> {
13
+ }
14
+ export {};
@@ -1,7 +1,14 @@
1
- import { type Editor } from '@tiptap/core';
2
- type $$ComponentProps = {
3
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
4
8
  };
5
- declare const OrderedList: import("svelte").Component<$$ComponentProps, {}, "">;
6
- type OrderedList = ReturnType<typeof OrderedList>;
7
- export default OrderedList;
9
+ export type OrderedListProps = typeof __propDef.props;
10
+ export type OrderedListEvents = typeof __propDef.events;
11
+ export type OrderedListSlots = typeof __propDef.slots;
12
+ export default class OrderedList extends SvelteComponentTyped<OrderedListProps, OrderedListEvents, OrderedListSlots> {
13
+ }
14
+ export {};
@@ -1,7 +1,14 @@
1
- import { type Editor } from '@tiptap/core';
2
- type $$ComponentProps = {
3
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
4
8
  };
5
- declare const Quickcolor: import("svelte").Component<$$ComponentProps, {}, "">;
6
- type Quickcolor = ReturnType<typeof Quickcolor>;
7
- export default Quickcolor;
9
+ export type QuickcolorProps = typeof __propDef.props;
10
+ export type QuickcolorEvents = typeof __propDef.events;
11
+ export type QuickcolorSlots = typeof __propDef.slots;
12
+ export default class Quickcolor extends SvelteComponentTyped<QuickcolorProps, QuickcolorEvents, QuickcolorSlots> {
13
+ }
14
+ export {};
@@ -1,8 +1,14 @@
1
- import { Redo } from 'lucide-svelte';
2
- import { type Editor } from '@tiptap/core';
3
- type $$ComponentProps = {
4
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
5
8
  };
6
- declare const Redo: import("svelte").Component<$$ComponentProps, {}, "">;
7
- type Redo = ReturnType<typeof Redo>;
8
- export default Redo;
9
+ export type RedoProps = typeof __propDef.props;
10
+ export type RedoEvents = typeof __propDef.events;
11
+ export type RedoSlots = typeof __propDef.slots;
12
+ export default class Redo extends SvelteComponentTyped<RedoProps, RedoEvents, RedoSlots> {
13
+ }
14
+ export {};
@@ -1,7 +1,14 @@
1
- import { type Editor } from '@tiptap/core';
2
- type $$ComponentProps = {
3
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
4
8
  };
5
- declare const SearchReplace: import("svelte").Component<$$ComponentProps, {}, "">;
6
- type SearchReplace = ReturnType<typeof SearchReplace>;
7
- export default SearchReplace;
9
+ export type SearchReplaceProps = typeof __propDef.props;
10
+ export type SearchReplaceEvents = typeof __propDef.events;
11
+ export type SearchReplaceSlots = typeof __propDef.slots;
12
+ export default class SearchReplace extends SvelteComponentTyped<SearchReplaceProps, SearchReplaceEvents, SearchReplaceSlots> {
13
+ }
14
+ export {};
@@ -1,8 +1,14 @@
1
- import { Strikethrough } from 'lucide-svelte';
2
- import { type Editor } from '@tiptap/core';
3
- type $$ComponentProps = {
4
- editor: Editor;
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
5
8
  };
6
- declare const Strikethrough: import("svelte").Component<$$ComponentProps, {}, "">;
7
- type Strikethrough = ReturnType<typeof Strikethrough>;
8
- export default Strikethrough;
9
+ export type StrikethroughProps = typeof __propDef.props;
10
+ export type StrikethroughEvents = typeof __propDef.events;
11
+ export type StrikethroughSlots = typeof __propDef.slots;
12
+ export default class Strikethrough extends SvelteComponentTyped<StrikethroughProps, StrikethroughEvents, StrikethroughSlots> {
13
+ }
14
+ export {};