@layers-app/shared 0.3.8 → 0.4.0

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 (200) hide show
  1. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +10 -10
  2. package/dist/components/AnimatedFigurePage/useParallax.d.ts +2 -2
  3. package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
  4. package/dist/components/AppContainer/components/AppSidebarButton.d.ts +1 -4
  5. package/dist/components/AppContainer/components/AppSidebarButton.d.ts.map +1 -1
  6. package/dist/components/AppContainer/components/AppSidebarButton.js +15 -22
  7. package/dist/components/AppContainer/components/AppsSidebar/AppsSection.d.ts.map +1 -1
  8. package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +21 -22
  9. package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
  10. package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +91 -48
  11. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
  12. package/dist/components/AppShell/AppShell.module.css.js +5 -5
  13. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts +1 -3
  14. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
  15. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +63 -89
  16. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts +1 -1
  17. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts.map +1 -1
  18. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.js +26 -35
  19. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
  20. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts +1 -1
  21. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts.map +1 -1
  22. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.js +36 -43
  23. package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +0 -4
  24. package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts.map +1 -1
  25. package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.js +20 -59
  26. package/dist/components/AttachmentsGalleryModal/styles.module.css.js +18 -28
  27. package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
  28. package/dist/components/AttachmentsPreview/AttachmentsPreview.js +18 -22
  29. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
  30. package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
  31. package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
  32. package/dist/components/ColorPicker/ColorPicker.d.ts +21 -19
  33. package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  34. package/dist/components/ColorPicker/ColorPicker.js +144 -136
  35. package/dist/components/ColorPicker/ColorPicker.module.css.js +31 -0
  36. package/dist/components/ColorPicker/ColorPickerList.d.ts +6 -0
  37. package/dist/components/ColorPicker/ColorPickerList.d.ts.map +1 -0
  38. package/dist/components/ColorPicker/ColorPickerList.js +134 -0
  39. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts +13 -0
  40. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -0
  41. package/dist/components/ColorPicker/ColorPickerToolbar.js +149 -0
  42. package/dist/components/ColorPicker/icons.d.ts +11 -0
  43. package/dist/components/ColorPicker/icons.d.ts.map +1 -0
  44. package/dist/components/ColorPicker/icons.js +71 -0
  45. package/dist/components/ColorPicker/types.d.ts +49 -0
  46. package/dist/components/ColorPicker/types.d.ts.map +1 -0
  47. package/dist/components/ColorPicker/types.js +10 -0
  48. package/dist/components/ColorPicker/useRecentColors.d.ts +13 -0
  49. package/dist/components/ColorPicker/useRecentColors.d.ts.map +1 -0
  50. package/dist/components/ColorPicker/useRecentColors.js +39 -0
  51. package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
  52. package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
  53. package/dist/components/CommentComposer/CommentEditorHotkeys.js +4 -3
  54. package/dist/components/CommentComposer/index.js +1 -1
  55. package/dist/components/CommentComposer/useVirtualAnchor.d.ts +1 -1
  56. package/dist/components/CommentComposer/useVirtualAnchor.d.ts.map +1 -1
  57. package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
  58. package/dist/components/Copyright/Copyright.module.css.js +1 -1
  59. package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
  60. package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
  61. package/dist/components/EmojiPicker/EmojiPanel.js +22 -22
  62. package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -0
  63. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  64. package/dist/components/EmojiPicker/EmojiPicker.js +1 -0
  65. package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
  66. package/dist/components/EmojiPicker/IconsPanel.js +13 -13
  67. package/dist/components/EntityIcon.d.ts.map +1 -1
  68. package/dist/components/EntityIcon.js +33 -43
  69. package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
  70. package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
  71. package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
  72. package/dist/components/FilePicker/FilePicker.d.ts +4 -2
  73. package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
  74. package/dist/components/FilePicker/FilePicker.js +241 -226
  75. package/dist/components/FilePicker/FilePicker.module.css.js +14 -12
  76. package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
  77. package/dist/components/FilePicker/FilePickerGallery.js +60 -34
  78. package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
  79. package/dist/components/FilePicker/FilePickerGiphy.js +38 -39
  80. package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
  81. package/dist/components/FilePicker/FilePickerLink.js +29 -26
  82. package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
  83. package/dist/components/FilePicker/FilePickerUnsplash.js +42 -43
  84. package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
  85. package/dist/components/FilePicker/FilePickerUpload.js +51 -35
  86. package/dist/components/FilePicker/coverCollections.d.ts +4 -0
  87. package/dist/components/FilePicker/coverCollections.d.ts.map +1 -0
  88. package/dist/components/FilePicker/coverCollections.js +164 -0
  89. package/dist/components/FilePicker/index.d.ts +1 -0
  90. package/dist/components/FilePicker/index.d.ts.map +1 -1
  91. package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
  92. package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
  93. package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
  94. package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
  95. package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
  96. package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
  97. package/dist/components/FormViewer/helpers/conditions.d.ts +38 -38
  98. package/dist/components/FormViewer/helpers/helpers.d.ts +38 -38
  99. package/dist/components/FormViewer/helpers/steps.d.ts +38 -38
  100. package/dist/components/FormViewer/hooks/useActiveControl.d.ts +19 -19
  101. package/dist/components/FormViewer/hooks/useActiveStep.d.ts +38 -38
  102. package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts +0 -6
  103. package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts.map +1 -1
  104. package/dist/components/FormViewer/hooks/useFormGlobalTheme.js +3 -4
  105. package/dist/components/FormViewer/hooks/useFormMobile.d.ts +1 -1
  106. package/dist/components/FormViewer/hooks/useFormMobile.d.ts.map +1 -1
  107. package/dist/components/FormViewer/store/formStore.d.ts +248 -248
  108. package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
  109. package/dist/components/FormViewer/store/formStoreApi.d.ts +124 -124
  110. package/dist/components/FormViewer/store/selectors.d.ts +11655 -11655
  111. package/dist/components/FormViewer/types/form.d.ts +1 -1
  112. package/dist/components/FormViewer/types/form.d.ts.map +1 -1
  113. package/dist/components/FormViewer/types/schemes.d.ts +6358 -381
  114. package/dist/components/FormViewer/types/schemes.d.ts.map +1 -1
  115. package/dist/components/FormViewer/types/schemes.js +1 -1
  116. package/dist/components/GroupAvatar/index.d.ts +1 -3
  117. package/dist/components/GroupAvatar/index.d.ts.map +1 -1
  118. package/dist/components/GroupAvatar/index.js +21 -24
  119. package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
  120. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
  121. package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
  122. package/dist/components/Loaders/styles.module.css.js +6 -6
  123. package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
  124. package/dist/components/MediaLibrary/MediaLibraryRow.js +7 -7
  125. package/dist/components/NavMenu/NavMenu.d.ts +1 -3
  126. package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
  127. package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
  128. package/dist/components/NavMenu/components/DnDProvider.d.ts +1 -1
  129. package/dist/components/NavMenu/components/DnDProvider.d.ts.map +1 -1
  130. package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts +1 -7
  131. package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts.map +1 -1
  132. package/dist/components/NavMenu/components/NavMenuActionIcon.js +23 -21
  133. package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
  134. package/dist/components/NewColorPicker/components/Target.d.ts +1 -3
  135. package/dist/components/NewColorPicker/components/Target.d.ts.map +1 -1
  136. package/dist/components/NewColorPicker/components/Target.js +43 -48
  137. package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
  138. package/dist/components/Notification/Notification.js +1 -3
  139. package/dist/components/Notification/Notification.module.css.js +1 -1
  140. package/dist/components/Notification/NotificationCard.d.ts +1 -3
  141. package/dist/components/Notification/NotificationCard.d.ts.map +1 -1
  142. package/dist/components/Notification/NotificationCard.js +86 -87
  143. package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +3 -3
  144. package/dist/components/OnBoarding/steps/styles.module.css.js +9 -9
  145. package/dist/components/OnBoarding/styles.module.css.js +7 -7
  146. package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts +1 -1
  147. package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts.map +1 -1
  148. package/dist/components/OnboardingTour/OnboardingTourWrapper.js +74 -70
  149. package/dist/components/ProjectIcon/ProjectIcon.d.ts +12 -7
  150. package/dist/components/ProjectIcon/ProjectIcon.d.ts.map +1 -1
  151. package/dist/components/ProjectIcon/ProjectIcon.js +60 -58
  152. package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
  153. package/dist/components/SettingsSection/styles.module.css.js +1 -1
  154. package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
  155. package/dist/components/TreeIndent/TreeIndent.module.css.js +4 -4
  156. package/dist/components/UserAvatar/index.d.ts +1 -2
  157. package/dist/components/UserAvatar/index.d.ts.map +1 -1
  158. package/dist/components/UserAvatar/index.js +35 -38
  159. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +3 -3
  160. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts.map +1 -1
  161. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +18 -19
  162. package/dist/components/WorkspaceMenu/WorkspaceItem.js +17 -17
  163. package/dist/components/WorkspaceMenu/WorkspaceMenu.js +7 -7
  164. package/dist/components/table/FrontTable.d.ts.map +1 -1
  165. package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
  166. package/dist/config/brand.js +8 -8
  167. package/dist/config/envConfig.d.ts +0 -8
  168. package/dist/config/envConfig.d.ts.map +1 -1
  169. package/dist/config/envConfig.js +13 -21
  170. package/dist/helpers/getFileIcons.d.ts.map +1 -1
  171. package/dist/helpers/getFileIcons.js +45 -63
  172. package/dist/helpers/getFileType.d.ts +1 -1
  173. package/dist/helpers/getFileType.d.ts.map +1 -1
  174. package/dist/helpers/getFileType.js +8 -29
  175. package/dist/helpers/getPartOfTheDay.d.ts +1 -1
  176. package/dist/helpers/platform.d.ts +1 -1
  177. package/dist/helpers/platform.d.ts.map +1 -1
  178. package/dist/helpers/platform.js +4 -5
  179. package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
  180. package/dist/helpers/showNotifications.d.ts.map +1 -1
  181. package/dist/helpers/showNotifications.js +29 -30
  182. package/dist/helpers/showNotifications.module.css.js +1 -1
  183. package/dist/hooks/useOutsideClick.d.ts +1 -1
  184. package/dist/hooks/useOutsideClick.d.ts.map +1 -1
  185. package/dist/index.css +1 -1
  186. package/dist/index.d.ts +6 -1
  187. package/dist/index.d.ts.map +1 -1
  188. package/dist/index.js +509 -498
  189. package/dist/lang/locales/ui_en.json.js +20 -18
  190. package/dist/lang/locales/ui_es.json.js +14 -12
  191. package/dist/lang/locales/ui_ru.json.js +15 -13
  192. package/dist/node_modules/countries-and-timezones/esm/index.js +4011 -281
  193. package/docs/README.md +499 -499
  194. package/package.json +75 -75
  195. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts +0 -6
  196. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts.map +0 -1
  197. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.js +0 -16
  198. package/dist/helpers/offlineSuppression.d.ts +0 -3
  199. package/dist/helpers/offlineSuppression.d.ts.map +0 -1
  200. package/dist/helpers/offlineSuppression.js +0 -8
@@ -0,0 +1,134 @@
1
+ import { jsxs as y, jsx as t } from "react/jsx-runtime";
2
+ import { Tick02Icon as C } from "@hugeicons/core-free-icons";
3
+ import { HugeiconsIcon as I } from "@hugeicons/react";
4
+ import { useMantineColorScheme as g, Box as k, useMantineTheme as x, getThemeColor as F, ColorSwatch as N } from "@mantine/core";
5
+ import { TextColorIcon as S } from "./icons.js";
6
+ import { isDefaultColor as b, normalizeColorItem as L } from "./types.js";
7
+ import { useRecentColors as T } from "./useRecentColors.js";
8
+ import i from "./ColorPicker.module.css.js";
9
+ function z({
10
+ type: e,
11
+ colorValue: l,
12
+ resolvedColor: a,
13
+ border: s,
14
+ bg: c
15
+ }) {
16
+ if (e === "text")
17
+ return /* @__PURE__ */ t(
18
+ S,
19
+ {
20
+ size: 16,
21
+ color: a,
22
+ showBorder: !0
23
+ }
24
+ );
25
+ const n = b(l);
26
+ return /* @__PURE__ */ t(
27
+ N,
28
+ {
29
+ color: n ? "var(--mantine-color-body)" : c || s || l,
30
+ size: 16,
31
+ radius: "xl",
32
+ className: i.listItemSwatch,
33
+ styles: {
34
+ root: {
35
+ border: `1.5px solid ${n ? "var(--mantine-color-default-border)" : s || a}`
36
+ },
37
+ alphaOverlay: { display: "none" },
38
+ shadowOverlay: { display: "none" }
39
+ }
40
+ }
41
+ );
42
+ }
43
+ function v({
44
+ section: e,
45
+ columns: l,
46
+ onChange: a,
47
+ isDark: s
48
+ }) {
49
+ const c = x(), n = l > 1;
50
+ return /* @__PURE__ */ y("div", { className: i.section, children: [
51
+ e.label && /* @__PURE__ */ t("div", { className: i.sectionLabel, children: e.label }),
52
+ /* @__PURE__ */ t(
53
+ "div",
54
+ {
55
+ className: n ? i.grid : void 0,
56
+ style: n ? { gridTemplateColumns: `repeat(${l}, minmax(0, 1fr))` } : void 0,
57
+ children: e.colors.map((p) => {
58
+ const { value: r, label: m, border: f, bg: d } = L(p), h = b(r), o = r === e.value, u = h ? s ? "#FFFFFF" : "#000000" : F(r, c);
59
+ return /* @__PURE__ */ y(
60
+ "button",
61
+ {
62
+ type: "button",
63
+ className: `${i.listItem} ${o ? i.listItemActive : ""}`,
64
+ onClick: () => a(r, e.key),
65
+ children: [
66
+ /* @__PURE__ */ t(
67
+ z,
68
+ {
69
+ type: e.type,
70
+ colorValue: r,
71
+ resolvedColor: u,
72
+ border: f,
73
+ bg: d
74
+ }
75
+ ),
76
+ /* @__PURE__ */ t("span", { className: i.listItemLabel, children: m }),
77
+ o && /* @__PURE__ */ t(
78
+ I,
79
+ {
80
+ size: 16,
81
+ icon: C,
82
+ color: "var(--mantine-primary-color-filled)"
83
+ }
84
+ )
85
+ ]
86
+ },
87
+ r
88
+ );
89
+ })
90
+ }
91
+ )
92
+ ] });
93
+ }
94
+ function R({
95
+ sections: e,
96
+ colors: l,
97
+ value: a,
98
+ onChange: s,
99
+ columns: c = 1,
100
+ withRecentColors: n
101
+ }) {
102
+ const { colorScheme: p } = g(), r = p === "dark", { recentColors: m, addRecent: f } = T(), d = (o, u) => {
103
+ n && f(o, u), s?.(o, u);
104
+ }, h = e || (l ? [{ key: "default", label: "", colors: l, value: a }] : []);
105
+ return /* @__PURE__ */ y(k, { children: [
106
+ n && m.length > 0 && /* @__PURE__ */ t(
107
+ v,
108
+ {
109
+ section: {
110
+ key: "__recent",
111
+ label: "Recently used",
112
+ colors: m.map((o) => o.value),
113
+ value: a
114
+ },
115
+ columns: 1,
116
+ onChange: d,
117
+ isDark: r
118
+ }
119
+ ),
120
+ h.map((o) => /* @__PURE__ */ t(
121
+ v,
122
+ {
123
+ section: o,
124
+ columns: c,
125
+ onChange: d,
126
+ isDark: r
127
+ },
128
+ o.key
129
+ ))
130
+ ] });
131
+ }
132
+ export {
133
+ R as ColorPickerList
134
+ };
@@ -0,0 +1,13 @@
1
+ import type { ColorPickerOnChange, ColorSection } from './types';
2
+ /** Toolbar dropdown with text colors (A icons) + highlights (circles) + recently used.
3
+ * Use inside Menu.Dropdown, Popover, or floating toolbar. */
4
+ export interface ColorPickerToolbarProps {
5
+ sections: ColorSection[];
6
+ onChange: ColorPickerOnChange;
7
+ withRecentColors?: boolean;
8
+ maxRecentColors?: number;
9
+ disabled?: boolean;
10
+ recentColorsLabel?: string;
11
+ }
12
+ export declare const ColorPickerToolbar: import("react").ForwardRefExoticComponent<ColorPickerToolbarProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ //# sourceMappingURL=ColorPickerToolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorPickerToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPickerToolbar.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAMjE;6DAC6D;AAC7D,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAsCD,eAAO,MAAM,kBAAkB,oHA2K7B,CAAC"}
@@ -0,0 +1,149 @@
1
+ import { jsxs as S, jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as z, useState as H, useCallback as w, useMemo as I } from "react";
3
+ import { useMantineColorScheme as j, Box as h, Flex as B, Tooltip as P, UnstyledButton as U } from "@mantine/core";
4
+ import { TextColorIcon as K, HighlightSwatch as D } from "./icons.js";
5
+ import { normalizeColorItem as $, isDefaultColor as q } from "./types.js";
6
+ import { useRecentColors as E } from "./useRecentColors.js";
7
+ import c from "./ColorPicker.module.css.js";
8
+ function k({
9
+ isActive: s,
10
+ round: m,
11
+ disabled: u,
12
+ onClick: d,
13
+ children: i,
14
+ tooltipLabel: f
15
+ }) {
16
+ const v = /* @__PURE__ */ r(
17
+ U,
18
+ {
19
+ type: "button",
20
+ className: `${c.inlineSwatch}${m ? ` ${c.inlineSwatchRound}` : ""}${s ? ` ${c.inlineSwatchActive}` : ""}`,
21
+ onMouseDown: (C) => C.preventDefault(),
22
+ onClick: d,
23
+ disabled: u,
24
+ children: i
25
+ }
26
+ );
27
+ return f ? /* @__PURE__ */ r(P, { label: f, withArrow: !0, children: v }) : v;
28
+ }
29
+ const Y = z(({ sections: s, onChange: m, withRecentColors: u, maxRecentColors: d = 9, disabled: i, recentColorsLabel: f = "Recently used" }, v) => {
30
+ const { colorScheme: C } = j(), x = C === "dark", { recentColors: M, addRecent: F } = E({ maxItems: d }), [L, T] = H(M), p = w(
31
+ (e, o, t) => {
32
+ u && (F(e, o, t), T((l) => {
33
+ const n = l.filter(
34
+ (a) => !(a.value === e && a.sectionKey === o)
35
+ );
36
+ return [{ value: e, sectionKey: o, border: t }, ...n].slice(0, d);
37
+ })), m(e, o);
38
+ },
39
+ [m, u, F]
40
+ ), g = I(() => {
41
+ const e = {};
42
+ for (const o of s) e[o.key] = o;
43
+ return e;
44
+ }, [s]), y = w(
45
+ (e, o) => {
46
+ if (!o) return;
47
+ const t = g[o];
48
+ if (!t) return;
49
+ const l = t.colors.find((b) => $(b).value === e);
50
+ if (!l) return;
51
+ const { label: n, value: a } = $(l);
52
+ return n || a;
53
+ },
54
+ [g]
55
+ ), N = w(
56
+ (e) => q(e) ? x ? "#FFFFFF" : "#000000" : e,
57
+ [x]
58
+ );
59
+ return /* @__PURE__ */ S(h, { ref: v, children: [
60
+ u && L.length > 0 && /* @__PURE__ */ S(h, { className: c.inlineSection, children: [
61
+ /* @__PURE__ */ r(h, { className: c.inlineSectionLabel, children: f }),
62
+ /* @__PURE__ */ r(B, { className: c.inlineRow, gap: 2, children: L.map((e, o) => {
63
+ const t = e.sectionKey ? g[e.sectionKey] : void 0, l = t?.key === "textColor" || t?.key === "color" || e.sectionKey === "color", n = y(e.value, e.sectionKey);
64
+ return l ? /* @__PURE__ */ r(
65
+ k,
66
+ {
67
+ isActive: !1,
68
+ disabled: i,
69
+ tooltipLabel: n,
70
+ onClick: () => p(e.value, e.sectionKey ?? ""),
71
+ children: /* @__PURE__ */ r(
72
+ K,
73
+ {
74
+ size: 20,
75
+ color: N(e.value),
76
+ showBorder: !0
77
+ }
78
+ )
79
+ },
80
+ `${e.sectionKey}-${e.value}-${o}`
81
+ ) : /* @__PURE__ */ r(
82
+ k,
83
+ {
84
+ isActive: !1,
85
+ round: !0,
86
+ disabled: i,
87
+ tooltipLabel: n,
88
+ onClick: () => p(e.value, e.sectionKey ?? ""),
89
+ children: /* @__PURE__ */ r(
90
+ D,
91
+ {
92
+ bgColor: e.value,
93
+ borderColor: e.border || "var(--mantine-color-default-border)"
94
+ }
95
+ )
96
+ },
97
+ `${e.sectionKey}-${e.value}-${o}`
98
+ );
99
+ }) })
100
+ ] }),
101
+ s.map((e) => {
102
+ const o = e.key === "highlight" || e.key === "background" || e.key === "textHighlight";
103
+ return /* @__PURE__ */ S(h, { className: c.inlineSection, children: [
104
+ e.label && /* @__PURE__ */ r(h, { className: c.inlineSectionLabel, children: e.label }),
105
+ /* @__PURE__ */ r(B, { className: c.inlineRow, gap: 2, children: e.colors.map((t) => {
106
+ const { value: l, border: n, label: a } = $(t), b = l === e.value, R = N(l), A = a || l;
107
+ return o ? /* @__PURE__ */ r(
108
+ k,
109
+ {
110
+ isActive: b,
111
+ round: !0,
112
+ disabled: i,
113
+ tooltipLabel: A,
114
+ onClick: () => p(l, e.key, n),
115
+ children: /* @__PURE__ */ r(
116
+ D,
117
+ {
118
+ bgColor: l,
119
+ borderColor: n || R
120
+ }
121
+ )
122
+ },
123
+ l
124
+ ) : /* @__PURE__ */ r(
125
+ k,
126
+ {
127
+ isActive: b,
128
+ disabled: i,
129
+ tooltipLabel: A,
130
+ onClick: () => p(l, e.key),
131
+ children: /* @__PURE__ */ r(
132
+ K,
133
+ {
134
+ size: 20,
135
+ color: R,
136
+ showBorder: !0
137
+ }
138
+ )
139
+ },
140
+ l
141
+ );
142
+ }) })
143
+ ] }, e.key);
144
+ })
145
+ ] });
146
+ });
147
+ export {
148
+ Y as ColorPickerToolbar
149
+ };
@@ -0,0 +1,11 @@
1
+ export declare function TextColorIcon({ size, color, showBorder, }: {
2
+ size?: number;
3
+ color?: string;
4
+ showBorder?: boolean;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ export declare function HighlightSwatch({ size, bgColor, borderColor, }: {
7
+ size?: number;
8
+ bgColor: string;
9
+ borderColor: string;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/icons.tsx"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,EAC5B,IAAS,EACT,KAAoC,EACpC,UAAU,GACX,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,2CAgCA;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAS,EACT,OAAO,EACP,WAAW,GACZ,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB,2CA4BA"}
@@ -0,0 +1,71 @@
1
+ import { jsx as n, jsxs as c } from "react/jsx-runtime";
2
+ function s({
3
+ size: t = 20,
4
+ color: r = "var(--mantine-color-white)",
5
+ showBorder: e
6
+ }) {
7
+ return /* @__PURE__ */ c(
8
+ "svg",
9
+ {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ width: t,
12
+ height: t,
13
+ viewBox: "0 0 20 20",
14
+ fill: "none",
15
+ children: [
16
+ e && /* @__PURE__ */ n(
17
+ "rect",
18
+ {
19
+ x: "0.5",
20
+ y: "0.5",
21
+ width: "19",
22
+ height: "19",
23
+ rx: "5.5",
24
+ stroke: "var(--mantine-color-default-border)",
25
+ strokeWidth: "1",
26
+ fill: "none"
27
+ }
28
+ ),
29
+ /* @__PURE__ */ n("g", { transform: "translate(4.54, 4.2) scale(0.95)", children: /* @__PURE__ */ n(
30
+ "path",
31
+ {
32
+ d: "M5.74945 0C6.57421 0 7.09678 0.678265 7.50336 1.43555C7.93323 2.23628 8.38332 3.42022 8.95843 4.92676L11.4623 11.4873C11.5716 11.7742 11.4279 12.0955 11.1411 12.2051C10.8541 12.3144 10.5329 12.1706 10.4233 11.8838L8.5766 7.04883H2.9223L1.07562 11.8838C0.965974 12.1707 0.644849 12.3146 0.357848 12.2051C0.0710441 12.0955 -0.0726477 11.7742 0.0365593 11.4873L2.54047 4.92676C3.11563 3.42012 3.56662 2.23629 3.99652 1.43555C4.40306 0.678393 4.92485 8.51363e-05 5.74945 0ZM5.74945 1.11328C5.62925 1.11335 5.38778 1.19685 4.97699 1.96191C4.5893 2.68404 4.16803 3.7852 3.5805 5.32422L3.34711 5.93555H8.15179L7.9184 5.32422C7.33089 3.78522 6.9096 2.68403 6.52191 1.96191C6.11099 1.19664 5.86959 1.11328 5.74945 1.11328Z",
33
+ fill: r === "inherit" || r === "currentColor" ? "var(--mantine-color-white)" : r
34
+ }
35
+ ) })
36
+ ]
37
+ }
38
+ );
39
+ }
40
+ function d({
41
+ size: t = 24,
42
+ bgColor: r,
43
+ borderColor: e
44
+ }) {
45
+ const o = r === "inherit" || r === "" || r === "default", i = t / 2 - 2, l = o ? "var(--mantine-color-body)" : r, h = o ? "var(--mantine-color-default-border)" : e;
46
+ return /* @__PURE__ */ n(
47
+ "svg",
48
+ {
49
+ xmlns: "http://www.w3.org/2000/svg",
50
+ width: t,
51
+ height: t,
52
+ viewBox: `0 0 ${t} ${t}`,
53
+ fill: "none",
54
+ children: /* @__PURE__ */ n(
55
+ "circle",
56
+ {
57
+ cx: t / 2,
58
+ cy: t / 2,
59
+ r: i,
60
+ fill: l,
61
+ stroke: h,
62
+ strokeWidth: "1"
63
+ }
64
+ )
65
+ }
66
+ );
67
+ }
68
+ export {
69
+ d as HighlightSwatch,
70
+ s as TextColorIcon
71
+ };
@@ -0,0 +1,49 @@
1
+ import type { FlexProps } from '@mantine/core';
2
+ export type ColorItem = string | {
3
+ value: string;
4
+ label?: string;
5
+ border?: string;
6
+ bg?: string;
7
+ };
8
+ export interface ColorSection {
9
+ key: string;
10
+ label: string;
11
+ colors: ColorItem[];
12
+ value?: string;
13
+ type?: 'text' | 'highlight';
14
+ }
15
+ export interface RecentColorEntry {
16
+ value: string;
17
+ sectionKey?: string;
18
+ border?: string;
19
+ }
20
+ export type ColorPickerOnChange = (value: string, sectionKey?: string) => void;
21
+ export interface ColorPickerBaseProps {
22
+ colors?: ColorItem[];
23
+ sections?: ColorSection[];
24
+ value?: string;
25
+ onChange?: ColorPickerOnChange;
26
+ withRecentColors?: boolean;
27
+ maxRecentColors?: number;
28
+ swatchSize?: number;
29
+ withTick?: boolean;
30
+ }
31
+ export interface ColorPickerInlineProps extends ColorPickerBaseProps, Omit<FlexProps, 'onChange'> {
32
+ swatchShape?: 'circle' | 'square';
33
+ fullWidth?: boolean;
34
+ allowCustomColor?: boolean;
35
+ }
36
+ export interface ColorPickerListProps extends ColorPickerBaseProps {
37
+ columns?: number;
38
+ }
39
+ export interface ColorPickerCompactProps extends Omit<ColorPickerBaseProps, 'sections' | 'withRecentColors'>, Omit<FlexProps, 'onChange'> {
40
+ swatchShape?: 'circle' | 'square';
41
+ }
42
+ export declare function normalizeColorItem(item: ColorItem): {
43
+ value: string;
44
+ label: string;
45
+ border?: string;
46
+ bg?: string;
47
+ };
48
+ export declare function isDefaultColor(value: string): boolean;
49
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjG,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;CAC7B;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,mBAAmB,GAAG,CAChC,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,MAAM,KAChB,IAAI,CAAC;AAEV,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,sBACf,SAAQ,oBAAoB,EAC1B,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC7B,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,uBACf,SAAQ,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,kBAAkB,CAAC,EACjE,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC7B,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CACnC;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,SAAS,GAAG;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAKA;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAErD"}
@@ -0,0 +1,10 @@
1
+ function n(r) {
2
+ return typeof r == "string" ? { value: r, label: r } : { label: r.value, ...r };
3
+ }
4
+ function l(r) {
5
+ return r === "inherit" || r === "" || r === "default";
6
+ }
7
+ export {
8
+ l as isDefaultColor,
9
+ n as normalizeColorItem
10
+ };
@@ -0,0 +1,13 @@
1
+ import type { RecentColorEntry } from './types';
2
+ interface UseRecentColorsOptions {
3
+ storageKey?: string;
4
+ maxItems?: number;
5
+ }
6
+ export declare function useRecentColors(options?: UseRecentColorsOptions): {
7
+ recentColors: RecentColorEntry[];
8
+ addRecent: (value: string, sectionKey?: string, border?: string) => void;
9
+ clearRecent: () => void;
10
+ reload: () => void;
11
+ };
12
+ export {};
13
+ //# sourceMappingURL=useRecentColors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRecentColors.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/useRecentColors.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAKhD,UAAU,sBAAsB;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAmBD,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE,sBAAsB;;uBAYpD,MAAM,eAAe,MAAM,WAAW,MAAM;;;EAsBvD"}
@@ -0,0 +1,39 @@
1
+ import { useState as I, useCallback as c } from "react";
2
+ const d = "color-picker-recent", p = 11;
3
+ function n(e) {
4
+ try {
5
+ const t = localStorage.getItem(e);
6
+ return t ? JSON.parse(t) : [];
7
+ } catch {
8
+ return [];
9
+ }
10
+ }
11
+ function E(e, t, o) {
12
+ try {
13
+ localStorage.setItem(e, JSON.stringify(t.slice(0, o)));
14
+ } catch {
15
+ }
16
+ }
17
+ function v(e) {
18
+ const t = e?.storageKey ?? d, o = e?.maxItems ?? p, [i, r] = I(() => n(t)), S = c(() => {
19
+ r(n(t));
20
+ }, [t]), g = c(
21
+ (s, a, f) => {
22
+ const y = n(t).filter(
23
+ (m) => !(m.value === s && m.sectionKey === a)
24
+ ), l = [{ value: s, sectionKey: a, border: f }, ...y].slice(0, o);
25
+ E(t, l, o), r(l);
26
+ },
27
+ [t, o]
28
+ ), u = c(() => {
29
+ try {
30
+ localStorage.removeItem(t);
31
+ } catch {
32
+ }
33
+ r([]);
34
+ }, [t]);
35
+ return { recentColors: i, addRecent: g, clearRecent: u, reload: S };
36
+ }
37
+ export {
38
+ v as useRecentColors
39
+ };
@@ -1,15 +1,15 @@
1
- const o = "_commentComposerWrapper_1mv8w_1", e = "_commentComposerFloat_1mv8w_68", r = "_composerContainer_1mv8w_97", t = "_editorWrapper_1mv8w_113", m = "_editMode_1mv8w_181", p = {
1
+ const o = "_commentComposerWrapper_f5dl7_1", e = "_commentComposerFloat_f5dl7_135", r = "_composerContainer_f5dl7_193", t = "_editorWrapper_f5dl7_225", p = "_editMode_f5dl7_361", m = {
2
2
  commentComposerWrapper: o,
3
3
  commentComposerFloat: e,
4
4
  composerContainer: r,
5
5
  editorWrapper: t,
6
- editMode: m
6
+ editMode: p
7
7
  };
8
8
  export {
9
9
  e as commentComposerFloat,
10
10
  o as commentComposerWrapper,
11
11
  r as composerContainer,
12
- p as default,
13
- m as editMode,
12
+ m as default,
13
+ p as editMode,
14
14
  t as editorWrapper
15
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CommentEditorHotkeys.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/CommentEditorHotkeys.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAI/C,eAAO,MAAM,oBAAoB,GAAI,8GAWlC;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACvC,iBAAiB,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC/C,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,EAAE,CAAC;KACjD,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;CACZ,4CAuJA,CAAC"}
1
+ {"version":3,"file":"CommentEditorHotkeys.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/CommentEditorHotkeys.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAI/C,eAAO,MAAM,oBAAoB,GAAI,8GAWlC;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACvC,iBAAiB,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC/C,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,EAAE,CAAC;KACjD,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;CACZ,4CAwJA,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as S } from "react/jsx-runtime";
2
- import { useRef as D, useEffect as m } from "react";
3
- import { useTranslation as T } from "react-i18next";
2
+ import { useRef as x, useEffect as m } from "react";
3
+ import { useTranslation as D } from "react-i18next";
4
4
  import { openRemoveConfirmModal as g } from "../modals/RemoveConfirmModal.js";
5
5
  import w from "./CommentComposer.module.css.js";
6
6
  const W = ({
@@ -15,7 +15,7 @@ const W = ({
15
15
  hasChanges: s,
16
16
  ns: P
17
17
  }) => {
18
- const p = D(null), L = i || f, { t: r } = T(P);
18
+ const p = x(null), L = i || f, { t: r } = D(P);
19
19
  return m(() => {
20
20
  const o = (e) => {
21
21
  if (e.code === "Enter" && !e.shiftKey) {
@@ -85,6 +85,7 @@ const W = ({
85
85
  cancel: r("editor.composer.cancel")
86
86
  },
87
87
  icon: null,
88
+ zIndex: 301,
88
89
  onConfirm: () => c?.()
89
90
  });
90
91
  return;
@@ -296,7 +296,7 @@ const Ne = ({
296
296
  offset: 10,
297
297
  withinPortal: !1,
298
298
  floatingStrategy: "fixed",
299
- zIndex: 100,
299
+ zIndex: 300,
300
300
  middlewares: {
301
301
  flip: { padding: 8 },
302
302
  shift: { padding: 8 },
@@ -10,6 +10,6 @@ interface UseVirtualAnchorProps {
10
10
  elements: HTMLSpanElement[];
11
11
  };
12
12
  }
13
- export declare function useVirtualAnchor({ isFloat, updateLocation, selectionRef, selectionState, }: UseVirtualAnchorProps): import("react").RefObject<HTMLDivElement | null>;
13
+ export declare function useVirtualAnchor({ isFloat, updateLocation, selectionRef, selectionState, }: UseVirtualAnchorProps): import("react").MutableRefObject<HTMLDivElement | null>;
14
14
  export {};
15
15
  //# sourceMappingURL=useVirtualAnchor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useVirtualAnchor.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/useVirtualAnchor.ts"],"names":[],"mappings":"AAEA,UAAU,qBAAqB;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CACf,OAAO,EAAE,cAAc,EACvB,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,EACzC,cAAc,EAAE;QACd,SAAS,EAAE,cAAc,CAAC;QAC1B,QAAQ,EAAE,eAAe,EAAE,CAAC;KAC7B,KACE,IAAI,CAAC;IACV,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC1C,cAAc,EAAE;QACd,SAAS,EAAE,cAAc,CAAC;QAC1B,QAAQ,EAAE,eAAe,EAAE,CAAC;KAC7B,CAAC;CACH;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,cAAc,EACd,YAAY,EACZ,cAAc,GACf,EAAE,qBAAqB,oDAsHvB"}
1
+ {"version":3,"file":"useVirtualAnchor.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/useVirtualAnchor.ts"],"names":[],"mappings":"AAEA,UAAU,qBAAqB;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CACf,OAAO,EAAE,cAAc,EACvB,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,EACzC,cAAc,EAAE;QACd,SAAS,EAAE,cAAc,CAAC;QAC1B,QAAQ,EAAE,eAAe,EAAE,CAAC;KAC7B,KACE,IAAI,CAAC;IACV,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC1C,cAAc,EAAE;QACd,SAAS,EAAE,cAAc,CAAC;QAC1B,QAAQ,EAAE,eAAe,EAAE,CAAC;KAC7B,CAAC;CACH;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,cAAc,EACd,YAAY,EACZ,cAAc,GACf,EAAE,qBAAqB,2DAsHvB"}
@@ -1,4 +1,4 @@
1
- const s = "_section_s7rqu_1", t = {
1
+ const s = "_section_6nzxb_1", t = {
2
2
  section: s
3
3
  };
4
4
  export {
@@ -1,4 +1,4 @@
1
- const r = "_brandingWrapper_vvk0o_1", a = {
1
+ const r = "_brandingWrapper_ag0no_1", a = {
2
2
  brandingWrapper: r
3
3
  };
4
4
  export {
@@ -1,4 +1,4 @@
1
- const o = "_root_195do_1", t = {
1
+ const o = "_root_122b9_1", t = {
2
2
  root: o
3
3
  };
4
4
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiPanel.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPanel.tsx"],"names":[],"mappings":"AAyCA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAsBjD,eAAO,MAAM,UAAU,GAAI,6DAMxB,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,CAAC,GAAG;IAC5E,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,4CAmTA,CAAC"}
1
+ {"version":3,"file":"EmojiPanel.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPanel.tsx"],"names":[],"mappings":"AAyCA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAsBjD,eAAO,MAAM,UAAU,GAAI,6DAMxB,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,CAAC,GAAG;IAC5E,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,4CAiTA,CAAC"}