fansunited-widget-either-or 1.2.1 → 1.3.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 +6 -0
- package/components/Buttons/ActionsButtons.d.ts +2 -1
- package/components/Spinner/ButtonSpinner.d.ts +7 -1
- package/either-or-manager.es.js +14551 -14444
- package/either-or-manager.umd.js +178 -178
- package/models/Export/ExportUsersRequestBody.d.ts +28 -0
- package/models/Labels/LabelsModel.d.ts +3 -0
- package/package.json +1 -1
- package/services/HttpsService.d.ts +3 -0
- package/style.css +1 -1
package/README.md
CHANGED
|
@@ -218,6 +218,9 @@ const labels = {
|
|
|
218
218
|
backgroundImage: 'Background Image',
|
|
219
219
|
mobileBackgroundImage: 'Mobile Background Image',
|
|
220
220
|
additionalImage: 'Additional Image',
|
|
221
|
+
exportAllUsers: "Export all users",
|
|
222
|
+
usersExportMessage: "All users have been exported successfully",
|
|
223
|
+
usersExportErrorMessage: "There was a problem with exporting users. Please try again"
|
|
221
224
|
|
|
222
225
|
};
|
|
223
226
|
|
|
@@ -354,6 +357,9 @@ Here is all information about **`LabelsModel`**:
|
|
|
354
357
|
| `backgroundImage` | Label for branding background image | Background Image |
|
|
355
358
|
| `mobileBackgroundImage` | Label for branding mobile background image | Mobile Background Image |
|
|
356
359
|
| `additionalImage` | Label for branding additional image | Additional Image |
|
|
360
|
+
| `exportAllUsers` | Tooltip for exported users button | Export all users |
|
|
361
|
+
| `usersExportMessage` | [react-toastify](https://www.npmjs.com/package/react-toastify) successful message when exporting all users | All users have been exported successfully |
|
|
362
|
+
| `usersExportErrorMessage` | [react-toastify](https://www.npmjs.com/package/react-toastify) error message when exporting all users fails | There was a problem with exporting users. Please try again |
|
|
357
363
|
| `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 |
|
|
358
364
|
| `createEitherOrMessage` | [react-toastify](https://www.npmjs.com/package/react-toastify) successful message when creating Either/Or | You have successfully created Either/Or |
|
|
359
365
|
| `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 |
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import EitherOrBasicModel from 'fansunited-sdk-esm/Core/Namespaces/MiniGames/Models/EitherOr/EitherOrBasicModel';
|
|
2
3
|
export declare const actionButtonStyle = "eow-rounded eow-p-1 eow-flex eow-items-center eow-mr-1";
|
|
3
4
|
type ActionsButtonsProps = {
|
|
4
|
-
|
|
5
|
+
eitherOr: EitherOrBasicModel;
|
|
5
6
|
onClickEdit: () => void;
|
|
6
7
|
onClickDelete: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
7
8
|
};
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
type ButtonSpinnerProps = {
|
|
3
|
+
height?: string;
|
|
4
|
+
width?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
margin?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const ButtonSpinner: React.FC<ButtonSpinnerProps>;
|
|
3
9
|
export default ButtonSpinner;
|