@layers-app/shared 0.2.7 → 0.2.8

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 (165) hide show
  1. package/dist/assets/svg/socials/instagram.svg.js +3 -3
  2. package/dist/components/AliasTextInput/AliasTextInput.d.ts.map +1 -1
  3. package/dist/components/AliasTextInput/AliasTextInput.js +21 -20
  4. package/dist/components/AppContainer/AppContainer.js +3 -3
  5. package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
  6. package/dist/components/AppContainer/components/AppsSidebar/AppsSection.d.ts.map +1 -1
  7. package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +39 -31
  8. package/dist/components/AppContainer/components/AppsSidebar/TopSection.d.ts.map +1 -1
  9. package/dist/components/AppContainer/components/AppsSidebar/TopSection.js +42 -34
  10. package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
  11. package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +53 -44
  12. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
  13. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +150 -50
  14. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
  15. package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
  16. package/dist/components/AppContainer/hooks/useAppContainer.d.ts.map +1 -1
  17. package/dist/components/AppContainer/hooks/useAppContainer.js +23 -23
  18. package/dist/components/AppContainer/hooks/useAppContainerDataStore.js +1 -1
  19. package/dist/components/AppContainer/types.d.ts +1 -1
  20. package/dist/components/AppContainer/types.d.ts.map +1 -1
  21. package/dist/components/AppShell/AppShell.module.css.js +5 -5
  22. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
  23. package/dist/components/AttachmentsGalleryModal/styles.module.css.js +14 -14
  24. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
  25. package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
  26. package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
  27. package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
  28. package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
  29. package/dist/components/Copyright/Copyright.module.css.js +1 -1
  30. package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
  31. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  32. package/dist/components/EmojiPicker/EmojiPicker.js +28 -29
  33. package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
  34. package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
  35. package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
  36. package/dist/components/FeatureProgress/FeatureProgress.d.ts +11 -0
  37. package/dist/components/FeatureProgress/FeatureProgress.d.ts.map +1 -0
  38. package/dist/components/FeatureProgress/FeatureProgress.js +148 -0
  39. package/dist/components/FeatureProgress/FeatureProgress.module.css.js +81 -0
  40. package/dist/components/FeatureProgress/FeatureProgressCelebrationIcon.d.ts +2 -0
  41. package/dist/components/FeatureProgress/FeatureProgressCelebrationIcon.d.ts.map +1 -0
  42. package/dist/components/FeatureProgress/FeatureProgressCelebrationIcon.js +88 -0
  43. package/dist/components/FeatureProgress/FeatureProgressCompleteModal.d.ts +9 -0
  44. package/dist/components/FeatureProgress/FeatureProgressCompleteModal.d.ts.map +1 -0
  45. package/dist/components/FeatureProgress/FeatureProgressCompleteModal.js +35 -0
  46. package/dist/components/FeatureProgress/constants.d.ts +4 -0
  47. package/dist/components/FeatureProgress/constants.d.ts.map +1 -0
  48. package/dist/components/FeatureProgress/constants.js +4 -0
  49. package/dist/components/FeatureProgress/index.d.ts +3 -0
  50. package/dist/components/FeatureProgress/index.d.ts.map +1 -0
  51. package/dist/components/FilePicker/FilePicker.d.ts +4 -2
  52. package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
  53. package/dist/components/FilePicker/FilePicker.js +247 -229
  54. package/dist/components/FilePicker/FilePicker.module.css.js +12 -10
  55. package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
  56. package/dist/components/FilePicker/FilePickerGallery.js +59 -33
  57. package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
  58. package/dist/components/FilePicker/FilePickerGiphy.js +38 -38
  59. package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
  60. package/dist/components/FilePicker/FilePickerLink.js +18 -15
  61. package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
  62. package/dist/components/FilePicker/FilePickerUnsplash.js +39 -39
  63. package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
  64. package/dist/components/FilePicker/FilePickerUpload.js +51 -35
  65. package/dist/components/FilePicker/api/giphyApi.js +10 -10
  66. package/dist/components/FilePicker/coverCollections.d.ts +4 -0
  67. package/dist/components/FilePicker/coverCollections.d.ts.map +1 -0
  68. package/dist/components/FilePicker/coverCollections.js +164 -0
  69. package/dist/components/FilePicker/index.d.ts +1 -0
  70. package/dist/components/FilePicker/index.d.ts.map +1 -1
  71. package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
  72. package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
  73. package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
  74. package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
  75. package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.js +42 -42
  76. package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
  77. package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
  78. package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
  79. package/dist/components/ImageCropper/ImageCropper.d.ts.map +1 -1
  80. package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
  81. package/dist/components/ImageCropper/index.d.ts +1 -1
  82. package/dist/components/ImageCropper/index.d.ts.map +1 -1
  83. package/dist/components/ImageCropper/useCropInteraction.d.ts.map +1 -1
  84. package/dist/components/ImageCropper/useCropInteraction.js +13 -2
  85. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.d.ts.map +1 -1
  86. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +7 -7
  87. package/dist/components/IntegrationFlowAnimation/icons/GoogleDriveIcon.d.ts +1 -1
  88. package/dist/components/IntegrationFlowAnimation/icons/GoogleDriveIcon.d.ts.map +1 -1
  89. package/dist/components/IntegrationFlowAnimation/icons/GoogleDriveIcon.js +3 -1
  90. package/dist/components/IntegrationFlowAnimation/icons/LayersCubeIcon.d.ts +1 -1
  91. package/dist/components/IntegrationFlowAnimation/icons/LayersCubeIcon.d.ts.map +1 -1
  92. package/dist/components/IntegrationFlowAnimation/icons/LayersCubeIcon.js +3 -1
  93. package/dist/components/LanguagePicker/LanguagePicker.d.ts.map +1 -1
  94. package/dist/components/LanguagePicker/LanguagePicker.js +27 -26
  95. package/dist/components/LanguagePicker/LanguagePicker.module.css.js +2 -2
  96. package/dist/components/Loaders/styles.module.css.js +6 -6
  97. package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
  98. package/dist/components/MediaLibrary/MediaLibraryRow.d.ts.map +1 -1
  99. package/dist/components/MediaLibrary/MediaLibraryRow.js +16 -4
  100. package/dist/components/NavMenu/NavMenu.d.ts +2 -1
  101. package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
  102. package/dist/components/NavMenu/NavMenu.module.css.js +16 -16
  103. package/dist/components/NavMenu/components/NavMenuItem.d.ts +2 -1
  104. package/dist/components/NavMenu/components/NavMenuItem.d.ts.map +1 -1
  105. package/dist/components/NavMenu/components/NavMenuItem.js +119 -100
  106. package/dist/components/NavMenu/types.d.ts.map +1 -1
  107. package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
  108. package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
  109. package/dist/components/Notification/Notification.module.css.js +1 -1
  110. package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +3 -3
  111. package/dist/components/OnBoarding/steps/styles.module.css.js +9 -9
  112. package/dist/components/OnBoarding/styles.module.css.js +7 -7
  113. package/dist/components/OnboardingTour/OnboardingTourFooter.d.ts +17 -0
  114. package/dist/components/OnboardingTour/OnboardingTourFooter.d.ts.map +1 -0
  115. package/dist/components/OnboardingTour/OnboardingTourFooter.js +40 -0
  116. package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts +13 -0
  117. package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts.map +1 -0
  118. package/dist/components/OnboardingTour/OnboardingTourWrapper.js +164 -0
  119. package/dist/components/OnboardingTour/index.d.ts +4 -0
  120. package/dist/components/OnboardingTour/index.d.ts.map +1 -0
  121. package/dist/components/OnboardingTour/useOnboardingTour.d.ts +14 -0
  122. package/dist/components/OnboardingTour/useOnboardingTour.d.ts.map +1 -0
  123. package/dist/components/OnboardingTour/useOnboardingTour.js +50 -0
  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/TimezonePicker/index.d.ts.map +1 -1
  128. package/dist/components/WorkspaceMenu/WorkspaceItem.d.ts.map +1 -1
  129. package/dist/components/WorkspaceMenu/WorkspaceItem.js +21 -21
  130. package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts.map +1 -1
  131. package/dist/components/WorkspaceMenu/WorkspaceMenu.js +74 -74
  132. package/dist/components/table/FrontTable.d.ts.map +1 -1
  133. package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
  134. package/dist/helpers/getFileIcons.js +1 -1
  135. package/dist/helpers/getFileType.d.ts +1 -1
  136. package/dist/helpers/getFileType.d.ts.map +1 -1
  137. package/dist/helpers/platform.d.ts +14 -0
  138. package/dist/helpers/platform.d.ts.map +1 -0
  139. package/dist/helpers/platform.js +33 -0
  140. package/dist/helpers/showFeatureFeedback.d.ts +1 -1
  141. package/dist/helpers/showFeatureFeedback.d.ts.map +1 -1
  142. package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
  143. package/dist/helpers/showNotifications.module.css.js +1 -1
  144. package/dist/hooks/useFeatureFeedback.d.ts.map +1 -1
  145. package/dist/hooks/useFeatureFeedback.js +1 -4
  146. package/dist/hooks/usePlatform.d.ts +3 -0
  147. package/dist/hooks/usePlatform.d.ts.map +1 -0
  148. package/dist/hooks/usePlatform.js +10 -0
  149. package/dist/index.css +1 -1
  150. package/dist/index.d.ts +5 -0
  151. package/dist/index.d.ts.map +1 -1
  152. package/dist/index.js +364 -337
  153. package/dist/lang/locales/ui_en.json.js +15 -15
  154. package/dist/lang/locales/ui_es.json.js +13 -13
  155. package/dist/lang/locales/ui_ru.json.js +12 -12
  156. package/dist/lib/contentImport/lexicalSerializer.js +59 -47
  157. package/dist/lib/contentImport/utils.d.ts.map +1 -1
  158. package/dist/lib/layersVisitData.d.ts.map +1 -1
  159. package/dist/store/featureProgress.d.ts +39 -0
  160. package/dist/store/featureProgress.d.ts.map +1 -0
  161. package/dist/store/featureProgress.js +68 -0
  162. package/dist/store/plansModal.d.ts.map +1 -1
  163. package/dist/store/plansModal.js +8 -6
  164. package/docs/README.md +499 -499
  165. package/package.json +78 -74
@@ -1,8 +1,8 @@
1
- const n = "_particle_1t002_52", t = "_iconContainer_1t002_63", o = "_iconInner_1t002_75", a = "_particleContainer_1t002_87", i = "_animationRoot_1t002_127", c = "_animationContainer_1t002_131", e = "_backgroundImage_1t002_141", r = {
1
+ const n = "_particle_46hv8_93", o = "_iconContainer_46hv8_115", a = "_iconInner_46hv8_139", t = "_particleContainer_46hv8_163", i = "_animationRoot_46hv8_243", c = "_animationContainer_46hv8_251", e = "_backgroundImage_46hv8_271", r = {
2
2
  particle: n,
3
- iconContainer: t,
4
- iconInner: o,
5
- particleContainer: a,
3
+ iconContainer: o,
4
+ iconInner: a,
5
+ particleContainer: t,
6
6
  animationRoot: i,
7
7
  animationContainer: c,
8
8
  backgroundImage: e
@@ -12,8 +12,8 @@ export {
12
12
  i as animationRoot,
13
13
  e as backgroundImage,
14
14
  r as default,
15
- t as iconContainer,
16
- o as iconInner,
15
+ o as iconContainer,
16
+ a as iconInner,
17
17
  n as particle,
18
- a as particleContainer
18
+ t as particleContainer
19
19
  };
@@ -2,5 +2,5 @@ import type { ReactNode } from 'react';
2
2
  export interface GoogleDriveIconProps {
3
3
  size?: number;
4
4
  }
5
- export declare function GoogleDriveIcon({ size }: GoogleDriveIconProps): ReactNode;
5
+ export declare function GoogleDriveIcon({ size, }: GoogleDriveIconProps): ReactNode;
6
6
  //# sourceMappingURL=GoogleDriveIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GoogleDriveIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/IntegrationFlowAnimation/icons/GoogleDriveIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,eAAe,CAAC,EAAE,IAAS,EAAE,EAAE,oBAAoB,GAAG,SAAS,CAmC9E"}
1
+ {"version":3,"file":"GoogleDriveIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/IntegrationFlowAnimation/icons/GoogleDriveIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAS,GACV,EAAE,oBAAoB,GAAG,SAAS,CAmClC"}
@@ -1,5 +1,7 @@
1
1
  import { jsxs as h, jsx as l } from "react/jsx-runtime";
2
- function i({ size: c = 24 }) {
2
+ function i({
3
+ size: c = 24
4
+ }) {
3
5
  return /* @__PURE__ */ h(
4
6
  "svg",
5
7
  {
@@ -2,5 +2,5 @@ import type { ReactNode } from 'react';
2
2
  export interface LayersCubeIconProps {
3
3
  size?: number;
4
4
  }
5
- export declare const LayersCubeIcon: ({ size }: LayersCubeIconProps) => ReactNode;
5
+ export declare const LayersCubeIcon: ({ size, }: LayersCubeIconProps) => ReactNode;
6
6
  //# sourceMappingURL=LayersCubeIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LayersCubeIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/IntegrationFlowAnimation/icons/LayersCubeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,cAAc,GAAI,UAAe,mBAAmB,KAAG,SAenE,CAAC"}
1
+ {"version":3,"file":"LayersCubeIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/IntegrationFlowAnimation/icons/LayersCubeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,cAAc,GAAI,WAE5B,mBAAmB,KAAG,SAexB,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import { jsx as v } from "react/jsx-runtime";
2
- const o = ({ size: c = 24 }) => /* @__PURE__ */ v(
2
+ const o = ({
3
+ size: c = 24
4
+ }) => /* @__PURE__ */ v(
3
5
  "svg",
4
6
  {
5
7
  xmlns: "http://www.w3.org/2000/svg",
@@ -1 +1 @@
1
- {"version":3,"file":"LanguagePicker.d.ts","sourceRoot":"","sources":["../../../src/components/LanguagePicker/LanguagePicker.tsx"],"names":[],"mappings":"AAkBA,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA0BD,eAAO,MAAM,cAAc,GAAI,6BAI5B,mBAAmB,4CAkBrB,CAAC"}
1
+ {"version":3,"file":"LanguagePicker.d.ts","sourceRoot":"","sources":["../../../src/components/LanguagePicker/LanguagePicker.tsx"],"names":[],"mappings":"AAkBA,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA0BD,eAAO,MAAM,cAAc,GAAI,6BAI5B,mBAAmB,4CAmBrB,CAAC"}
@@ -1,54 +1,55 @@
1
- import { jsx as o, jsxs as c } from "react/jsx-runtime";
2
- import { useMemo as p } from "react";
3
- import { Tick02Icon as g } from "@hugeicons/core-free-icons";
4
- import { HugeiconsIcon as f } from "@hugeicons/react";
5
- import { Select as u, Image as n, Group as d } from "@mantine/core";
6
- import x from "../../assets/svg/flags/es.svg.js";
1
+ import { jsx as o, jsxs as p } from "react/jsx-runtime";
2
+ import { useMemo as g } from "react";
3
+ import { ArrowDown01Icon as f, Tick02Icon as u } from "@hugeicons/core-free-icons";
4
+ import { HugeiconsIcon as s } from "@hugeicons/react";
5
+ import { Select as d, Image as i, Group as x } from "@mantine/core";
6
+ import I from "../../assets/svg/flags/es.svg.js";
7
7
  import b from "../../assets/svg/flags/ru.svg.js";
8
- import y from "../../assets/svg/flags/us.svg.js";
8
+ import h from "../../assets/svg/flags/us.svg.js";
9
9
  import l from "./LanguagePicker.module.css.js";
10
- const m = {
10
+ const t = {
11
11
  ru: b,
12
- en: y,
13
- es: x
14
- }, s = [
12
+ en: h,
13
+ es: I
14
+ }, n = [
15
15
  { value: "en", label: "English" },
16
16
  { value: "ru", label: "Русский" },
17
17
  { value: "es", label: "Español (España)" }
18
- ], E = ({
18
+ ], y = ({
19
19
  option: e,
20
20
  checked: a
21
- }) => /* @__PURE__ */ c(d, { flex: "1", gap: "xs", children: [
22
- /* @__PURE__ */ o(n, { src: m[e.value], className: l.image }),
21
+ }) => /* @__PURE__ */ p(x, { flex: "1", gap: "xs", children: [
22
+ /* @__PURE__ */ o(i, { src: t[e.value], className: l.image }),
23
23
  e.label,
24
24
  a && /* @__PURE__ */ o(
25
- f,
25
+ s,
26
26
  {
27
27
  color: "var(--mantine-primary-color-filled)",
28
28
  size: 16,
29
- icon: g,
29
+ icon: u,
30
30
  className: l.tickIcon
31
31
  }
32
32
  )
33
- ] }), O = ({
33
+ ] }), A = ({
34
34
  value: e,
35
35
  onChange: a,
36
- label: t
36
+ label: c
37
37
  }) => {
38
- const i = p(() => s.find((r) => r.value === e) ? e : "en", [e]);
38
+ const m = g(() => n.find((r) => r.value === e) ? e : "en", [e]);
39
39
  return /* @__PURE__ */ o(
40
- u,
40
+ d,
41
41
  {
42
- label: t,
42
+ label: c,
43
43
  flex: 1,
44
44
  onChange: (r) => r && a(r),
45
- leftSection: /* @__PURE__ */ o(n, { src: m[e], className: l.image }),
46
- value: i,
47
- data: s,
48
- renderOption: E
45
+ leftSection: /* @__PURE__ */ o(i, { src: t[e], className: l.image }),
46
+ value: m,
47
+ data: n,
48
+ rightSection: /* @__PURE__ */ o(s, { size: 16, icon: f }),
49
+ renderOption: y
49
50
  }
50
51
  );
51
52
  };
52
53
  export {
53
- O as LanguagePicker
54
+ A as LanguagePicker
54
55
  };
@@ -1,9 +1,9 @@
1
- const c = "_image_1re3l_1", t = "_tickIcon_1re3l_8", e = {
1
+ const c = "_image_12yhc_1", t = "_tickIcon_12yhc_13", o = {
2
2
  image: c,
3
3
  tickIcon: t
4
4
  };
5
5
  export {
6
- e as default,
6
+ o as default,
7
7
  c as image,
8
8
  t as tickIcon
9
9
  };
@@ -1,9 +1,9 @@
1
- const r = "_loader_b8num_1", e = "_wrapper_b8num_10", a = {
2
- loader: r,
3
- wrapper: e
1
+ const a = "_loader_1dlax_1", r = "_wrapper_1dlax_19", e = {
2
+ loader: a,
3
+ wrapper: r
4
4
  };
5
5
  export {
6
- a as default,
7
- r as loader,
8
- e as wrapper
6
+ e as default,
7
+ a as loader,
8
+ r as wrapper
9
9
  };
@@ -1,4 +1,4 @@
1
- const r = "_originalTab_p74jz_1", e = "_customTab_p74jz_7", t = "_headerRow_p74jz_17", a = "_rowGrid_p74jz_42", o = "_breadcrumbItem_p74jz_79", c = "_breadcrumbItemActive_p74jz_91", b = {
1
+ const r = "_originalTab_60wsn_1", e = "_customTab_60wsn_13", t = "_headerRow_60wsn_33", a = "_rowGrid_60wsn_83", o = "_breadcrumbItem_60wsn_157", c = "_breadcrumbItemActive_60wsn_181", s = {
2
2
  originalTab: r,
3
3
  customTab: e,
4
4
  headerRow: t,
@@ -10,7 +10,7 @@ export {
10
10
  o as breadcrumbItem,
11
11
  c as breadcrumbItemActive,
12
12
  e as customTab,
13
- b as default,
13
+ s as default,
14
14
  t as headerRow,
15
15
  r as originalTab,
16
16
  a as rowGrid
@@ -1 +1 @@
1
- {"version":3,"file":"MediaLibraryRow.d.ts","sourceRoot":"","sources":["../../../src/components/MediaLibrary/MediaLibraryRow.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAWzC,UAAU,oBAAoB;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,eAAe,0EACU,oBAAoB,6CA8BzD,CAAC"}
1
+ {"version":3,"file":"MediaLibraryRow.d.ts","sourceRoot":"","sources":["../../../src/components/MediaLibrary/MediaLibraryRow.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAWzC,UAAU,oBAAoB;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,eAAe,0EACU,oBAAoB,6CAsCzD,CAAC"}
@@ -15,10 +15,22 @@ const y = (e) => new Intl.DateTimeFormat("en-GB", {
15
15
  r ? m?.(e) : d?.(e);
16
16
  };
17
17
  return /* @__PURE__ */ i(n, { className: h.rowGrid, onClick: l, children: [
18
- /* @__PURE__ */ i(a, { gap: "xs", wrap: "nowrap", style: { overflow: "hidden", minWidth: 0 }, children: [
19
- /* @__PURE__ */ o(n, { style: { flexShrink: 0, height: 18 }, children: f(p(e.contentType || "", !0), r, 18) }),
20
- /* @__PURE__ */ o(t, { fz: "sm", fw: r ? 500 : void 0, truncate: !0, children: e.title })
21
- ] }),
18
+ /* @__PURE__ */ i(
19
+ a,
20
+ {
21
+ gap: "xs",
22
+ wrap: "nowrap",
23
+ style: { overflow: "hidden", minWidth: 0 },
24
+ children: [
25
+ /* @__PURE__ */ o(n, { style: { flexShrink: 0, height: 18 }, children: f(
26
+ p(e.contentType || "", !0),
27
+ r,
28
+ 18
29
+ ) }),
30
+ /* @__PURE__ */ o(t, { fz: "sm", fw: r ? 500 : void 0, truncate: !0, children: e.title })
31
+ ]
32
+ }
33
+ ),
22
34
  /* @__PURE__ */ o(t, { fz: "xs", c: "dimmed", children: y(e.updatedAt) }),
23
35
  /* @__PURE__ */ o(t, { fz: "xs", c: "dimmed", children: r ? "—" : c(e.fileSize || 0) })
24
36
  ] });
@@ -16,9 +16,10 @@ export type NavMenuProps = {
16
16
  store?: ReturnType<typeof createNavMenuStore>;
17
17
  };
18
18
  export declare const NavMenu: (({ items, loading, onLoadMore, noItemsPlaceholder, onOrderChange, onEdit, onToggle, onClick, store: _store, totalCount, flatOrderChange, canUserDragDrop, canDragDropItem, }: NavMenuProps) => import("react/jsx-runtime").JSX.Element) & {
19
- Item: import("react").MemoExoticComponent<({ item, ignoreDepth }: {
19
+ Item: import("react").MemoExoticComponent<({ item, ignoreDepth, disableToggleOnClick }: {
20
20
  item: ExpandNavMenuItemDef;
21
21
  ignoreDepth?: boolean;
22
+ disableToggleOnClick?: boolean;
22
23
  }) => import("react/jsx-runtime").JSX.Element>;
23
24
  ActionIcon: import("react").ForwardRefExoticComponent<import("@mantine/core").ActionIconProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
24
25
  Label: ({ children, ...props }: PropsWithChildren<import("@mantine/core").TextProps>) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"NavMenu.d.ts","sourceRoot":"","sources":["../../../src/components/NavMenu/NavMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EAIV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAOhE,OAAO,EAAmB,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC5E,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAKjB,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC;CAC3D,GAAG,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG;IACjC,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;CAC/C,CAAC;AAkLJ,eAAO,MAAM,OAAO,iLAlKjB,YAAY;;;;;;;0CAqJ8B,iBAAiB,CAAC,QAAQ,CAAC;CAkBtE,CAAC"}
1
+ {"version":3,"file":"NavMenu.d.ts","sourceRoot":"","sources":["../../../src/components/NavMenu/NavMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EAIV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAOhE,OAAO,EAAmB,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC5E,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAIjB,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC;CAC3D,GAAG,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG;IACjC,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;CAC/C,CAAC;AAmLJ,eAAO,MAAM,OAAO,iLAnKjB,YAAY;;;;;;;;0CAsJ8B,iBAAiB,CAAC,QAAQ,CAAC;CAkBtE,CAAC"}
@@ -1,23 +1,23 @@
1
- const n = "_container_1ns3h_1", t = "_depthBox_1ns3h_13", e = "_itemContainer_1ns3h_38", o = "_item_1ns3h_38", _ = "_icon_1ns3h_90", s = "_chevron_1ns3h_94", a = "_droppable_1ns3h_119", c = "_draggableOverlay_1ns3h_176", r = "_editInput_1ns3h_185", i = {
2
- container: n,
3
- depthBox: t,
4
- itemContainer: e,
1
+ const t = "_container_t27w5_1", e = "_depthBox_t27w5_25", n = "_itemContainer_t27w5_75", o = "_item_t27w5_75", _ = "_icon_t27w5_181", a = "_chevron_t27w5_189", c = "_droppable_t27w5_239", r = "_draggableOverlay_t27w5_353", i = "_editInput_t27w5_371", d = {
2
+ container: t,
3
+ depthBox: e,
4
+ itemContainer: n,
5
5
  item: o,
6
6
  icon: _,
7
- chevron: s,
8
- droppable: a,
9
- draggableOverlay: c,
10
- editInput: r
7
+ chevron: a,
8
+ droppable: c,
9
+ draggableOverlay: r,
10
+ editInput: i
11
11
  };
12
12
  export {
13
- s as chevron,
14
- n as container,
15
- i as default,
16
- t as depthBox,
17
- c as draggableOverlay,
18
- a as droppable,
19
- r as editInput,
13
+ a as chevron,
14
+ t as container,
15
+ d as default,
16
+ e as depthBox,
17
+ r as draggableOverlay,
18
+ c as droppable,
19
+ i as editInput,
20
20
  _ as icon,
21
21
  o as item,
22
- e as itemContainer
22
+ n as itemContainer
23
23
  };
@@ -2,8 +2,9 @@ import { ExpandNavMenuItemDef } from '../types';
2
2
  type NavMenuItemProps = {
3
3
  item: ExpandNavMenuItemDef;
4
4
  ignoreDepth?: boolean;
5
+ disableToggleOnClick?: boolean;
5
6
  };
6
- export declare const NavMenuItem: import("react").MemoExoticComponent<({ item, ignoreDepth }: NavMenuItemProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export declare const NavMenuItem: import("react").MemoExoticComponent<({ item, ignoreDepth, disableToggleOnClick }: NavMenuItemProps) => import("react/jsx-runtime").JSX.Element>;
7
8
  export declare const NavMenuLoadMore: ({ depth, itemId, currentChildrenCount, }: {
8
9
  depth: number;
9
10
  itemId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"NavMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/NavMenuItem.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAKhD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW,8DAAgC,gBAAgB,6CAQtE,CAAC;AAkPH,eAAO,MAAM,eAAe,GAAI,0CAI7B;IACD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;CAC9B,4CAiCA,CAAC"}
1
+ {"version":3,"file":"NavMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/NavMenuItem.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAKhD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,WAAW,oFACwB,gBAAgB,6CAgB/D,CAAC;AA0QF,eAAO,MAAM,eAAe,GAAI,0CAI7B;IACD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;CAC9B,4CAiCA,CAAC"}