@roqua/quby-frontend 0.2.0 → 0.4.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/CHANGELOG.md +15 -0
- package/README.md +4 -0
- package/lib/assets/quby/application.css +0 -650
- package/lib/components/AnswerPage.d.ts.map +1 -1
- package/lib/components/AnswerPage.js +66 -13
- package/lib/components/AnswerPage.js.map +1 -1
- package/lib/components/Paginator.d.ts +3 -1
- package/lib/components/Paginator.d.ts.map +1 -1
- package/lib/components/Paginator.js +28 -9
- package/lib/components/Paginator.js.map +1 -1
- package/lib/components/PanelContent.d.ts +1 -0
- package/lib/components/PanelContent.d.ts.map +1 -1
- package/lib/components/PanelContent.js +2 -2
- package/lib/components/PanelContent.js.map +1 -1
- package/lib/components/PanelItem.d.ts +1 -0
- package/lib/components/PanelItem.d.ts.map +1 -1
- package/lib/components/PanelItem.js +1 -1
- package/lib/components/PanelItem.js.map +1 -1
- package/lib/components/QuestionDescription.d.ts +1 -1
- package/lib/components/QuestionDescription.d.ts.map +1 -1
- package/lib/components/QuestionDescription.js +2 -0
- package/lib/components/QuestionDescription.js.map +1 -1
- package/lib/components/QuestionWrapper.d.ts +3 -2
- package/lib/components/QuestionWrapper.d.ts.map +1 -1
- package/lib/components/QuestionWrapper.js +20 -3
- package/lib/components/QuestionWrapper.js.map +1 -1
- package/lib/components/ValidationErrors.d.ts +2 -2
- package/lib/components/ValidationErrors.d.ts.map +1 -1
- package/lib/components/ValidationErrors.js +15 -2
- package/lib/components/ValidationErrors.js.map +1 -1
- package/lib/components/items/QuestionItem.d.ts +1 -0
- package/lib/components/items/QuestionItem.d.ts.map +1 -1
- package/lib/components/items/QuestionItem.js +13 -13
- package/lib/components/items/QuestionItem.js.map +1 -1
- package/lib/components/questions/CheckBoxQuestion.d.ts +1 -0
- package/lib/components/questions/CheckBoxQuestion.d.ts.map +1 -1
- package/lib/components/questions/CheckBoxQuestion.js +9 -7
- package/lib/components/questions/CheckBoxQuestion.js.map +1 -1
- package/lib/components/questions/DatePartsQuestion.d.ts +10 -0
- package/lib/components/questions/DatePartsQuestion.d.ts.map +1 -0
- package/lib/components/questions/DatePartsQuestion.js +37 -0
- package/lib/components/questions/DatePartsQuestion.js.map +1 -0
- package/lib/components/questions/FloatQuestion.d.ts +2 -1
- package/lib/components/questions/FloatQuestion.d.ts.map +1 -1
- package/lib/components/questions/FloatQuestion.js +3 -3
- package/lib/components/questions/FloatQuestion.js.map +1 -1
- package/lib/components/questions/IntegerQuestion.d.ts +2 -1
- package/lib/components/questions/IntegerQuestion.d.ts.map +1 -1
- package/lib/components/questions/IntegerQuestion.js +6 -3
- package/lib/components/questions/IntegerQuestion.js.map +1 -1
- package/lib/components/questions/RadioQuestion.d.ts +1 -0
- package/lib/components/questions/RadioQuestion.d.ts.map +1 -1
- package/lib/components/questions/RadioQuestion.js +8 -6
- package/lib/components/questions/RadioQuestion.js.map +1 -1
- package/lib/components/questions/ScaleQuestion.d.ts +3 -2
- package/lib/components/questions/ScaleQuestion.d.ts.map +1 -1
- package/lib/components/questions/ScaleQuestion.js +7 -7
- package/lib/components/questions/ScaleQuestion.js.map +1 -1
- package/lib/components/questions/SelectQuestion.d.ts +1 -0
- package/lib/components/questions/SelectQuestion.d.ts.map +1 -1
- package/lib/components/questions/SelectQuestion.js +8 -4
- package/lib/components/questions/SelectQuestion.js.map +1 -1
- package/lib/components/questions/SliderQuestion.d.ts +1 -0
- package/lib/components/questions/SliderQuestion.d.ts.map +1 -1
- package/lib/components/questions/SliderQuestion.js +6 -6
- package/lib/components/questions/SliderQuestion.js.map +1 -1
- package/lib/components/questions/StringQuestion.d.ts +1 -0
- package/lib/components/questions/StringQuestion.d.ts.map +1 -1
- package/lib/components/questions/StringQuestion.js +4 -4
- package/lib/components/questions/StringQuestion.js.map +1 -1
- package/lib/components/questions/TextareaQuestion.d.ts +1 -0
- package/lib/components/questions/TextareaQuestion.d.ts.map +1 -1
- package/lib/components/questions/TextareaQuestion.js +3 -3
- package/lib/components/questions/TextareaQuestion.js.map +1 -1
- package/lib/core/mock_helpers.d.ts +4 -3
- package/lib/core/mock_helpers.d.ts.map +1 -1
- package/lib/core/mock_helpers.js +16 -2
- package/lib/core/mock_helpers.js.map +1 -1
- package/lib/core/questionnaire.d.ts +1 -0
- package/lib/core/questionnaire.d.ts.map +1 -1
- package/lib/core/questionnaire.js +1 -0
- package/lib/core/questionnaire.js.map +1 -1
- package/lib/core/questionnaire_json.d.ts +57 -21
- package/lib/core/questionnaire_json.d.ts.map +1 -1
- package/lib/core/response.d.ts +23 -9
- package/lib/core/response.d.ts.map +1 -1
- package/lib/core/response.js +65 -8
- package/lib/core/response.js.map +1 -1
- package/lib/core/validators.d.ts +11 -6
- package/lib/core/validators.d.ts.map +1 -1
- package/lib/core/validators.js +166 -27
- package/lib/core/validators.js.map +1 -1
- package/lib/core/visibility_rules.d.ts.map +1 -1
- package/lib/core/visibility_rules.js +3 -5
- package/lib/core/visibility_rules.js.map +1 -1
- package/lib/i18n.d.ts.map +1 -1
- package/lib/i18n.js +27 -18
- package/lib/i18n.js.map +1 -1
- package/package.json +3 -1
- package/lib/components/questions/DateQuestion.d.ts +0 -9
- package/lib/components/questions/DateQuestion.d.ts.map +0 -1
- package/lib/components/questions/DateQuestion.js +0 -31
- package/lib/components/questions/DateQuestion.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# 0.4.0
|
|
2
|
+
|
|
3
|
+
* Enabled strict mode for typescript, since it's way more relaxed otherwise then expected (e.g. allowing strings passed to number methods)
|
|
4
|
+
* Fixed a bunch of types based on ts complains.
|
|
5
|
+
* Changed options to children with a type and added a html-type.
|
|
6
|
+
* More specific option types for each question.
|
|
7
|
+
* Added placeholder functionality to select questions.
|
|
8
|
+
* Fixed script/fixture and added option to update all the questionnaire fixtures.
|
|
9
|
+
|
|
10
|
+
# 0.3.0
|
|
11
|
+
|
|
12
|
+
* Added date_parts question support
|
|
13
|
+
* date-fns dependency added
|
|
14
|
+
* valid_date validation added
|
|
15
|
+
|
|
1
16
|
# 0.2.0
|
|
2
17
|
|
|
3
18
|
* Basing narrowing of questions on the 'as' attribite instead of the 'type'
|