fansunited-widget-poll 2.10.0 → 2.12.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 CHANGED
@@ -285,6 +285,8 @@ const labels = {
285
285
  profilePreferencesMappingDisabledDescription: 'The "profile preferences" feature is disabled! To enabled it, contact the Fans United team.',
286
286
  preferenceMapping: 'Preference mapping',
287
287
  uncategorized: 'Uncategorized',
288
+ maxAttempts: 'Maximum attempts',
289
+ maxAttemptsDescription: `Set the maximum number of attempts a user can make in the poll. When set to -1, there is no limit. When it's different from 1, the poll CAN'T be set with multiple choice`
288
290
  };
289
291
 
290
292
  const App = () => {
@@ -508,3 +510,5 @@ Here is all information about **`LabelsModel`**:
508
510
  | `profilePreferencesMappingDisabledDescription` | Description when "profile preference" feature is disabled | The "profile preferences" feature is disabled! To enabled it, contact the Fans United team. |
509
511
  | `preferenceMapping` | Label for autocomplete preference mapping input | Preference mapping |
510
512
  | `uncategorized` | Label for category preference option when preference doesn't have any category specified | Uncategorized |
513
+ | `maxAttempts` | Label for max attempts number input | Max attempts |
514
+ | `maxAttemptsDescription` | Description for max attempts number input | Set the maximum number of attempts a user can make in the poll. When set to -1, there is no limit. When it's different from 1, the poll CAN'T be set with multiple choice |
@@ -212,5 +212,7 @@ export default class LabelsModel {
212
212
  profilePreferencesMappingDisabledDescription: string;
213
213
  preferenceMapping: string;
214
214
  uncategorized: string;
215
+ maxAttempts: string;
216
+ maxAttemptsDescription: string;
215
217
  constructor(labels?: LabelsModel);
216
218
  }
@@ -69,4 +69,5 @@ export default class RequestBody {
69
69
  max_multiple_choice_options: number | null;
70
70
  participation_count: number;
71
71
  preferences_enabled: boolean;
72
+ max_attempts: number;
72
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fansunited-widget-poll",
3
- "version": "2.10.0",
3
+ "version": "2.12.0",
4
4
  "main": "poll-manager.es.js",
5
5
  "author": "Fans United",
6
6
  "description": "",