@squaredr/fieldcraft-templates-free 1.0.0 → 1.0.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/dist/index.js CHANGED
@@ -137,6 +137,13 @@ var contactForm = {
137
137
  };
138
138
 
139
139
  // src/feedback-survey.ts
140
+ var likertOptions = [
141
+ { label: "Strongly Disagree", value: 1 },
142
+ { label: "Disagree", value: 2 },
143
+ { label: "Neutral", value: 3 },
144
+ { label: "Agree", value: 4 },
145
+ { label: "Strongly Agree", value: 5 }
146
+ ];
140
147
  var feedbackSurveySchema = {
141
148
  id: "feedback-survey",
142
149
  version: "1.0.0",
@@ -188,19 +195,22 @@ var feedbackSurveySchema = {
188
195
  id: "ease_of_use",
189
196
  type: "likert",
190
197
  label: "The product is easy to use",
191
- required: true
198
+ required: true,
199
+ options: likertOptions
192
200
  },
193
201
  {
194
202
  id: "reliability",
195
203
  type: "likert",
196
204
  label: "The product is reliable and stable",
197
- required: true
205
+ required: true,
206
+ options: likertOptions
198
207
  },
199
208
  {
200
209
  id: "value_for_money",
201
210
  type: "likert",
202
211
  label: "The product provides good value for money",
203
- required: true
212
+ required: true,
213
+ options: likertOptions
204
214
  },
205
215
  {
206
216
  id: "features_used",
package/dist/index.mjs CHANGED
@@ -96,6 +96,13 @@ var contactForm = {
96
96
  };
97
97
 
98
98
  // src/feedback-survey.ts
99
+ var likertOptions = [
100
+ { label: "Strongly Disagree", value: 1 },
101
+ { label: "Disagree", value: 2 },
102
+ { label: "Neutral", value: 3 },
103
+ { label: "Agree", value: 4 },
104
+ { label: "Strongly Agree", value: 5 }
105
+ ];
99
106
  var feedbackSurveySchema = {
100
107
  id: "feedback-survey",
101
108
  version: "1.0.0",
@@ -147,19 +154,22 @@ var feedbackSurveySchema = {
147
154
  id: "ease_of_use",
148
155
  type: "likert",
149
156
  label: "The product is easy to use",
150
- required: true
157
+ required: true,
158
+ options: likertOptions
151
159
  },
152
160
  {
153
161
  id: "reliability",
154
162
  type: "likert",
155
163
  label: "The product is reliable and stable",
156
- required: true
164
+ required: true,
165
+ options: likertOptions
157
166
  },
158
167
  {
159
168
  id: "value_for_money",
160
169
  type: "likert",
161
170
  label: "The product provides good value for money",
162
- required: true
171
+ required: true,
172
+ options: likertOptions
163
173
  },
164
174
  {
165
175
  id: "features_used",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squaredr/fieldcraft-templates-free",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "5 free, production-ready form schemas for FieldCraft. Contact forms, surveys, NPS, newsletters, and bug reports.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",