@layers-app/shared 0.3.0 → 0.3.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 (180) hide show
  1. package/dist/assets/default-workspace-avatar.jpg.js +4 -0
  2. package/dist/assets/layers-logo-full.svg.js +2 -3
  3. package/dist/assets/layers-logo-full.svg2.js +3 -2
  4. package/dist/assets/layers-logo-icon.svg.js +2 -3
  5. package/dist/assets/layers-logo-icon.svg2.js +3 -2
  6. package/dist/assets/projects/figureA.svg.js +4 -0
  7. package/dist/assets/projects/figureB.svg.js +4 -0
  8. package/dist/assets/qwebchannel.d.ts +15 -0
  9. package/dist/assets/qwebchannel.d.ts.map +1 -0
  10. package/dist/assets/taskPriorities/high.svg.js +5 -0
  11. package/dist/assets/taskPriorities/low.svg.js +5 -0
  12. package/dist/assets/taskPriorities/none.svg.js +5 -0
  13. package/dist/assets/taskPriorities/normal.svg.js +5 -0
  14. package/dist/assets/taskPriorities/urgent.svg.js +5 -0
  15. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.d.ts +3 -0
  16. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.d.ts.map +1 -0
  17. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.js +69 -0
  18. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +27 -0
  19. package/dist/components/AnimatedFigurePage/types.d.ts +15 -0
  20. package/dist/components/AnimatedFigurePage/types.d.ts.map +1 -0
  21. package/dist/components/AnimatedFigurePage/useParallax.d.ts +6 -0
  22. package/dist/components/AnimatedFigurePage/useParallax.d.ts.map +1 -0
  23. package/dist/components/AnimatedFigurePage/useParallax.js +29 -0
  24. package/dist/components/AppContainer/AppContainer.d.ts +1 -1
  25. package/dist/components/AppContainer/AppContainer.d.ts.map +1 -1
  26. package/dist/components/AppContainer/AppContainer.js +37 -36
  27. package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
  28. package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
  29. package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +80 -45
  30. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
  31. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +60 -69
  32. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
  33. package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
  34. package/dist/components/AppContainer/hooks/useAppContainer.d.ts.map +1 -1
  35. package/dist/components/AppContainer/hooks/useAppContainer.js +57 -51
  36. package/dist/components/AppContainer/hooks/useAppContainerDataStore.d.ts.map +1 -1
  37. package/dist/components/AppContainer/hooks/useAppContainerDataStore.js +3 -1
  38. package/dist/components/AppContainer/types.d.ts +3 -0
  39. package/dist/components/AppContainer/types.d.ts.map +1 -1
  40. package/dist/components/AppShell/AppShell.module.css.js +5 -5
  41. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
  42. package/dist/components/AttachmentsGalleryModal/styles.module.css.js +14 -14
  43. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
  44. package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
  45. package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
  46. package/dist/components/ColorPicker/ColorPickerPopover.d.ts +6 -6
  47. package/dist/components/ColorPicker/ColorPickerPopover.d.ts.map +1 -1
  48. package/dist/components/ColorPicker/ColorPickerPopover.js +29 -31
  49. package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
  50. package/dist/components/CommentComposer/index.d.ts.map +1 -1
  51. package/dist/components/CommentComposer/index.js +115 -111
  52. package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
  53. package/dist/components/Copyright/Copyright.module.css.js +1 -1
  54. package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
  55. package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
  56. package/dist/components/EmojiPicker/EmojiPanel.js +12 -10
  57. package/dist/components/EmojiPicker/EmojiPicker.d.ts +3 -1
  58. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  59. package/dist/components/EmojiPicker/EmojiPicker.js +49 -46
  60. package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
  61. package/dist/components/EmojiPicker/IconsPanel.d.ts +2 -1
  62. package/dist/components/EmojiPicker/IconsPanel.d.ts.map +1 -1
  63. package/dist/components/EmojiPicker/IconsPanel.js +47 -45
  64. package/dist/components/EmojiPicker/custom-icons/customIcons.d.ts.map +1 -1
  65. package/dist/components/EmojiPicker/custom-icons/customIcons.js +66 -31
  66. package/dist/components/EntityIcon.d.ts +3 -3
  67. package/dist/components/EntityIcon.d.ts.map +1 -1
  68. package/dist/components/EntityIcon.js +59 -35
  69. package/dist/components/EntityTitle/EntityTitle.d.ts +1 -1
  70. package/dist/components/EntityTitle/EntityTitle.d.ts.map +1 -1
  71. package/dist/components/EntityTitle/EntityTitle.js +34 -34
  72. package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
  73. package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
  74. package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
  75. package/dist/components/FilePicker/FilePicker.d.ts +4 -2
  76. package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
  77. package/dist/components/FilePicker/FilePicker.js +241 -238
  78. package/dist/components/FilePicker/FilePicker.module.css.js +14 -12
  79. package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
  80. package/dist/components/FilePicker/FilePickerGallery.js +60 -34
  81. package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
  82. package/dist/components/FilePicker/FilePickerGiphy.js +35 -36
  83. package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
  84. package/dist/components/FilePicker/FilePickerLink.js +26 -23
  85. package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
  86. package/dist/components/FilePicker/FilePickerUnsplash.js +42 -43
  87. package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
  88. package/dist/components/FilePicker/FilePickerUpload.js +60 -42
  89. package/dist/components/FilePicker/coverCollections.d.ts +4 -0
  90. package/dist/components/FilePicker/coverCollections.d.ts.map +1 -0
  91. package/dist/components/FilePicker/coverCollections.js +164 -0
  92. package/dist/components/FilePicker/index.d.ts +1 -0
  93. package/dist/components/FilePicker/index.d.ts.map +1 -1
  94. package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
  95. package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
  96. package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
  97. package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
  98. package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
  99. package/dist/components/FormViewer/components/fields/UploadField/UploadField.d.ts.map +1 -1
  100. package/dist/components/FormViewer/components/fields/UploadField/UploadField.js +34 -33
  101. package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
  102. package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts +3 -3
  103. package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
  104. package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
  105. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
  106. package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
  107. package/dist/components/Loaders/styles.module.css.js +6 -6
  108. package/dist/components/Logotype.d.ts +2 -1
  109. package/dist/components/Logotype.d.ts.map +1 -1
  110. package/dist/components/Logotype.js +58 -49
  111. package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
  112. package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
  113. package/dist/components/NavMenu/components/NavMenuItem.d.ts.map +1 -1
  114. package/dist/components/NavMenu/components/NavMenuItem.js +122 -107
  115. package/dist/components/NavMenu/types.d.ts +1 -0
  116. package/dist/components/NavMenu/types.d.ts.map +1 -1
  117. package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
  118. package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
  119. package/dist/components/Notification/Notification.module.css.js +1 -1
  120. package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +3 -3
  121. package/dist/components/OnBoarding/steps/styles.module.css.js +9 -9
  122. package/dist/components/OnBoarding/styles.module.css.js +7 -7
  123. package/dist/components/ProjectIcon/ProjectIcon.js +13 -13
  124. package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
  125. package/dist/components/SettingsSection/styles.module.css.js +1 -1
  126. package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
  127. package/dist/components/TreeIndent/TreeIndent.d.ts +9 -0
  128. package/dist/components/TreeIndent/TreeIndent.d.ts.map +1 -0
  129. package/dist/components/TreeIndent/TreeIndent.js +15 -0
  130. package/dist/components/TreeIndent/TreeIndent.module.css.js +11 -0
  131. package/dist/components/TreeIndent/index.d.ts +2 -0
  132. package/dist/components/TreeIndent/index.d.ts.map +1 -0
  133. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +11 -11
  134. package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts.map +1 -1
  135. package/dist/components/WorkspaceMenu/WorkspaceMenu.js +97 -101
  136. package/dist/components/modals/RemoveConfirmModal.d.ts.map +1 -1
  137. package/dist/components/table/FrontTable.d.ts.map +1 -1
  138. package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
  139. package/dist/config/brand.d.ts +1 -0
  140. package/dist/config/brand.d.ts.map +1 -1
  141. package/dist/config/brand.js +42 -34
  142. package/dist/config/envConfig.d.ts +40 -0
  143. package/dist/config/envConfig.d.ts.map +1 -1
  144. package/dist/config/envConfig.js +29 -10
  145. package/dist/constants.d.ts.map +1 -1
  146. package/dist/constants.js +15 -4
  147. package/dist/helpers/getFileIcons.d.ts.map +1 -1
  148. package/dist/helpers/getFileIcons.js +34 -29
  149. package/dist/helpers/getFileType.d.ts +1 -1
  150. package/dist/helpers/getFileType.d.ts.map +1 -1
  151. package/dist/helpers/getFileType.js +3 -3
  152. package/dist/helpers/hotjar.d.ts.map +1 -1
  153. package/dist/helpers/hotjar.js +11 -7
  154. package/dist/helpers/platform.js +4 -4
  155. package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
  156. package/dist/helpers/showNotifications.d.ts +3 -0
  157. package/dist/helpers/showNotifications.d.ts.map +1 -1
  158. package/dist/helpers/showNotifications.js +79 -44
  159. package/dist/helpers/showNotifications.module.css.js +1 -1
  160. package/dist/hooks/useDateFnsLocale.d.ts +2 -0
  161. package/dist/hooks/useDateFnsLocale.d.ts.map +1 -1
  162. package/dist/hooks/useDateFnsLocale.js +9 -8
  163. package/dist/hooks/useDateUtils.d.ts.map +1 -1
  164. package/dist/hooks/useDateUtils.js +19 -19
  165. package/dist/hooks/useFormatDistance.d.ts.map +1 -1
  166. package/dist/hooks/useFormatDistance.js +6 -6
  167. package/dist/hooks/useNumberQueryParam.d.ts +1 -1
  168. package/dist/hooks/useNumberQueryParam.d.ts.map +1 -1
  169. package/dist/index.css +1 -1
  170. package/dist/index.d.ts +3 -0
  171. package/dist/index.d.ts.map +1 -1
  172. package/dist/index.js +504 -492
  173. package/dist/lang/locales/ui_en.json.js +15 -15
  174. package/dist/lang/locales/ui_es.json.js +11 -11
  175. package/dist/lang/locales/ui_ru.json.js +16 -16
  176. package/dist/utils/formatStorage.d.ts +9 -0
  177. package/dist/utils/formatStorage.d.ts.map +1 -1
  178. package/dist/utils/formatStorage.js +14 -10
  179. package/docs/README.md +499 -499
  180. package/package.json +75 -75
@@ -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,4CAiTA,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,4CAmTA,CAAC"}
@@ -3,7 +3,7 @@ import { useState as u, useRef as d, useEffect as R, useCallback as K } from "re
3
3
  import { useTranslation as L } from "react-i18next";
4
4
  import { Search01Icon as U, ShuffleIcon as V, Clock01Icon as W, SmileIcon as X, Pizza01Icon as Z, FootballIcon as _, Airplane01Icon as ee, BulbIcon as te, Asterisk02Icon as oe, Flag02Icon as re } from "@hugeicons/core-free-icons";
5
5
  import { HugeiconsIcon as c } from "@hugeicons/react";
6
- import { Stack as v, FocusTrap as ne, Flex as x, TextInput as ie, Tooltip as ce, ActionIcon as A, Paper as F, Text as q, SimpleGrid as N } from "@mantine/core";
6
+ import { Stack as v, FocusTrap as ne, Flex as z, TextInput as ie, Tooltip as ce, ActionIcon as A, Paper as F, Text as q, SimpleGrid as N } from "@mantine/core";
7
7
  import { useEvent as se } from "draggable-ui";
8
8
  import ae from "fuse.js";
9
9
  import le from "../../assets/svg/dog.svg.js";
@@ -33,7 +33,7 @@ const he = [
33
33
  setRandomIcon: P,
34
34
  querySearch: p
35
35
  }) => {
36
- const [b, k] = u("frequent"), I = d("frequent"), h = d({}), z = d(null), [w, S] = u(""), [Q, O] = u([]), [a, B] = u(null), [E, j] = u([]), { t: G } = L(), g = d(!1), l = d(null);
36
+ const [b, k] = u("frequent"), x = d("frequent"), h = d({}), I = d(null), [w, S] = u(""), [Q, O] = u([]), [a, B] = u(null), [E, j] = u([]), { t: G } = L(), g = d(!1), l = d(null);
37
37
  R(() => {
38
38
  if (typeof p == "string") {
39
39
  const e = p.slice(1);
@@ -88,20 +88,20 @@ const he = [
88
88
  })
89
89
  ), M());
90
90
  }), Y = (e) => {
91
- const o = z.current, r = h.current[e.i];
91
+ const o = I.current, r = h.current[e.i];
92
92
  if (!o || !r) return;
93
93
  g.current = !0, l.current = e.i, k(e.i);
94
94
  const s = r.offsetTop - o.offsetTop;
95
95
  o.scrollTo({ top: s, behavior: "smooth" });
96
96
  }, $ = () => {
97
- const e = z.current;
97
+ const e = I.current;
98
98
  if (!e) return;
99
99
  const o = e.scrollTop;
100
100
  if (g.current && l.current) {
101
101
  const f = h.current[l.current];
102
102
  if (f) {
103
103
  const i = f.offsetTop - e.offsetTop;
104
- Math.abs(i - o) < 12 && (g.current = !1, I.current = l.current, k(l.current), l.current = null);
104
+ Math.abs(i - o) < 12 && (g.current = !1, x.current = l.current, k(l.current), l.current = null);
105
105
  }
106
106
  if (g.current) return;
107
107
  }
@@ -111,11 +111,11 @@ const he = [
111
111
  const n = Math.abs(i.offsetTop - e.offsetTop - o);
112
112
  n < s && (s = n, r = f);
113
113
  }
114
- }), r !== I.current && (I.current = r, k(r));
114
+ }), r !== x.current && (x.current = r, k(r));
115
115
  }, J = typeof p == "string";
116
116
  return /* @__PURE__ */ y(v, { gap: 0, h: "100%", children: [
117
117
  /* @__PURE__ */ t(ne, { active: !0, children: /* @__PURE__ */ y(
118
- x,
118
+ z,
119
119
  {
120
120
  my: "sm",
121
121
  justify: "space-between",
@@ -173,13 +173,14 @@ const he = [
173
173
  style: {
174
174
  overflowY: "auto"
175
175
  },
176
- ref: z,
176
+ ref: I,
177
177
  onScroll: $,
178
178
  children: w ? /* @__PURE__ */ y(v, { flex: 1, align: "stretch", children: [
179
179
  !J && /* @__PURE__ */ t(
180
180
  F,
181
181
  {
182
182
  py: 6,
183
+ px: 6,
183
184
  pos: "sticky",
184
185
  top: -1,
185
186
  style: { zIndex: 1 },
@@ -196,7 +197,7 @@ const he = [
196
197
  children: e
197
198
  },
198
199
  e
199
- )) }) : /* @__PURE__ */ t(x, { flex: 1, justify: "center", align: "stretch", children: /* @__PURE__ */ t(
200
+ )) }) : /* @__PURE__ */ t(z, { flex: 1, justify: "center", align: "stretch", children: /* @__PURE__ */ t(
200
201
  ue,
201
202
  {
202
203
  size: 100,
@@ -218,6 +219,7 @@ const he = [
218
219
  {
219
220
  bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-6))",
220
221
  py: 2,
222
+ px: 6,
221
223
  pos: "sticky",
222
224
  top: -1,
223
225
  h: 23,
@@ -242,7 +244,7 @@ const he = [
242
244
  }
243
245
  ) }),
244
246
  /* @__PURE__ */ t(
245
- x,
247
+ z,
246
248
  {
247
249
  style: {
248
250
  borderTop: "1px solid var(--tab-border-color)"
@@ -20,6 +20,8 @@ export type EmojiPickerProps = {
20
20
  triggerRegex?: RegExp;
21
21
  /** Monotonically increasing counter updated by the parent on each keypress; used to detect real-time typing. */
22
22
  typingSeq?: number;
23
+ /** If true, clicking the random icon button will not close the popover. Default: false */
24
+ keepOpenOnRandom?: boolean;
23
25
  };
24
26
  export type EmojiPickerLocales = {
25
27
  emojis?: string;
@@ -31,5 +33,5 @@ export type EmojiPickerLocales = {
31
33
  icons?: string;
32
34
  emojiCategory?: Record<string, string>;
33
35
  };
34
- export declare const EmojiPicker: ({ project, value, querySearch, children, onChange, position, popoverProps, showIcons, showColors, defaultActiveTab, showEmojis, withinPortal, locales: _locales, openWhen, triggerRegex, typingSeq, showRemoveButton, }: PropsWithChildren<EmojiPickerProps>) => import("react/jsx-runtime").JSX.Element;
36
+ export declare const EmojiPicker: ({ project, value, querySearch, children, onChange, position, popoverProps, showIcons, showColors, defaultActiveTab, showEmojis, withinPortal, locales: _locales, openWhen, triggerRegex, typingSeq, showRemoveButton, keepOpenOnRandom, }: PropsWithChildren<EmojiPickerProps>) => import("react/jsx-runtime").JSX.Element;
35
37
  //# sourceMappingURL=EmojiPicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiPicker.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAGxE,OAAO,EAIL,gBAAgB,EAEhB,YAAY,EAEb,MAAM,eAAe,CAAC;AAQvB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,kIAAkI;IAClI,QAAQ,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAChC,2GAA2G;IAC3G,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gHAAgH;IAChH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,yNAkBzB,iBAAiB,CAAC,gBAAgB,CAAC,4CA8MrC,CAAC"}
1
+ {"version":3,"file":"EmojiPicker.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAGxE,OAAO,EAIL,gBAAgB,EAEhB,YAAY,EAEb,MAAM,eAAe,CAAC;AAQvB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,kIAAkI;IAClI,QAAQ,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAChC,2GAA2G;IAC3G,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gHAAgH;IAChH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0FAA0F;IAC1F,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,2OAmBzB,iBAAiB,CAAC,gBAAgB,CAAC,4CAgNrC,CAAC"}
@@ -1,31 +1,32 @@
1
1
  import { jsxs as j, jsx as o } from "react/jsx-runtime";
2
- import { useState as d, useMemo as Q, useEffect as v } from "react";
3
- import { useTranslation as $ } from "react-i18next";
4
- import { Popover as k, Center as A, Tabs as s, Flex as T, Button as E } from "@mantine/core";
5
- import { IconEntity as G } from "../ProjectIcon/ProjectIcon.js";
6
- import { EmojiPanel as J } from "./EmojiPanel.js";
7
- import { IconsPanel as K } from "./IconsPanel.js";
2
+ import { useState as d, useMemo as $, useEffect as v } from "react";
3
+ import { useTranslation as A } from "react-i18next";
4
+ import { Popover as k, Center as E, Tabs as t, Flex as T, Button as G } from "@mantine/core";
5
+ import { IconEntity as J } from "../ProjectIcon/ProjectIcon.js";
6
+ import { EmojiPanel as K } from "./EmojiPanel.js";
7
+ import { IconsPanel as U } from "./IconsPanel.js";
8
8
  import f from "./EmojiPicker.module.css.js";
9
- const _ = ({
9
+ const ee = ({
10
10
  project: C,
11
11
  value: i,
12
- querySearch: a,
12
+ querySearch: l,
13
13
  children: N,
14
14
  onChange: p,
15
15
  position: R = "bottom-start",
16
- popoverProps: b,
16
+ popoverProps: P,
17
17
  showIcons: u,
18
18
  showColors: D,
19
19
  defaultActiveTab: I = null,
20
- showEmojis: t = !0,
20
+ showEmojis: s = !0,
21
21
  withinPortal: w = !1,
22
22
  locales: h,
23
23
  openWhen: g = "click",
24
- triggerRegex: P = /(^|\s):([^\s:]{1,})$/,
24
+ triggerRegex: b = /(^|\s):([^\s:]{1,})$/,
25
25
  typingSeq: c,
26
- showRemoveButton: L = !0
26
+ showRemoveButton: L = !0,
27
+ keepOpenOnRandom: M = !1
27
28
  }) => {
28
- const { t: e } = $("ui"), [n, r] = d(!1), [M, y] = d(I), [O, z] = d(i || null), [x, B] = d(null), l = Q(() => ({
29
+ const { t: e } = A("ui"), [n, r] = d(!1), [O, y] = d(I), [z, B] = d(i || null), [x, F] = d(null), a = $(() => ({
29
30
  emojis: e("emojis"),
30
31
  remove: e("remove"),
31
32
  search: e("search"),
@@ -43,27 +44,28 @@ const _ = ({
43
44
  objects: e("emojiPicker.categories.objects"),
44
45
  symbols: e("emojiPicker.categories.symbols"),
45
46
  flags: e("emojiPicker.categories.flags"),
47
+ additional: e("emojiPicker.categories.additional"),
46
48
  ...h?.emojiCategory
47
49
  },
48
50
  ...h
49
51
  }), [e, h]);
50
52
  v(() => {
51
- const m = u && G.parse(i)?.icon ? "icons" : t ? "emojis" : null;
53
+ const m = u && J.parse(i)?.icon ? "icons" : s ? "emojis" : null;
52
54
  !n && m && y(m);
53
- }, [n, t, u, i]), v(() => {
55
+ }, [n, s, u, i]), v(() => {
54
56
  if (g !== "realtime" || typeof c != "number" || x === c) return;
55
- B(c);
56
- const m = a ?? "", H = !!t && P.test(m);
57
- r(H);
57
+ F(c);
58
+ const m = l ?? "", Q = !!s && b.test(m);
59
+ r(Q);
58
60
  }, [
59
61
  g,
60
62
  c,
61
63
  x,
62
- a,
63
- P,
64
- t
64
+ l,
65
+ b,
66
+ s
65
67
  ]);
66
- const F = typeof a == "string";
68
+ const H = typeof l == "string";
67
69
  return /* @__PURE__ */ j(
68
70
  k,
69
71
  {
@@ -93,19 +95,19 @@ const _ = ({
93
95
  ]
94
96
  }
95
97
  },
96
- ...b || {},
98
+ ...P || {},
97
99
  children: [
98
100
  /* @__PURE__ */ o(k.Target, { children: /* @__PURE__ */ o(
99
- A,
101
+ E,
100
102
  {
101
- onClick: g === "click" && !b?.disabled ? () => r(!n) : void 0,
102
- children: N ?? O
103
+ onClick: g === "click" && !P?.disabled ? () => r(!n) : void 0,
104
+ children: N ?? z
103
105
  }
104
106
  ) }),
105
107
  /* @__PURE__ */ o(k.Dropdown, { w: "380px", children: /* @__PURE__ */ j(
106
- s,
108
+ t,
107
109
  {
108
- value: M,
110
+ value: O,
109
111
  onChange: y,
110
112
  keepMounted: !1,
111
113
  h: "100%",
@@ -123,8 +125,8 @@ const _ = ({
123
125
  }
124
126
  },
125
127
  children: [
126
- !F && /* @__PURE__ */ j(
127
- s.List,
128
+ !H && /* @__PURE__ */ j(
129
+ t.List,
128
130
  {
129
131
  style: {
130
132
  gap: "4px"
@@ -132,28 +134,28 @@ const _ = ({
132
134
  h: 54,
133
135
  px: 8,
134
136
  children: [
135
- t && /* @__PURE__ */ o(
136
- s.Tab,
137
+ s && /* @__PURE__ */ o(
138
+ t.Tab,
137
139
  {
138
140
  className: f.originalTab,
139
141
  h: "100%",
140
142
  p: 0,
141
143
  value: "emojis",
142
- children: /* @__PURE__ */ o(T, { className: f.customTab, px: "sm", h: 36, children: l.emojis })
144
+ children: /* @__PURE__ */ o(T, { className: f.customTab, px: "sm", h: 36, children: a.emojis })
143
145
  }
144
146
  ),
145
147
  u && /* @__PURE__ */ o(
146
- s.Tab,
148
+ t.Tab,
147
149
  {
148
150
  className: f.originalTab,
149
151
  h: "100%",
150
152
  p: 0,
151
153
  value: "icons",
152
- children: /* @__PURE__ */ o(T, { className: f.customTab, px: "sm", h: 36, children: l.icons })
154
+ children: /* @__PURE__ */ o(T, { className: f.customTab, px: "sm", h: 36, children: a.icons })
153
155
  }
154
156
  ),
155
157
  !!String(i) && L && /* @__PURE__ */ o(
156
- E,
158
+ G,
157
159
  {
158
160
  variant: "subtle",
159
161
  fz: "sm",
@@ -164,38 +166,39 @@ const _ = ({
164
166
  color: "var(--mantine-color-gray-light-color)",
165
167
  onClick: () => p?.(""),
166
168
  style: { marginLeft: "auto" },
167
- children: l.remove
169
+ children: a.remove
168
170
  }
169
171
  )
170
172
  ]
171
173
  }
172
174
  ),
173
- /* @__PURE__ */ o(s.Panel, { mah: 470, style: { overflow: "auto" }, value: "emojis", children: /* @__PURE__ */ o(
174
- J,
175
+ /* @__PURE__ */ o(t.Panel, { mah: 470, style: { overflow: "auto" }, value: "emojis", children: /* @__PURE__ */ o(
176
+ K,
175
177
  {
176
178
  onChange: p,
177
179
  value: i,
178
- querySearch: a,
179
- locales: l,
180
- setRandomIcon: z,
180
+ querySearch: l,
181
+ locales: a,
182
+ setRandomIcon: B,
181
183
  onClose: () => r(!1)
182
184
  }
183
185
  ) }),
184
186
  /* @__PURE__ */ o(
185
- s.Panel,
187
+ t.Panel,
186
188
  {
187
189
  mah: 470,
188
190
  h: "100%",
189
191
  style: { overflow: "auto" },
190
192
  value: "icons",
191
193
  children: /* @__PURE__ */ o(
192
- K,
194
+ U,
193
195
  {
194
196
  project: C,
195
197
  onChange: p,
196
198
  value: i,
197
- locales: l,
199
+ locales: a,
198
200
  showColors: D,
201
+ keepOpenOnRandom: M,
199
202
  onClose: () => r(!1)
200
203
  }
201
204
  )
@@ -209,5 +212,5 @@ const _ = ({
209
212
  );
210
213
  };
211
214
  export {
212
- _ as EmojiPicker
215
+ ee as EmojiPicker
213
216
  };
@@ -1,13 +1,13 @@
1
- const o = "_item_o1hlf_1", a = "_randomIcon_o1hlf_26", n = "_originalTab_o1hlf_30", t = "_customTab_o1hlf_36", _ = {
1
+ const o = "_item_s1gb0_1", s = "_randomIcon_s1gb0_51", a = "_originalTab_s1gb0_59", n = "_customTab_s1gb0_71", t = {
2
2
  item: o,
3
- randomIcon: a,
4
- originalTab: n,
5
- customTab: t
3
+ randomIcon: s,
4
+ originalTab: a,
5
+ customTab: n
6
6
  };
7
7
  export {
8
- t as customTab,
9
- _ as default,
8
+ n as customTab,
9
+ t as default,
10
10
  o as item,
11
- n as originalTab,
12
- a as randomIcon
11
+ a as originalTab,
12
+ s as randomIcon
13
13
  };
@@ -1,5 +1,6 @@
1
1
  import { EmojiPickerProps } from './EmojiPicker';
2
- export declare const IconsPanel: import("react").MemoExoticComponent<({ showColors, locales, onChange, value, onClose, project, }: Pick<EmojiPickerProps, "locales" | "showColors" | "value" | "onChange" | "project"> & {
2
+ export declare const IconsPanel: import("react").MemoExoticComponent<({ showColors, locales, onChange, value, onClose, project, keepOpenOnRandom, }: Pick<EmojiPickerProps, "locales" | "showColors" | "value" | "onChange" | "project"> & {
3
3
  onClose: () => void;
4
+ keepOpenOnRandom?: boolean;
4
5
  }) => import("react/jsx-runtime").JSX.Element>;
5
6
  //# sourceMappingURL=IconsPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/IconsPanel.tsx"],"names":[],"mappings":"AAoCA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AA0BjD,eAAO,MAAM,UAAU,oGAQlB,IAAI,CACL,gBAAgB,EAChB,SAAS,GAAG,YAAY,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAC5D,GAAG;IACF,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,6CAuSF,CAAC"}
1
+ {"version":3,"file":"IconsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/IconsPanel.tsx"],"names":[],"mappings":"AAoCA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AA0BjD,eAAO,MAAM,UAAU,sHASlB,IAAI,CACL,gBAAgB,EAChB,SAAS,GAAG,YAAY,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAC5D,GAAG;IACF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,6CAwSF,CAAC"}
@@ -1,42 +1,43 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { memo as B, useState as x, useEffect as M, useCallback as U, useMemo as V } from "react";
3
- import { useTranslation as j } from "react-i18next";
4
- import { Search01Icon as G, ShuffleIcon as Q } from "@hugeicons/core-free-icons";
2
+ import { memo as M, useState as x, useEffect as U, useCallback as V, useMemo as j } from "react";
3
+ import { useTranslation as G } from "react-i18next";
4
+ import { Search01Icon as Q, ShuffleIcon as Y } from "@hugeicons/core-free-icons";
5
5
  import { HugeiconsIcon as L } from "@hugeicons/react";
6
- import { useMantineTheme as Y, parseThemeColor as _, darken as J, Stack as y, Text as b, Flex as z, FocusTrap as K, TextInput as W, Tooltip as X, ActionIcon as Z, Box as ee, Paper as E, SimpleGrid as N } from "@mantine/core";
7
- import { useEvent as oe } from "draggable-ui";
8
- import { groupBy as te } from "lodash-es";
9
- import { DEFAULT_VALUES as re } from "../../constants.js";
10
- import { ColorPicker as ie } from "../ColorPicker/ColorPicker.js";
11
- import { NoData as ne } from "../NoData/NoData.js";
6
+ import { useMantineTheme as _, parseThemeColor as J, darken as K, Stack as y, Text as b, Flex as z, FocusTrap as W, TextInput as X, Tooltip as Z, ActionIcon as ee, Box as oe, Paper as E, SimpleGrid as N } from "@mantine/core";
7
+ import { useEvent as te } from "draggable-ui";
8
+ import { groupBy as re } from "lodash-es";
9
+ import { DEFAULT_VALUES as ie } from "../../constants.js";
10
+ import { ColorPicker as ne } from "../ColorPicker/ColorPicker.js";
11
+ import { NoData as ce } from "../NoData/NoData.js";
12
12
  import { IconEntity as I, IconType as A } from "../ProjectIcon/ProjectIcon.js";
13
13
  import { customIcons as D } from "./custom-icons/customIcons.js";
14
- import { getIconsList as F, getRandomIcon as ce } from "./utils.js";
14
+ import { getIconsList as F, getRandomIcon as ae } from "./utils.js";
15
15
  import h from "./EmojiPicker.module.css.js";
16
- async function ae(c, a, l = 500) {
16
+ async function le(c, a, l = 500) {
17
17
  const u = [], p = c.length;
18
18
  for (let r = 0; r < p; r += l) {
19
- const f = c.slice(r, r + l).filter(a);
20
- u.push(...f), await new Promise((w) => setTimeout(w, 0));
19
+ const w = c.slice(r, r + l).filter(a);
20
+ u.push(...w), await new Promise((f) => setTimeout(f, 0));
21
21
  }
22
22
  return u;
23
23
  }
24
- const be = B(
24
+ const Ce = M(
25
25
  ({
26
26
  showColors: c,
27
27
  locales: a,
28
28
  onChange: l,
29
29
  value: u,
30
30
  onClose: p,
31
- project: r
31
+ project: r,
32
+ keepOpenOnRandom: C = !1
32
33
  }) => {
33
- const C = Y(), [f, w] = x(""), { t: k } = j("ui"), [R, P] = x(
34
+ const w = _(), [f, R] = x(""), { t: k } = G("ui"), [P, $] = x(
34
35
  []
35
36
  );
36
- M(() => {
37
+ U(() => {
37
38
  (async () => {
38
- const t = await F(r), s = te(t, "c");
39
- P(
39
+ const t = await F(r), s = re(t, "c");
40
+ $(
40
41
  Object.entries(s).map((v) => ({
41
42
  id: v[0],
42
43
  icons: v[1].map((d) => d.n)
@@ -44,19 +45,19 @@ const be = B(
44
45
  );
45
46
  })();
46
47
  }, [r]);
47
- const [T, S] = x([]), $ = U(
48
+ const [T, S] = x([]), H = V(
48
49
  async (o) => {
49
50
  const t = o.currentTarget.value;
50
- w(t);
51
- const s = await F(r), v = await ae(
51
+ R(t);
52
+ const s = await F(r), v = await le(
52
53
  s,
53
- (d) => d.t.split(",").some((q) => t.includes(String(q))) || d.n.includes(t),
54
+ (d) => d.t.split(",").some((B) => t.includes(String(B))) || d.n.includes(t),
54
55
  500
55
56
  );
56
57
  S(v.map((d) => d.n));
57
58
  },
58
59
  [r]
59
- ), i = I.parse(u), g = oe((o) => {
60
+ ), i = I.parse(u), g = te((o) => {
60
61
  const t = o.currentTarget.getAttribute("data-icon");
61
62
  t && (l?.(
62
63
  I.stringify({
@@ -65,24 +66,24 @@ const be = B(
65
66
  type: i?.type || A.FILLED
66
67
  })
67
68
  ), c || p());
68
- }), n = _({
69
- color: i?.color || re.COLORS[0],
70
- theme: C
71
- }), H = V(() => n.isThemeColor ? {
69
+ }), n = J({
70
+ color: i?.color || ie.COLORS[0],
71
+ theme: w
72
+ }), O = j(() => n.isThemeColor ? {
72
73
  "--icon-color": `var(--mantine-color-${n.color}-filled)`,
73
74
  "--icon-color-hover": `var(--mantine-color-${n.color}-filled-hover)`
74
75
  } : {
75
76
  "--icon-color": n.value,
76
- "--icon-color-hover": J(n.value, 0.2)
77
- }, [n]), O = async () => {
78
- const o = await ce(r);
79
- S([]), l?.(I.stringify({ icon: o, color: i?.color })), c || p();
77
+ "--icon-color-hover": K(n.value, 0.2)
78
+ }, [n]), q = async () => {
79
+ const o = await ae(r);
80
+ S([]), l?.(I.stringify({ icon: o, color: i?.color })), !c && !C && p();
80
81
  };
81
82
  return /* @__PURE__ */ m(y, { w: "100%", gap: "sm", pt: 12, pb: 8, h: "100%", children: [
82
83
  c && /* @__PURE__ */ m(y, { gap: 4, px: 8, w: "100%", children: [
83
84
  /* @__PURE__ */ e(b, { lh: "140%", fw: 500, c: "dimmed", fz: "xs", children: a?.chooseColor || k("chooseColor") }),
84
85
  /* @__PURE__ */ e(
85
- ie,
86
+ ne,
86
87
  {
87
88
  swatchSize: 24,
88
89
  gap: 4,
@@ -111,10 +112,10 @@ const be = B(
111
112
  )
112
113
  ] }),
113
114
  /* @__PURE__ */ m(z, { w: "100%", justify: "space-between", gap: 4, px: 8, h: 38, children: [
114
- /* @__PURE__ */ e(K, { active: !0, children: /* @__PURE__ */ e(
115
- W,
115
+ /* @__PURE__ */ e(W, { active: !0, children: /* @__PURE__ */ e(
116
+ X,
116
117
  {
117
- leftSection: /* @__PURE__ */ e(L, { size: 16, icon: G }),
118
+ leftSection: /* @__PURE__ */ e(L, { size: 16, icon: Q }),
118
119
  value: f,
119
120
  placeholder: `${a?.search}...`,
120
121
  "data-autofocus": !0,
@@ -125,31 +126,31 @@ const be = B(
125
126
  }
126
127
  },
127
128
  w: 320,
128
- onChange: $,
129
+ onChange: H,
129
130
  radius: "var(--mantine-radius-default)"
130
131
  }
131
132
  ) }),
132
- /* @__PURE__ */ e(X, { withArrow: !0, label: k("random"), children: /* @__PURE__ */ e(
133
- Z,
133
+ /* @__PURE__ */ e(Z, { withArrow: !0, label: k("random"), children: /* @__PURE__ */ e(
134
+ ee,
134
135
  {
135
136
  h: 36,
136
137
  w: 36,
137
138
  variant: "outline",
138
139
  color: "var(--mantine-color-default-border)",
139
- onClick: O,
140
+ onClick: q,
140
141
  className: h.randomIcon,
141
142
  children: /* @__PURE__ */ e(
142
143
  L,
143
144
  {
144
145
  color: "var(--mantine-color-default-color)",
145
146
  size: 20,
146
- icon: Q
147
+ icon: Y
147
148
  }
148
149
  )
149
150
  }
150
151
  ) })
151
152
  ] }),
152
- /* @__PURE__ */ e(ee, { h: "100%", pl: 8, style: H, children: /* @__PURE__ */ e(
153
+ /* @__PURE__ */ e(oe, { h: "100%", pl: 8, pt: 4, style: O, children: /* @__PURE__ */ e(
153
154
  y,
154
155
  {
155
156
  mah: "210px",
@@ -199,7 +200,7 @@ const be = B(
199
200
  o
200
201
  );
201
202
  }) }) : /* @__PURE__ */ e(z, { flex: 1, justify: "center", align: "stretch", children: /* @__PURE__ */ e(
202
- ne,
203
+ ce,
203
204
  {
204
205
  size: 100,
205
206
  description: a?.searchNoResults,
@@ -208,11 +209,12 @@ const be = B(
208
209
  }
209
210
  }
210
211
  ) })
211
- ] }) : R.map((o) => /* @__PURE__ */ m("div", { children: [
212
+ ] }) : P.map((o) => /* @__PURE__ */ m("div", { children: [
212
213
  /* @__PURE__ */ e(
213
214
  E,
214
215
  {
215
216
  bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-6))",
217
+ px: 4,
216
218
  py: 6,
217
219
  pos: "sticky",
218
220
  top: -1,
@@ -263,5 +265,5 @@ const be = B(
263
265
  }
264
266
  );
265
267
  export {
266
- be as IconsPanel
268
+ Ce as IconsPanel
267
269
  };
@@ -1 +1 @@
1
- {"version":3,"file":"customIcons.d.ts","sourceRoot":"","sources":["../../../../src/components/EmojiPicker/custom-icons/customIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAgBhD,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,EA+E3C,CAAC;AAEF,eAAO,MAAM,WAAW;;CAEvB,CAAC"}
1
+ {"version":3,"file":"customIcons.d.ts","sourceRoot":"","sources":["../../../../src/components/EmojiPicker/custom-icons/customIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAqBhD,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,EA6G3C,CAAC;AAEF,eAAO,MAAM,WAAW;;CAEvB,CAAC"}