@voilabs/mark 0.0.1

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 (69) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +728 -0
  3. package/dist/components/Editor.d.ts +31 -0
  4. package/dist/components/Editor.d.ts.map +1 -0
  5. package/dist/components/editor/EditorContext.d.ts +16 -0
  6. package/dist/components/editor/EditorContext.d.ts.map +1 -0
  7. package/dist/components/editor/GlobalDragHandleMenu.d.ts +8 -0
  8. package/dist/components/editor/GlobalDragHandleMenu.d.ts.map +1 -0
  9. package/dist/components/editor/StyleBar.d.ts +26 -0
  10. package/dist/components/editor/StyleBar.d.ts.map +1 -0
  11. package/dist/components/editor/StyleEditPopover.d.ts +19 -0
  12. package/dist/components/editor/StyleEditPopover.d.ts.map +1 -0
  13. package/dist/components/editor/Toolbar.d.ts +21 -0
  14. package/dist/components/editor/Toolbar.d.ts.map +1 -0
  15. package/dist/components/editor/classNames.d.ts +136 -0
  16. package/dist/components/editor/classNames.d.ts.map +1 -0
  17. package/dist/components/editor/extensions/AdvancedImage.d.ts +22 -0
  18. package/dist/components/editor/extensions/AdvancedImage.d.ts.map +1 -0
  19. package/dist/components/editor/extensions/FontFamily.d.ts +14 -0
  20. package/dist/components/editor/extensions/FontFamily.d.ts.map +1 -0
  21. package/dist/components/editor/extensions/FontSize.d.ts +14 -0
  22. package/dist/components/editor/extensions/FontSize.d.ts.map +1 -0
  23. package/dist/components/editor/extensions/ImageNodeView.d.ts +2 -0
  24. package/dist/components/editor/extensions/ImageNodeView.d.ts.map +1 -0
  25. package/dist/components/editor/extensions/TextStyleAttributes.d.ts +10 -0
  26. package/dist/components/editor/extensions/TextStyleAttributes.d.ts.map +1 -0
  27. package/dist/components/editor/extensions/Video.d.ts +21 -0
  28. package/dist/components/editor/extensions/Video.d.ts.map +1 -0
  29. package/dist/components/editor/paragraphStyles.d.ts +42 -0
  30. package/dist/components/editor/paragraphStyles.d.ts.map +1 -0
  31. package/dist/components/editor/slash-command/commands-list.d.ts +27 -0
  32. package/dist/components/editor/slash-command/commands-list.d.ts.map +1 -0
  33. package/dist/components/editor/slash-command/commands.d.ts +15 -0
  34. package/dist/components/editor/slash-command/commands.d.ts.map +1 -0
  35. package/dist/components/editor/slash-command/suggestion.d.ts +38 -0
  36. package/dist/components/editor/slash-command/suggestion.d.ts.map +1 -0
  37. package/dist/components/editor/translations.d.ts +151 -0
  38. package/dist/components/editor/translations.d.ts.map +1 -0
  39. package/dist/components/editor/useStyleStorage.d.ts +19 -0
  40. package/dist/components/editor/useStyleStorage.d.ts.map +1 -0
  41. package/dist/components/editor/utils/upload.d.ts +5 -0
  42. package/dist/components/editor/utils/upload.d.ts.map +1 -0
  43. package/dist/components/ui/Dropdown.d.ts +16 -0
  44. package/dist/components/ui/Dropdown.d.ts.map +1 -0
  45. package/dist/components/ui/DropdownMenu.d.ts +28 -0
  46. package/dist/components/ui/DropdownMenu.d.ts.map +1 -0
  47. package/dist/components/ui/Popover.d.ts +11 -0
  48. package/dist/components/ui/Popover.d.ts.map +1 -0
  49. package/dist/components/ui/Tooltip.d.ts +7 -0
  50. package/dist/components/ui/Tooltip.d.ts.map +1 -0
  51. package/dist/index.cjs.js +151 -0
  52. package/dist/index.d.ts +7 -0
  53. package/dist/index.d.ts.map +1 -0
  54. package/dist/index.es.js +22724 -0
  55. package/dist/lib/utils.d.ts +3 -0
  56. package/dist/lib/utils.d.ts.map +1 -0
  57. package/dist/plugin.cjs.js +10 -0
  58. package/dist/plugin.d.ts +4 -0
  59. package/dist/plugin.d.ts.map +1 -0
  60. package/dist/plugin.es.js +575 -0
  61. package/dist/translations/en-US.cjs.js +1 -0
  62. package/dist/translations/en-US.d.ts +4 -0
  63. package/dist/translations/en-US.d.ts.map +1 -0
  64. package/dist/translations/en-US.es.js +153 -0
  65. package/dist/translations/tr-TR.cjs.js +1 -0
  66. package/dist/translations/tr-TR.d.ts +4 -0
  67. package/dist/translations/tr-TR.d.ts.map +1 -0
  68. package/dist/translations/tr-TR.es.js +153 -0
  69. package/package.json +121 -0
@@ -0,0 +1,151 @@
1
+ export interface EditorTranslations {
2
+ placeholder: string;
3
+ placeholderHeading: string;
4
+ placeholderQuote: string;
5
+ word: string;
6
+ words: string;
7
+ zoomIn: string;
8
+ zoomOut: string;
9
+ resetZoom: string;
10
+ fullscreen: string;
11
+ exitFullscreen: string;
12
+ lightTheme: string;
13
+ darkTheme: string;
14
+ toggleTheme: string;
15
+ paragraphStyle: string;
16
+ fontFamily: string;
17
+ editStyle: string;
18
+ styleName: string;
19
+ styleFontSize: string;
20
+ styleFontWeight: string;
21
+ styleFontFamily: string;
22
+ styleFontStyle: string;
23
+ styleTextTransform: string;
24
+ styleColor: string;
25
+ styleLetterSpacing: string;
26
+ styleLineHeight: string;
27
+ saveStyle: string;
28
+ resetStyle: string;
29
+ heading: string;
30
+ list: string;
31
+ undo: string;
32
+ redo: string;
33
+ bold: string;
34
+ italic: string;
35
+ underline: string;
36
+ strikethrough: string;
37
+ code: string;
38
+ inlineCode: string;
39
+ codeBlock: string;
40
+ highlight: string;
41
+ highlightPalette: string;
42
+ clearHighlight: string;
43
+ fontSize: string;
44
+ increaseFontSize: string;
45
+ decreaseFontSize: string;
46
+ resetFontSize: string;
47
+ superscript: string;
48
+ subscript: string;
49
+ link: string;
50
+ insertLink: string;
51
+ linkPlaceholder: string;
52
+ altText: string;
53
+ altTextPlaceholder: string;
54
+ clearAltText: string;
55
+ apply: string;
56
+ cancel: string;
57
+ image: string;
58
+ video: string;
59
+ upload: string;
60
+ uploadMedia: string;
61
+ table: string;
62
+ alignLeft: string;
63
+ alignCenter: string;
64
+ alignRight: string;
65
+ alignJustify: string;
66
+ imageUrlPrompt: string;
67
+ imageAlt: string;
68
+ imagePanHint: string;
69
+ imageFrameModeHint: string;
70
+ imageNaturalModeHint: string;
71
+ rotate: string;
72
+ crop: string;
73
+ turnInto: string;
74
+ text: string;
75
+ heading1: string;
76
+ heading2: string;
77
+ heading3: string;
78
+ heading4: string;
79
+ heading5: string;
80
+ bulletList: string;
81
+ numberedList: string;
82
+ quote: string;
83
+ color: string;
84
+ textColor: string;
85
+ background: string;
86
+ resetFormatting: string;
87
+ defaultText: string;
88
+ grayText: string;
89
+ brownText: string;
90
+ orangeText: string;
91
+ yellowText: string;
92
+ greenText: string;
93
+ blueText: string;
94
+ purpleText: string;
95
+ pinkText: string;
96
+ redText: string;
97
+ defaultBackground: string;
98
+ grayBackground: string;
99
+ brownBackground: string;
100
+ orangeBackground: string;
101
+ yellowBackground: string;
102
+ greenBackground: string;
103
+ blueBackground: string;
104
+ purpleBackground: string;
105
+ pinkBackground: string;
106
+ redBackground: string;
107
+ highlightYellow: string;
108
+ highlightAmber: string;
109
+ highlightOrange: string;
110
+ highlightRed: string;
111
+ highlightPink: string;
112
+ highlightPurple: string;
113
+ highlightBlue: string;
114
+ highlightCyan: string;
115
+ highlightTeal: string;
116
+ highlightGreen: string;
117
+ highlightLime: string;
118
+ highlightSlate: string;
119
+ addBlockBelow: string;
120
+ options: string;
121
+ download: string;
122
+ duplicateNode: string;
123
+ copyToClipboard: string;
124
+ copyAnchorLink: string;
125
+ delete: string;
126
+ createTable: string;
127
+ addColumnBefore: string;
128
+ addColumnAfter: string;
129
+ deleteColumn: string;
130
+ addRowBefore: string;
131
+ addRowAfter: string;
132
+ deleteRow: string;
133
+ deleteTable: string;
134
+ slashTextDesc: string;
135
+ slashHeading1Desc: string;
136
+ slashHeading2Desc: string;
137
+ slashHeading3Desc: string;
138
+ slashBulletListDesc: string;
139
+ slashNumberedListDesc: string;
140
+ slashTaskList: string;
141
+ slashTaskListDesc: string;
142
+ slashQuoteDesc: string;
143
+ slashCodeDesc: string;
144
+ slashImageDesc: string;
145
+ slashVideoDesc: string;
146
+ slashTableDesc: string;
147
+ slashDivider: string;
148
+ slashDividerDesc: string;
149
+ noResults: string;
150
+ }
151
+ //# sourceMappingURL=translations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/components/editor/translations.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IAE/B,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IAGpB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IAInB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,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AAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IAGf,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IAGpB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * useStyleStorage — localStorage-backed paragraph style overrides.
3
+ *
4
+ * Overrides are stored as a flat object keyed by style id:
5
+ * { "heading1": { label: "Büyük Başlık", fontSize: "28px" }, ... }
6
+ *
7
+ * The hook returns helpers to read, write and merge overrides with a base
8
+ * styles array. The component re-renders whenever overrides change.
9
+ */
10
+ import type { ParagraphStyle } from "./paragraphStyles";
11
+ type StyleOverrides = Record<string, Partial<ParagraphStyle>>;
12
+ export declare function useStyleStorage(baseStyles: ParagraphStyle[]): {
13
+ effectiveStyles: ParagraphStyle[];
14
+ overrides: StyleOverrides;
15
+ saveOverride: (id: string, partial: Partial<ParagraphStyle>) => void;
16
+ resetOverride: (id: string) => void;
17
+ };
18
+ export {};
19
+ //# sourceMappingURL=useStyleStorage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStyleStorage.d.ts","sourceRoot":"","sources":["../../../src/components/editor/useStyleStorage.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAIxD,KAAK,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAqB9D,wBAAgB,eAAe,CAAC,UAAU,EAAE,cAAc,EAAE;;;uBAGlB,MAAM,WAAW,QAAQ,cAAc,CAAC;wBAQvC,MAAM;EAgBhD"}
@@ -0,0 +1,5 @@
1
+ import { Editor } from '@tiptap/react';
2
+ export declare const handleMediaUpload: (file: File, type: 'image' | 'video', editor: Editor, onUpload?: ((file: File) => Promise<{
3
+ url: string;
4
+ }>) | undefined) => Promise<void>;
5
+ //# sourceMappingURL=upload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/utils/upload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,eAAO,MAAM,iBAAiB,SACpB,IAAI,QACJ,OAAO,GAAG,OAAO,UACf,MAAM,qBACI,IAAI,KAAK,QAAQ;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,+BAetD,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ export interface DropdownItem {
3
+ label: string;
4
+ value: string;
5
+ icon?: React.ReactNode;
6
+ shortcut?: string;
7
+ }
8
+ export interface DropdownProps {
9
+ trigger: React.ReactNode;
10
+ items: DropdownItem[];
11
+ value?: string;
12
+ onSelect: (value: string) => void;
13
+ align?: "start" | "center" | "end";
14
+ }
15
+ export declare const Dropdown: React.FC<DropdownProps>;
16
+ //# sourceMappingURL=Dropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,MAAM,WAAW,YAAY;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC7B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;CACnC;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAwD5C,CAAC"}
@@ -0,0 +1,28 @@
1
+ import * as React from "react";
2
+ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3
+ declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
4
+ declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
6
+ declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
7
+ declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
+ declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
+ declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
+ inset?: boolean | undefined;
11
+ } & React.RefAttributes<HTMLDivElement>>;
12
+ declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
15
+ inset?: boolean | undefined;
16
+ } & React.RefAttributes<HTMLDivElement>>;
17
+ declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
+ declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
+ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
20
+ inset?: boolean | undefined;
21
+ } & React.RefAttributes<HTMLDivElement>>;
22
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ declare const DropdownMenuShortcut: {
24
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
25
+ displayName: string;
26
+ };
27
+ export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
28
+ //# sourceMappingURL=DropdownMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAKvE,QAAA,MAAM,YAAY,mDAA6B,CAAC;AAEhD,QAAA,MAAM,mBAAmB,0HAAgC,CAAC;AAE1D,QAAA,MAAM,iBAAiB,qHAA8B,CAAC;AAEtD,QAAA,MAAM,kBAAkB,yDAA+B,CAAC;AAExD,QAAA,MAAM,eAAe,sDAA4B,CAAC;AAElD,QAAA,MAAM,sBAAsB,0HAAmC,CAAC;AAEhE,QAAA,MAAM,sBAAsB;;wCA4B1B,CAAC;AAIH,QAAA,MAAM,sBAAsB,6KAoB1B,CAAC;AAIH,QAAA,MAAM,mBAAmB,0KAuBvB,CAAC;AAGH,QAAA,MAAM,gBAAgB;;wCAuBpB,CAAC;AAGH,QAAA,MAAM,wBAAwB,+KAiC5B,CAAC;AAIH,QAAA,MAAM,qBAAqB,4KAgCzB,CAAC;AAGH,QAAA,MAAM,iBAAiB;;wCAmBrB,CAAC;AAGH,QAAA,MAAM,qBAAqB,4KAkBzB,CAAC;AAGH,QAAA,MAAM,oBAAoB;8BAGvB,MAAM,cAAc,CAAC,eAAe,CAAC;;CAYvC,CAAC;AAGF,OAAO,EACN,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,GACtB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ export interface PopoverProps {
3
+ trigger: React.ReactNode;
4
+ children: React.ReactNode;
5
+ align?: "start" | "center" | "end";
6
+ side?: "top" | "bottom" | "left" | "right";
7
+ open?: boolean;
8
+ onOpenChange?: (open: boolean) => void;
9
+ }
10
+ export declare const Popover: React.FC<PopoverProps>;
11
+ //# sourceMappingURL=Popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,YAAY;IAC5B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnC,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC3C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAkC1C,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ export interface TooltipProps {
3
+ children: React.ReactNode;
4
+ content?: React.ReactNode;
5
+ }
6
+ export declare const Tooltip: React.FC<TooltipProps>;
7
+ //# sourceMappingURL=Tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,YAAY;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgC1C,CAAC"}