fansunited-widget-either-or 1.1.4 → 1.2.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/README.md +39 -1
- package/components/Management/Branding/Branding.d.ts +8 -0
- package/components/Management/Branding/BrandingImages.d.ts +8 -0
- package/components/Management/Branding/BrandingTabs.d.ts +7 -0
- package/components/Management/Images/FileUploader.d.ts +1 -1
- package/components/Management/Images/Image.d.ts +1 -1
- package/either-or-manager.es.js +11220 -10451
- package/either-or-manager.umd.js +189 -189
- package/factories/EitherOrFactory.d.ts +3 -1
- package/models/EitherOr/EitherOrById.d.ts +2 -0
- package/models/Labels/LabelsModel.d.ts +19 -0
- package/models/RequestBody/RequestBody.d.ts +28 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -198,7 +198,26 @@ const labels = {
|
|
|
198
198
|
hideFilters: 'Hide filters',
|
|
199
199
|
showFilters: 'Show filters',
|
|
200
200
|
dateFromTo: 'Date from/to',
|
|
201
|
-
dateFromToPlaceholder: 'Select Date...'
|
|
201
|
+
dateFromToPlaceholder: 'Select Date...',
|
|
202
|
+
branding: 'Branding',
|
|
203
|
+
urls: 'URLs',
|
|
204
|
+
primaryUrl: 'Primary URL',
|
|
205
|
+
secondaryUrl: 'Secondary URL',
|
|
206
|
+
privacyPolicyUrl: 'Privacy Policy URL',
|
|
207
|
+
termsAndConditionsUrl: 'Terms and Conditions URL',
|
|
208
|
+
additionalUrl: 'Additional URL',
|
|
209
|
+
colors: 'Colors',
|
|
210
|
+
primaryColor: 'Primary Color',
|
|
211
|
+
secondaryColor: 'Secondary Color',
|
|
212
|
+
contentColor: 'Content Color',
|
|
213
|
+
backgroundColor: 'Background Color',
|
|
214
|
+
borderColor: 'Border Color',
|
|
215
|
+
additionalColor: 'Additional Color',
|
|
216
|
+
mainLogo: 'Main Logo',
|
|
217
|
+
mobileLogo: 'Mobile Logo',
|
|
218
|
+
backgroundImage: 'Background Image',
|
|
219
|
+
mobileBackgroundImage: 'Mobile Background Image',
|
|
220
|
+
additionalImage: 'Additional Image',
|
|
202
221
|
|
|
203
222
|
};
|
|
204
223
|
|
|
@@ -316,6 +335,25 @@ Here is all information about **`LabelsModel`**:
|
|
|
316
335
|
| `showFilters` | Label for hyperlink to show filters for image search | Show filters |
|
|
317
336
|
| `dateFromTo` | Label for date from/to filter for image search | Date from/to |
|
|
318
337
|
| `dateFromToPlaceholder` | Placeholder for input date from/to filter for image search | Select Date... |
|
|
338
|
+
| `branding` | Label for branding container | Branding |
|
|
339
|
+
| `urls` | Label for branding urls container | URLs |
|
|
340
|
+
| `primaryUrl` | Label for branding primary url input | Primary URL |
|
|
341
|
+
| `secondaryUrl` | Label for branding secondary url input | Secondary URL |
|
|
342
|
+
| `privacyPolicyUrl` | Label for branding privacy policy url input | Privacy Policy URL |
|
|
343
|
+
| `termsAndConditionsUrl` | Label for branding terms and conditions url input | Terms and Conditions URL |
|
|
344
|
+
| `additionalUrl` | Label for branding additional url input | Additional URL |
|
|
345
|
+
| `colors` | Label for branding colors container | Colors |
|
|
346
|
+
| `primaryColor` | Label for branding primary color input | Primary Color |
|
|
347
|
+
| `secondaryColor` | Label for branding secondary color input | Secondary Color |
|
|
348
|
+
| `contentColor` | Label for branding content color input | Content Color |
|
|
349
|
+
| `backgroundColor` | Label for branding background color input | Background Color |
|
|
350
|
+
| `borderColor` | Label for branding border color input | Border Color |
|
|
351
|
+
| `additionalColor` | Label for branding additional color input | Additional Color |
|
|
352
|
+
| `mainLogo` | Label for branding main logo | Main Logo |
|
|
353
|
+
| `mobileLogo` | Label for branding mobile logo | Mobile Logo |
|
|
354
|
+
| `backgroundImage` | Label for branding background image | Background Image |
|
|
355
|
+
| `mobileBackgroundImage` | Label for branding mobile background image | Mobile Background Image |
|
|
356
|
+
| `additionalImage` | Label for branding additional image | Additional Image |
|
|
319
357
|
| `getFootballEntitiesErrorMessage` | [react-toastify](https://www.npmjs.com/package/react-toastify) error message when typing the name of the entity in tags and request fails. | There was a problem with fetching football's data |
|
|
320
358
|
| `createEitherOrMessage` | [react-toastify](https://www.npmjs.com/package/react-toastify) successful message when creating Either/Or | You have successfully created Either/Or |
|
|
321
359
|
| `createEitherOrErrorMessage` | [react-toastify](https://www.npmjs.com/package/react-toastify) error message when creating Either/Or | There was a problem creating Either/Or. Please try again |
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import RequestBody, { IBrandingRequestById } from '../../../models/RequestBody/RequestBody';
|
|
3
|
+
type BrandingProps = {
|
|
4
|
+
defaultValue: IBrandingRequestById;
|
|
5
|
+
setRequestBody: Dispatch<SetStateAction<RequestBody>>;
|
|
6
|
+
};
|
|
7
|
+
declare const Branding: React.FC<BrandingProps>;
|
|
8
|
+
export default Branding;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IBrandingImages } from '../../../models/RequestBody/RequestBody';
|
|
3
|
+
type BrandingImagesProps = {
|
|
4
|
+
loadedImages: IBrandingImages;
|
|
5
|
+
onChange: (value: string, property: string) => void;
|
|
6
|
+
};
|
|
7
|
+
declare const BrandingImages: React.FC<BrandingImagesProps>;
|
|
8
|
+
export default BrandingImages;
|