fansunited-widget-poll 2.11.0 → 2.12.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/README.md CHANGED
@@ -223,6 +223,7 @@ const labels = {
223
223
  free: "Free",
224
224
  lead: "Lead",
225
225
  registered: "Registered",
226
+ paid: "Paid",
226
227
  optionDescriptionExplanation: "This optional field allows you to provide users with more information about the option",
227
228
  additionalFields: "Additional fields",
228
229
  addDescription: "Add description",
@@ -285,6 +286,8 @@ const labels = {
285
286
  profilePreferencesMappingDisabledDescription: 'The "profile preferences" feature is disabled! To enabled it, contact the Fans United team.',
286
287
  preferenceMapping: 'Preference mapping',
287
288
  uncategorized: 'Uncategorized',
289
+ maxAttempts: 'Maximum attempts',
290
+ 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
291
  };
289
292
 
290
293
  const App = () => {
@@ -446,6 +449,7 @@ Here is all information about **`LabelsModel`**:
446
449
  | `free` | Label for auth requirement option. | Free |
447
450
  | `lead` | Label for auth requirement option. | Lead |
448
451
  | `registered` | Label for auth requirement option. | Registered |
452
+ | `paid` | Label for auth requirement option. | Paid |
449
453
  | `optionDescriptionExplanation` | Description paragraph for explanation description | This optional field allows you to provide users with more information about the option |
450
454
  | `additionalFields` | Label for additional fields | Additional fields |
451
455
  | `addDescription` | Label for toggle description button | Add description |
@@ -508,3 +512,5 @@ Here is all information about **`LabelsModel`**:
508
512
  | `profilePreferencesMappingDisabledDescription` | Description when "profile preference" feature is disabled | The "profile preferences" feature is disabled! To enabled it, contact the Fans United team. |
509
513
  | `preferenceMapping` | Label for autocomplete preference mapping input | Preference mapping |
510
514
  | `uncategorized` | Label for category preference option when preference doesn't have any category specified | Uncategorized |
515
+ | `maxAttempts` | Label for max attempts number input | Max attempts |
516
+ | `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 |
@@ -140,6 +140,7 @@ export default class LabelsModel {
140
140
  free: string;
141
141
  lead: string;
142
142
  registered: string;
143
+ paid: string;
143
144
  optionDescriptionExplanation: string;
144
145
  additionalFields: string;
145
146
  addDescription: string;
@@ -212,5 +213,7 @@ export default class LabelsModel {
212
213
  profilePreferencesMappingDisabledDescription: string;
213
214
  preferenceMapping: string;
214
215
  uncategorized: string;
216
+ maxAttempts: string;
217
+ maxAttemptsDescription: string;
215
218
  constructor(labels?: LabelsModel);
216
219
  }
@@ -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.11.0",
3
+ "version": "2.12.1",
4
4
  "main": "poll-manager.es.js",
5
5
  "author": "Fans United",
6
6
  "description": "",