@layers-app/shared 0.3.8 → 0.4.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/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 +1 -4
- package/dist/components/AppContainer/components/AppSidebarButton.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppSidebarButton.js +15 -22
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +21 -22
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +91 -48
- 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 +1 -3
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +63 -89
- 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 +26 -35
- 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 +36 -43
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +0 -4
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.js +20 -59
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +18 -28
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.js +18 -22
- 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 +21 -19
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +144 -136
- package/dist/components/ColorPicker/ColorPicker.module.css.js +31 -0
- package/dist/components/ColorPicker/ColorPickerList.d.ts +6 -0
- package/dist/components/ColorPicker/ColorPickerList.d.ts.map +1 -0
- package/dist/components/ColorPicker/ColorPickerList.js +134 -0
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts +13 -0
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -0
- package/dist/components/ColorPicker/ColorPickerToolbar.js +149 -0
- package/dist/components/ColorPicker/icons.d.ts +11 -0
- package/dist/components/ColorPicker/icons.d.ts.map +1 -0
- package/dist/components/ColorPicker/icons.js +71 -0
- package/dist/components/ColorPicker/types.d.ts +49 -0
- package/dist/components/ColorPicker/types.d.ts.map +1 -0
- package/dist/components/ColorPicker/types.js +10 -0
- package/dist/components/ColorPicker/useRecentColors.d.ts +13 -0
- package/dist/components/ColorPicker/useRecentColors.d.ts.map +1 -0
- package/dist/components/ColorPicker/useRecentColors.js +39 -0
- 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 +4 -3
- 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 -0
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.js +1 -0
- 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 +33 -43
- 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 +4 -2
- package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePicker.js +241 -226
- package/dist/components/FilePicker/FilePicker.module.css.js +14 -12
- package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGallery.js +60 -34
- package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGiphy.js +38 -39
- package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerLink.js +29 -26
- package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUnsplash.js +42 -43
- package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUpload.js +51 -35
- package/dist/components/FilePicker/coverCollections.d.ts +4 -0
- package/dist/components/FilePicker/coverCollections.d.ts.map +1 -0
- package/dist/components/FilePicker/coverCollections.js +164 -0
- package/dist/components/FilePicker/index.d.ts +1 -0
- 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 +0 -6
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts.map +1 -1
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.js +3 -4
- 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 +6358 -381
- 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 +1 -3
- package/dist/components/GroupAvatar/index.d.ts.map +1 -1
- package/dist/components/GroupAvatar/index.js +21 -24
- 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 +1 -3
- 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 +1 -7
- package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuActionIcon.js +23 -21
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
- package/dist/components/NewColorPicker/components/Target.d.ts +1 -3
- package/dist/components/NewColorPicker/components/Target.d.ts.map +1 -1
- package/dist/components/NewColorPicker/components/Target.js +43 -48
- package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
- package/dist/components/Notification/Notification.js +1 -3
- package/dist/components/Notification/Notification.module.css.js +1 -1
- package/dist/components/Notification/NotificationCard.d.ts +1 -3
- package/dist/components/Notification/NotificationCard.d.ts.map +1 -1
- package/dist/components/Notification/NotificationCard.js +86 -87
- 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 +74 -70
- package/dist/components/ProjectIcon/ProjectIcon.d.ts +12 -7
- package/dist/components/ProjectIcon/ProjectIcon.d.ts.map +1 -1
- package/dist/components/ProjectIcon/ProjectIcon.js +60 -58
- 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/UserAvatar/index.d.ts +1 -2
- package/dist/components/UserAvatar/index.d.ts.map +1 -1
- package/dist/components/UserAvatar/index.js +35 -38
- 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 +18 -19
- 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/brand.js +8 -8
- package/dist/config/envConfig.d.ts +0 -8
- package/dist/config/envConfig.d.ts.map +1 -1
- package/dist/config/envConfig.js +13 -21
- package/dist/helpers/getFileIcons.d.ts.map +1 -1
- package/dist/helpers/getFileIcons.js +45 -63
- package/dist/helpers/getFileType.d.ts +1 -1
- package/dist/helpers/getFileType.d.ts.map +1 -1
- package/dist/helpers/getFileType.js +8 -29
- package/dist/helpers/getPartOfTheDay.d.ts +1 -1
- package/dist/helpers/platform.d.ts +1 -1
- package/dist/helpers/platform.d.ts.map +1 -1
- package/dist/helpers/platform.js +4 -5
- package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
- package/dist/helpers/showNotifications.d.ts.map +1 -1
- package/dist/helpers/showNotifications.js +29 -30
- 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 +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +509 -498
- package/dist/lang/locales/ui_en.json.js +20 -18
- package/dist/lang/locales/ui_es.json.js +14 -12
- package/dist/lang/locales/ui_ru.json.js +15 -13
- package/dist/node_modules/countries-and-timezones/esm/index.js +4011 -281
- package/docs/README.md +499 -499
- package/package.json +75 -75
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts +0 -6
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts.map +0 -1
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.js +0 -16
- package/dist/helpers/offlineSuppression.d.ts +0 -3
- package/dist/helpers/offlineSuppression.d.ts.map +0 -1
- package/dist/helpers/offlineSuppression.js +0 -8
|
@@ -35,11 +35,11 @@ export declare const useActiveStep: () => {
|
|
|
35
35
|
max?: number | undefined;
|
|
36
36
|
} | {
|
|
37
37
|
id: string;
|
|
38
|
-
controlType: "multipleChoice";
|
|
39
38
|
options: {
|
|
40
|
-
label: string;
|
|
41
39
|
id: string;
|
|
40
|
+
label: string;
|
|
42
41
|
}[];
|
|
42
|
+
controlType: "multipleChoice";
|
|
43
43
|
title?: string | undefined;
|
|
44
44
|
description?: string | undefined;
|
|
45
45
|
icon?: string | undefined;
|
|
@@ -56,16 +56,16 @@ export declare const useActiveStep: () => {
|
|
|
56
56
|
description?: string | undefined;
|
|
57
57
|
icon?: string | undefined;
|
|
58
58
|
required?: boolean | undefined;
|
|
59
|
+
variableName?: string | undefined;
|
|
59
60
|
min?: number | undefined;
|
|
60
61
|
max?: number | undefined;
|
|
61
|
-
variableName?: string | undefined;
|
|
62
62
|
} | {
|
|
63
63
|
id: string;
|
|
64
|
-
controlType: "dropdown";
|
|
65
64
|
options: {
|
|
66
|
-
label: string;
|
|
67
65
|
id: string;
|
|
66
|
+
label: string;
|
|
68
67
|
}[];
|
|
68
|
+
controlType: "dropdown";
|
|
69
69
|
title?: string | undefined;
|
|
70
70
|
description?: string | undefined;
|
|
71
71
|
icon?: string | undefined;
|
|
@@ -74,25 +74,25 @@ export declare const useActiveStep: () => {
|
|
|
74
74
|
variableName?: string | undefined;
|
|
75
75
|
} | {
|
|
76
76
|
id: string;
|
|
77
|
-
controlType: "choice";
|
|
78
77
|
options: {
|
|
79
|
-
label: string;
|
|
80
78
|
id: string;
|
|
79
|
+
label: string;
|
|
81
80
|
}[];
|
|
81
|
+
controlType: "choice";
|
|
82
82
|
title?: string | undefined;
|
|
83
83
|
description?: string | undefined;
|
|
84
84
|
required?: boolean | undefined;
|
|
85
|
-
showInput?: boolean | undefined;
|
|
86
85
|
variableName?: string | undefined;
|
|
86
|
+
showInput?: boolean | undefined;
|
|
87
87
|
otherOption?: boolean | undefined;
|
|
88
88
|
} | {
|
|
89
89
|
id: string;
|
|
90
|
-
controlType: "pictureChoice";
|
|
91
90
|
options: {
|
|
92
|
-
label: string;
|
|
93
91
|
id: string;
|
|
92
|
+
label: string;
|
|
94
93
|
image?: string | undefined;
|
|
95
94
|
}[];
|
|
95
|
+
controlType: "pictureChoice";
|
|
96
96
|
title?: string | undefined;
|
|
97
97
|
description?: string | undefined;
|
|
98
98
|
icon?: string | undefined;
|
|
@@ -105,13 +105,13 @@ export declare const useActiveStep: () => {
|
|
|
105
105
|
title?: string | undefined;
|
|
106
106
|
description?: string | undefined;
|
|
107
107
|
icon?: string | undefined;
|
|
108
|
+
required?: boolean | undefined;
|
|
109
|
+
variableName?: string | undefined;
|
|
108
110
|
multiple?: boolean | undefined;
|
|
109
111
|
maxFiles?: number | undefined;
|
|
110
112
|
minFiles?: number | undefined;
|
|
111
113
|
accept?: string[] | undefined;
|
|
112
114
|
maxSize?: number | undefined;
|
|
113
|
-
required?: boolean | undefined;
|
|
114
|
-
variableName?: string | undefined;
|
|
115
115
|
} | {
|
|
116
116
|
id: string;
|
|
117
117
|
controlType: "location";
|
|
@@ -145,10 +145,10 @@ export declare const useActiveStep: () => {
|
|
|
145
145
|
title?: string | undefined;
|
|
146
146
|
description?: string | undefined;
|
|
147
147
|
icon?: string | undefined;
|
|
148
|
-
yesLabel?: string | undefined;
|
|
149
|
-
noLabel?: string | undefined;
|
|
150
148
|
required?: boolean | undefined;
|
|
151
149
|
variableName?: string | undefined;
|
|
150
|
+
yesLabel?: string | undefined;
|
|
151
|
+
noLabel?: string | undefined;
|
|
152
152
|
} | {
|
|
153
153
|
id: string;
|
|
154
154
|
controlType: "longText";
|
|
@@ -167,9 +167,9 @@ export declare const useActiveStep: () => {
|
|
|
167
167
|
description?: string | undefined;
|
|
168
168
|
icon?: string | undefined;
|
|
169
169
|
required?: boolean | undefined;
|
|
170
|
+
label?: string | undefined;
|
|
170
171
|
showButton?: boolean | undefined;
|
|
171
172
|
buttonIcon?: string | undefined;
|
|
172
|
-
label?: string | undefined;
|
|
173
173
|
showIconButton?: boolean | undefined;
|
|
174
174
|
} | {
|
|
175
175
|
id: string;
|
|
@@ -177,25 +177,25 @@ export declare const useActiveStep: () => {
|
|
|
177
177
|
title?: string | undefined;
|
|
178
178
|
description?: string | undefined;
|
|
179
179
|
required?: boolean | undefined;
|
|
180
|
+
label?: string | undefined;
|
|
180
181
|
showButton?: boolean | undefined;
|
|
181
182
|
buttonIcon?: string | undefined;
|
|
182
183
|
link?: string | undefined;
|
|
183
|
-
label?: string | undefined;
|
|
184
184
|
} | {
|
|
185
185
|
id: string;
|
|
186
186
|
controlType: "button";
|
|
187
187
|
title?: string | undefined;
|
|
188
188
|
description?: string | undefined;
|
|
189
|
+
required?: boolean | undefined;
|
|
189
190
|
label?: string | undefined;
|
|
190
|
-
link?: string | undefined;
|
|
191
|
-
showIconButton?: boolean | undefined;
|
|
192
191
|
buttonIcon?: string | undefined;
|
|
192
|
+
showIconButton?: boolean | undefined;
|
|
193
|
+
link?: string | undefined;
|
|
193
194
|
alignButton?: "start" | "center" | "end" | undefined;
|
|
194
195
|
buttons?: any[] | undefined;
|
|
195
196
|
orientation?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
196
197
|
width?: number | undefined;
|
|
197
198
|
enableTooltip?: boolean | undefined;
|
|
198
|
-
required?: boolean | undefined;
|
|
199
199
|
fullWidthMobile?: boolean | undefined;
|
|
200
200
|
} | {
|
|
201
201
|
id: string;
|
|
@@ -212,9 +212,9 @@ export declare const useActiveStep: () => {
|
|
|
212
212
|
autoSubmit?: boolean | undefined;
|
|
213
213
|
confirmLabel?: string | undefined;
|
|
214
214
|
media?: {
|
|
215
|
+
image?: string | undefined;
|
|
215
216
|
layout?: "content" | "left" | "right" | "top" | "bottom" | "fullLeft" | "fullRight" | "fullTop" | "fullBottom" | "background" | undefined;
|
|
216
217
|
brightness?: number | undefined;
|
|
217
|
-
image?: string | undefined;
|
|
218
218
|
video?: string | undefined;
|
|
219
219
|
videoThumb?: string | undefined;
|
|
220
220
|
color?: string | undefined;
|
|
@@ -222,52 +222,52 @@ export declare const useActiveStep: () => {
|
|
|
222
222
|
blur?: number | undefined;
|
|
223
223
|
} | undefined;
|
|
224
224
|
conditions?: {
|
|
225
|
+
trigger: string;
|
|
225
226
|
controlId: string;
|
|
226
227
|
operator: string;
|
|
227
|
-
trigger: string;
|
|
228
228
|
compareValue?: string | undefined;
|
|
229
229
|
}[] | undefined;
|
|
230
230
|
theme?: {
|
|
231
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
232
|
-
align?: "start" | "center" | "end" | undefined;
|
|
233
|
-
listStyle?: string | undefined;
|
|
234
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
235
|
-
primaryColor?: string | undefined;
|
|
236
231
|
title?: {
|
|
232
|
+
color?: string | undefined;
|
|
237
233
|
fontSize?: number | undefined;
|
|
238
234
|
fontWeight?: number | undefined;
|
|
239
235
|
fontFamily?: string | undefined;
|
|
240
|
-
color?: string | undefined;
|
|
241
236
|
} | undefined;
|
|
242
237
|
description?: {
|
|
238
|
+
color?: string | undefined;
|
|
243
239
|
fontSize?: number | undefined;
|
|
244
240
|
fontWeight?: number | undefined;
|
|
245
241
|
fontFamily?: string | undefined;
|
|
242
|
+
} | undefined;
|
|
243
|
+
background?: {
|
|
244
|
+
image?: string | undefined;
|
|
245
|
+
brightness?: number | undefined;
|
|
246
246
|
color?: string | undefined;
|
|
247
|
+
blur?: number | undefined;
|
|
248
|
+
opacity?: number | undefined;
|
|
249
|
+
fit?: string | undefined;
|
|
250
|
+
blendMode?: string | undefined;
|
|
247
251
|
} | undefined;
|
|
252
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
253
|
+
align?: "start" | "center" | "end" | undefined;
|
|
254
|
+
listStyle?: string | undefined;
|
|
255
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
256
|
+
primaryColor?: string | undefined;
|
|
248
257
|
font?: {
|
|
258
|
+
color?: string | undefined;
|
|
249
259
|
fontSize?: number | undefined;
|
|
250
260
|
fontWeight?: number | undefined;
|
|
251
261
|
fontFamily?: string | undefined;
|
|
252
|
-
color?: string | undefined;
|
|
253
262
|
} | undefined;
|
|
254
263
|
container?: {
|
|
255
264
|
color?: string | undefined;
|
|
256
|
-
opacity?: number | undefined;
|
|
257
265
|
blur?: number | undefined;
|
|
266
|
+
opacity?: number | undefined;
|
|
258
267
|
backgroundImage?: string | undefined;
|
|
259
268
|
shadowSize?: number | undefined;
|
|
260
269
|
shadowColor?: string | undefined;
|
|
261
270
|
} | undefined;
|
|
262
|
-
background?: {
|
|
263
|
-
color?: string | undefined;
|
|
264
|
-
image?: string | undefined;
|
|
265
|
-
blur?: number | undefined;
|
|
266
|
-
brightness?: number | undefined;
|
|
267
|
-
opacity?: number | undefined;
|
|
268
|
-
fit?: string | undefined;
|
|
269
|
-
blendMode?: string | undefined;
|
|
270
|
-
} | undefined;
|
|
271
271
|
input?: {
|
|
272
272
|
backgroundColor?: string | undefined;
|
|
273
273
|
borderColor?: string | undefined;
|
|
@@ -106,12 +106,6 @@ export declare const useFormGlobalTheme: ({ innerId }: {
|
|
|
106
106
|
xs?: string | undefined;
|
|
107
107
|
xl?: string | undefined;
|
|
108
108
|
} | undefined;
|
|
109
|
-
fontWeights?: {
|
|
110
|
-
[x: string & {}]: string | undefined;
|
|
111
|
-
bold?: string | undefined;
|
|
112
|
-
medium?: string | undefined;
|
|
113
|
-
regular?: string | undefined;
|
|
114
|
-
} | undefined;
|
|
115
109
|
breakpoints?: {
|
|
116
110
|
[x: string & {}]: string | undefined;
|
|
117
111
|
sm?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormGlobalTheme.d.ts","sourceRoot":"","sources":["../../../../src/components/FormViewer/hooks/useFormGlobalTheme.tsx"],"names":[],"mappings":"AA0BA,eAAO,MAAM,kBAAkB,GAAI,aAAa;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE
|
|
1
|
+
{"version":3,"file":"useFormGlobalTheme.d.ts","sourceRoot":"","sources":["../../../../src/components/FormViewer/hooks/useFormGlobalTheme.tsx"],"names":[],"mappings":"AA0BA,eAAO,MAAM,kBAAkB,GAAI,aAAa;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsIlE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo as r } from "react";
|
|
2
2
|
import { generateColors as a } from "@mantine/colors-generator";
|
|
3
|
-
import { createTheme as
|
|
3
|
+
import { createTheme as d, DEFAULT_THEME as u, Flex as l, ActionIcon as m, ThemeIcon as f, Card as c, InputError as p, Progress as x, Select as z, NumberInput as b, Textarea as P, TextInput as h, Button as R, Text as T, Title as g } from "@mantine/core";
|
|
4
4
|
import { DateInput as y } from "@mantine/dates";
|
|
5
5
|
import { scopeCustomCss as F } from "../helpers/cssScoping.js";
|
|
6
6
|
import { useFormViewerStore as I } from "../store/formStore.js";
|
|
@@ -8,8 +8,8 @@ import { themeReselect as S } from "../store/selectors.js";
|
|
|
8
8
|
const B = ({ innerId: t }) => {
|
|
9
9
|
const { useStore: s } = I(), e = s(S), i = r(() => {
|
|
10
10
|
const n = a(e?.primaryColor || ""), o = "custom";
|
|
11
|
-
return
|
|
12
|
-
...
|
|
11
|
+
return d({
|
|
12
|
+
...u,
|
|
13
13
|
fontFamily: `"${e.font?.fontFamily || "Roboto"}", sans-serif`,
|
|
14
14
|
// fontWeight: theme.font?.fontWeight,
|
|
15
15
|
headings: {
|
|
@@ -17,7 +17,6 @@ const B = ({ innerId: t }) => {
|
|
|
17
17
|
fontFamily: `"${e.font?.fontFamily || "Roboto"}", sans-serif`
|
|
18
18
|
},
|
|
19
19
|
primaryColor: "custom",
|
|
20
|
-
autoContrast: !0,
|
|
21
20
|
colors: {
|
|
22
21
|
custom: n
|
|
23
22
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormMobile.d.ts","sourceRoot":"","sources":["../../../../src/components/FormViewer/hooks/useFormMobile.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"useFormMobile.d.ts","sourceRoot":"","sources":["../../../../src/components/FormViewer/hooks/useFormMobile.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa;;;CAazB,CAAC"}
|