@layers-app/shared 0.4.6 → 0.4.7
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/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +13 -13
- package/dist/components/AppContainer/AppContainer.d.ts.map +1 -1
- package/dist/components/AppContainer/AppContainer.js +79 -72
- package/dist/components/AppContainer/AppContainer.module.css.js +20 -10
- package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.d.ts +6 -0
- package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.d.ts.map +1 -0
- package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.js +161 -0
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +238 -105
- package/dist/components/AppContainer/components/Main.js +4 -4
- package/dist/components/AppContainer/components/SlideAnimation.js +4 -4
- package/dist/components/AppContainer/components/ToolSidebar.js +9 -9
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts +62 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +1107 -137
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +158 -6
- package/dist/components/AppShell/AppShell.module.css.js +5 -5
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts +2 -0
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.js +22 -17
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.d.ts +15 -0
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.js +36 -0
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +22 -22
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.d.ts +14 -0
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.js +31 -0
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.js +172 -120
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.d.ts +18 -0
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.js +35 -0
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.d.ts +33 -0
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.js +70 -0
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +32 -28
- package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +12 -12
- package/dist/components/BouncingLogo/BouncingLogo.module.css.js +4 -4
- package/dist/components/Chat/CallMessage/CallMessage.module.css.js +8 -8
- package/dist/components/Chat/ChatBubble/ChatBubble.module.css.js +1 -1
- package/dist/components/Chat/ChatHeader/ChatHeader.module.css.js +1 -1
- package/dist/components/Chat/ChatInput/ChatInput.module.css.js +44 -44
- package/dist/components/Chat/ChatLayout/ChatLayout.module.css.js +4 -4
- package/dist/components/Chat/ChatMessage/ChatMessage.module.css.js +10 -10
- package/dist/components/Chat/ChatPill/ChatPill.module.css.js +1 -1
- package/dist/components/Chat/DialogItem/DialogItem.module.css.js +4 -4
- package/dist/components/Chat/DialogList/DialogList.module.css.js +1 -1
- package/dist/components/Chat/MediaDocument/MediaDocument.module.css.js +4 -4
- package/dist/components/Chat/MessageActions/MessageActions.module.css.js +1 -1
- package/dist/components/Chat/MessageActions/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageActions/index.js +38 -37
- package/dist/components/Chat/MessageForward/MessageForward.module.css.js +1 -1
- package/dist/components/Chat/MessageList/MessageList.module.css.js +5 -5
- package/dist/components/Chat/MessageMeta/MessageMeta.module.css.js +3 -3
- package/dist/components/Chat/MessageMeta/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageMeta/index.js +21 -19
- package/dist/components/Chat/MessageReactions/MessageReactions.module.css.js +12 -12
- package/dist/components/Chat/MessageReply/MessageReply.module.css.js +7 -7
- package/dist/components/Chat/MessageStatus/MessageStatus.module.css.js +8 -8
- package/dist/components/Chat/ServiceMessage/ServiceMessage.module.css.js +1 -1
- package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +3 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +81 -76
- package/dist/components/ColorPicker/ColorPicker.module.css.js +26 -32
- package/dist/components/ColorPicker/ColorPickerList.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerList.js +72 -83
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerToolbar.js +64 -67
- package/dist/components/ColorPicker/icons.js +5 -5
- package/dist/components/ColorPicker/types.d.ts +0 -6
- package/dist/components/ColorPicker/types.d.ts.map +1 -1
- package/dist/components/ColorPicker/types.js +11 -53
- package/dist/components/ColorPicker/useRecentColors.d.ts +1 -3
- package/dist/components/ColorPicker/useRecentColors.d.ts.map +1 -1
- package/dist/components/ColorPicker/useRecentColors.js +20 -43
- package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
- package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
- package/dist/components/Copyright/Copyright.module.css.js +1 -1
- 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.module.css.js +7 -7
- 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/SelectableCard.module.css.js +8 -8
- package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
- package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
- package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.d.ts +3 -1
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.d.ts.map +1 -1
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.js +26 -25
- 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/MediaLibrary/MediaLibrary.module.css.js +2 -2
- package/dist/components/MusicPlayerBar/MusicPlayerBar.module.css.js +23 -23
- package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
- package/dist/components/NewToolbar/utils.d.ts +12 -0
- package/dist/components/NewToolbar/utils.d.ts.map +1 -0
- package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
- package/dist/components/Notification/Notification.module.css.js +1 -1
- package/dist/components/OnboardingTour/index.d.ts +1 -1
- package/dist/components/OnboardingTour/index.d.ts.map +1 -1
- package/dist/components/OnboardingTour/useOnboardingTour.d.ts +2 -0
- package/dist/components/OnboardingTour/useOnboardingTour.d.ts.map +1 -1
- package/dist/components/OnboardingTour/useOnboardingTour.js +63 -51
- package/dist/components/PillTabs/PillTabs.module.css.js +1 -1
- 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/TreeIndent/TreeIndent.module.css.js +4 -4
- package/dist/components/VideoPlayer/VideoPlayer.d.ts +24 -0
- package/dist/components/VideoPlayer/VideoPlayer.d.ts.map +1 -0
- package/dist/components/VideoPlayer/VideoPlayer.js +727 -0
- package/dist/components/VideoPlayer/components/MobileDrawer/index.d.ts +8 -0
- package/dist/components/VideoPlayer/components/MobileDrawer/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/MobileDrawer/index.js +67 -0
- package/dist/components/VideoPlayer/components/SelectListOptionButton.d.ts +7 -0
- package/dist/components/VideoPlayer/components/SelectListOptionButton.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/SelectListOptionButton.js +44 -0
- package/dist/components/VideoPlayer/components/StoryboardPreview.d.ts +9 -0
- package/dist/components/VideoPlayer/components/StoryboardPreview.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/StoryboardPreview.js +38 -0
- package/dist/components/VideoPlayer/components/VideoCustomControls.d.ts +33 -0
- package/dist/components/VideoPlayer/components/VideoCustomControls.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoCustomControls.js +601 -0
- package/dist/components/VideoPlayer/components/VideoIcons.d.ts +25 -0
- package/dist/components/VideoPlayer/components/VideoIcons.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoIcons.js +145 -0
- package/dist/components/VideoPlayer/components/VideoMenu.d.ts +27 -0
- package/dist/components/VideoPlayer/components/VideoMenu.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoMenu.js +77 -0
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.d.ts +17 -0
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.js +289 -0
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.js +55 -0
- package/dist/components/VideoPlayer/components/VideoSelect.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoSelect.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSelect.js +168 -0
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.d.ts +12 -0
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.js +48 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.d.ts +25 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.js +384 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.d.ts +21 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.js +264 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.js +39 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts +14 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.js +360 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitleTrackRow.d.ts +16 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitleTrackRow.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitlesSection.d.ts +14 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitlesSection.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.d.ts +4 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.js +14 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.d.ts +22 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.js +211 -0
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.d.ts +11 -0
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.js +41 -0
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.js +69 -0
- package/dist/components/VideoPlayer/hooks/useStoryboard.d.ts +21 -0
- package/dist/components/VideoPlayer/hooks/useStoryboard.d.ts.map +1 -0
- package/dist/components/VideoPlayer/hooks/useStoryboard.js +91 -0
- package/dist/components/VideoPlayer/index.d.ts +11 -0
- package/dist/components/VideoPlayer/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/types.d.ts +101 -0
- package/dist/components/VideoPlayer/types.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/chapters.d.ts +8 -0
- package/dist/components/VideoPlayer/utils/chapters.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/chapters.js +38 -0
- package/dist/components/VideoPlayer/utils/storyboard.d.ts +5 -0
- package/dist/components/VideoPlayer/utils/storyboard.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/storyboard.js +47 -0
- package/dist/components/VideoPlayer/utils/subtitles.d.ts +18 -0
- package/dist/components/VideoPlayer/utils/subtitles.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/subtitles.js +23 -0
- package/dist/components/VideoPlayer/utils/touch.d.ts +3 -0
- package/dist/components/VideoPlayer/utils/touch.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/touch.js +5 -0
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.d.ts +10 -0
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.js +22 -0
- package/dist/components/VideoPlayer/utils/videoSettings.d.ts +69 -0
- package/dist/components/VideoPlayer/utils/videoSettings.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/videoSettings.js +90 -0
- 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.map +1 -1
- package/dist/config/brand.js +29 -29
- package/dist/config/envConfig.d.ts +2 -0
- package/dist/config/envConfig.d.ts.map +1 -1
- package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
- package/dist/helpers/showNotifications.d.ts +8 -14
- package/dist/helpers/showNotifications.d.ts.map +1 -1
- package/dist/helpers/showNotifications.js +107 -111
- package/dist/helpers/showNotifications.module.css.js +4 -16
- package/dist/hooks/useDateUtils.d.ts.map +1 -1
- package/dist/hooks/useDateUtils.js +19 -23
- 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 +589 -575
- package/dist/lang/locales/ui_en.json.js +1 -1
- package/dist/lang/locales/ui_es.json.js +1 -1
- package/dist/lang/locales/ui_ru.json.js +1 -1
- package/dist/videoSettings/createVideoSettingsDataSource.d.ts +19 -0
- package/dist/videoSettings/createVideoSettingsDataSource.d.ts.map +1 -0
- package/dist/videoSettings/createVideoSettingsDataSource.js +127 -0
- package/docs/README.md +499 -499
- package/package.json +79 -78
|
@@ -1,82 +1,79 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { useComputedColorScheme as P, Box as
|
|
5
|
-
import { TextColorIcon as
|
|
6
|
-
import { normalizeColorItem as w, resolveColorLabel as
|
|
1
|
+
import { jsxs as g, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as H, useState as M, useCallback as S, useMemo as j } from "react";
|
|
3
|
+
import { useTranslation as E } from "react-i18next";
|
|
4
|
+
import { useComputedColorScheme as P, Box as h, Flex as A, Tooltip as U, UnstyledButton as V } from "@mantine/core";
|
|
5
|
+
import { TextColorIcon as B, HighlightSwatch as K } from "./icons.js";
|
|
6
|
+
import { normalizeColorItem as w, resolveColorLabel as T, isDefaultColor as q } from "./types.js";
|
|
7
7
|
import { useRecentColors as G } from "./useRecentColors.js";
|
|
8
|
-
import
|
|
8
|
+
import n from "./ColorPicker.module.css.js";
|
|
9
9
|
function v({
|
|
10
|
-
isActive:
|
|
10
|
+
isActive: s,
|
|
11
11
|
round: d,
|
|
12
|
-
disabled:
|
|
12
|
+
disabled: u,
|
|
13
13
|
onClick: f,
|
|
14
14
|
children: i,
|
|
15
15
|
tooltipLabel: p
|
|
16
16
|
}) {
|
|
17
17
|
const b = /* @__PURE__ */ t(
|
|
18
|
-
|
|
18
|
+
V,
|
|
19
19
|
{
|
|
20
20
|
type: "button",
|
|
21
|
-
className: `${
|
|
22
|
-
onMouseDown: (
|
|
21
|
+
className: `${n.inlineSwatch}${d ? ` ${n.inlineSwatchRound}` : ""}${s ? ` ${n.inlineSwatchActive}` : ""}`,
|
|
22
|
+
onMouseDown: (m) => m.preventDefault(),
|
|
23
23
|
onClick: f,
|
|
24
|
-
disabled:
|
|
24
|
+
disabled: u,
|
|
25
25
|
children: i
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
28
|
return p ? /* @__PURE__ */ t(U, { label: p, withArrow: !0, zIndex: 400, children: b }) : b;
|
|
29
29
|
}
|
|
30
|
-
const
|
|
30
|
+
const oe = H(
|
|
31
31
|
({
|
|
32
|
-
sections:
|
|
32
|
+
sections: s,
|
|
33
33
|
onChange: d,
|
|
34
|
-
withRecentColors:
|
|
35
|
-
maxRecentColors: f =
|
|
34
|
+
withRecentColors: u,
|
|
35
|
+
maxRecentColors: f = 9,
|
|
36
36
|
disabled: i,
|
|
37
|
-
recentColorsLabel: p
|
|
37
|
+
recentColorsLabel: p = "Recently used"
|
|
38
38
|
}, b) => {
|
|
39
|
-
const { t:
|
|
39
|
+
const { t: m } = E("ui"), x = P("light", {
|
|
40
40
|
getInitialValueInEffect: !0
|
|
41
|
-
}) === "dark", { recentColors: z, addRecent:
|
|
41
|
+
}) === "dark", { recentColors: z, addRecent: $ } = G({
|
|
42
42
|
maxItems: f
|
|
43
|
-
}), [
|
|
43
|
+
}), [L, D] = M(z), k = S(
|
|
44
44
|
(e, o, c) => {
|
|
45
|
-
|
|
46
|
-
const
|
|
47
|
-
(
|
|
45
|
+
u && ($(e, o, c), D((l) => {
|
|
46
|
+
const r = l.filter(
|
|
47
|
+
(a) => !(a.value === e && a.sectionKey === o)
|
|
48
48
|
);
|
|
49
|
-
return [{ value: e, sectionKey: o, border: c }, ...
|
|
49
|
+
return [{ value: e, sectionKey: o, border: c }, ...r].slice(
|
|
50
50
|
0,
|
|
51
51
|
f
|
|
52
52
|
);
|
|
53
53
|
})), d(e, o);
|
|
54
54
|
},
|
|
55
|
-
[d,
|
|
56
|
-
),
|
|
55
|
+
[d, u, $]
|
|
56
|
+
), C = j(() => {
|
|
57
57
|
const e = {};
|
|
58
|
-
for (const o of
|
|
58
|
+
for (const o of s) e[o.key] = o;
|
|
59
59
|
return e;
|
|
60
|
-
}, [
|
|
60
|
+
}, [s]), y = S(
|
|
61
61
|
(e, o) => {
|
|
62
|
-
const l = (o ?
|
|
63
|
-
(
|
|
64
|
-
),
|
|
65
|
-
return
|
|
62
|
+
const l = (o ? C[o] : void 0)?.colors.find(
|
|
63
|
+
(a) => w(a).value === e
|
|
64
|
+
), r = l ? w(l).label : void 0;
|
|
65
|
+
return T(m, e, r);
|
|
66
66
|
},
|
|
67
|
-
[
|
|
68
|
-
),
|
|
69
|
-
(e) => q(e) ?
|
|
70
|
-
[
|
|
67
|
+
[C, m]
|
|
68
|
+
), F = S(
|
|
69
|
+
(e) => q(e) ? x ? "#FFFFFF" : "#000000" : e,
|
|
70
|
+
[x]
|
|
71
71
|
);
|
|
72
|
-
return /* @__PURE__ */
|
|
73
|
-
|
|
74
|
-
/* @__PURE__ */
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
] }),
|
|
78
|
-
/* @__PURE__ */ t(I, { className: r.inlineRow, gap: 2, children: $.map((e, o) => {
|
|
79
|
-
const c = e.sectionKey ? S[e.sectionKey] : void 0, l = c?.key === "textColor" || c?.key === "color" || e.sectionKey === "color", n = H(
|
|
72
|
+
return /* @__PURE__ */ g(h, { ref: b, children: [
|
|
73
|
+
u && L.length > 0 && /* @__PURE__ */ g(h, { className: n.inlineSection, children: [
|
|
74
|
+
/* @__PURE__ */ t(h, { className: n.inlineSectionLabel, children: p }),
|
|
75
|
+
/* @__PURE__ */ t(A, { className: n.inlineRow, gap: 2, children: L.map((e, o) => {
|
|
76
|
+
const c = e.sectionKey ? C[e.sectionKey] : void 0, l = c?.key === "textColor" || c?.key === "color" || e.sectionKey === "color", r = y(
|
|
80
77
|
e.value,
|
|
81
78
|
e.sectionKey
|
|
82
79
|
);
|
|
@@ -85,13 +82,13 @@ const re = y(
|
|
|
85
82
|
{
|
|
86
83
|
isActive: !1,
|
|
87
84
|
disabled: i,
|
|
88
|
-
tooltipLabel:
|
|
89
|
-
onClick: () =>
|
|
85
|
+
tooltipLabel: r,
|
|
86
|
+
onClick: () => k(e.value, e.sectionKey ?? ""),
|
|
90
87
|
children: /* @__PURE__ */ t(
|
|
91
|
-
|
|
88
|
+
B,
|
|
92
89
|
{
|
|
93
90
|
size: 20,
|
|
94
|
-
color:
|
|
91
|
+
color: F(e.value),
|
|
95
92
|
showBorder: !0
|
|
96
93
|
}
|
|
97
94
|
)
|
|
@@ -103,10 +100,10 @@ const re = y(
|
|
|
103
100
|
isActive: !1,
|
|
104
101
|
round: !0,
|
|
105
102
|
disabled: i,
|
|
106
|
-
tooltipLabel:
|
|
107
|
-
onClick: () =>
|
|
103
|
+
tooltipLabel: r,
|
|
104
|
+
onClick: () => k(e.value, e.sectionKey ?? ""),
|
|
108
105
|
children: /* @__PURE__ */ t(
|
|
109
|
-
|
|
106
|
+
K,
|
|
110
107
|
{
|
|
111
108
|
bgColor: e.value,
|
|
112
109
|
borderColor: e.border || "var(--mantine-color-default-border)"
|
|
@@ -117,25 +114,25 @@ const re = y(
|
|
|
117
114
|
);
|
|
118
115
|
}) })
|
|
119
116
|
] }),
|
|
120
|
-
|
|
117
|
+
s.map((e) => {
|
|
121
118
|
const o = e.key === "highlight" || e.key === "background" || e.key === "textHighlight";
|
|
122
|
-
return /* @__PURE__ */
|
|
123
|
-
e.label && /* @__PURE__ */ t(
|
|
124
|
-
/* @__PURE__ */ t(
|
|
125
|
-
const { value: l, border:
|
|
119
|
+
return /* @__PURE__ */ g(h, { className: n.inlineSection, children: [
|
|
120
|
+
e.label && /* @__PURE__ */ t(h, { className: n.inlineSectionLabel, children: e.label }),
|
|
121
|
+
/* @__PURE__ */ t(A, { className: n.inlineRow, gap: 2, children: e.colors.map((c) => {
|
|
122
|
+
const { value: l, border: r, label: a } = w(c), N = l === e.value, R = F(l), I = T(m, l, a);
|
|
126
123
|
return o ? /* @__PURE__ */ t(
|
|
127
124
|
v,
|
|
128
125
|
{
|
|
129
|
-
isActive:
|
|
126
|
+
isActive: N,
|
|
130
127
|
round: !0,
|
|
131
128
|
disabled: i,
|
|
132
|
-
tooltipLabel:
|
|
133
|
-
onClick: () =>
|
|
129
|
+
tooltipLabel: I,
|
|
130
|
+
onClick: () => k(l, e.key, r),
|
|
134
131
|
children: /* @__PURE__ */ t(
|
|
135
|
-
|
|
132
|
+
K,
|
|
136
133
|
{
|
|
137
134
|
bgColor: l,
|
|
138
|
-
borderColor:
|
|
135
|
+
borderColor: r || R
|
|
139
136
|
}
|
|
140
137
|
)
|
|
141
138
|
},
|
|
@@ -143,11 +140,11 @@ const re = y(
|
|
|
143
140
|
) : /* @__PURE__ */ t(
|
|
144
141
|
v,
|
|
145
142
|
{
|
|
146
|
-
isActive:
|
|
143
|
+
isActive: N,
|
|
147
144
|
disabled: i,
|
|
148
|
-
tooltipLabel:
|
|
149
|
-
onClick: () =>
|
|
150
|
-
children: /* @__PURE__ */ t(
|
|
145
|
+
tooltipLabel: I,
|
|
146
|
+
onClick: () => k(l, e.key),
|
|
147
|
+
children: /* @__PURE__ */ t(B, { size: 20, color: R, showBorder: !0 })
|
|
151
148
|
},
|
|
152
149
|
l
|
|
153
150
|
);
|
|
@@ -158,5 +155,5 @@ const re = y(
|
|
|
158
155
|
}
|
|
159
156
|
);
|
|
160
157
|
export {
|
|
161
|
-
|
|
158
|
+
oe as ColorPickerToolbar
|
|
162
159
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as n, jsxs as
|
|
1
|
+
import { jsx as n, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
function s({
|
|
3
3
|
size: t = 20,
|
|
4
4
|
color: r = "var(--mantine-color-white)",
|
|
5
5
|
showBorder: e
|
|
6
6
|
}) {
|
|
7
|
-
return /* @__PURE__ */
|
|
7
|
+
return /* @__PURE__ */ c(
|
|
8
8
|
"svg",
|
|
9
9
|
{
|
|
10
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -21,7 +21,7 @@ function s({
|
|
|
21
21
|
width: "19",
|
|
22
22
|
height: "19",
|
|
23
23
|
rx: "5.5",
|
|
24
|
-
stroke: "
|
|
24
|
+
stroke: "var(--mantine-color-gray-4)",
|
|
25
25
|
strokeWidth: "1",
|
|
26
26
|
fill: "none"
|
|
27
27
|
}
|
|
@@ -37,7 +37,7 @@ function s({
|
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function w({
|
|
41
41
|
size: t = 24,
|
|
42
42
|
bgColor: r,
|
|
43
43
|
borderColor: e
|
|
@@ -66,6 +66,6 @@ function d({
|
|
|
66
66
|
);
|
|
67
67
|
}
|
|
68
68
|
export {
|
|
69
|
-
|
|
69
|
+
w as HighlightSwatch,
|
|
70
70
|
s as TextColorIcon
|
|
71
71
|
};
|
|
@@ -18,11 +18,6 @@ export interface RecentColorEntry {
|
|
|
18
18
|
sectionKey?: string;
|
|
19
19
|
border?: string;
|
|
20
20
|
}
|
|
21
|
-
export type RecentColorKind = 'text' | 'highlight';
|
|
22
|
-
export declare function isTextSectionKey(sectionKey?: string): boolean;
|
|
23
|
-
export declare function resolveRecentKind(sectionKey?: string): RecentColorKind;
|
|
24
|
-
export declare const IS_APPLE: boolean;
|
|
25
|
-
export declare const RECENT_COLOR_HOTKEY: string;
|
|
26
21
|
export type ColorPickerOnChange = (value: string, sectionKey?: string) => void;
|
|
27
22
|
export interface ColorPickerBaseProps {
|
|
28
23
|
colors?: ColorItem[];
|
|
@@ -52,6 +47,5 @@ export declare function normalizeColorItem(item: ColorItem): {
|
|
|
52
47
|
bg?: string;
|
|
53
48
|
};
|
|
54
49
|
export declare function isDefaultColor(value: string): boolean;
|
|
55
|
-
export declare function colorsEqual(a?: string | null, b?: string | null): boolean;
|
|
56
50
|
export declare const resolveColorLabel: (t: TFunction, value: string | null | undefined, explicitLabel?: string) => string;
|
|
57
51
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +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;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,SAAS,GACjB,MAAM,GACN;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;AAEpE,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,
|
|
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;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,SAAS,GACjB,MAAM,GACN;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;AAEpE,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,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;AAE/E,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,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAEA;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAErD;AAED,eAAO,MAAM,iBAAiB,GAC5B,GAAG,SAAS,EACZ,OAAO,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,gBAAgB,MAAM,KACrB,MAIF,CAAC"}
|
|
@@ -1,58 +1,16 @@
|
|
|
1
|
-
function f(
|
|
2
|
-
return
|
|
1
|
+
function f(r) {
|
|
2
|
+
return typeof r == "string" ? { value: r } : r;
|
|
3
3
|
}
|
|
4
|
-
function
|
|
5
|
-
return
|
|
4
|
+
function e(r) {
|
|
5
|
+
return r === "inherit" || r === "" || r === "default";
|
|
6
6
|
}
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
function p(t) {
|
|
12
|
-
return t === "inherit" || t === "" || t === "default";
|
|
13
|
-
}
|
|
14
|
-
function c(t) {
|
|
15
|
-
if (!t) return null;
|
|
16
|
-
const r = t.trim().toLowerCase();
|
|
17
|
-
if (r === "" || r === "inherit" || r === "default" || r === "transparent")
|
|
18
|
-
return "default";
|
|
19
|
-
const o = r.match(/^#([0-9a-f]{3,8})$/);
|
|
20
|
-
if (o) {
|
|
21
|
-
let n = o[1];
|
|
22
|
-
if ((n.length === 3 || n.length === 4) && (n = n.split("").map((e) => e + e).join("")), n.length === 6 || n.length === 8) {
|
|
23
|
-
const e = parseInt(n.slice(0, 2), 16), a = parseInt(n.slice(2, 4), 16), i = parseInt(n.slice(4, 6), 16), l = n.length === 8 ? parseInt(n.slice(6, 8), 16) / 255 : 1;
|
|
24
|
-
return `${e},${a},${i},${Math.round(l * 1e3) / 1e3}`;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
const s = r.match(/^rgba?\(([^)]+)\)$/);
|
|
28
|
-
if (s) {
|
|
29
|
-
const n = s[1].split(",").map((e) => e.trim());
|
|
30
|
-
if (n.length >= 3) {
|
|
31
|
-
const e = parseInt(n[0], 10), a = parseInt(n[1], 10), i = parseInt(n[2], 10), l = n[3] !== void 0 ? parseFloat(n[3]) : 1;
|
|
32
|
-
if (![e, a, i].some(Number.isNaN)) {
|
|
33
|
-
const u = Number.isNaN(l) ? 1 : l;
|
|
34
|
-
return `${e},${a},${i},${Math.round(u * 1e3) / 1e3}`;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return r;
|
|
39
|
-
}
|
|
40
|
-
function m(t, r) {
|
|
41
|
-
const o = c(t), s = c(r);
|
|
42
|
-
return o !== null && s !== null && o === s;
|
|
43
|
-
}
|
|
44
|
-
const C = (t, r, o) => {
|
|
45
|
-
if (o) return o;
|
|
46
|
-
const s = !r || p(r) ? "standard" : r;
|
|
47
|
-
return t(`colorPicker.colors.${s}`, { defaultValue: r || "" });
|
|
7
|
+
const s = (r, o, n) => {
|
|
8
|
+
if (n) return n;
|
|
9
|
+
const t = !o || e(o) ? "standard" : o;
|
|
10
|
+
return r(`colorPicker.colors.${t}`, { defaultValue: o || "" });
|
|
48
11
|
};
|
|
49
12
|
export {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
p as isDefaultColor,
|
|
54
|
-
f as isTextSectionKey,
|
|
55
|
-
$ as normalizeColorItem,
|
|
56
|
-
C as resolveColorLabel,
|
|
57
|
-
g as resolveRecentKind
|
|
13
|
+
e as isDefaultColor,
|
|
14
|
+
f as normalizeColorItem,
|
|
15
|
+
s as resolveColorLabel
|
|
58
16
|
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import type { RecentColorEntry
|
|
1
|
+
import type { RecentColorEntry } from './types';
|
|
2
2
|
interface UseRecentColorsOptions {
|
|
3
3
|
storageKey?: string;
|
|
4
4
|
maxItems?: number;
|
|
5
|
-
onApplyShortcut?: (color: string, kind: RecentColorKind) => void;
|
|
6
|
-
shortcutScoped?: boolean;
|
|
7
5
|
}
|
|
8
6
|
export declare function useRecentColors(options?: UseRecentColorsOptions): {
|
|
9
7
|
recentColors: RecentColorEntry[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRecentColors.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/useRecentColors.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,
|
|
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"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { useState as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
let i = 0;
|
|
5
|
-
function a(e) {
|
|
1
|
+
import { useState as I, useCallback as c } from "react";
|
|
2
|
+
const d = "color-picker-recent", p = 11;
|
|
3
|
+
function n(e) {
|
|
6
4
|
try {
|
|
7
5
|
const t = localStorage.getItem(e);
|
|
8
6
|
return t ? JSON.parse(t) : [];
|
|
@@ -10,53 +8,32 @@ function a(e) {
|
|
|
10
8
|
return [];
|
|
11
9
|
}
|
|
12
10
|
}
|
|
13
|
-
function
|
|
11
|
+
function E(e, t, o) {
|
|
14
12
|
try {
|
|
15
|
-
localStorage.setItem(e, JSON.stringify(t.slice(0,
|
|
13
|
+
localStorage.setItem(e, JSON.stringify(t.slice(0, o)));
|
|
16
14
|
} catch {
|
|
17
15
|
}
|
|
18
16
|
}
|
|
19
|
-
function
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
(o, c, n) => {
|
|
29
|
-
const g = a(t).filter(
|
|
30
|
-
(S) => !(S.value === o && S.sectionKey === c)
|
|
31
|
-
), m = [{ value: o, sectionKey: c, border: n }, ...g].slice(
|
|
32
|
-
0,
|
|
33
|
-
r
|
|
34
|
-
);
|
|
35
|
-
T(t, m, r), u(m);
|
|
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);
|
|
36
26
|
},
|
|
37
|
-
[t,
|
|
38
|
-
),
|
|
27
|
+
[t, o]
|
|
28
|
+
), u = c(() => {
|
|
39
29
|
try {
|
|
40
30
|
localStorage.removeItem(t);
|
|
41
31
|
} catch {
|
|
42
32
|
}
|
|
43
|
-
|
|
44
|
-
}, [t])
|
|
45
|
-
|
|
46
|
-
const d = !!l;
|
|
47
|
-
return w(() => {
|
|
48
|
-
if (!d) return;
|
|
49
|
-
s && (i += 1);
|
|
50
|
-
const o = (c) => {
|
|
51
|
-
if (!_(c) || !s && i > 0) return;
|
|
52
|
-
const n = a(t)[0];
|
|
53
|
-
n && (c.preventDefault(), y.current?.(n.value, I(n.sectionKey)));
|
|
54
|
-
};
|
|
55
|
-
return window.addEventListener("keydown", o), () => {
|
|
56
|
-
window.removeEventListener("keydown", o), s && (i -= 1);
|
|
57
|
-
};
|
|
58
|
-
}, [d, s, t]), { recentColors: p, addRecent: K, clearRecent: E, reload: h };
|
|
33
|
+
r([]);
|
|
34
|
+
}, [t]);
|
|
35
|
+
return { recentColors: i, addRecent: g, clearRecent: u, reload: S };
|
|
59
36
|
}
|
|
60
37
|
export {
|
|
61
|
-
|
|
38
|
+
v as useRecentColors
|
|
62
39
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
const o = "
|
|
1
|
+
const o = "_commentComposerWrapper_17oei_1", e = "_commentComposerFloat_17oei_68", r = "_composerContainer_17oei_97", t = "_editorWrapper_17oei_113", p = "_editMode_17oei_192", m = {
|
|
2
2
|
commentComposerWrapper: o,
|
|
3
3
|
commentComposerFloat: e,
|
|
4
4
|
composerContainer: r,
|
|
5
5
|
editorWrapper: t,
|
|
6
|
-
editMode:
|
|
6
|
+
editMode: p
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
e as commentComposerFloat,
|
|
10
10
|
o as commentComposerWrapper,
|
|
11
11
|
r as composerContainer,
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
m as default,
|
|
13
|
+
p as editMode,
|
|
14
14
|
t as editorWrapper
|
|
15
15
|
};
|
|
@@ -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"}
|