@layers-app/shared 0.2.8 → 0.3.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.
- package/dist/api/giphy/slice.d.ts +1 -1
- package/dist/api/giphy/slice.d.ts.map +1 -1
- package/dist/api/unsplash/slice.d.ts +1 -1
- package/dist/api/unsplash/slice.d.ts.map +1 -1
- package/dist/assets/layers-logo-icon.svg2.js +4 -0
- package/dist/components/AliasTextInput/AliasTextInput.d.ts.map +1 -1
- package/dist/components/AliasTextInput/AliasTextInput.js +8 -7
- package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +123 -114
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
- package/dist/components/AppShell/AppShell.module.css.js +5 -5
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +14 -14
- package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
- package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
- package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
- package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
- package/dist/components/CommunitiesDialog/index.d.ts.map +1 -1
- package/dist/components/CommunitiesDialog/index.js +47 -46
- package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
- package/dist/components/Copyright/Copyright.module.css.js +1 -1
- package/dist/components/Copyright/index.d.ts.map +1 -1
- package/dist/components/Copyright/index.js +8 -7
- package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
- package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
- package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
- package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
- package/dist/components/FilePicker/FilePicker.d.ts +2 -4
- package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePicker.js +236 -247
- package/dist/components/FilePicker/FilePicker.module.css.js +10 -12
- package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGallery.js +33 -59
- package/dist/components/FilePicker/FilePickerGiphy.d.ts +1 -1
- package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGiphy.js +51 -52
- package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerLink.js +19 -22
- package/dist/components/FilePicker/FilePickerUnsplash.d.ts +1 -1
- package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUnsplash.js +64 -65
- package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUpload.js +35 -51
- package/dist/components/FilePicker/api/giphyApi.d.ts +2 -2
- package/dist/components/FilePicker/api/giphyApi.d.ts.map +1 -1
- package/dist/components/FilePicker/api/giphyApi.js +11 -14
- package/dist/components/FilePicker/api/unsplashApi.d.ts +2 -2
- package/dist/components/FilePicker/api/unsplashApi.d.ts.map +1 -1
- package/dist/components/FilePicker/api/unsplashApi.js +14 -19
- package/dist/components/FilePicker/index.d.ts +0 -1
- package/dist/components/FilePicker/index.d.ts.map +1 -1
- package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
- package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.js +70 -72
- package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
- package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
- package/dist/components/FormViewer/helpers/conditions.d.ts +84 -84
- package/dist/components/FormViewer/helpers/helpers.d.ts +84 -84
- package/dist/components/FormViewer/helpers/steps.d.ts +84 -84
- package/dist/components/FormViewer/helpers/steps.d.ts.map +1 -1
- package/dist/components/FormViewer/helpers/steps.js +22 -21
- package/dist/components/FormViewer/hooks/useActiveControl.d.ts +71 -71
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +84 -84
- package/dist/components/FormViewer/store/formStore.d.ts +357 -357
- package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
- package/dist/components/FormViewer/store/formStoreApi.d.ts +178 -178
- package/dist/components/FormViewer/store/selectors.d.ts +23861 -23861
- package/dist/components/FormViewer/types/schemes.d.ts +1139 -1139
- package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
- package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
- package/dist/components/Loaders/styles.module.css.js +6 -6
- package/dist/components/Logotype.d.ts +4 -3
- package/dist/components/Logotype.d.ts.map +1 -1
- package/dist/components/Logotype.js +56 -33
- package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
- package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
- package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
- package/dist/components/Notification/Notification.module.css.js +1 -1
- package/dist/components/OnBoarding/OnBoardingPage.js +35 -35
- package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +3 -3
- package/dist/components/OnBoarding/steps/styles.module.css.js +9 -9
- package/dist/components/OnBoarding/styles.module.css.js +7 -7
- package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
- package/dist/components/SettingsSection/styles.module.css.js +1 -1
- package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +10 -10
- package/dist/components/table/FrontTable.d.ts.map +1 -1
- package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
- package/dist/config/brand.d.ts +48 -0
- package/dist/config/brand.d.ts.map +1 -0
- package/dist/config/brand.js +69 -0
- package/dist/config/envConfig.d.ts +70 -0
- package/dist/config/envConfig.d.ts.map +1 -0
- package/dist/config/envConfig.js +29 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +7 -6
- package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
- package/dist/helpers/showNotifications.module.css.js +1 -1
- package/dist/hooks/useDisableWindowScroll.js +3 -3
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +429 -423
- package/dist/lang/locales/ui_en.json.js +15 -15
- package/dist/lang/locales/ui_es.json.js +13 -13
- package/dist/lang/locales/ui_ru.json.js +12 -12
- package/docs/README.md +499 -499
- package/package.json +75 -78
- package/dist/assets/svg/default_icon.svg.js +0 -4
- package/dist/components/FilePicker/coverCollections.d.ts +0 -4
- package/dist/components/FilePicker/coverCollections.d.ts.map +0 -1
- package/dist/components/FilePicker/coverCollections.js +0 -164
- /package/dist/assets/{svg/layers-logo-full.svg.js → layers-logo-full.svg2.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CommunitiesDialog/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CommunitiesDialog/index.tsx"],"names":[],"mappings":"AAoBA,eAAO,MAAM,iBAAiB,GAAI,sCAG/B;IACD,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,4CAqIA,CAAC"}
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { jsx as o, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import { useTranslation as
|
|
3
|
-
import { Dialog as
|
|
4
|
-
import { IconAmpersand as
|
|
2
|
+
import { useTranslation as g, Trans as f } from "react-i18next";
|
|
3
|
+
import { Dialog as u, Stack as c, Flex as a, Text as l, Button as s, Group as w } from "@mantine/core";
|
|
4
|
+
import { IconAmpersand as x, IconBrandDiscord as b, IconBrandTelegram as D } from "@tabler/icons-react";
|
|
5
|
+
import { brand as r } from "../../config/brand.js";
|
|
5
6
|
import { useMenu as y } from "../../hooks/useMenu.js";
|
|
6
|
-
import { useDiscordDialogStore as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
const
|
|
11
|
-
handleAccess:
|
|
7
|
+
import { useDiscordDialogStore as F, closeUserDiscordDialog as k } from "../../store/discordDialogStore.js";
|
|
8
|
+
import v from "../../assets/svg/discord.svg.js";
|
|
9
|
+
import z from "../../assets/svg/telegram.svg.js";
|
|
10
|
+
import C from "./styles.module.css.js";
|
|
11
|
+
const K = ({
|
|
12
|
+
handleAccess: m,
|
|
12
13
|
handleRemindLater: p
|
|
13
14
|
}) => {
|
|
14
|
-
const { t
|
|
15
|
-
|
|
16
|
-
}, { isMobile:
|
|
15
|
+
const { t } = g(), { opened: d } = F((h) => h), i = () => {
|
|
16
|
+
k();
|
|
17
|
+
}, { isMobile: n } = y();
|
|
17
18
|
return /* @__PURE__ */ o(
|
|
18
|
-
|
|
19
|
+
u,
|
|
19
20
|
{
|
|
20
|
-
opened:
|
|
21
|
+
opened: d,
|
|
21
22
|
onClose: () => {
|
|
22
|
-
p(),
|
|
23
|
+
p(), i();
|
|
23
24
|
},
|
|
24
25
|
radius: "md",
|
|
25
26
|
withCloseButton: !0,
|
|
@@ -35,28 +36,28 @@ const E = ({
|
|
|
35
36
|
position: "relative"
|
|
36
37
|
},
|
|
37
38
|
ml: 5,
|
|
38
|
-
position:
|
|
39
|
+
position: n ? {
|
|
39
40
|
right: 5,
|
|
40
41
|
bottom: 0
|
|
41
42
|
} : void 0,
|
|
42
|
-
children: /* @__PURE__ */ e(
|
|
43
|
+
children: /* @__PURE__ */ e(c, { w: "100%", children: [
|
|
43
44
|
/* @__PURE__ */ o(
|
|
44
|
-
|
|
45
|
+
a,
|
|
45
46
|
{
|
|
46
47
|
h: "50%",
|
|
47
48
|
w: "100%",
|
|
48
|
-
className:
|
|
49
|
+
className: C.section,
|
|
49
50
|
style: { zIndex: -1 }
|
|
50
51
|
}
|
|
51
52
|
),
|
|
52
|
-
/* @__PURE__ */ e(
|
|
53
|
-
/* @__PURE__ */ e(
|
|
54
|
-
/* @__PURE__ */ o(
|
|
55
|
-
/* @__PURE__ */ o(
|
|
56
|
-
/* @__PURE__ */ o(
|
|
53
|
+
/* @__PURE__ */ e(c, { gap: 32, w: "100%", children: [
|
|
54
|
+
/* @__PURE__ */ e(a, { w: "100%", justify: "center", pt: 30, children: [
|
|
55
|
+
/* @__PURE__ */ o(v, { width: 66, height: 66 }),
|
|
56
|
+
/* @__PURE__ */ o(x, { color: "#FFFFFF", size: 32 }),
|
|
57
|
+
/* @__PURE__ */ o(z, { width: 66, height: 66 })
|
|
57
58
|
] }),
|
|
58
59
|
/* @__PURE__ */ e(
|
|
59
|
-
|
|
60
|
+
c,
|
|
60
61
|
{
|
|
61
62
|
gap: 8,
|
|
62
63
|
align: "center",
|
|
@@ -64,13 +65,13 @@ const E = ({
|
|
|
64
65
|
w: "100%",
|
|
65
66
|
px: 12,
|
|
66
67
|
children: [
|
|
67
|
-
/* @__PURE__ */ o(
|
|
68
|
-
|
|
68
|
+
/* @__PURE__ */ o(l, { fz: 20, fw: 700, lh: "24px", ta: "center", children: /* @__PURE__ */ o(
|
|
69
|
+
f,
|
|
69
70
|
{
|
|
70
|
-
i18nKey:
|
|
71
|
+
i18nKey: t("communityDialog.desc1"),
|
|
71
72
|
components: {
|
|
72
73
|
Text: /* @__PURE__ */ o(
|
|
73
|
-
|
|
74
|
+
l,
|
|
74
75
|
{
|
|
75
76
|
fz: "inherit",
|
|
76
77
|
fw: "inherit",
|
|
@@ -81,9 +82,9 @@ const E = ({
|
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
84
|
) }),
|
|
84
|
-
/* @__PURE__ */ o(
|
|
85
|
+
/* @__PURE__ */ o(l, { px: 12, fz: 14, lh: "16px", ta: "center", children: t("communityDialog.desc2") }),
|
|
85
86
|
/* @__PURE__ */ e(
|
|
86
|
-
|
|
87
|
+
a,
|
|
87
88
|
{
|
|
88
89
|
w: "100%",
|
|
89
90
|
justify: "space-between",
|
|
@@ -93,43 +94,43 @@ const E = ({
|
|
|
93
94
|
wrap: "wrap",
|
|
94
95
|
children: [
|
|
95
96
|
/* @__PURE__ */ o(
|
|
96
|
-
|
|
97
|
+
s,
|
|
97
98
|
{
|
|
98
99
|
variant: "subtle",
|
|
99
100
|
onClick: () => {
|
|
100
|
-
p(),
|
|
101
|
+
p(), i();
|
|
101
102
|
},
|
|
102
|
-
children:
|
|
103
|
+
children: t("communityDialog.remind")
|
|
103
104
|
}
|
|
104
105
|
),
|
|
105
|
-
/* @__PURE__ */ e(
|
|
106
|
-
/* @__PURE__ */ o(
|
|
107
|
-
|
|
106
|
+
/* @__PURE__ */ e(w, { gap: 8, children: [
|
|
107
|
+
r.social.discordEnabled && /* @__PURE__ */ o(
|
|
108
|
+
s,
|
|
108
109
|
{
|
|
109
110
|
component: "a",
|
|
110
|
-
href:
|
|
111
|
+
href: r.social.discord,
|
|
111
112
|
target: "_blank",
|
|
112
113
|
px: 16,
|
|
113
114
|
color: "#5A66F5",
|
|
114
115
|
onClick: () => {
|
|
115
|
-
|
|
116
|
+
m(), i();
|
|
116
117
|
},
|
|
117
|
-
children:
|
|
118
|
+
children: n ? /* @__PURE__ */ o(b, { size: 20 }) : "Discord"
|
|
118
119
|
}
|
|
119
120
|
),
|
|
120
|
-
/* @__PURE__ */ o(
|
|
121
|
-
|
|
121
|
+
r.social.telegramEnabled && /* @__PURE__ */ o(
|
|
122
|
+
s,
|
|
122
123
|
{
|
|
123
124
|
onClick: () => {
|
|
124
|
-
|
|
125
|
+
m(), i();
|
|
125
126
|
},
|
|
126
127
|
component: "a",
|
|
127
|
-
href:
|
|
128
|
+
href: r.social.telegram,
|
|
128
129
|
target: "_blank",
|
|
129
130
|
c: "#fff",
|
|
130
131
|
px: 16,
|
|
131
132
|
color: "#3BB3F2",
|
|
132
|
-
children:
|
|
133
|
+
children: n ? /* @__PURE__ */ o(D, { size: 20 }) : "Telegram"
|
|
133
134
|
}
|
|
134
135
|
)
|
|
135
136
|
] })
|
|
@@ -145,5 +146,5 @@ const E = ({
|
|
|
145
146
|
);
|
|
146
147
|
};
|
|
147
148
|
export {
|
|
148
|
-
|
|
149
|
+
K as CommunitiesDialog
|
|
149
150
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Copyright/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,WAAW,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Copyright/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,WAAW,EAAE,MAAM,eAAe,CAAC;AASpD,UAAU,cAAc;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,GAAG,WAAW,CAwB5D,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { Button as n } from "@mantine/core";
|
|
3
3
|
import p from "clsx";
|
|
4
|
-
import {
|
|
4
|
+
import { brand as a } from "../../config/brand.js";
|
|
5
|
+
import { DEFAULT_FONT_FAMILY as f } from "../../constants.js";
|
|
5
6
|
import { Logotype as l } from "../Logotype.js";
|
|
6
|
-
import
|
|
7
|
-
const
|
|
7
|
+
import s from "./Copyright.module.css.js";
|
|
8
|
+
const L = ({
|
|
8
9
|
color: o,
|
|
9
10
|
title: t,
|
|
10
11
|
className: e,
|
|
@@ -14,19 +15,19 @@ const F = ({
|
|
|
14
15
|
n,
|
|
15
16
|
{
|
|
16
17
|
component: "a",
|
|
17
|
-
href:
|
|
18
|
+
href: a.websiteUrl,
|
|
18
19
|
target: "_blank",
|
|
19
20
|
rel: "noopener noreferrer",
|
|
20
21
|
leftSection: /* @__PURE__ */ r(l, { variant: "copyright", isLink: !1 }),
|
|
21
22
|
variant: "filled",
|
|
22
23
|
size: i,
|
|
23
24
|
color: o,
|
|
24
|
-
className: p(
|
|
25
|
-
style: { fontFamily:
|
|
25
|
+
className: p(s.brandingWrapper, e),
|
|
26
|
+
style: { fontFamily: f },
|
|
26
27
|
...m,
|
|
27
28
|
children: t
|
|
28
29
|
}
|
|
29
30
|
);
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
+
L as Copyright
|
|
32
33
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const o = "
|
|
1
|
+
const o = "_item_o1hlf_1", a = "_randomIcon_o1hlf_26", n = "_originalTab_o1hlf_30", t = "_customTab_o1hlf_36", _ = {
|
|
2
2
|
item: o,
|
|
3
|
-
randomIcon:
|
|
4
|
-
originalTab:
|
|
5
|
-
customTab:
|
|
3
|
+
randomIcon: a,
|
|
4
|
+
originalTab: n,
|
|
5
|
+
customTab: t
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
t as customTab,
|
|
9
|
+
_ as default,
|
|
10
10
|
o as item,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
n as originalTab,
|
|
12
|
+
a as randomIcon
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Error404.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorPage/components/Error404.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;
|
|
1
|
+
{"version":3,"file":"Error404.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorPage/components/Error404.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;eACkX,CAAC;6CADxW,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "_featureProgressRoot_179em_1", t = "_progressTrack_179em_5", o = "_collapsedBar_179em_12", l = "_collapsedBarComplete_179em_37", s = "_collapsedTitle_179em_46", c = "_collapsedCompleteRight_179em_50", r = "_collapsedProgressWrap_179em_68", p = "_collapsedProgressWrapHidden_179em_74", a = "_collapsedPercent_179em_78", _ = "_collapsedCloseBtn_179em_85", n = "_collapsedBarOpened_179em_89", m = "_stepsDrawer_179em_93", d = "_stepsDrawerOpened_179em_111", i = "_expandedContainer_179em_119", P = "_expandedProgressRow_179em_123", C = "_expandedProgressEmoji_179em_130", g = "_expandedPercent_179em_136", B = "_stepsList_179em_143", T = "_stepItem_179em_151", u = "_stepCircle_179em_158", x = "_stepCirclePending_179em_171", D = "_stepCircleDone_179em_177", w = "_stepText_179em_183", R = "_startTutorialButtonWrap_179em_193", W = "_startTutorialButton_179em_193", b = "_completeModalBody_179em_210", E = "_completeCelebration_179em_218", O = "_completeCelebrationSvg_179em_226", f = "_completeCone_179em_232", y = "_completeParticleA_179em_238", h = "_completeParticleB_179em_239", j = "_completeParticleC_179em_240", k = "_completeParticleD_179em_241", v = "_completeParticleE_179em_242", A = "_completeParticleF_179em_243", F = "_completeParticleG_179em_244", G = "_completeTitle_179em_377", H = "_completeDescription_179em_384", I = {
|
|
2
2
|
featureProgressRoot: e,
|
|
3
|
-
progressTrack:
|
|
4
|
-
collapsedBar:
|
|
3
|
+
progressTrack: t,
|
|
4
|
+
collapsedBar: o,
|
|
5
5
|
collapsedBarComplete: l,
|
|
6
6
|
collapsedTitle: s,
|
|
7
7
|
collapsedCompleteRight: c,
|
|
@@ -10,36 +10,36 @@ const e = "_featureProgressRoot_bvfoj_1", o = "_progressTrack_bvfoj_9", t = "_co
|
|
|
10
10
|
collapsedPercent: a,
|
|
11
11
|
collapsedCloseBtn: _,
|
|
12
12
|
collapsedBarOpened: n,
|
|
13
|
-
stepsDrawer:
|
|
14
|
-
stepsDrawerOpened:
|
|
15
|
-
expandedContainer:
|
|
13
|
+
stepsDrawer: m,
|
|
14
|
+
stepsDrawerOpened: d,
|
|
15
|
+
expandedContainer: i,
|
|
16
16
|
expandedProgressRow: P,
|
|
17
|
-
expandedProgressEmoji:
|
|
18
|
-
expandedPercent:
|
|
19
|
-
stepsList:
|
|
20
|
-
stepItem:
|
|
21
|
-
stepCircle:
|
|
22
|
-
stepCirclePending:
|
|
23
|
-
stepCircleDone:
|
|
24
|
-
stepText:
|
|
25
|
-
startTutorialButtonWrap:
|
|
26
|
-
startTutorialButton:
|
|
27
|
-
completeModalBody:
|
|
28
|
-
completeCelebration:
|
|
29
|
-
completeCelebrationSvg:
|
|
30
|
-
completeCone:
|
|
31
|
-
completeParticleA:
|
|
32
|
-
completeParticleB:
|
|
33
|
-
completeParticleC:
|
|
34
|
-
completeParticleD:
|
|
35
|
-
completeParticleE:
|
|
17
|
+
expandedProgressEmoji: C,
|
|
18
|
+
expandedPercent: g,
|
|
19
|
+
stepsList: B,
|
|
20
|
+
stepItem: T,
|
|
21
|
+
stepCircle: u,
|
|
22
|
+
stepCirclePending: x,
|
|
23
|
+
stepCircleDone: D,
|
|
24
|
+
stepText: w,
|
|
25
|
+
startTutorialButtonWrap: R,
|
|
26
|
+
startTutorialButton: W,
|
|
27
|
+
completeModalBody: b,
|
|
28
|
+
completeCelebration: E,
|
|
29
|
+
completeCelebrationSvg: O,
|
|
30
|
+
completeCone: f,
|
|
31
|
+
completeParticleA: y,
|
|
32
|
+
completeParticleB: h,
|
|
33
|
+
completeParticleC: j,
|
|
34
|
+
completeParticleD: k,
|
|
35
|
+
completeParticleE: v,
|
|
36
36
|
completeParticleF: A,
|
|
37
37
|
completeParticleG: F,
|
|
38
38
|
completeTitle: G,
|
|
39
39
|
completeDescription: H
|
|
40
40
|
};
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
o as collapsedBar,
|
|
43
43
|
l as collapsedBarComplete,
|
|
44
44
|
n as collapsedBarOpened,
|
|
45
45
|
_ as collapsedCloseBtn,
|
|
@@ -48,34 +48,34 @@ export {
|
|
|
48
48
|
r as collapsedProgressWrap,
|
|
49
49
|
p as collapsedProgressWrapHidden,
|
|
50
50
|
s as collapsedTitle,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
E as completeCelebration,
|
|
52
|
+
O as completeCelebrationSvg,
|
|
53
|
+
f as completeCone,
|
|
54
54
|
H as completeDescription,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
b as completeModalBody,
|
|
56
|
+
y as completeParticleA,
|
|
57
|
+
h as completeParticleB,
|
|
58
|
+
j as completeParticleC,
|
|
59
|
+
k as completeParticleD,
|
|
60
|
+
v as completeParticleE,
|
|
61
61
|
A as completeParticleF,
|
|
62
62
|
F as completeParticleG,
|
|
63
63
|
G as completeTitle,
|
|
64
64
|
I as default,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
i as expandedContainer,
|
|
66
|
+
g as expandedPercent,
|
|
67
|
+
C as expandedProgressEmoji,
|
|
68
68
|
P as expandedProgressRow,
|
|
69
69
|
e as featureProgressRoot,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
70
|
+
t as progressTrack,
|
|
71
|
+
W as startTutorialButton,
|
|
72
|
+
R as startTutorialButtonWrap,
|
|
73
|
+
u as stepCircle,
|
|
74
|
+
D as stepCircleDone,
|
|
75
|
+
x as stepCirclePending,
|
|
76
|
+
T as stepItem,
|
|
77
|
+
w as stepText,
|
|
78
|
+
m as stepsDrawer,
|
|
79
|
+
d as stepsDrawerOpened,
|
|
80
|
+
B as stepsList
|
|
81
81
|
};
|
|
@@ -4,7 +4,7 @@ import { DropzoneProps, FileWithPath } from '@mantine/dropzone';
|
|
|
4
4
|
import type { BreadcrumbItem, MediaFile } from '../MediaLibrary/types';
|
|
5
5
|
import { FileType, ImagePickerGalleryCollection } from './types';
|
|
6
6
|
declare const baseTabsList: readonly ["gallery", "upload", "link", "unsplash", "giphy", "googleDrive", "media"];
|
|
7
|
-
|
|
7
|
+
type TabType = (typeof baseTabsList)[number];
|
|
8
8
|
export type FilePickerProps = PropsWithChildren<{
|
|
9
9
|
onChange?: (v: string) => void;
|
|
10
10
|
onRemove?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
@@ -54,9 +54,7 @@ export type FilePickerProps = PropsWithChildren<{
|
|
|
54
54
|
onBreadcrumbClick?: (crumb: BreadcrumbItem, index: number) => void;
|
|
55
55
|
onSelect?: (file: MediaFile) => void;
|
|
56
56
|
};
|
|
57
|
-
inline?: boolean;
|
|
58
|
-
tab?: TabType | string;
|
|
59
57
|
}>;
|
|
60
|
-
export declare const FilePicker: ({ onChange, onRemove, onUpload, uploading, showTabs, children, width, position, readOnly, hasImage, giphyToken, unsplashClientId, type, galleryCollection, isValidMediaUrl, popoverProps, dropZoneProps, targetProps, onOpenedChange, googleDrive, mediaLibrary,
|
|
58
|
+
export declare const FilePicker: ({ onChange, onRemove, onUpload, uploading, showTabs, children, width, position, readOnly, hasImage, giphyToken: _giphyToken, unsplashClientId: _unsplashClientId, type, galleryCollection, isValidMediaUrl, popoverProps, dropZoneProps, targetProps, onOpenedChange, googleDrive, mediaLibrary, }: PropsWithChildren<FilePickerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
61
59
|
export {};
|
|
62
60
|
//# sourceMappingURL=FilePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilePicker.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"FilePicker.d.ts","sourceRoot":"","sources":["../../../src/components/FilePicker/FilePicker.tsx"],"names":[],"mappings":"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"}
|