@layers-app/shared 0.3.7 → 0.3.9
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 +10 -10
- package/dist/components/AnimatedFigurePage/useParallax.d.ts +2 -2
- package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
- package/dist/components/AppContainer/components/AppSidebarButton.d.ts +4 -1
- package/dist/components/AppContainer/components/AppSidebarButton.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppSidebarButton.js +22 -15
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +22 -21
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +48 -91
- 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/GallerySlide.d.ts +3 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +89 -63
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.js +35 -26
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.js +43 -36
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts +6 -0
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.js +16 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +4 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.js +59 -20
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +28 -18
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.js +22 -18
- 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/ColorPicker/ColorPicker.d.ts +23 -18
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +145 -139
- package/dist/components/ColorPicker/ColorPicker.module.css.js +14 -14
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerToolbar.js +71 -88
- package/dist/components/ColorPicker/icons.js +1 -1
- package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
- package/dist/components/CommentComposer/CommentEditorHotkeys.js +3 -4
- package/dist/components/CommentComposer/index.js +1 -1
- package/dist/components/CommentComposer/useVirtualAnchor.d.ts +1 -1
- package/dist/components/CommentComposer/useVirtualAnchor.d.ts.map +1 -1
- 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/EmojiPanel.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPanel.js +22 -22
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.js +0 -1
- package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
- package/dist/components/EmojiPicker/IconsPanel.js +13 -13
- package/dist/components/EntityIcon.d.ts.map +1 -1
- package/dist/components/EntityIcon.js +43 -33
- 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 +226 -241
- package/dist/components/FilePicker/FilePicker.module.css.js +12 -14
- package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGallery.js +34 -60
- package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGiphy.js +39 -38
- package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerLink.js +26 -29
- package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUnsplash.js +43 -42
- package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUpload.js +35 -51
- 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/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 +38 -38
- package/dist/components/FormViewer/helpers/helpers.d.ts +38 -38
- package/dist/components/FormViewer/helpers/steps.d.ts +38 -38
- package/dist/components/FormViewer/hooks/useActiveControl.d.ts +19 -19
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +38 -38
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts +6 -0
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts.map +1 -1
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.js +4 -3
- package/dist/components/FormViewer/hooks/useFormMobile.d.ts +1 -1
- package/dist/components/FormViewer/hooks/useFormMobile.d.ts.map +1 -1
- package/dist/components/FormViewer/store/formStore.d.ts +248 -248
- package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
- package/dist/components/FormViewer/store/formStoreApi.d.ts +124 -124
- package/dist/components/FormViewer/store/selectors.d.ts +11655 -11655
- package/dist/components/FormViewer/types/form.d.ts +1 -1
- package/dist/components/FormViewer/types/form.d.ts.map +1 -1
- package/dist/components/FormViewer/types/schemes.d.ts +381 -6358
- package/dist/components/FormViewer/types/schemes.d.ts.map +1 -1
- package/dist/components/FormViewer/types/schemes.js +1 -1
- package/dist/components/GroupAvatar/index.d.ts +3 -1
- package/dist/components/GroupAvatar/index.d.ts.map +1 -1
- package/dist/components/GroupAvatar/index.js +24 -21
- 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/MediaLibrary/MediaLibrary.module.css.js +2 -2
- package/dist/components/MediaLibrary/MediaLibraryRow.js +7 -7
- package/dist/components/NavMenu/NavMenu.d.ts +3 -1
- package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
- package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
- package/dist/components/NavMenu/components/DnDProvider.d.ts +1 -1
- package/dist/components/NavMenu/components/DnDProvider.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts +7 -1
- package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuActionIcon.js +21 -23
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
- package/dist/components/NewColorPicker/components/Target.d.ts +3 -1
- package/dist/components/NewColorPicker/components/Target.d.ts.map +1 -1
- package/dist/components/NewColorPicker/components/Target.js +48 -43
- package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
- package/dist/components/Notification/Notification.js +3 -1
- package/dist/components/Notification/Notification.module.css.js +1 -1
- package/dist/components/Notification/NotificationCard.d.ts +3 -1
- package/dist/components/Notification/NotificationCard.d.ts.map +1 -1
- package/dist/components/Notification/NotificationCard.js +87 -86
- 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/OnboardingTour/OnboardingTourWrapper.d.ts +1 -1
- package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts.map +1 -1
- package/dist/components/OnboardingTour/OnboardingTourWrapper.js +70 -74
- package/dist/components/ProjectIcon/ProjectIcon.d.ts +7 -12
- package/dist/components/ProjectIcon/ProjectIcon.d.ts.map +1 -1
- package/dist/components/ProjectIcon/ProjectIcon.js +58 -60
- 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/TextColorIcon.d.ts +8 -0
- package/dist/components/TextColorIcon.d.ts.map +1 -0
- package/dist/components/TextColorIcon.js +60 -0
- package/dist/components/TreeIndent/TreeIndent.module.css.js +4 -4
- package/dist/components/UserAvatar/index.d.ts +2 -1
- package/dist/components/UserAvatar/index.d.ts.map +1 -1
- package/dist/components/UserAvatar/index.js +38 -35
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +3 -3
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts.map +1 -1
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +19 -18
- package/dist/components/WorkspaceMenu/WorkspaceItem.js +17 -17
- package/dist/components/WorkspaceMenu/WorkspaceMenu.js +7 -7
- package/dist/components/table/FrontTable.d.ts.map +1 -1
- package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
- package/dist/config/envConfig.d.ts +8 -0
- package/dist/config/envConfig.d.ts.map +1 -1
- package/dist/config/envConfig.js +21 -13
- package/dist/helpers/getFileIcons.d.ts.map +1 -1
- package/dist/helpers/getFileIcons.js +63 -45
- package/dist/helpers/getFileType.d.ts +1 -1
- package/dist/helpers/getFileType.d.ts.map +1 -1
- package/dist/helpers/getFileType.js +29 -8
- package/dist/helpers/getPartOfTheDay.d.ts +1 -1
- package/dist/helpers/offlineSuppression.d.ts +3 -0
- package/dist/helpers/offlineSuppression.d.ts.map +1 -0
- package/dist/helpers/offlineSuppression.js +8 -0
- package/dist/helpers/platform.d.ts +1 -1
- package/dist/helpers/platform.d.ts.map +1 -1
- package/dist/helpers/platform.js +5 -4
- package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
- package/dist/helpers/showNotifications.d.ts.map +1 -1
- package/dist/helpers/showNotifications.js +30 -29
- package/dist/helpers/showNotifications.module.css.js +1 -1
- package/dist/hooks/useOutsideClick.d.ts +1 -1
- package/dist/hooks/useOutsideClick.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +467 -465
- package/dist/lang/locales/ui_en.json.js +18 -20
- package/dist/lang/locales/ui_es.json.js +12 -14
- package/dist/lang/locales/ui_ru.json.js +13 -15
- package/dist/node_modules/countries-and-timezones/esm/index.js +281 -4011
- package/docs/README.md +499 -499
- package/package.json +75 -75
- 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
|
@@ -6,11 +6,11 @@ import { useDisclosure as M } from "@mantine/hooks";
|
|
|
6
6
|
import { getFileIcons as P } from "../../helpers/getFileIcons.js";
|
|
7
7
|
import { getFileType as A } from "../../helpers/getFileType.js";
|
|
8
8
|
import { AttachmentsGalleryModal as B } from "../AttachmentsGalleryModal/AttachmentsGalleryModal.js";
|
|
9
|
-
import
|
|
9
|
+
import a from "./AttachmentsPreview.module.css.js";
|
|
10
10
|
const U = ({
|
|
11
11
|
files: o,
|
|
12
12
|
onRemove: i,
|
|
13
|
-
mode:
|
|
13
|
+
mode: t,
|
|
14
14
|
parentIsExisting: u
|
|
15
15
|
}) => {
|
|
16
16
|
const [T, { open: w, close: b }] = M(!1), s = o.filter((e) => e.isImage), d = o.filter((e) => !e.isImage), D = s.map((e) => ({
|
|
@@ -35,7 +35,7 @@ const U = ({
|
|
|
35
35
|
};
|
|
36
36
|
return o.length === 0 ? null : /* @__PURE__ */ n(C, { children: [
|
|
37
37
|
/* @__PURE__ */ n(v, { gap: "10px", w: "100%", tabIndex: 0, children: [
|
|
38
|
-
s.length > 0 && /* @__PURE__ */ r(z, {
|
|
38
|
+
s.length > 0 && /* @__PURE__ */ r(z, { gap: "xs", children: s.map((e) => {
|
|
39
39
|
const l = o.indexOf(e);
|
|
40
40
|
return /* @__PURE__ */ r(z.Col, { span: "content", children: /* @__PURE__ */ n(
|
|
41
41
|
h,
|
|
@@ -43,7 +43,7 @@ const U = ({
|
|
|
43
43
|
w: 56,
|
|
44
44
|
h: 56,
|
|
45
45
|
pos: "relative",
|
|
46
|
-
className:
|
|
46
|
+
className: a.imagePreviewWrapper,
|
|
47
47
|
children: [
|
|
48
48
|
/* @__PURE__ */ r(
|
|
49
49
|
F,
|
|
@@ -62,11 +62,11 @@ const U = ({
|
|
|
62
62
|
/* @__PURE__ */ r(
|
|
63
63
|
f,
|
|
64
64
|
{
|
|
65
|
-
visible: e.isTemp &&
|
|
65
|
+
visible: e.isTemp && t === "view" && u,
|
|
66
66
|
loaderProps: { size: 20 }
|
|
67
67
|
}
|
|
68
68
|
),
|
|
69
|
-
|
|
69
|
+
t === "view" && !e.isTemp && /* @__PURE__ */ r(
|
|
70
70
|
c,
|
|
71
71
|
{
|
|
72
72
|
component: "a",
|
|
@@ -79,11 +79,11 @@ const U = ({
|
|
|
79
79
|
top: 2,
|
|
80
80
|
right: 2,
|
|
81
81
|
bg: "var(--mantine-color-dark-filled, #2E2E2E)",
|
|
82
|
-
className:
|
|
82
|
+
className: a.downloadButton,
|
|
83
83
|
children: /* @__PURE__ */ r(x, { size: 16, icon: g })
|
|
84
84
|
}
|
|
85
85
|
),
|
|
86
|
-
|
|
86
|
+
t === "draft" && i && /* @__PURE__ */ r(
|
|
87
87
|
c,
|
|
88
88
|
{
|
|
89
89
|
size: "20px",
|
|
@@ -93,7 +93,7 @@ const U = ({
|
|
|
93
93
|
pos: "absolute",
|
|
94
94
|
color: "dark",
|
|
95
95
|
onClick: () => i(l),
|
|
96
|
-
className:
|
|
96
|
+
className: a.deleteButton,
|
|
97
97
|
children: /* @__PURE__ */ r(I, { size: "12px" })
|
|
98
98
|
}
|
|
99
99
|
)
|
|
@@ -105,15 +105,15 @@ const U = ({
|
|
|
105
105
|
h,
|
|
106
106
|
{
|
|
107
107
|
w: "100%",
|
|
108
|
-
className:
|
|
108
|
+
className: a.filePreviewList,
|
|
109
109
|
"data-many": d.length >= 4,
|
|
110
110
|
children: d.map((e) => {
|
|
111
111
|
const l = o.indexOf(e);
|
|
112
|
-
return /* @__PURE__ */ n(h, { className:
|
|
112
|
+
return /* @__PURE__ */ n(h, { className: a.filePreviewWrapper, children: [
|
|
113
113
|
/* @__PURE__ */ r(
|
|
114
114
|
f,
|
|
115
115
|
{
|
|
116
|
-
visible: e.isTemp &&
|
|
116
|
+
visible: e.isTemp && t === "view" && u,
|
|
117
117
|
loaderProps: { size: 20 }
|
|
118
118
|
}
|
|
119
119
|
),
|
|
@@ -134,7 +134,11 @@ const U = ({
|
|
|
134
134
|
flex: 1,
|
|
135
135
|
miw: 0,
|
|
136
136
|
children: [
|
|
137
|
-
P(
|
|
137
|
+
P(
|
|
138
|
+
A(e.type, !1, e.name),
|
|
139
|
+
!1,
|
|
140
|
+
36
|
|
141
|
+
),
|
|
138
142
|
/* @__PURE__ */ n(v, { gap: 0, flex: 1, miw: 0, children: [
|
|
139
143
|
/* @__PURE__ */ r(
|
|
140
144
|
N,
|
|
@@ -142,7 +146,7 @@ const U = ({
|
|
|
142
146
|
size: "sm",
|
|
143
147
|
truncate: !0,
|
|
144
148
|
title: e.name,
|
|
145
|
-
className:
|
|
149
|
+
className: a.fileDownloadName,
|
|
146
150
|
component: "a",
|
|
147
151
|
href: e.url,
|
|
148
152
|
download: e.name,
|
|
@@ -159,7 +163,7 @@ const U = ({
|
|
|
159
163
|
]
|
|
160
164
|
}
|
|
161
165
|
),
|
|
162
|
-
|
|
166
|
+
t === "view" && !e.isTemp && /* @__PURE__ */ r(
|
|
163
167
|
c,
|
|
164
168
|
{
|
|
165
169
|
component: "a",
|
|
@@ -169,14 +173,14 @@ const U = ({
|
|
|
169
173
|
variant: "subtle",
|
|
170
174
|
color: "gray",
|
|
171
175
|
size: "sm",
|
|
172
|
-
className:
|
|
176
|
+
className: a.downloadButton,
|
|
173
177
|
children: /* @__PURE__ */ r(x, { size: 16, icon: g })
|
|
174
178
|
}
|
|
175
179
|
)
|
|
176
180
|
]
|
|
177
181
|
}
|
|
178
182
|
),
|
|
179
|
-
|
|
183
|
+
t === "draft" && i && /* @__PURE__ */ r(
|
|
180
184
|
c,
|
|
181
185
|
{
|
|
182
186
|
size: "xs",
|
|
@@ -185,7 +189,7 @@ const U = ({
|
|
|
185
189
|
variant: "filled",
|
|
186
190
|
color: "dark",
|
|
187
191
|
onClick: () => i(l),
|
|
188
|
-
className:
|
|
192
|
+
className: a.deleteButton,
|
|
189
193
|
children: /* @__PURE__ */ r(I, { size: "12px" })
|
|
190
194
|
}
|
|
191
195
|
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "_imagePreviewWrapper_qqm20_1", t = "_deleteButton_qqm20_6", o = "_downloadButton_qqm20_13", i = "_filePreviewList_qqm20_32", r = "_fileDownloadName_qqm20_45", a = "_filePreviewWrapper_qqm20_51", l = {
|
|
2
2
|
imagePreviewWrapper: e,
|
|
3
3
|
deleteButton: t,
|
|
4
4
|
downloadButton: o,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
const o = "
|
|
1
|
+
const o = "_wrapper_1y9p0_1", s = "_logo_1y9p0_8", p = "_desktop_1y9p0_23", _ = "_shadow_1y9p0_37", t = "_desktopShadow_1y9p0_50", d = {
|
|
2
2
|
wrapper: o,
|
|
3
3
|
logo: s,
|
|
4
|
-
desktop:
|
|
5
|
-
shadow:
|
|
6
|
-
desktopShadow:
|
|
4
|
+
desktop: p,
|
|
5
|
+
shadow: _,
|
|
6
|
+
desktopShadow: t
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
d as default,
|
|
10
|
+
p as desktop,
|
|
11
|
+
t as desktopShadow,
|
|
12
12
|
s as logo,
|
|
13
|
-
|
|
13
|
+
_ as shadow,
|
|
14
14
|
o as wrapper
|
|
15
15
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const o = "
|
|
1
|
+
const o = "_accordionRoot_3pkfo_1", c = "_accordionControl_3pkfo_5", n = "_accordionItem_3pkfo_9", t = {
|
|
2
2
|
accordionRoot: o,
|
|
3
3
|
accordionControl: c,
|
|
4
4
|
accordionItem: n
|
|
@@ -1,9 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ColorSwatchProps, FlexProps } from '@mantine/core';
|
|
2
3
|
import { ColorPickerList } from './ColorPickerList';
|
|
3
|
-
import
|
|
4
|
-
|
|
4
|
+
import { ColorItem } from './types';
|
|
5
|
+
export type ColorPickerProps = {
|
|
6
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
7
|
+
value?: string | null;
|
|
8
|
+
onChange?: (v: string) => void;
|
|
9
|
+
allowCustomColor?: boolean;
|
|
10
|
+
colors?: ColorItem[];
|
|
11
|
+
swatchShape?: 'circle' | 'square';
|
|
12
|
+
swatchVariant?: 'filled' | 'outline';
|
|
13
|
+
withTick?: boolean;
|
|
14
|
+
fullWidth?: boolean;
|
|
15
|
+
swatchSize?: number;
|
|
16
|
+
} & Omit<FlexProps, 'onChange'>;
|
|
17
|
+
export interface ColorCircleProps extends Omit<ColorSwatchProps, 'color'>, Omit<React.ComponentPropsWithoutRef<'div'>, keyof Omit<ColorSwatchProps, 'color'>> {
|
|
5
18
|
value?: string | null;
|
|
6
|
-
label?: string;
|
|
7
19
|
isActive?: boolean;
|
|
8
20
|
swatchShape?: 'circle' | 'square';
|
|
9
21
|
swatchVariant?: 'filled' | 'outline';
|
|
@@ -11,21 +23,14 @@ interface ColorCircleProps extends Omit<ColorSwatchProps, 'color'>, Omit<React.C
|
|
|
11
23
|
borderColor?: string;
|
|
12
24
|
bgColor?: string;
|
|
13
25
|
}
|
|
14
|
-
export declare const ColorCircle:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
swatchVariant?: "filled" | "outline";
|
|
22
|
-
withTick?: boolean;
|
|
23
|
-
fullWidth?: boolean;
|
|
24
|
-
swatchSize?: number;
|
|
25
|
-
} & Omit<FlexProps, "onChange"> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
26
|
-
ColorCircle: import("react").ForwardRefExoticComponent<ColorCircleProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
26
|
+
export declare const ColorCircle: ({ value, isActive, swatchShape, swatchVariant, withTick, borderColor, bgColor, ref, ...props }: ColorCircleProps & {
|
|
27
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
28
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare const ColorPicker: (({ value, onChange, allowCustomColor, colors, swatchShape, swatchVariant, withTick, fullWidth, swatchSize, ref, ...props }: ColorPickerProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
30
|
+
ColorCircle: ({ value, isActive, swatchShape, swatchVariant, withTick, borderColor, bgColor, ref, ...props }: ColorCircleProps & {
|
|
31
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
32
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
27
33
|
List: typeof ColorPickerList;
|
|
28
|
-
Toolbar:
|
|
34
|
+
Toolbar: React.ForwardRefExoticComponent<import("./ColorPickerToolbar").ColorPickerToolbarProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
35
|
};
|
|
30
|
-
export {};
|
|
31
36
|
//# sourceMappingURL=ColorPicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAIL,gBAAgB,EAEhB,SAAS,EAKV,MAAM,eAAe,CAAC;AAKvB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAsB,MAAM,SAAS,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAClC,aAAa,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AAkGhC,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,EACrC,IAAI,CACF,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EACrC,MAAM,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,CACtC;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAClC,aAAa,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,WAAW,GAAI,gGAUzB,gBAAgB,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;CAAE,4CA4DxD,CAAC;AASF,eAAO,MAAM,WAAW,+HAlLrB,gBAAgB;kHA6GhB,gBAAgB,GAAG;QAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;KAAE;;;CAyEvD,CAAC"}
|
|
@@ -1,153 +1,159 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import { ColorPickerList as
|
|
1
|
+
import { jsx as r, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import { useState as k } from "react";
|
|
3
|
+
import { useTranslation as j } from "react-i18next";
|
|
4
|
+
import { Tick02Icon as A } from "@hugeicons/core-free-icons";
|
|
5
|
+
import { HugeiconsIcon as E } from "@hugeicons/react";
|
|
6
|
+
import { useMantineTheme as I, getThemeColor as y, Flex as x, Tooltip as R, ColorSwatch as U, parseThemeColor as V, ColorInput as D, ActionIcon as w } from "@mantine/core";
|
|
7
|
+
import { IconPalette as F, IconPencil as H } from "@tabler/icons-react";
|
|
8
|
+
import M from "styled-components";
|
|
9
|
+
import { DEFAULT_VALUES as C } from "../../constants.js";
|
|
10
|
+
import { ColorPickerList as q } from "./ColorPickerList.js";
|
|
11
|
+
import { ColorPickerToolbar as _ } from "./ColorPickerToolbar.js";
|
|
11
12
|
import { normalizeColorItem as B } from "./types.js";
|
|
12
|
-
const G =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
H,
|
|
32
|
-
{
|
|
33
|
-
w: "100%",
|
|
34
|
-
popoverProps: {
|
|
35
|
-
withinPortal: !1,
|
|
36
|
-
keepMounted: !1
|
|
37
|
-
},
|
|
38
|
-
maxLength: 7,
|
|
39
|
-
withEyeDropper: !1,
|
|
40
|
-
size: "xs",
|
|
41
|
-
value: z,
|
|
42
|
-
onChange: I,
|
|
43
|
-
onChangeEnd: l,
|
|
44
|
-
placeholder: "Select custom color"
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
/* @__PURE__ */ e(
|
|
48
|
-
v,
|
|
49
|
-
{
|
|
50
|
-
radius: "xl",
|
|
51
|
-
variant: "default",
|
|
52
|
-
color: "gray",
|
|
53
|
-
onClick: () => b(!1),
|
|
54
|
-
children: /* @__PURE__ */ e(M, { size: 16 })
|
|
55
|
-
}
|
|
56
|
-
)
|
|
57
|
-
] }, 1) : /* @__PURE__ */ h(
|
|
58
|
-
C,
|
|
59
|
-
{
|
|
60
|
-
ref: f,
|
|
61
|
-
...u,
|
|
62
|
-
justify: p ? "space-between" : "flex-start",
|
|
63
|
-
align: "center",
|
|
64
|
-
children: [
|
|
65
|
-
(s || g.COLORS).map((P, S) => {
|
|
66
|
-
const { value: c, border: T, bg: L, label: $ } = B(P);
|
|
67
|
-
return /* @__PURE__ */ e(
|
|
68
|
-
J,
|
|
69
|
-
{
|
|
70
|
-
value: c,
|
|
71
|
-
label: $,
|
|
72
|
-
isActive: c === o,
|
|
73
|
-
size: i - 4,
|
|
74
|
-
swatchShape: a,
|
|
75
|
-
swatchVariant: m,
|
|
76
|
-
withTick: d,
|
|
77
|
-
borderColor: T,
|
|
78
|
-
bgColor: L,
|
|
79
|
-
onClick: () => l?.(c)
|
|
80
|
-
},
|
|
81
|
-
c || S
|
|
82
|
-
);
|
|
83
|
-
}),
|
|
84
|
-
n && /* @__PURE__ */ e(
|
|
85
|
-
v,
|
|
86
|
-
{
|
|
87
|
-
radius: "xl",
|
|
88
|
-
variant: "default",
|
|
89
|
-
color: "gray",
|
|
90
|
-
onClick: () => b(!0),
|
|
91
|
-
children: /* @__PURE__ */ e(U, { size: 16 })
|
|
92
|
-
}
|
|
93
|
-
)
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
|
-
2
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
), k = y(
|
|
100
|
-
({ value: o, label: l, isActive: n, swatchShape: s, swatchVariant: a = "filled", withTick: m, borderColor: d, bgColor: p, ...i }, u) => {
|
|
101
|
-
const f = w(), r = o ? E(o, f) : "", t = a === "outline";
|
|
102
|
-
return /* @__PURE__ */ e(C, { w: i.size || 24, h: i.size || 24, justify: "center", align: "center", style: { position: "relative" }, children: /* @__PURE__ */ e(R, { label: l || o || "", withArrow: !0, children: /* @__PURE__ */ h(
|
|
13
|
+
const G = ({
|
|
14
|
+
value: o,
|
|
15
|
+
onChange: e,
|
|
16
|
+
allowCustomColor: n,
|
|
17
|
+
colors: s,
|
|
18
|
+
swatchShape: a = "circle",
|
|
19
|
+
swatchVariant: m = "filled",
|
|
20
|
+
withTick: p = !1,
|
|
21
|
+
fullWidth: d = !1,
|
|
22
|
+
swatchSize: u = 30,
|
|
23
|
+
ref: c,
|
|
24
|
+
...f
|
|
25
|
+
}) => {
|
|
26
|
+
const t = I(), i = V({
|
|
27
|
+
color: o || C.COLORS[0],
|
|
28
|
+
theme: t
|
|
29
|
+
}), [h, O] = k(i.value), [P, g] = k(!1);
|
|
30
|
+
return P ? /* @__PURE__ */ b(x, { align: "center", mih: 30, children: [
|
|
31
|
+
/* @__PURE__ */ r(
|
|
103
32
|
D,
|
|
104
33
|
{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
alphaOverlay: { display: "none" },
|
|
110
|
-
shadowOverlay: { display: "none" }
|
|
111
|
-
} : void 0,
|
|
112
|
-
style: {
|
|
113
|
-
cursor: "pointer",
|
|
114
|
-
color: "var(--mantine-color-white)",
|
|
115
|
-
background: t ? p || `var(--mantine-color-${o}-light, ${r}20)` : void 0,
|
|
116
|
-
border: t ? `2px solid ${d || `var(--mantine-color-${o}-outline, ${r})`}` : void 0
|
|
34
|
+
w: "100%",
|
|
35
|
+
popoverProps: {
|
|
36
|
+
withinPortal: !1,
|
|
37
|
+
keepMounted: !1
|
|
117
38
|
},
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
39
|
+
maxLength: 7,
|
|
40
|
+
withEyeDropper: !1,
|
|
41
|
+
size: "xs",
|
|
42
|
+
value: h,
|
|
43
|
+
onChange: O,
|
|
44
|
+
onChangeEnd: e,
|
|
45
|
+
placeholder: "Select custom color"
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
/* @__PURE__ */ r(
|
|
49
|
+
w,
|
|
50
|
+
{
|
|
51
|
+
radius: "xl",
|
|
52
|
+
variant: "default",
|
|
53
|
+
color: "gray",
|
|
54
|
+
onClick: () => g(!1),
|
|
55
|
+
children: /* @__PURE__ */ r(F, { size: 16 })
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
] }, 1) : /* @__PURE__ */ b(
|
|
59
|
+
x,
|
|
60
|
+
{
|
|
61
|
+
ref: c,
|
|
62
|
+
...f,
|
|
63
|
+
justify: d ? "space-between" : "flex-start",
|
|
64
|
+
align: "center",
|
|
65
|
+
mih: 32,
|
|
66
|
+
children: [
|
|
67
|
+
(s || C.COLORS).map((S, T) => {
|
|
68
|
+
const { value: l, border: $, bg: z } = B(S), v = l === o || !o && l === C.COLORS[0];
|
|
69
|
+
return /* @__PURE__ */ r(
|
|
70
|
+
J,
|
|
122
71
|
{
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
72
|
+
value: l,
|
|
73
|
+
isActive: v,
|
|
74
|
+
size: u - 4,
|
|
75
|
+
swatchShape: a,
|
|
76
|
+
swatchVariant: m,
|
|
77
|
+
withTick: p,
|
|
78
|
+
borderColor: $,
|
|
79
|
+
bgColor: z,
|
|
80
|
+
onClick: () => e?.(l)
|
|
81
|
+
},
|
|
82
|
+
l || T
|
|
83
|
+
);
|
|
84
|
+
}),
|
|
85
|
+
n && /* @__PURE__ */ r(
|
|
86
|
+
w,
|
|
87
|
+
{
|
|
88
|
+
radius: "xl",
|
|
89
|
+
variant: "default",
|
|
90
|
+
color: "gray",
|
|
91
|
+
onClick: () => g(!0),
|
|
92
|
+
children: /* @__PURE__ */ r(H, { size: 16 })
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
2
|
|
98
|
+
);
|
|
99
|
+
}, L = ({
|
|
100
|
+
value: o,
|
|
101
|
+
isActive: e,
|
|
102
|
+
swatchShape: n,
|
|
103
|
+
swatchVariant: s = "filled",
|
|
104
|
+
withTick: a,
|
|
105
|
+
borderColor: m,
|
|
106
|
+
bgColor: p,
|
|
107
|
+
ref: d,
|
|
108
|
+
...u
|
|
109
|
+
}) => {
|
|
110
|
+
const c = I(), { t: f } = j("ui"), t = s === "outline", i = o ? y(o, c) : "", h = o ? f(`colorPicker.colors.${o}`, {
|
|
111
|
+
defaultValue: o.charAt(0).toUpperCase() + o.slice(1)
|
|
112
|
+
}) : "";
|
|
113
|
+
return /* @__PURE__ */ r(x, { miw: 32, justify: "center", align: "center", children: /* @__PURE__ */ r(R, { label: h, withArrow: !0, children: /* @__PURE__ */ b(
|
|
114
|
+
U,
|
|
115
|
+
{
|
|
116
|
+
ref: d,
|
|
117
|
+
color: t ? "transparent" : i,
|
|
118
|
+
radius: n === "circle" ? "xl" : "sm",
|
|
119
|
+
style: {
|
|
120
|
+
cursor: "pointer",
|
|
121
|
+
color: "var(--mantine-color-white)",
|
|
122
|
+
background: t ? p || `var(--mantine-color-${o}-light, ${i}20)` : void 0,
|
|
123
|
+
border: t ? `2px solid ${m || `var(--mantine-color-${o}-outline, ${i})`}` : void 0
|
|
124
|
+
},
|
|
125
|
+
...u,
|
|
126
|
+
children: [
|
|
127
|
+
e && /* @__PURE__ */ r(
|
|
128
|
+
"span",
|
|
129
|
+
{
|
|
130
|
+
style: {
|
|
131
|
+
position: "absolute",
|
|
132
|
+
top: -4,
|
|
133
|
+
left: -4,
|
|
134
|
+
right: -4,
|
|
135
|
+
bottom: -4,
|
|
136
|
+
border: `2px solid ${o ? y(o, c) : ""}`,
|
|
137
|
+
borderRadius: n === "circle" ? "var(--mantine-radius-xl)" : "var(--mantine-radius-sm)",
|
|
138
|
+
pointerEvents: "none",
|
|
139
|
+
boxSizing: "border-box"
|
|
134
140
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
|
|
141
|
+
}
|
|
142
|
+
),
|
|
143
|
+
a && e && /* @__PURE__ */ r(E, { size: 20, icon: A })
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
) }) });
|
|
147
|
+
}, J = M(L)`
|
|
142
148
|
.mantine-ColorSwatch-colorOverlay {
|
|
143
149
|
border-radius: ${({ swatchShape: o }) => o === "square" ? "3px" : "50%"};
|
|
144
150
|
}
|
|
145
151
|
`, lo = Object.assign(G, {
|
|
146
|
-
ColorCircle:
|
|
147
|
-
List:
|
|
148
|
-
Toolbar:
|
|
152
|
+
ColorCircle: L,
|
|
153
|
+
List: q,
|
|
154
|
+
Toolbar: _
|
|
149
155
|
});
|
|
150
156
|
export {
|
|
151
|
-
|
|
157
|
+
L as ColorCircle,
|
|
152
158
|
lo as ColorPicker
|
|
153
159
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
section:
|
|
3
|
-
sectionLabel:
|
|
1
|
+
const t = "_section_ux1w4_2", i = "_sectionLabel_ux1w4_15", n = "_listItem_ux1w4_46", e = "_listItemActive_ux1w4_72", c = "_listItemLabel_ux1w4_76", l = "_listItemSwatch_ux1w4_84", _ = "_grid_ux1w4_92", s = "_inlineSection_ux1w4_162", o = "_inlineSectionLabel_ux1w4_172", w = "_inlineRow_ux1w4_180", a = "_inlineSwatch_ux1w4_189", S = "_inlineSwatchActive_ux1w4_214", u = "_inlineSwatchRound_ux1w4_220", x = {
|
|
2
|
+
section: t,
|
|
3
|
+
sectionLabel: i,
|
|
4
4
|
listItem: n,
|
|
5
5
|
listItemActive: e,
|
|
6
6
|
listItemLabel: c,
|
|
@@ -8,24 +8,24 @@ const i = "_section_14k6i_3", t = "_sectionLabel_14k6i_29", n = "_listItem_14k6i
|
|
|
8
8
|
grid: _,
|
|
9
9
|
inlineSection: s,
|
|
10
10
|
inlineSectionLabel: o,
|
|
11
|
-
inlineRow:
|
|
12
|
-
inlineSwatch:
|
|
13
|
-
inlineSwatchActive:
|
|
14
|
-
inlineSwatchRound:
|
|
11
|
+
inlineRow: w,
|
|
12
|
+
inlineSwatch: a,
|
|
13
|
+
inlineSwatchActive: S,
|
|
14
|
+
inlineSwatchRound: u
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
x as default,
|
|
18
18
|
_ as grid,
|
|
19
|
-
|
|
19
|
+
w as inlineRow,
|
|
20
20
|
s as inlineSection,
|
|
21
21
|
o as inlineSectionLabel,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
a as inlineSwatch,
|
|
23
|
+
S as inlineSwatchActive,
|
|
24
|
+
u as inlineSwatchRound,
|
|
25
25
|
n as listItem,
|
|
26
26
|
e as listItemActive,
|
|
27
27
|
c as listItemLabel,
|
|
28
28
|
l as listItemSwatch,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
t as section,
|
|
30
|
+
i as sectionLabel
|
|
31
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPickerToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPickerToolbar.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAMjE;6DAC6D;AAC7D,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;
|
|
1
|
+
{"version":3,"file":"ColorPickerToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/ColorPicker/ColorPickerToolbar.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAMjE;6DAC6D;AAC7D,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AA4BD,eAAO,MAAM,kBAAkB,oHAuJ7B,CAAC"}
|