@pushwoosh/smart-components-kit 1.15.0 → 1.16.1
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/MediaStorage/GenerateImageTab.d.ts +4 -1
- package/MediaStorage/GenerateImageTab.js +50 -3
- package/MediaStorage/MediaStorage.js +31 -1
- package/MediaStorage/aiGallery.d.ts +7 -0
- package/MediaStorage/aiGallery.js +10 -0
- package/MediaStorage/polyglot/messages_ar.js +7 -1
- package/MediaStorage/polyglot/messages_bn.js +7 -1
- package/MediaStorage/polyglot/messages_de.js +7 -1
- package/MediaStorage/polyglot/messages_en.js +7 -1
- package/MediaStorage/polyglot/messages_es.js +7 -1
- package/MediaStorage/polyglot/messages_fr.js +7 -1
- package/MediaStorage/polyglot/messages_he.js +7 -1
- package/MediaStorage/polyglot/messages_hi.js +7 -1
- package/MediaStorage/polyglot/messages_ja.js +7 -1
- package/MediaStorage/polyglot/messages_ko.js +7 -1
- package/MediaStorage/polyglot/messages_pt.js +7 -1
- package/MediaStorage/polyglot/messages_ru.js +7 -1
- package/MediaStorage/polyglot/messages_th.js +7 -1
- package/MediaStorage/polyglot/messages_zh.js +7 -1
- package/MediaStorage/polyglot/types.d.ts +11 -0
- package/MediaStorage/styles.d.ts +15 -0
- package/MediaStorage/styles.js +21 -1
- package/package.json +1 -1
|
@@ -6,9 +6,12 @@ type GenerateImageTabProps = {
|
|
|
6
6
|
aspectRatios?: string[];
|
|
7
7
|
defaultAspectRatio?: string;
|
|
8
8
|
promptContext?: PromptContext;
|
|
9
|
+
/** Library images the model takes the style of; picked on the Library tab. */
|
|
10
|
+
styleRefs?: MediaFile[];
|
|
11
|
+
onStyleRefsChange?: (files: MediaFile[]) => void;
|
|
9
12
|
onSelect: (file: MediaFile, alt: string) => void;
|
|
10
13
|
onGenerated: () => void;
|
|
11
14
|
};
|
|
12
|
-
/** Prompt (+ optional message context) → 1–4 variants that onyx stores in the library; each preview is already a library file. */
|
|
15
|
+
/** Prompt (+ optional message context and style references) → 1–4 variants that onyx stores in the library; each preview is already a library file. */
|
|
13
16
|
export declare const GenerateImageTab: FC<GenerateImageTabProps>;
|
|
14
17
|
export {};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import { Button, Checkbox, NativeSelect } from '@pushwoosh/dumb-components';
|
|
4
|
+
import { CloseIcon } from '@pushwoosh/kit-icons';
|
|
4
5
|
import { useSPAContext } from '@pushwoosh/spa-context';
|
|
5
|
-
import { GENERATE_ASPECT_RATIOS, GENERATE_VARIANT_COUNTS, storedVariants } from './aiGallery';
|
|
6
|
+
import { GENERATE_ASPECT_RATIOS, GENERATE_VARIANT_COUNTS, STYLE_REFS_MAX, storedVariants } from './aiGallery';
|
|
6
7
|
import { useErrorToast } from './hooks';
|
|
8
|
+
import { getThumbUrl } from './mediaFile.utils';
|
|
7
9
|
import { useLang } from './polyglot';
|
|
8
|
-
import { GenerateControls, GeneratedGrid, GeneratedPreview, GeneratedVariant, GenerateForm, PromptField } from './styles';
|
|
10
|
+
import { GenerateControls, GeneratedGrid, GeneratedPreview, GeneratedVariant, GenerateForm, PromptField, StyleRefRemove, StyleRefs, StyleRefsHeader, StyleRefsRow, StyleRefThumb } from './styles';
|
|
9
11
|
const ASPECT_LABELS = {
|
|
10
12
|
'1:1': 'SMART.MEDIA_STORAGE.GENERATE.ASPECT_SQUARE',
|
|
11
13
|
'4:3': 'SMART.MEDIA_STORAGE.GENERATE.ASPECT_LANDSCAPE',
|
|
@@ -19,12 +21,14 @@ const generateButtonMessage = (busy, hasResult) => {
|
|
|
19
21
|
if (busy) return 'SMART.MEDIA_STORAGE.GENERATE.GENERATING';
|
|
20
22
|
return hasResult ? 'SMART.MEDIA_STORAGE.GENERATE.AGAIN' : 'SMART.MEDIA_STORAGE.GENERATE.BUTTON';
|
|
21
23
|
};
|
|
22
|
-
/** Prompt (+ optional message context) → 1–4 variants that onyx stores in the library; each preview is already a library file. */
|
|
24
|
+
/** Prompt (+ optional message context and style references) → 1–4 variants that onyx stores in the library; each preview is already a library file. */
|
|
23
25
|
export const GenerateImageTab = ({
|
|
24
26
|
application,
|
|
25
27
|
aspectRatios,
|
|
26
28
|
defaultAspectRatio,
|
|
27
29
|
promptContext,
|
|
30
|
+
styleRefs = [],
|
|
31
|
+
onStyleRefsChange,
|
|
28
32
|
onSelect,
|
|
29
33
|
onGenerated
|
|
30
34
|
}) => {
|
|
@@ -60,6 +64,9 @@ export const GenerateImageTab = ({
|
|
|
60
64
|
...(hasContext && useContext ? {
|
|
61
65
|
contextTitle: promptContext?.title ?? '',
|
|
62
66
|
contextBody: promptContext?.body ?? ''
|
|
67
|
+
} : {}),
|
|
68
|
+
...(styleRefs.length > 0 ? {
|
|
69
|
+
referenceMediaUuids: styleRefs.map(file => file.uuid)
|
|
63
70
|
} : {})
|
|
64
71
|
};
|
|
65
72
|
const res = await rpcGatewayAIAssistant.aiGen.GenerateMediaImage(request);
|
|
@@ -109,6 +116,46 @@ export const GenerateImageTab = ({
|
|
|
109
116
|
message: generateButtonMessage(busy, generated !== null)
|
|
110
117
|
})
|
|
111
118
|
})]
|
|
119
|
+
}), onStyleRefsChange && _jsxs(StyleRefs, {
|
|
120
|
+
children: [_jsxs(StyleRefsHeader, {
|
|
121
|
+
children: [lang({
|
|
122
|
+
message: 'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS',
|
|
123
|
+
count: styleRefs.length,
|
|
124
|
+
max: STYLE_REFS_MAX
|
|
125
|
+
}), styleRefs.length > 0 && _jsx(Button, {
|
|
126
|
+
view: "ghost",
|
|
127
|
+
color: "secondary",
|
|
128
|
+
size: "compact",
|
|
129
|
+
onClick: () => onStyleRefsChange([]),
|
|
130
|
+
children: lang({
|
|
131
|
+
message: 'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR'
|
|
132
|
+
})
|
|
133
|
+
})]
|
|
134
|
+
}), styleRefs.length > 0 ? _jsx(StyleRefsRow, {
|
|
135
|
+
children: styleRefs.map(file => _jsxs(StyleRefThumb, {
|
|
136
|
+
children: [_jsx("img", {
|
|
137
|
+
src: getThumbUrl(file),
|
|
138
|
+
alt: file.filename
|
|
139
|
+
}), _jsx(StyleRefRemove, {
|
|
140
|
+
children: _jsx(Button, {
|
|
141
|
+
view: "ghost",
|
|
142
|
+
color: "secondary",
|
|
143
|
+
size: "compact",
|
|
144
|
+
icon: _jsx(CloseIcon, {
|
|
145
|
+
size: "small"
|
|
146
|
+
}),
|
|
147
|
+
"aria-label": lang({
|
|
148
|
+
message: 'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE'
|
|
149
|
+
}),
|
|
150
|
+
onClick: () => onStyleRefsChange(styleRefs.filter(ref => ref.uuid !== file.uuid))
|
|
151
|
+
})
|
|
152
|
+
})]
|
|
153
|
+
}, file.uuid))
|
|
154
|
+
}) : _jsx(StyleRefsHeader, {
|
|
155
|
+
children: lang({
|
|
156
|
+
message: 'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT'
|
|
157
|
+
})
|
|
158
|
+
})]
|
|
112
159
|
}), hasContext && _jsx(Checkbox, {
|
|
113
160
|
label: lang({
|
|
114
161
|
message: 'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT'
|
|
@@ -5,7 +5,7 @@ import { FlexContainer, useAsync } from '@pushwoosh/kit-helpers';
|
|
|
5
5
|
import { CheckIcon, DropdownIcon, EditIcon, OpenIcon, TrashIcon, UploadIcon } from '@pushwoosh/kit-icons';
|
|
6
6
|
import { Text } from '@pushwoosh/kit-typography';
|
|
7
7
|
import { useSPAContext } from '@pushwoosh/spa-context';
|
|
8
|
-
import { visibleSources } from './aiGallery';
|
|
8
|
+
import { addStyleRefs, STYLE_REFS_MAX, visibleSources } from './aiGallery';
|
|
9
9
|
import { CANVA_DESIGN_PRESETS } from './canvaEdit';
|
|
10
10
|
import { CanvaImportDrawer } from './CanvaImportDrawer';
|
|
11
11
|
import { CreateCropDrawer } from './CreateCropDrawer';
|
|
@@ -77,6 +77,7 @@ export const MediaStorage = ({
|
|
|
77
77
|
const [selectedUuids, setSelectedUuids] = useState([]);
|
|
78
78
|
const [isBulkDeleteOpen, setIsBulkDeleteOpen] = useState(false);
|
|
79
79
|
const [isBulkDeleting, setIsBulkDeleting] = useState(false);
|
|
80
|
+
const [styleRefs, setStyleRefs] = useState([]);
|
|
80
81
|
const [search, setSearch] = useState('');
|
|
81
82
|
const [searchDraft, setSearchDraft] = useState('');
|
|
82
83
|
// Format filtering belongs to the query, not the response: `total` and the page count come
|
|
@@ -295,6 +296,24 @@ export const MediaStorage = ({
|
|
|
295
296
|
setSelectedUuids(prev => prev.includes(uuid) ? prev.filter(item => item !== uuid) : [...prev, uuid]);
|
|
296
297
|
};
|
|
297
298
|
const isAllSelected = files.length > 0 && selectedUuids.length === files.length;
|
|
299
|
+
const addSelectedToStyle = () => {
|
|
300
|
+
const {
|
|
301
|
+
refs,
|
|
302
|
+
dropped
|
|
303
|
+
} = addStyleRefs(styleRefs, files.filter(file => selectedUuids.includes(file.uuid)));
|
|
304
|
+
if (dropped > 0) {
|
|
305
|
+
openToast({
|
|
306
|
+
title: lang({
|
|
307
|
+
message: 'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT',
|
|
308
|
+
max: STYLE_REFS_MAX
|
|
309
|
+
}),
|
|
310
|
+
type: 'warning'
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
setStyleRefs(refs);
|
|
314
|
+
setSelectedUuids([]);
|
|
315
|
+
setTab('generate');
|
|
316
|
+
};
|
|
298
317
|
const totalPages = Math.ceil(total / perPage);
|
|
299
318
|
const showPagination = !loading && files.length > 0 && totalPages > 1;
|
|
300
319
|
const library = _jsxs(_Fragment, {
|
|
@@ -413,6 +432,15 @@ export const MediaStorage = ({
|
|
|
413
432
|
children: _jsx(Lang, {
|
|
414
433
|
message: "SMART.MEDIA_STORAGE.BULK_DELETE_BUTTON"
|
|
415
434
|
})
|
|
435
|
+
}), tabs.includes('generate') && _jsx(Button, {
|
|
436
|
+
color: "primary",
|
|
437
|
+
size: "compact",
|
|
438
|
+
view: "ghost",
|
|
439
|
+
isDisabled: isBulkDeleting,
|
|
440
|
+
onClick: addSelectedToStyle,
|
|
441
|
+
children: _jsx(Lang, {
|
|
442
|
+
message: "SMART.MEDIA_STORAGE.STYLE_REFS.ADD"
|
|
443
|
+
})
|
|
416
444
|
})]
|
|
417
445
|
})]
|
|
418
446
|
}), !loading && files.length > 0 && _jsx(Grid, {
|
|
@@ -594,6 +622,8 @@ export const MediaStorage = ({
|
|
|
594
622
|
aspectRatios: aspectRatios,
|
|
595
623
|
defaultAspectRatio: defaultAspectRatio,
|
|
596
624
|
promptContext: promptContext,
|
|
625
|
+
styleRefs: styleRefs,
|
|
626
|
+
onStyleRefsChange: setStyleRefs,
|
|
597
627
|
onGenerated: showImportedFirst,
|
|
598
628
|
onSelect: pickStored
|
|
599
629
|
})
|
|
@@ -31,6 +31,13 @@ export type PromptContext = {
|
|
|
31
31
|
};
|
|
32
32
|
/** Variant counts the Generate tab offers; onyx caps a request at 4 and charges each one. */
|
|
33
33
|
export declare const GENERATE_VARIANT_COUNTS: number[];
|
|
34
|
+
/** Most library images onyx takes as style references for one generation (`reference_media_uuids`). */
|
|
35
|
+
export declare const STYLE_REFS_MAX = 10;
|
|
36
|
+
/** Appends the picks to the references, skipping repeats; anything past the cap is dropped. */
|
|
37
|
+
export declare const addStyleRefs: (current: MediaFile[], picked: MediaFile[]) => {
|
|
38
|
+
refs: MediaFile[];
|
|
39
|
+
dropped: number;
|
|
40
|
+
};
|
|
34
41
|
/** Aspect ratios onyx accepts for a generated image, in picker order. */
|
|
35
42
|
export declare const GENERATE_ASPECT_RATIOS: string[];
|
|
36
43
|
/** One Pexels hit from `aiGen.SearchStockPhotos`. */
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
/** Variant counts the Generate tab offers; onyx caps a request at 4 and charges each one. */
|
|
2
2
|
export const GENERATE_VARIANT_COUNTS = [1, 2, 4];
|
|
3
|
+
/** Most library images onyx takes as style references for one generation (`reference_media_uuids`). */
|
|
4
|
+
export const STYLE_REFS_MAX = 10;
|
|
5
|
+
/** Appends the picks to the references, skipping repeats; anything past the cap is dropped. */
|
|
6
|
+
export const addStyleRefs = (current, picked) => {
|
|
7
|
+
const merged = [...current, ...picked.filter(file => !current.some(ref => ref.uuid === file.uuid))];
|
|
8
|
+
return {
|
|
9
|
+
refs: merged.slice(0, STYLE_REFS_MAX),
|
|
10
|
+
dropped: Math.max(0, merged.length - STYLE_REFS_MAX)
|
|
11
|
+
};
|
|
12
|
+
};
|
|
3
13
|
/** Aspect ratios onyx accepts for a generated image, in picker order. */
|
|
4
14
|
export const GENERATE_ASPECT_RATIOS = ['1:1', '4:3', '3:2', '16:9', '21:9', '5:4', '4:5', '3:4', '2:3', '9:16'];
|
|
5
15
|
/** Longest stock query onyx accepts (`stockphotos.MaxQueryChars`); capping the input keeps 400 meaning "not configured". */
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': 'بورتريه (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': 'طويل (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'ابحث باسم الملف…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'مطابقة لرسالة الإشعار',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'استخدام كنمط',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': '{{max}} مراجع نمط كحد أقصى: لم تُضف الصور الزائدة',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'مراجع النمط: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'حدد صورًا في تبويب المكتبة واضغط «استخدام كنمط» — تأخذ الصورة الجديدة ألوانها وأجواءها لا محتواها',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': 'إزالة المرجع',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'مسح',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × صورة'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': 'পোর্ট্রেট (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': 'লম্বা (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'ফাইলের নাম দিয়ে অনুসন্ধান করুন…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'বার্তার
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'পুশ বার্তার সঙ্গে মিলিয়ে',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'স্টাইল হিসেবে ব্যবহার করুন',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': 'সর্বোচ্চ {{max}}টি স্টাইল রেফারেন্স: অতিরিক্ত ছবি যোগ হয়নি',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'স্টাইল রেফারেন্স: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'লাইব্রেরি ট্যাবে ছবি বেছে “স্টাইল হিসেবে ব্যবহার করুন” চাপুন — নতুন ছবি তাদের রং ও মেজাজ নেবে, বিষয়বস্তু নয়',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': 'রেফারেন্স সরান',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'মুছুন',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × ছবি'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': 'Hochformat (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': 'Hoch (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'Nach Dateinamen suchen…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'Passend
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'Passend zur Push-Nachricht',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'Als Stil verwenden',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': 'Höchstens {{max}} Stilreferenzen: die übrigen Bilder wurden nicht hinzugefügt',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'Stilreferenzen: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'Markieren Sie Bilder im Tab „Bibliothek“ und klicken Sie auf „Als Stil verwenden“ – das neue Bild übernimmt Farben und Stimmung, nicht den Inhalt',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': 'Referenz entfernen',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'Leeren',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × Bild'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': 'Portrait (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': 'Tall (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'Search by file name…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'Match the push message',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'Use as style',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': 'Up to {{max}} style references: the extra images were not added',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'Style references: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'Tick images on the Library tab and press “Use as style” — the new image takes their colours and mood, not their content',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': 'Remove reference',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'Clear',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × image'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': 'Vertical (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': 'Alto (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'Buscar por nombre de archivo…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'Acorde al mensaje push',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'Usar como estilo',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': 'Máximo {{max}} referencias de estilo: no se añadieron las imágenes sobrantes',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'Referencias de estilo: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'Marque imágenes en la pestaña Biblioteca y pulse «Usar como estilo»: la nueva imagen toma sus colores y ambiente, no su contenido',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': 'Quitar referencia',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'Borrar',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × imagen'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': 'Portrait (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': 'Haut (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'Rechercher par nom de fichier…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'Assorti au message push',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'Utiliser comme style',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': '{{max}} références de style au maximum : les images en trop n’ont pas été ajoutées',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'Références de style : {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'Cochez des images dans l’onglet Bibliothèque puis « Utiliser comme style » : la nouvelle image reprend leurs couleurs et leur ambiance, pas leur contenu',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': 'Retirer la référence',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'Effacer',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × image'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': 'לאורך (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': 'גבוה (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'חיפוש לפי שם קובץ…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'בהתאם להודעת הפוש',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'שימוש כסגנון',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': 'עד {{max}} הפניות סגנון: התמונות העודפות לא נוספו',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'הפניות סגנון: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'סמנו תמונות בלשונית הספרייה ולחצו „שימוש כסגנון” — התמונה החדשה תיקח את הצבעים והאווירה שלהן, לא את התוכן',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': 'הסרת הפניה',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'ניקוי',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × תמונה'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': 'पोर्ट्रेट (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': 'टॉल (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'फ़ाइल नाम से खोजें…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'संदेश के
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'पुश संदेश के अनुरूप',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'स्टाइल के रूप में इस्तेमाल करें',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': 'अधिकतम {{max}} स्टाइल रेफ़रेंस: अतिरिक्त इमेज नहीं जोड़ी गईं',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'स्टाइल रेफ़रेंस: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'लाइब्रेरी टैब में इमेज चुनें और “स्टाइल के रूप में इस्तेमाल करें” दबाएँ — नई इमेज उनके रंग और मूड लेगी, सामग्री नहीं',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': 'रेफ़रेंस हटाएँ',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'साफ़ करें',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × छवि'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': '縦長 (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': '縦長 (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'ファイル名で検索…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'プッシュメッセージに合わせる',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'スタイルとして使用',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': 'スタイル参照は最大{{max}}枚です。超過した画像は追加されませんでした',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'スタイル参照: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'ライブラリタブで画像を選び「スタイルとして使用」を押すと、新しい画像はその色と雰囲気を取り入れます(内容はコピーしません)',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': '参照を削除',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'クリア',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × 画像'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': '세로 (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': '세로형 (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': '파일 이름으로 검색…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '푸시 메시지에 맞추기',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': '스타일로 사용',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': '스타일 참조는 최대 {{max}}개입니다. 초과한 이미지는 추가되지 않았습니다',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': '스타일 참조: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': '라이브러리 탭에서 이미지를 선택하고 “스타일로 사용”을 누르세요. 새 이미지는 내용이 아닌 색감과 분위기를 따릅니다',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': '참조 제거',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': '지우기',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × 이미지'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': 'Retrato (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': 'Alto (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'Buscar por nome do arquivo…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'De acordo com a mensagem push',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'Usar como estilo',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': 'No máximo {{max}} referências de estilo: as imagens excedentes não foram adicionadas',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'Referências de estilo: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'Marque imagens na aba Biblioteca e clique em “Usar como estilo” — a nova imagem adota as cores e o clima delas, não o conteúdo',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': 'Remover referência',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'Limpar',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × imagem'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': 'Портретная (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': 'Вертикальная (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'Поиск по имени файла…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'Под текст пуша',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'Использовать как стиль',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': 'Не больше {{max}} референсов стиля: лишние картинки не добавлены',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'Референсы стиля: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'Отметьте картинки на вкладке «Библиотека» и нажмите «Использовать как стиль» — новая картинка возьмёт их цвета и настроение, а не содержание',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': 'Убрать референс',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'Очистить',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × картинка'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': 'แนวตั้ง (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': 'แนวตั้งสูง (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': 'ค้นหาตามชื่อไฟล์…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': 'ให้เข้ากับข้อความพุช',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': 'ใช้เป็นสไตล์',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': 'อ้างอิงสไตล์ได้สูงสุด {{max}} ภาพ: ภาพที่เกินไม่ถูกเพิ่ม',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': 'อ้างอิงสไตล์: {{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': 'เลือกภาพในแท็บคลังภาพแล้วกด “ใช้เป็นสไตล์” — ภาพใหม่จะใช้สีและบรรยากาศ ไม่ใช่เนื้อหา',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': 'ลบภาพอ้างอิง',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': 'ล้าง',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × รูปภาพ'
|
|
112
118
|
};
|
|
@@ -107,6 +107,12 @@ export const messages = {
|
|
|
107
107
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_PORTRAIT': '纵向 (3:4)',
|
|
108
108
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': '高 (9:16)',
|
|
109
109
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': '按文件名搜索…',
|
|
110
|
-
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '
|
|
110
|
+
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': '匹配推送消息',
|
|
111
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': '用作风格',
|
|
112
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': '最多 {{max}} 张风格参考图:多余的图片未添加',
|
|
113
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': '风格参考:{{count}} / {{max}}',
|
|
114
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': '在“素材库”标签中勾选图片并点击“用作风格”——新图片会采用它们的色彩和氛围,而非内容',
|
|
115
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': '移除参考图',
|
|
116
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': '清空',
|
|
111
117
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': '{{count}} × 图片'
|
|
112
118
|
};
|
|
@@ -142,6 +142,17 @@ export type MediaStorageMessages = {
|
|
|
142
142
|
'SMART.MEDIA_STORAGE.GENERATE.ASPECT_TALL': NoParams;
|
|
143
143
|
'SMART.MEDIA_STORAGE.SEARCH_PLACEHOLDER': NoParams;
|
|
144
144
|
'SMART.MEDIA_STORAGE.GENERATE.USE_CONTEXT': NoParams;
|
|
145
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.ADD': NoParams;
|
|
146
|
+
'SMART.MEDIA_STORAGE.STYLE_REFS.LIMIT': {
|
|
147
|
+
max: number;
|
|
148
|
+
};
|
|
149
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS': {
|
|
150
|
+
count: number;
|
|
151
|
+
max: number;
|
|
152
|
+
};
|
|
153
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_HINT': NoParams;
|
|
154
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REF_REMOVE': NoParams;
|
|
155
|
+
'SMART.MEDIA_STORAGE.GENERATE.STYLE_REFS_CLEAR': NoParams;
|
|
145
156
|
'SMART.MEDIA_STORAGE.GENERATE.VARIANTS': {
|
|
146
157
|
count: number;
|
|
147
158
|
};
|
package/MediaStorage/styles.d.ts
CHANGED
|
@@ -172,3 +172,18 @@ export declare const GeneratedGrid: import("styled-components/dist/types").IStyl
|
|
|
172
172
|
export declare const GeneratedVariant: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
173
173
|
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
174
174
|
}> & string;
|
|
175
|
+
export declare const StyleRefs: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
176
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
177
|
+
}> & string;
|
|
178
|
+
export declare const StyleRefsHeader: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
179
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
180
|
+
}> & string;
|
|
181
|
+
export declare const StyleRefsRow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
182
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
183
|
+
}> & string;
|
|
184
|
+
export declare const StyleRefThumb: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
185
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
186
|
+
}> & string;
|
|
187
|
+
export declare const StyleRefRemove: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
188
|
+
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
189
|
+
}> & string;
|
package/MediaStorage/styles.js
CHANGED
|
@@ -197,4 +197,24 @@ export const GeneratedGrid = styled.div.withConfig({
|
|
|
197
197
|
export const GeneratedVariant = styled.div.withConfig({
|
|
198
198
|
displayName: "GeneratedVariant",
|
|
199
199
|
componentId: "sc-uu3cbo-42"
|
|
200
|
-
})(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;"]);
|
|
200
|
+
})(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;"]);
|
|
201
|
+
export const StyleRefs = styled.div.withConfig({
|
|
202
|
+
displayName: "StyleRefs",
|
|
203
|
+
componentId: "sc-uu3cbo-43"
|
|
204
|
+
})(["display:flex;flex-direction:column;gap:8px;"]);
|
|
205
|
+
export const StyleRefsHeader = styled.div.withConfig({
|
|
206
|
+
displayName: "StyleRefsHeader",
|
|
207
|
+
componentId: "sc-uu3cbo-44"
|
|
208
|
+
})(["display:flex;align-items:center;gap:8px;font-size:", ";color:", ";"], FontSize.SMALL, Color.LOCKED);
|
|
209
|
+
export const StyleRefsRow = styled.div.withConfig({
|
|
210
|
+
displayName: "StyleRefsRow",
|
|
211
|
+
componentId: "sc-uu3cbo-45"
|
|
212
|
+
})(["display:flex;flex-wrap:wrap;gap:8px;"]);
|
|
213
|
+
export const StyleRefThumb = styled.div.withConfig({
|
|
214
|
+
displayName: "StyleRefThumb",
|
|
215
|
+
componentId: "sc-uu3cbo-46"
|
|
216
|
+
})(["position:relative;width:64px;height:64px;border-radius:6px;overflow:hidden;border:1px solid ", ";img{width:100%;height:100%;object-fit:cover;display:block;}"], Color.DIVIDER);
|
|
217
|
+
export const StyleRefRemove = styled.div.withConfig({
|
|
218
|
+
displayName: "StyleRefRemove",
|
|
219
|
+
componentId: "sc-uu3cbo-47"
|
|
220
|
+
})(["position:absolute;top:2px;right:2px;border-radius:4px;background:", ";"], Color.CLEAR);
|