@digigov/form 0.10.7 → 0.10.8
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 +8 -1
- package/{dist/Field → Field}/FieldBase.d.ts +0 -0
- package/{dist/Field → Field}/FieldBase.js +0 -0
- package/{dist/Field → Field}/FieldBaseContainer.d.ts +0 -0
- package/{dist/Field → Field}/FieldBaseContainer.js +0 -0
- package/{dist/Field → Field}/FieldConditional.d.ts +0 -0
- package/{dist/Field → Field}/FieldConditional.js +0 -0
- package/{dist/Field → Field}/index.d.ts +0 -0
- package/{dist/Field → Field}/index.js +0 -0
- package/{dist/Field → Field}/index.mdx +0 -0
- package/{dist/Field → Field}/types.d.ts +0 -0
- package/{dist/Field → Field}/types.js +0 -0
- package/{dist/Field → Field}/utils.d.ts +0 -0
- package/{dist/Field → Field}/utils.js +0 -0
- package/{dist/FieldArray → FieldArray}/FieldArray.stories.d.ts +1 -0
- package/{dist/FieldArray → FieldArray}/FieldArray.stories.js +2 -1
- package/{dist/FieldArray → FieldArray}/FieldArray.stories.playwright.json +0 -0
- package/{dist/FieldArray → FieldArray}/__stories__/Default.d.ts +0 -0
- package/{dist/FieldArray → FieldArray}/__stories__/Default.js +0 -0
- package/{dist/FieldArray → FieldArray}/__stories__/WithExactLength.d.ts +0 -0
- package/{dist/FieldArray → FieldArray}/__stories__/WithExactLength.js +0 -0
- package/{dist/FieldArray → FieldArray}/index.d.ts +0 -0
- package/{dist/FieldArray → FieldArray}/index.js +0 -0
- package/{dist/FieldObject → FieldObject}/index.d.ts +0 -0
- package/{dist/FieldObject → FieldObject}/index.js +0 -0
- package/{dist/Fieldset → Fieldset}/FieldsetWithContext.d.ts +0 -0
- package/{dist/Fieldset → Fieldset}/FieldsetWithContext.js +0 -0
- package/{dist/Fieldset → Fieldset}/index.d.ts +0 -0
- package/{dist/Fieldset → Fieldset}/index.js +0 -0
- package/{dist/Fieldset → Fieldset}/types.d.ts +0 -0
- package/{dist/Fieldset → Fieldset}/types.js +0 -0
- package/{dist/Form.stories.d.ts → Form.stories.d.ts} +0 -0
- package/{dist/Form.stories.js → Form.stories.js} +0 -0
- package/{dist/Form.stories.playwright.json → Form.stories.playwright.json} +0 -0
- package/{dist/FormBuilder → FormBuilder}/FormBuilder.d.ts +0 -0
- package/{dist/FormBuilder → FormBuilder}/FormBuilder.js +0 -0
- package/{dist/FormBuilder → FormBuilder}/FormBuilder.mdx +0 -0
- package/{dist/FormBuilder → FormBuilder}/FormBuilder.stories.d.ts +1 -0
- package/{dist/FormBuilder → FormBuilder}/FormBuilder.stories.js +2 -1
- package/{dist/FormBuilder → FormBuilder}/FormBuilder.stories.playwright.json +0 -0
- package/{dist/FormBuilder → FormBuilder}/__stories__/Default.d.ts +0 -0
- package/{dist/FormBuilder → FormBuilder}/__stories__/Default.js +0 -0
- package/{dist/FormBuilder → FormBuilder}/index.d.ts +0 -0
- package/{dist/FormBuilder → FormBuilder}/index.js +0 -0
- package/{dist/FormContext.d.ts → FormContext.d.ts} +0 -0
- package/{dist/FormContext.js → FormContext.js} +0 -0
- package/{dist/LICENSE → LICENSE} +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/MultiplicityField.mdx +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/MultiplicityField.stories.d.ts +1 -0
- package/{dist/MultiplicityField → MultiplicityField}/MultiplicityField.stories.js +2 -1
- package/{dist/MultiplicityField → MultiplicityField}/MultiplicityField.stories.playwright.json +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/Default.d.ts +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/Default.js +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/PreviewDisplay.d.ts +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/PreviewDisplay.js +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/WithExactLength.d.ts +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/WithExactLength.js +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/WithMaxLength.d.ts +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/WithMaxLength.js +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/WithMinAndMaxLength.d.ts +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/WithMinAndMaxLength.js +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/WithMinLength.d.ts +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/__stories__/WithMinLength.js +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/add-objects.d.ts +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/add-objects.js +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/index.d.ts +0 -0
- package/{dist/MultiplicityField → MultiplicityField}/index.js +0 -0
- package/{dist/Questions → Questions}/Questions.d.ts +0 -0
- package/{dist/Questions → Questions}/Questions.js +0 -0
- package/Questions/Questions.stories.d.ts +8 -0
- package/Questions/Questions.stories.js +31 -0
- package/{dist/Questions → Questions}/QuestionsContext.d.ts +0 -0
- package/{dist/Questions → Questions}/QuestionsContext.js +0 -0
- package/{dist/Questions → Questions}/Step/ReviewStep.d.ts +0 -0
- package/{dist/Questions → Questions}/Step/ReviewStep.js +0 -0
- package/{dist/Questions → Questions}/Step/Step.d.ts +0 -0
- package/{dist/Questions → Questions}/Step/Step.js +0 -0
- package/{dist/Questions → Questions}/Step/StepArrayReview.d.ts +0 -0
- package/{dist/Questions → Questions}/Step/StepArrayReview.js +0 -0
- package/{dist/Questions → Questions}/Step/StepContext.d.ts +0 -0
- package/{dist/Questions → Questions}/Step/StepContext.js +0 -0
- package/{dist/Questions → Questions}/Step/StepDescription.d.ts +0 -0
- package/{dist/Questions → Questions}/Step/StepDescription.js +0 -0
- package/{dist/Questions → Questions}/Step/StepForm.d.ts +0 -0
- package/{dist/Questions → Questions}/Step/StepForm.js +0 -0
- package/{dist/Questions → Questions}/Step/StepQuote.d.ts +0 -0
- package/{dist/Questions → Questions}/Step/StepQuote.js +0 -0
- package/{dist/Questions → Questions}/Step/StepTitle.d.ts +0 -0
- package/{dist/Questions → Questions}/Step/StepTitle.js +0 -0
- package/{dist/Questions → Questions}/Step/getAddMoreFields.d.ts +0 -0
- package/{dist/Questions → Questions}/Step/getAddMoreFields.js +0 -0
- package/{dist/Questions → Questions}/Step/index.d.ts +0 -0
- package/{dist/Questions → Questions}/Step/index.js +0 -0
- package/{dist/Questions → Questions}/Step/types.d.ts +0 -0
- package/{dist/Questions → Questions}/Step/types.js +0 -0
- package/{dist/Questions → Questions}/__snapshots__/index.spec.tsx.snap +0 -0
- package/Questions/__stories__/Default.d.ts +2 -0
- package/Questions/__stories__/Default.js +130 -0
- package/{dist/Questions → Questions}/getNextStep.d.ts +0 -0
- package/{dist/Questions → Questions}/getNextStep.js +0 -0
- package/{dist/Questions → Questions}/index.d.ts +0 -0
- package/{dist/Questions → Questions}/index.js +0 -0
- package/Questions/index.mdx +418 -0
- package/{dist/Questions → Questions}/index.spec.d.ts +0 -0
- package/{dist/Questions → Questions}/index.spec.js +0 -0
- package/{dist/Questions → Questions}/types.d.ts +0 -0
- package/{dist/Questions → Questions}/types.js +0 -0
- package/{dist/__stories__ → __stories__}/AutoCompleteField.d.ts +0 -0
- package/{dist/__stories__ → __stories__}/AutoCompleteField.js +0 -0
- package/{dist/__stories__ → __stories__}/IntField.d.ts +0 -0
- package/{dist/__stories__ → __stories__}/IntField.js +0 -0
- package/{dist/create-simple-form.mdx → create-simple-form.mdx} +0 -0
- package/{dist/es → es}/Field/FieldBase.js +0 -0
- package/{dist/es → es}/Field/FieldBaseContainer.js +0 -0
- package/{dist/es → es}/Field/FieldConditional.js +0 -0
- package/{dist/es → es}/Field/index.js +0 -0
- package/{dist/es → es}/Field/index.mdx +0 -0
- package/{dist/es → es}/Field/types.js +0 -0
- package/{dist/es → es}/Field/utils.js +0 -0
- package/{src → es}/FieldArray/FieldArray.stories.js +2 -1
- package/{dist/es → es}/FieldArray/FieldArray.stories.playwright.json +0 -0
- package/{dist/es → es}/FieldArray/__stories__/Default.js +0 -0
- package/{dist/es → es}/FieldArray/__stories__/WithExactLength.js +0 -0
- package/{dist/es → es}/FieldArray/index.js +0 -0
- package/{dist/es → es}/FieldObject/index.js +0 -0
- package/{dist/es → es}/Fieldset/FieldsetWithContext.js +0 -0
- package/{dist/es → es}/Fieldset/index.js +0 -0
- package/{dist/es → es}/Fieldset/types.js +0 -0
- package/{dist/es → es}/Form.stories.js +0 -0
- package/{dist/es → es}/Form.stories.playwright.json +0 -0
- package/{dist/es → es}/FormBuilder/FormBuilder.js +0 -0
- package/{dist/es → es}/FormBuilder/FormBuilder.mdx +0 -0
- package/{src → es}/FormBuilder/FormBuilder.stories.js +2 -1
- package/{dist/es → es}/FormBuilder/FormBuilder.stories.playwright.json +0 -0
- package/{dist/es → es}/FormBuilder/__stories__/Default.js +0 -0
- package/{dist/es → es}/FormBuilder/index.js +0 -0
- package/{dist/es → es}/FormContext.js +0 -0
- package/{dist/es → es}/MultiplicityField/MultiplicityField.mdx +0 -0
- package/{src → es}/MultiplicityField/MultiplicityField.stories.js +2 -1
- package/{dist/es → es}/MultiplicityField/MultiplicityField.stories.playwright.json +0 -0
- package/{dist/es → es}/MultiplicityField/__stories__/Default.js +0 -0
- package/{dist/es → es}/MultiplicityField/__stories__/PreviewDisplay.js +0 -0
- package/{dist/es → es}/MultiplicityField/__stories__/WithExactLength.js +0 -0
- package/{dist/es → es}/MultiplicityField/__stories__/WithMaxLength.js +0 -0
- package/{dist/es → es}/MultiplicityField/__stories__/WithMinAndMaxLength.js +0 -0
- package/{dist/es → es}/MultiplicityField/__stories__/WithMinLength.js +0 -0
- package/{dist/es → es}/MultiplicityField/add-objects.js +0 -0
- package/{dist/es → es}/MultiplicityField/index.js +0 -0
- package/{dist/es → es}/Questions/Questions.js +0 -0
- package/es/Questions/Questions.stories.js +7 -0
- package/{dist/es → es}/Questions/QuestionsContext.js +0 -0
- package/{dist/es → es}/Questions/Step/ReviewStep.js +0 -0
- package/{dist/es → es}/Questions/Step/Step.js +0 -0
- package/{dist/es → es}/Questions/Step/StepArrayReview.js +0 -0
- package/{dist/es → es}/Questions/Step/StepContext.js +0 -0
- package/{dist/es → es}/Questions/Step/StepDescription.js +0 -0
- package/{dist/es → es}/Questions/Step/StepForm.js +0 -0
- package/{dist/es → es}/Questions/Step/StepQuote.js +0 -0
- package/{dist/es → es}/Questions/Step/StepTitle.js +0 -0
- package/{dist/es → es}/Questions/Step/getAddMoreFields.js +0 -0
- package/{dist/es → es}/Questions/Step/index.js +0 -0
- package/{dist/es → es}/Questions/Step/types.js +0 -0
- package/{dist/es → es}/Questions/__snapshots__/index.spec.tsx.snap +0 -0
- package/es/Questions/__stories__/Default.js +103 -0
- package/{dist/es → es}/Questions/getNextStep.js +0 -0
- package/{dist/es → es}/Questions/index.js +0 -0
- package/es/Questions/index.mdx +418 -0
- package/{dist/es → es}/Questions/index.spec.js +0 -0
- package/{dist/es → es}/Questions/types.js +0 -0
- package/{dist/es → es}/__stories__/AutoCompleteField.js +0 -0
- package/{dist/es → es}/__stories__/IntField.js +0 -0
- package/{dist/es → es}/create-simple-form.mdx +0 -0
- package/{dist/es → es}/index.js +0 -0
- package/{dist/es → es}/index.mdx +0 -0
- package/{dist/es → es}/inputs/AutoComplete/index.js +0 -0
- package/{src → es}/inputs/Checkboxes/Checkboxes.stories.js +2 -1
- package/{dist/es → es}/inputs/Checkboxes/Checkboxes.stories.playwright.json +0 -0
- package/{dist/es → es}/inputs/Checkboxes/__stories__/Default.js +0 -0
- package/{dist/es → es}/inputs/Checkboxes/index.js +0 -0
- package/{dist/es → es}/inputs/Checkboxes/index.mdx +0 -0
- package/{src → es}/inputs/DateInput/DateInput.stories.js +2 -1
- package/{dist/es → es}/inputs/DateInput/DateInput.stories.playwright.json +0 -0
- package/{dist/es → es}/inputs/DateInput/__stories__/Default.js +0 -0
- package/{dist/es → es}/inputs/DateInput/index.js +0 -0
- package/{src → es}/inputs/FileInput/FileInput.stories.js +2 -1
- package/{dist/es → es}/inputs/FileInput/FileInput.stories.playwright.json +0 -0
- package/{dist/es → es}/inputs/FileInput/__stories__/Default.js +0 -0
- package/{dist/es → es}/inputs/FileInput/index.js +0 -0
- package/{src → es}/inputs/Input/Input.stories.js +2 -1
- package/{dist/es → es}/inputs/Input/Input.stories.playwright.json +0 -0
- package/{dist/es → es}/inputs/Input/__stories__/AFM.js +0 -0
- package/{dist/es → es}/inputs/Input/__stories__/Boolean.js +0 -0
- package/{dist/es → es}/inputs/Input/__stories__/Default.js +0 -0
- package/{dist/es → es}/inputs/Input/__stories__/IBAN.js +0 -0
- package/{dist/es → es}/inputs/Input/__stories__/Integer.js +0 -0
- package/{dist/es → es}/inputs/Input/__stories__/MobilePhone.js +0 -0
- package/{dist/es → es}/inputs/Input/__stories__/PhoneNumber.js +0 -0
- package/{dist/es → es}/inputs/Input/__stories__/PostalCode.js +0 -0
- package/{dist/es → es}/inputs/Input/index.js +0 -0
- package/{dist/es → es}/inputs/Input/index.mdx +0 -0
- package/{src → es}/inputs/Label/Label.stories.js +2 -1
- package/{dist/es → es}/inputs/Label/Label.stories.playwright.json +0 -0
- package/{dist/es → es}/inputs/Label/__stories__/Default.js +0 -0
- package/{dist/es → es}/inputs/Label/index.js +0 -0
- package/{dist/es → es}/inputs/Label/index.mdx +0 -0
- package/{src → es}/inputs/Radio/Radio.stories.js +2 -1
- package/{dist/es → es}/inputs/Radio/Radio.stories.playwright.json +0 -0
- package/{dist/es → es}/inputs/Radio/__stories__/Default.js +0 -0
- package/{dist/es → es}/inputs/Radio/index.js +0 -0
- package/{dist/es → es}/inputs/Radio/index.mdx +0 -0
- package/{src → es}/inputs/Select/Select.stories.js +2 -1
- package/{dist/es → es}/inputs/Select/Select.stories.playwright.json +0 -0
- package/{dist/es → es}/inputs/Select/__stories__/Default.js +0 -0
- package/{dist/es → es}/inputs/Select/index.js +0 -0
- package/{dist/es → es}/inputs/index.js +0 -0
- package/{dist/es → es}/installation.mdx +0 -0
- package/{dist/es → es}/internal.js +0 -0
- package/{dist/es → es}/registry.js +0 -0
- package/{dist/es → es}/types.js +0 -0
- package/{dist/es → es}/utils.js +0 -0
- package/{dist/es → es}/validators/index.js +0 -0
- package/{dist/es → es}/validators/types.js +0 -0
- package/{dist/es → es}/validators/utils/afm.js +0 -0
- package/{dist/es → es}/validators/utils/file.js +0 -0
- package/{dist/es → es}/validators/utils/iban.js +0 -0
- package/{dist/es → es}/validators/utils/index.js +0 -0
- package/{dist/es → es}/validators/utils/int.js +0 -0
- package/{dist/es → es}/validators/utils/number.js +0 -0
- package/{dist/es → es}/validators/utils/phone.js +0 -0
- package/{dist/es → es}/validators/utils/postal_code.js +0 -0
- package/{dist/es → es}/validators/utils/uuid4.js +0 -0
- package/{dist/es → es}/validators/validators.spec.js +0 -0
- package/{dist/esm → esm}/Field/FieldBase.js +0 -0
- package/{dist/esm → esm}/Field/FieldBaseContainer.js +0 -0
- package/{dist/esm → esm}/Field/FieldConditional.js +0 -0
- package/{dist/esm → esm}/Field/index.js +0 -0
- package/{dist/esm → esm}/Field/index.mdx +0 -0
- package/{dist/esm → esm}/Field/types.js +0 -0
- package/{dist/esm → esm}/Field/utils.js +0 -0
- package/{dist/esm → esm}/FieldArray/FieldArray.stories.js +2 -1
- package/{dist/esm → esm}/FieldArray/FieldArray.stories.playwright.json +0 -0
- package/{dist/esm → esm}/FieldArray/__stories__/Default.js +0 -0
- package/{dist/esm → esm}/FieldArray/__stories__/WithExactLength.js +0 -0
- package/{dist/esm → esm}/FieldArray/index.js +0 -0
- package/{dist/esm → esm}/FieldObject/index.js +0 -0
- package/{dist/esm → esm}/Fieldset/FieldsetWithContext.js +0 -0
- package/{dist/esm → esm}/Fieldset/index.js +0 -0
- package/{dist/esm → esm}/Fieldset/types.js +0 -0
- package/{dist/esm → esm}/Form.stories.js +0 -0
- package/{dist/esm → esm}/Form.stories.playwright.json +0 -0
- package/{dist/esm → esm}/FormBuilder/FormBuilder.js +0 -0
- package/{dist/esm → esm}/FormBuilder/FormBuilder.mdx +0 -0
- package/esm/FormBuilder/FormBuilder.stories.js +7 -0
- package/{dist/esm → esm}/FormBuilder/FormBuilder.stories.playwright.json +0 -0
- package/{dist/esm → esm}/FormBuilder/__stories__/Default.js +0 -0
- package/{dist/esm → esm}/FormBuilder/index.js +0 -0
- package/{dist/esm → esm}/FormContext.js +0 -0
- package/{dist/esm → esm}/MultiplicityField/MultiplicityField.mdx +0 -0
- package/{dist/es → esm}/MultiplicityField/MultiplicityField.stories.js +2 -1
- package/{dist/esm → esm}/MultiplicityField/MultiplicityField.stories.playwright.json +0 -0
- package/{dist/esm → esm}/MultiplicityField/__stories__/Default.js +0 -0
- package/{dist/esm → esm}/MultiplicityField/__stories__/PreviewDisplay.js +0 -0
- package/{dist/esm → esm}/MultiplicityField/__stories__/WithExactLength.js +0 -0
- package/{dist/esm → esm}/MultiplicityField/__stories__/WithMaxLength.js +0 -0
- package/{dist/esm → esm}/MultiplicityField/__stories__/WithMinAndMaxLength.js +0 -0
- package/{dist/esm → esm}/MultiplicityField/__stories__/WithMinLength.js +0 -0
- package/{dist/esm → esm}/MultiplicityField/add-objects.js +0 -0
- package/{dist/esm → esm}/MultiplicityField/index.js +0 -0
- package/{dist/esm → esm}/Questions/Questions.js +0 -0
- package/esm/Questions/Questions.stories.js +7 -0
- package/{dist/esm → esm}/Questions/QuestionsContext.js +0 -0
- package/{dist/esm → esm}/Questions/Step/ReviewStep.js +0 -0
- package/{dist/esm → esm}/Questions/Step/Step.js +0 -0
- package/{dist/esm → esm}/Questions/Step/StepArrayReview.js +0 -0
- package/{dist/esm → esm}/Questions/Step/StepContext.js +0 -0
- package/{dist/esm → esm}/Questions/Step/StepDescription.js +0 -0
- package/{dist/esm → esm}/Questions/Step/StepForm.js +0 -0
- package/{dist/esm → esm}/Questions/Step/StepQuote.js +0 -0
- package/{dist/esm → esm}/Questions/Step/StepTitle.js +0 -0
- package/{dist/esm → esm}/Questions/Step/getAddMoreFields.js +0 -0
- package/{dist/esm → esm}/Questions/Step/index.js +0 -0
- package/{dist/esm → esm}/Questions/Step/types.js +0 -0
- package/{dist/esm → esm}/Questions/__snapshots__/index.spec.tsx.snap +0 -0
- package/esm/Questions/__stories__/Default.js +103 -0
- package/{dist/esm → esm}/Questions/getNextStep.js +0 -0
- package/{dist/esm → esm}/Questions/index.js +0 -0
- package/esm/Questions/index.mdx +418 -0
- package/{dist/esm → esm}/Questions/index.spec.js +0 -0
- package/{dist/esm → esm}/Questions/types.js +0 -0
- package/{dist/esm → esm}/__stories__/AutoCompleteField.js +0 -0
- package/{dist/esm → esm}/__stories__/IntField.js +0 -0
- package/{dist/esm → esm}/create-simple-form.mdx +0 -0
- package/{dist/esm → esm}/index.js +1 -1
- package/{dist/esm → esm}/index.mdx +0 -0
- package/{dist/esm → esm}/inputs/AutoComplete/index.js +0 -0
- package/{dist/es → esm}/inputs/Checkboxes/Checkboxes.stories.js +2 -1
- package/{dist/esm → esm}/inputs/Checkboxes/Checkboxes.stories.playwright.json +0 -0
- package/{dist/esm → esm}/inputs/Checkboxes/__stories__/Default.js +0 -0
- package/{dist/esm → esm}/inputs/Checkboxes/index.js +0 -0
- package/{dist/esm → esm}/inputs/Checkboxes/index.mdx +0 -0
- package/{dist/esm → esm}/inputs/DateInput/DateInput.stories.js +2 -1
- package/{dist/esm → esm}/inputs/DateInput/DateInput.stories.playwright.json +0 -0
- package/{dist/esm → esm}/inputs/DateInput/__stories__/Default.js +0 -0
- package/{dist/esm → esm}/inputs/DateInput/index.js +0 -0
- package/{dist/es → esm}/inputs/FileInput/FileInput.stories.js +2 -1
- package/{dist/esm → esm}/inputs/FileInput/FileInput.stories.playwright.json +0 -0
- package/{dist/esm → esm}/inputs/FileInput/__stories__/Default.js +0 -0
- package/{dist/esm → esm}/inputs/FileInput/index.js +0 -0
- package/{dist/es → esm}/inputs/Input/Input.stories.js +2 -1
- package/{dist/esm → esm}/inputs/Input/Input.stories.playwright.json +0 -0
- package/{dist/esm → esm}/inputs/Input/__stories__/AFM.js +0 -0
- package/{dist/esm → esm}/inputs/Input/__stories__/Boolean.js +0 -0
- package/{dist/esm → esm}/inputs/Input/__stories__/Default.js +0 -0
- package/{dist/esm → esm}/inputs/Input/__stories__/IBAN.js +0 -0
- package/{dist/esm → esm}/inputs/Input/__stories__/Integer.js +0 -0
- package/{dist/esm → esm}/inputs/Input/__stories__/MobilePhone.js +0 -0
- package/{dist/esm → esm}/inputs/Input/__stories__/PhoneNumber.js +0 -0
- package/{dist/esm → esm}/inputs/Input/__stories__/PostalCode.js +0 -0
- package/{dist/esm → esm}/inputs/Input/index.js +0 -0
- package/{dist/esm → esm}/inputs/Input/index.mdx +0 -0
- package/{dist/es → esm}/inputs/Label/Label.stories.js +2 -1
- package/{dist/esm → esm}/inputs/Label/Label.stories.playwright.json +0 -0
- package/{dist/esm → esm}/inputs/Label/__stories__/Default.js +0 -0
- package/{dist/esm → esm}/inputs/Label/index.js +0 -0
- package/{dist/esm → esm}/inputs/Label/index.mdx +0 -0
- package/{dist/es → esm}/inputs/Radio/Radio.stories.js +2 -1
- package/{dist/esm → esm}/inputs/Radio/Radio.stories.playwright.json +0 -0
- package/{dist/esm → esm}/inputs/Radio/__stories__/Default.js +0 -0
- package/{dist/esm → esm}/inputs/Radio/index.js +0 -0
- package/{dist/esm → esm}/inputs/Radio/index.mdx +0 -0
- package/{dist/es → esm}/inputs/Select/Select.stories.js +2 -1
- package/{dist/esm → esm}/inputs/Select/Select.stories.playwright.json +0 -0
- package/{dist/esm → esm}/inputs/Select/__stories__/Default.js +0 -0
- package/{dist/esm → esm}/inputs/Select/index.js +0 -0
- package/{dist/esm → esm}/inputs/index.js +0 -0
- package/{dist/esm → esm}/installation.mdx +0 -0
- package/{dist/esm → esm}/internal.js +0 -0
- package/{dist/esm → esm}/registry.js +0 -0
- package/{dist/esm → esm}/types.js +0 -0
- package/{dist/esm → esm}/utils.js +0 -0
- package/{dist/esm → esm}/validators/index.js +0 -0
- package/{dist/esm → esm}/validators/types.js +0 -0
- package/{dist/esm → esm}/validators/utils/afm.js +0 -0
- package/{dist/esm → esm}/validators/utils/file.js +0 -0
- package/{dist/esm → esm}/validators/utils/iban.js +0 -0
- package/{dist/esm → esm}/validators/utils/index.js +0 -0
- package/{dist/esm → esm}/validators/utils/int.js +0 -0
- package/{dist/esm → esm}/validators/utils/number.js +0 -0
- package/{dist/esm → esm}/validators/utils/phone.js +0 -0
- package/{dist/esm → esm}/validators/utils/postal_code.js +0 -0
- package/{dist/esm → esm}/validators/utils/uuid4.js +0 -0
- package/{dist/esm → esm}/validators/validators.spec.js +0 -0
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/{dist/index.js → index.js} +0 -0
- package/{dist/index.mdx → index.mdx} +0 -0
- package/{dist/inputs → inputs}/AutoComplete/index.d.ts +0 -0
- package/{dist/inputs → inputs}/AutoComplete/index.js +0 -0
- package/{dist/inputs → inputs}/Checkboxes/Checkboxes.stories.d.ts +1 -0
- package/{dist/inputs → inputs}/Checkboxes/Checkboxes.stories.js +2 -1
- package/{dist/inputs → inputs}/Checkboxes/Checkboxes.stories.playwright.json +0 -0
- package/{dist/inputs → inputs}/Checkboxes/__stories__/Default.d.ts +0 -0
- package/{dist/inputs → inputs}/Checkboxes/__stories__/Default.js +0 -0
- package/{dist/inputs → inputs}/Checkboxes/index.d.ts +0 -0
- package/{dist/inputs → inputs}/Checkboxes/index.js +0 -0
- package/{dist/inputs → inputs}/Checkboxes/index.mdx +0 -0
- package/{dist/inputs → inputs}/DateInput/DateInput.stories.d.ts +1 -0
- package/{dist/inputs → inputs}/DateInput/DateInput.stories.js +2 -1
- package/{dist/inputs → inputs}/DateInput/DateInput.stories.playwright.json +0 -0
- package/{dist/inputs → inputs}/DateInput/__stories__/Default.d.ts +0 -0
- package/{dist/inputs → inputs}/DateInput/__stories__/Default.js +0 -0
- package/{dist/inputs → inputs}/DateInput/index.d.ts +0 -0
- package/{dist/inputs → inputs}/DateInput/index.js +0 -0
- package/{dist/inputs → inputs}/FileInput/FileInput.stories.d.ts +1 -0
- package/{dist/inputs → inputs}/FileInput/FileInput.stories.js +2 -1
- package/{dist/inputs → inputs}/FileInput/FileInput.stories.playwright.json +0 -0
- package/{dist/inputs → inputs}/FileInput/__stories__/Default.d.ts +0 -0
- package/{dist/inputs → inputs}/FileInput/__stories__/Default.js +0 -0
- package/{dist/inputs → inputs}/FileInput/index.d.ts +0 -0
- package/{dist/inputs → inputs}/FileInput/index.js +0 -0
- package/{dist/inputs → inputs}/Input/Input.stories.d.ts +1 -0
- package/{dist/inputs → inputs}/Input/Input.stories.js +2 -1
- package/{dist/inputs → inputs}/Input/Input.stories.playwright.json +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/AFM.d.ts +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/AFM.js +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/Boolean.d.ts +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/Boolean.js +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/Default.d.ts +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/Default.js +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/IBAN.d.ts +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/IBAN.js +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/Integer.d.ts +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/Integer.js +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/MobilePhone.d.ts +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/MobilePhone.js +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/PhoneNumber.d.ts +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/PhoneNumber.js +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/PostalCode.d.ts +0 -0
- package/{dist/inputs → inputs}/Input/__stories__/PostalCode.js +0 -0
- package/{dist/inputs → inputs}/Input/index.d.ts +0 -0
- package/{dist/inputs → inputs}/Input/index.js +0 -0
- package/{dist/inputs → inputs}/Input/index.mdx +0 -0
- package/{dist/inputs → inputs}/Label/Label.stories.d.ts +1 -0
- package/{dist/inputs → inputs}/Label/Label.stories.js +2 -1
- package/{dist/inputs → inputs}/Label/Label.stories.playwright.json +0 -0
- package/{dist/inputs → inputs}/Label/__stories__/Default.d.ts +0 -0
- package/{dist/inputs → inputs}/Label/__stories__/Default.js +0 -0
- package/{dist/inputs → inputs}/Label/index.d.ts +0 -0
- package/{dist/inputs → inputs}/Label/index.js +0 -0
- package/{dist/inputs → inputs}/Label/index.mdx +0 -0
- package/{dist/inputs → inputs}/Radio/Radio.stories.d.ts +1 -0
- package/{dist/inputs → inputs}/Radio/Radio.stories.js +2 -1
- package/{dist/inputs → inputs}/Radio/Radio.stories.playwright.json +0 -0
- package/{dist/inputs → inputs}/Radio/__stories__/Default.d.ts +0 -0
- package/{dist/inputs → inputs}/Radio/__stories__/Default.js +0 -0
- package/{dist/inputs → inputs}/Radio/index.d.ts +0 -0
- package/{dist/inputs → inputs}/Radio/index.js +0 -0
- package/{dist/inputs → inputs}/Radio/index.mdx +0 -0
- package/{dist/inputs → inputs}/Select/Select.stories.d.ts +1 -0
- package/{dist/inputs → inputs}/Select/Select.stories.js +2 -1
- package/{dist/inputs → inputs}/Select/Select.stories.playwright.json +0 -0
- package/{dist/inputs → inputs}/Select/__stories__/Default.d.ts +0 -0
- package/{dist/inputs → inputs}/Select/__stories__/Default.js +0 -0
- package/{dist/inputs → inputs}/Select/index.d.ts +0 -0
- package/{dist/inputs → inputs}/Select/index.js +0 -0
- package/{dist/inputs → inputs}/index.d.ts +0 -0
- package/{dist/inputs → inputs}/index.js +0 -0
- package/{dist/installation.mdx → installation.mdx} +0 -0
- package/{dist/internal.d.ts → internal.d.ts} +0 -0
- package/{dist/internal.js → internal.js} +0 -0
- package/package.json +10 -31
- package/{dist/registry.d.ts → registry.d.ts} +0 -0
- package/{dist/registry.js → registry.js} +0 -0
- package/{dist/types.d.ts → types.d.ts} +0 -0
- package/{dist/types.js → types.js} +0 -0
- package/{dist/utils.d.ts → utils.d.ts} +0 -0
- package/{dist/utils.js → utils.js} +0 -0
- package/{dist/validators → validators}/index.d.ts +0 -0
- package/{dist/validators → validators}/index.js +0 -0
- package/{dist/validators → validators}/types.d.ts +0 -0
- package/{dist/validators → validators}/types.js +0 -0
- package/{dist/validators → validators}/utils/afm.d.ts +0 -0
- package/{dist/validators → validators}/utils/afm.js +0 -0
- package/{dist/validators → validators}/utils/file.d.ts +0 -0
- package/{dist/validators → validators}/utils/file.js +0 -0
- package/{dist/validators → validators}/utils/iban.d.ts +0 -0
- package/{dist/validators → validators}/utils/iban.js +0 -0
- package/{dist/validators → validators}/utils/index.d.ts +0 -0
- package/{dist/validators → validators}/utils/index.js +0 -0
- package/{dist/validators → validators}/utils/int.d.ts +0 -0
- package/{dist/validators → validators}/utils/int.js +0 -0
- package/{dist/validators → validators}/utils/number.d.ts +0 -0
- package/{dist/validators → validators}/utils/number.js +0 -0
- package/{dist/validators → validators}/utils/phone.d.ts +0 -0
- package/{dist/validators → validators}/utils/phone.js +0 -0
- package/{dist/validators → validators}/utils/postal_code.d.ts +0 -0
- package/{dist/validators → validators}/utils/postal_code.js +0 -0
- package/{dist/validators → validators}/utils/uuid4.d.ts +0 -0
- package/{dist/validators → validators}/utils/uuid4.js +0 -0
- package/{dist/validators → validators}/validators.spec.d.ts +0 -0
- package/{dist/validators → validators}/validators.spec.js +0 -0
- package/.eslintrc.js +0 -3
- package/.prettierrc.js +0 -3
- package/CHANGELOG.json +0 -1392
- package/coverage/clover.xml +0 -859
- package/coverage/coverage-final.json +0 -51
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -386
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/coverage/lcov-report/src/Field/FieldBase.tsx.html +0 -379
- package/coverage/lcov-report/src/Field/FieldConditional.tsx.html +0 -310
- package/coverage/lcov-report/src/Field/FieldContainer.tsx.html +0 -256
- package/coverage/lcov-report/src/Field/index.html +0 -176
- package/coverage/lcov-report/src/Field/index.tsx.html +0 -352
- package/coverage/lcov-report/src/Field/utils.ts.html +0 -559
- package/coverage/lcov-report/src/FieldArray/index.html +0 -116
- package/coverage/lcov-report/src/FieldArray/index.tsx.html +0 -319
- package/coverage/lcov-report/src/FieldObject/index.html +0 -116
- package/coverage/lcov-report/src/FieldObject/index.tsx.html +0 -364
- package/coverage/lcov-report/src/Fieldset/index.html +0 -116
- package/coverage/lcov-report/src/Fieldset/index.tsx.html +0 -202
- package/coverage/lcov-report/src/FormBuilder/FormBuilder.tsx.html +0 -580
- package/coverage/lcov-report/src/FormBuilder/index.html +0 -131
- package/coverage/lcov-report/src/FormBuilder/index.tsx.html +0 -94
- package/coverage/lcov-report/src/FormContext.tsx.html +0 -109
- package/coverage/lcov-report/src/MultiplicityField/add-objects.tsx.html +0 -637
- package/coverage/lcov-report/src/MultiplicityField/index.html +0 -131
- package/coverage/lcov-report/src/MultiplicityField/index.tsx.html +0 -580
- package/coverage/lcov-report/src/Questions/Questions.tsx.html +0 -307
- package/coverage/lcov-report/src/Questions/QuestionsContext.tsx.html +0 -112
- package/coverage/lcov-report/src/Questions/Step/ReviewStep.tsx.html +0 -274
- package/coverage/lcov-report/src/Questions/Step/Step.tsx.html +0 -286
- package/coverage/lcov-report/src/Questions/Step/StepArrayReview.tsx.html +0 -289
- package/coverage/lcov-report/src/Questions/Step/StepContext.tsx.html +0 -148
- package/coverage/lcov-report/src/Questions/Step/StepDescription.tsx.html +0 -184
- package/coverage/lcov-report/src/Questions/Step/StepForm.tsx.html +0 -265
- package/coverage/lcov-report/src/Questions/Step/StepQuote.tsx.html +0 -109
- package/coverage/lcov-report/src/Questions/Step/StepTitle.tsx.html +0 -265
- package/coverage/lcov-report/src/Questions/Step/getAddMoreFields.tsx.html +0 -169
- package/coverage/lcov-report/src/Questions/Step/index.html +0 -266
- package/coverage/lcov-report/src/Questions/Step/index.ts.html +0 -124
- package/coverage/lcov-report/src/Questions/Step/types.tsx.html +0 -181
- package/coverage/lcov-report/src/Questions/getNextStep.tsx.html +0 -157
- package/coverage/lcov-report/src/Questions/index.html +0 -161
- package/coverage/lcov-report/src/Questions/index.tsx.html +0 -100
- package/coverage/lcov-report/src/index.html +0 -176
- package/coverage/lcov-report/src/index.ts.html +0 -94
- package/coverage/lcov-report/src/inputs/Checkboxes/index.html +0 -116
- package/coverage/lcov-report/src/inputs/Checkboxes/index.tsx.html +0 -307
- package/coverage/lcov-report/src/inputs/DateInput/index.html +0 -116
- package/coverage/lcov-report/src/inputs/DateInput/index.tsx.html +0 -475
- package/coverage/lcov-report/src/inputs/FileInput/index.html +0 -116
- package/coverage/lcov-report/src/inputs/FileInput/index.tsx.html +0 -313
- package/coverage/lcov-report/src/inputs/Input/index.html +0 -116
- package/coverage/lcov-report/src/inputs/Input/index.tsx.html +0 -271
- package/coverage/lcov-report/src/inputs/Label/index.html +0 -116
- package/coverage/lcov-report/src/inputs/Label/index.tsx.html +0 -217
- package/coverage/lcov-report/src/inputs/Radio/index.html +0 -116
- package/coverage/lcov-report/src/inputs/Radio/index.tsx.html +0 -256
- package/coverage/lcov-report/src/inputs/Select/index.html +0 -116
- package/coverage/lcov-report/src/inputs/Select/index.tsx.html +0 -196
- package/coverage/lcov-report/src/inputs/index.html +0 -116
- package/coverage/lcov-report/src/inputs/index.ts.html +0 -106
- package/coverage/lcov-report/src/internal.ts.html +0 -184
- package/coverage/lcov-report/src/types.tsx.html +0 -406
- package/coverage/lcov-report/src/utils.ts.html +0 -319
- package/coverage/lcov-report/src/validators/index.html +0 -116
- package/coverage/lcov-report/src/validators/index.ts.html +0 -694
- package/coverage/lcov-report/src/validators/utils/afm.ts.html +0 -196
- package/coverage/lcov-report/src/validators/utils/file.ts.html +0 -160
- package/coverage/lcov-report/src/validators/utils/iban.ts.html +0 -442
- package/coverage/lcov-report/src/validators/utils/index.html +0 -236
- package/coverage/lcov-report/src/validators/utils/index.ts.html +0 -367
- package/coverage/lcov-report/src/validators/utils/int.ts.html +0 -151
- package/coverage/lcov-report/src/validators/utils/number.ts.html +0 -139
- package/coverage/lcov-report/src/validators/utils/phone.ts.html +0 -445
- package/coverage/lcov-report/src/validators/utils/postal_code.ts.html +0 -184
- package/coverage/lcov-report/src/validators/utils/uuid4.ts.html +0 -148
- package/coverage/lcov.info +0 -1969
- package/dist/CHANGELOG.md +0 -432
- package/dist/Questions/index.mdx +0 -13
- package/dist/README.md +0 -0
- package/dist/es/FieldArray/FieldArray.stories.js +0 -7
- package/dist/es/FormBuilder/FormBuilder.stories.js +0 -6
- package/dist/es/Questions/index.mdx +0 -13
- package/dist/es/inputs/DateInput/DateInput.stories.js +0 -6
- package/dist/esm/FormBuilder/FormBuilder.stories.js +0 -6
- package/dist/esm/MultiplicityField/MultiplicityField.stories.js +0 -11
- package/dist/esm/Questions/index.mdx +0 -13
- package/dist/esm/inputs/Checkboxes/Checkboxes.stories.js +0 -6
- package/dist/esm/inputs/FileInput/FileInput.stories.js +0 -6
- package/dist/esm/inputs/Input/Input.stories.js +0 -13
- package/dist/esm/inputs/Label/Label.stories.js +0 -6
- package/dist/esm/inputs/Radio/Radio.stories.js +0 -6
- package/dist/esm/inputs/Select/Select.stories.js +0 -6
- package/dist/package.json +0 -31
- package/docs/index.mdx +0 -6
- package/form.build.log +0 -16
- package/src/Field/FieldBase.tsx +0 -99
- package/src/Field/FieldBaseContainer.tsx +0 -57
- package/src/Field/FieldConditional.tsx +0 -75
- package/src/Field/index.mdx +0 -6
- package/src/Field/index.tsx +0 -92
- package/src/Field/types.tsx +0 -102
- package/src/Field/utils.ts +0 -164
- package/src/FieldArray/FieldArray.stories.playwright.json +0 -353
- package/src/FieldArray/__stories__/Default.tsx +0 -95
- package/src/FieldArray/__stories__/WithExactLength.tsx +0 -95
- package/src/FieldArray/index.tsx +0 -83
- package/src/FieldObject/index.tsx +0 -92
- package/src/Fieldset/FieldsetWithContext.tsx +0 -41
- package/src/Fieldset/index.tsx +0 -40
- package/src/Fieldset/types.tsx +0 -6
- package/src/Form.stories.js +0 -5
- package/src/Form.stories.playwright.json +0 -143
- package/src/FormBuilder/FormBuilder.mdx +0 -271
- package/src/FormBuilder/FormBuilder.stories.playwright.json +0 -52
- package/src/FormBuilder/FormBuilder.tsx +0 -165
- package/src/FormBuilder/__stories__/Default.tsx +0 -23
- package/src/FormBuilder/index.tsx +0 -3
- package/src/FormContext.tsx +0 -8
- package/src/MultiplicityField/MultiplicityField.mdx +0 -580
- package/src/MultiplicityField/MultiplicityField.stories.playwright.json +0 -1370
- package/src/MultiplicityField/__stories__/Default.tsx +0 -100
- package/src/MultiplicityField/__stories__/PreviewDisplay.tsx +0 -160
- package/src/MultiplicityField/__stories__/WithExactLength.tsx +0 -99
- package/src/MultiplicityField/__stories__/WithMaxLength.tsx +0 -102
- package/src/MultiplicityField/__stories__/WithMinAndMaxLength.tsx +0 -103
- package/src/MultiplicityField/__stories__/WithMinLength.tsx +0 -102
- package/src/MultiplicityField/add-objects.tsx +0 -186
- package/src/MultiplicityField/index.tsx +0 -166
- package/src/Questions/Questions.tsx +0 -74
- package/src/Questions/QuestionsContext.tsx +0 -9
- package/src/Questions/Step/ReviewStep.tsx +0 -63
- package/src/Questions/Step/Step.tsx +0 -67
- package/src/Questions/Step/StepArrayReview.tsx +0 -68
- package/src/Questions/Step/StepContext.tsx +0 -21
- package/src/Questions/Step/StepDescription.tsx +0 -33
- package/src/Questions/Step/StepForm.tsx +0 -60
- package/src/Questions/Step/StepQuote.tsx +0 -8
- package/src/Questions/Step/StepTitle.tsx +0 -60
- package/src/Questions/Step/getAddMoreFields.tsx +0 -28
- package/src/Questions/Step/index.ts +0 -13
- package/src/Questions/Step/types.tsx +0 -32
- package/src/Questions/__snapshots__/index.spec.tsx.snap +0 -887
- package/src/Questions/getNextStep.tsx +0 -24
- package/src/Questions/index.mdx +0 -13
- package/src/Questions/index.spec.tsx +0 -72
- package/src/Questions/index.tsx +0 -5
- package/src/Questions/types.tsx +0 -25
- package/src/__stories__/AutoCompleteField.tsx +0 -45
- package/src/__stories__/IntField.tsx +0 -38
- package/src/create-simple-form.mdx +0 -518
- package/src/index.mdx +0 -44
- package/src/index.ts +0 -3
- package/src/inputs/AutoComplete/index.tsx +0 -85
- package/src/inputs/Checkboxes/Checkboxes.stories.playwright.json +0 -69
- package/src/inputs/Checkboxes/__stories__/Default.tsx +0 -39
- package/src/inputs/Checkboxes/index.mdx +0 -0
- package/src/inputs/Checkboxes/index.tsx +0 -77
- package/src/inputs/DateInput/DateInput.stories.playwright.json +0 -72
- package/src/inputs/DateInput/__stories__/Default.tsx +0 -41
- package/src/inputs/DateInput/index.tsx +0 -130
- package/src/inputs/FileInput/FileInput.stories.playwright.json +0 -75
- package/src/inputs/FileInput/__stories__/Default.tsx +0 -23
- package/src/inputs/FileInput/index.tsx +0 -76
- package/src/inputs/Input/Input.stories.playwright.json +0 -376
- package/src/inputs/Input/__stories__/AFM.tsx +0 -24
- package/src/inputs/Input/__stories__/Boolean.tsx +0 -26
- package/src/inputs/Input/__stories__/Default.tsx +0 -25
- package/src/inputs/Input/__stories__/IBAN.tsx +0 -26
- package/src/inputs/Input/__stories__/Integer.tsx +0 -25
- package/src/inputs/Input/__stories__/MobilePhone.tsx +0 -24
- package/src/inputs/Input/__stories__/PhoneNumber.tsx +0 -24
- package/src/inputs/Input/__stories__/PostalCode.tsx +0 -25
- package/src/inputs/Input/index.mdx +0 -8
- package/src/inputs/Input/index.tsx +0 -62
- package/src/inputs/Label/Label.stories.playwright.json +0 -40
- package/src/inputs/Label/__stories__/Default.tsx +0 -28
- package/src/inputs/Label/index.mdx +0 -0
- package/src/inputs/Label/index.tsx +0 -44
- package/src/inputs/Radio/Radio.stories.playwright.json +0 -57
- package/src/inputs/Radio/__stories__/Default.tsx +0 -42
- package/src/inputs/Radio/index.mdx +0 -0
- package/src/inputs/Radio/index.tsx +0 -57
- package/src/inputs/Select/Select.stories.playwright.json +0 -22
- package/src/inputs/Select/__stories__/Default.tsx +0 -47
- package/src/inputs/Select/index.tsx +0 -37
- package/src/inputs/index.ts +0 -7
- package/src/installation.mdx +0 -72
- package/src/internal.ts +0 -34
- package/src/registry.js +0 -134
- package/src/types.tsx +0 -110
- package/src/utils.ts +0 -78
- package/src/validators/index.ts +0 -203
- package/src/validators/types.ts +0 -2
- package/src/validators/utils/afm.ts +0 -37
- package/src/validators/utils/file.ts +0 -25
- package/src/validators/utils/iban.ts +0 -119
- package/src/validators/utils/index.ts +0 -94
- package/src/validators/utils/int.ts +0 -22
- package/src/validators/utils/number.ts +0 -18
- package/src/validators/utils/phone.ts +0 -120
- package/src/validators/utils/postal_code.ts +0 -33
- package/src/validators/utils/uuid4.ts +0 -21
- package/src/validators/validators.spec.ts +0 -122
- package/tsconfig.json +0 -14
- package/tsconfig.production.json +0 -49
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import GovGRFooter from '@digigov/ui/govgr/Footer';
|
|
3
|
+
import Header from '@digigov/ui/app/Header';
|
|
4
|
+
import HeaderSection from '@digigov/ui/app/Header/HeaderSection';
|
|
5
|
+
import HeaderContent from '@digigov/ui/app/Header/HeaderContent';
|
|
6
|
+
import GovGRLogo from '@digigov/ui/govgr/Logo';
|
|
7
|
+
import BasicLayout, { Top, Content, Main, Bottom } from '@digigov/ui/layouts/Basic';
|
|
8
|
+
import Questions, { Step, StepForm, StepTitle } from '@digigov/form/Questions';
|
|
9
|
+
import { Field } from '@digigov/form';
|
|
10
|
+
var steps = [{
|
|
11
|
+
name: 'age',
|
|
12
|
+
title: 'What is your age?',
|
|
13
|
+
fields: [{
|
|
14
|
+
key: 'age',
|
|
15
|
+
type: 'int',
|
|
16
|
+
required: true
|
|
17
|
+
}],
|
|
18
|
+
nextStep: function nextStep(data) {
|
|
19
|
+
return data.age > 17 ? 'citizen-adult' : 'citizen-underage';
|
|
20
|
+
}
|
|
21
|
+
}, {
|
|
22
|
+
name: 'citizen-underage',
|
|
23
|
+
title: 'Are you a student?',
|
|
24
|
+
fields: [{
|
|
25
|
+
key: 'citizen-underage-student',
|
|
26
|
+
type: 'radio',
|
|
27
|
+
required: true,
|
|
28
|
+
options: [{
|
|
29
|
+
label: {
|
|
30
|
+
primary: 'Yes'
|
|
31
|
+
},
|
|
32
|
+
value: 'yes'
|
|
33
|
+
}, {
|
|
34
|
+
label: {
|
|
35
|
+
primary: 'No'
|
|
36
|
+
},
|
|
37
|
+
value: 'no'
|
|
38
|
+
}]
|
|
39
|
+
}]
|
|
40
|
+
}, {
|
|
41
|
+
name: 'citizen-adult',
|
|
42
|
+
title: 'Are you currently employed?',
|
|
43
|
+
fields: [{
|
|
44
|
+
key: 'citizen-adult-employed',
|
|
45
|
+
type: 'radio',
|
|
46
|
+
required: true,
|
|
47
|
+
options: [{
|
|
48
|
+
label: {
|
|
49
|
+
primary: 'Yes'
|
|
50
|
+
},
|
|
51
|
+
value: 'yes'
|
|
52
|
+
}, {
|
|
53
|
+
label: {
|
|
54
|
+
primary: 'No'
|
|
55
|
+
},
|
|
56
|
+
value: 'no'
|
|
57
|
+
}]
|
|
58
|
+
}]
|
|
59
|
+
}];
|
|
60
|
+
|
|
61
|
+
var _ref = /*#__PURE__*/React.createElement(Top, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement(HeaderSection, null, /*#__PURE__*/React.createElement(HeaderContent, null, /*#__PURE__*/React.createElement(GovGRLogo, {
|
|
62
|
+
href: "#"
|
|
63
|
+
})))));
|
|
64
|
+
|
|
65
|
+
var _ref2 = /*#__PURE__*/React.createElement(Step, {
|
|
66
|
+
name: "age"
|
|
67
|
+
}, /*#__PURE__*/React.createElement(StepTitle, null), /*#__PURE__*/React.createElement(StepForm, {
|
|
68
|
+
submitButton: true
|
|
69
|
+
}, /*#__PURE__*/React.createElement(Field, {
|
|
70
|
+
key: "age",
|
|
71
|
+
name: "age"
|
|
72
|
+
})));
|
|
73
|
+
|
|
74
|
+
var _ref3 = /*#__PURE__*/React.createElement(Step, {
|
|
75
|
+
name: "citizen-underage"
|
|
76
|
+
}, /*#__PURE__*/React.createElement(StepTitle, null), /*#__PURE__*/React.createElement(StepForm, {
|
|
77
|
+
submitButton: true
|
|
78
|
+
}, /*#__PURE__*/React.createElement(Field, {
|
|
79
|
+
key: "citizen-underage-student",
|
|
80
|
+
name: "citizen-underage-student"
|
|
81
|
+
})));
|
|
82
|
+
|
|
83
|
+
var _ref4 = /*#__PURE__*/React.createElement(Step, {
|
|
84
|
+
name: "citizen-adult"
|
|
85
|
+
}, /*#__PURE__*/React.createElement(StepTitle, null), /*#__PURE__*/React.createElement(StepForm, {
|
|
86
|
+
submitButton: true
|
|
87
|
+
}, /*#__PURE__*/React.createElement(Field, {
|
|
88
|
+
key: "citizen-adult-employed",
|
|
89
|
+
name: "citizen-adult-employed"
|
|
90
|
+
})));
|
|
91
|
+
|
|
92
|
+
var _ref5 = /*#__PURE__*/React.createElement(Bottom, null, /*#__PURE__*/React.createElement(GovGRFooter, null));
|
|
93
|
+
|
|
94
|
+
export function Default() {
|
|
95
|
+
return /*#__PURE__*/React.createElement(BasicLayout, null, _ref, /*#__PURE__*/React.createElement(Content, null, /*#__PURE__*/React.createElement(Main, null, /*#__PURE__*/React.createElement(Questions, {
|
|
96
|
+
name: 'example',
|
|
97
|
+
steps: steps,
|
|
98
|
+
onSubmit: function onSubmit(data) {
|
|
99
|
+
console.log(data);
|
|
100
|
+
}
|
|
101
|
+
}, _ref2, _ref3, _ref4))), _ref5);
|
|
102
|
+
}
|
|
103
|
+
export default Default;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: ask-questions-steps
|
|
3
|
+
title: Asking questions in multiple steps
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
TableContainer,
|
|
8
|
+
Table,
|
|
9
|
+
TableCaption,
|
|
10
|
+
TableHead,
|
|
11
|
+
TableRow,
|
|
12
|
+
TableBody,
|
|
13
|
+
TableHeadCell,
|
|
14
|
+
TableDataCell,
|
|
15
|
+
} from '@digigov/react-core';
|
|
16
|
+
|
|
17
|
+
import LeadText from "@site/src/components/LeadText";
|
|
18
|
+
|
|
19
|
+
<LeadText>Question pages are used to ask users meaningful questions needed by
|
|
20
|
+
your GOV.GR service, or even gather data about their persona or their
|
|
21
|
+
application status. Use step questions to make bigger forms less scary and
|
|
22
|
+
easier to fill out.</LeadText>
|
|
23
|
+
|
|
24
|
+
## Introduction to Question pages
|
|
25
|
+
|
|
26
|
+
Asking questions is a vital part of interacting with our users, and asking them
|
|
27
|
+
to provide information needed for your service. We want to build forms that
|
|
28
|
+
are accessible to a lot of people regardless of their cognitive or other
|
|
29
|
+
impairments, challenges, or other technological drawbacks.
|
|
30
|
+
|
|
31
|
+
In our case, we don't have to worry about profit, conversions, and sales, but
|
|
32
|
+
there are other hidden costs. If there are too many questions in the form,
|
|
33
|
+
you’ll lose users. You’ll also lose users if there are questions in the form
|
|
34
|
+
that users consider impertinent or irrelevant—or, even worse, you’ll get made-up
|
|
35
|
+
data. If you find that your users have names like John Doe or Mickey Mouse and
|
|
36
|
+
live on Anystreet, in Anywhere, you’ve collected a lot of rubbish that costs a
|
|
37
|
+
lot to clean up. Plus, there is the further hidden cost of loss of goodwill.
|
|
38
|
+
Even if users struggle through to the end of a form and answer honestly, if it’s
|
|
39
|
+
more work than they expected, they’ll be annoyed about it. That's the exact
|
|
40
|
+
opposite of our goals of making concise, easy-to-use services.
|
|
41
|
+
|
|
42
|
+
```jsx live
|
|
43
|
+
import React from 'react';
|
|
44
|
+
import Questions, { Step, StepForm, StepTitle } from '@digigov/form/Questions';
|
|
45
|
+
import { Field } from '@digigov/form';
|
|
46
|
+
|
|
47
|
+
const steps = [
|
|
48
|
+
{
|
|
49
|
+
name: 'residency',
|
|
50
|
+
title: 'Where do you live?',
|
|
51
|
+
fields: [
|
|
52
|
+
{
|
|
53
|
+
key: 'countries',
|
|
54
|
+
type: 'choice:single',
|
|
55
|
+
required: true,
|
|
56
|
+
extra: {
|
|
57
|
+
options: [
|
|
58
|
+
{
|
|
59
|
+
label: {
|
|
60
|
+
primary: 'Greece',
|
|
61
|
+
},
|
|
62
|
+
value: 'greece',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
label: {
|
|
66
|
+
primary: 'Cyprus',
|
|
67
|
+
},
|
|
68
|
+
value: 'cyprus',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
label: {
|
|
72
|
+
primary: 'European Union',
|
|
73
|
+
},
|
|
74
|
+
value: 'eu',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
label: {
|
|
78
|
+
primary: 'United States of America',
|
|
79
|
+
},
|
|
80
|
+
value: 'usa',
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: 'bod',
|
|
89
|
+
title: 'When is your birthday?',
|
|
90
|
+
fields: [
|
|
91
|
+
{
|
|
92
|
+
key: 'bod',
|
|
93
|
+
label: {
|
|
94
|
+
primary: 'Birthday',
|
|
95
|
+
},
|
|
96
|
+
type: 'date',
|
|
97
|
+
required: true
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
];
|
|
102
|
+
|
|
103
|
+
export default function Index() {
|
|
104
|
+
return (
|
|
105
|
+
<Questions
|
|
106
|
+
name={'example'}
|
|
107
|
+
steps={steps}
|
|
108
|
+
onSubmit={(data) => {
|
|
109
|
+
console.log(data);
|
|
110
|
+
}}
|
|
111
|
+
>
|
|
112
|
+
<Step name="residency">
|
|
113
|
+
<StepTitle />
|
|
114
|
+
<StepForm submitButton={true}>
|
|
115
|
+
<Field name="countries" />
|
|
116
|
+
</StepForm>
|
|
117
|
+
</Step>
|
|
118
|
+
<Step name="bod">
|
|
119
|
+
<StepTitle />
|
|
120
|
+
<StepForm submitButton={true}>
|
|
121
|
+
<Field name="bod" />
|
|
122
|
+
</StepForm>
|
|
123
|
+
</Step>
|
|
124
|
+
</Questions>
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
When we started working on forms, we started following the GOV.UK paradigm,
|
|
130
|
+
asking just one question per screen, making it very manageable on mobiles. When
|
|
131
|
+
we sent this early design around internally for comments, a common response was
|
|
132
|
+
that it felt odd on large screens and it slowed users down. In reality, even if
|
|
133
|
+
it adds more clicks, it makes the process feel simpler and easy - there wasn’t
|
|
134
|
+
too much to take in and process at any one time. So we stuck with the simpler
|
|
135
|
+
screens for everyone. [Read
|
|
136
|
+
more](https://designnotes.blog.gov.uk/2014/07/14/things-we-learnt-designing-register-to-vote/)
|
|
137
|
+
about this topic.
|
|
138
|
+
|
|
139
|
+
The approach gave us other advantages. For example, say someone makes a mistake
|
|
140
|
+
answering a question: entering an email address with no ‘@’. The mistake and how
|
|
141
|
+
to correct it is a lot clearer if the question is on the screen. With longer
|
|
142
|
+
pages, it’s common for the question to be off the top or bottom of the screen,
|
|
143
|
+
making it harder to find.
|
|
144
|
+
|
|
145
|
+
For more information about the design specification of question pages, you can
|
|
146
|
+
read our [“Question pages“ pattern
|
|
147
|
+
page](https://guide.services.gov.gr/docs/questions-pages).
|
|
148
|
+
|
|
149
|
+
## How to use it
|
|
150
|
+
|
|
151
|
+
Each step can be defined using a `Step` React component and all steps should be
|
|
152
|
+
place inside a `Questions` component, that will provide the steps subcomponents
|
|
153
|
+
the required state.
|
|
154
|
+
|
|
155
|
+
First, you declare an array called `steps` and then you pass it to `<Questions
|
|
156
|
+
/>` as a prop. Then for each step you can declare a `<Step />` component and
|
|
157
|
+
its subsequent subcomponents that you customise as needed, like the step title,
|
|
158
|
+
description or form. You can also add components that are not form-specific,
|
|
159
|
+
adding paragraphs or other custom components.
|
|
160
|
+
|
|
161
|
+
```jsx
|
|
162
|
+
<Questions
|
|
163
|
+
name="example"
|
|
164
|
+
steps={steps}
|
|
165
|
+
onSubmit={(data) => doSomething(data)}
|
|
166
|
+
>
|
|
167
|
+
{/* more steps could be rendered here ... */}
|
|
168
|
+
<Step name="age">
|
|
169
|
+
<StepTitle />
|
|
170
|
+
<StepDescription />
|
|
171
|
+
<StepForm submitButton={true}>
|
|
172
|
+
<Field name="age" />
|
|
173
|
+
</StepForm>
|
|
174
|
+
</Step>
|
|
175
|
+
{/* and of course more could be down here as well */}
|
|
176
|
+
</Questions>
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### Step specification
|
|
180
|
+
|
|
181
|
+
Steps can be described using `StepInterface` interface declared as a JSON
|
|
182
|
+
object. The most basic properties are the following:
|
|
183
|
+
|
|
184
|
+
* `name` - a unique identifier, must be different for each step
|
|
185
|
+
* `title` - the main questions title that communicates to the users what this
|
|
186
|
+
question page is about, rendered by `StepTitle`
|
|
187
|
+
* `fields` - an array that describes each input field that will be rendered in
|
|
188
|
+
the `StepForm`. Each fields implements the `FieldSpec` interface as a JSON object.
|
|
189
|
+
|
|
190
|
+
```json title="step-name.json"
|
|
191
|
+
{
|
|
192
|
+
name: 'name',
|
|
193
|
+
title: 'What is your name?',
|
|
194
|
+
fields: [
|
|
195
|
+
{
|
|
196
|
+
key: 'name',
|
|
197
|
+
type: 'string',
|
|
198
|
+
required: true,
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Branching between steps
|
|
205
|
+
|
|
206
|
+
Each step will be rendered in the order that matches their index inside the
|
|
207
|
+
array of fields. You can change this order and create branching between any two
|
|
208
|
+
steps.
|
|
209
|
+
|
|
210
|
+
Each step can be programmaticaly linked to the next step so you can do some
|
|
211
|
+
basic branching between each step. The `nextStep` property will need to be a
|
|
212
|
+
function that will take the form state as an argument and will return the key of
|
|
213
|
+
the next `step`.
|
|
214
|
+
|
|
215
|
+
```json title="next-step.json"
|
|
216
|
+
const steps = [
|
|
217
|
+
{
|
|
218
|
+
name: 'age',
|
|
219
|
+
title: 'What is your age?',
|
|
220
|
+
fields: [
|
|
221
|
+
{
|
|
222
|
+
key: 'age',
|
|
223
|
+
type: 'int',
|
|
224
|
+
required: true,
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
// highlight-start
|
|
228
|
+
nextStep: (data) => {
|
|
229
|
+
return data.age < 18 ? 'citizen-adult' : citizen-underage;
|
|
230
|
+
}
|
|
231
|
+
// highlight-end
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
name: 'citizen-underage',
|
|
235
|
+
title: 'Are you a student?',
|
|
236
|
+
fields: [ ... ]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
// highlight-next-line
|
|
240
|
+
name: 'citizen-adult',
|
|
241
|
+
title: 'Are you currently employed?',
|
|
242
|
+
fields: [
|
|
243
|
+
{
|
|
244
|
+
key: 'citizen-underage-employed',
|
|
245
|
+
type: 'choice:single',
|
|
246
|
+
required: true,
|
|
247
|
+
extra: {
|
|
248
|
+
options: [
|
|
249
|
+
{
|
|
250
|
+
label: {primary: "Yes"},
|
|
251
|
+
value: 'yes',
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
label: {primary: "No"},
|
|
255
|
+
value: 'no',
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
];
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
For example, you may use a form to determine if citizens are adults or not, and
|
|
266
|
+
we want to ask users different questions according to their persona. We can use
|
|
267
|
+
a branch between the `age` step and the other two steps.
|
|
268
|
+
|
|
269
|
+
```jsx live
|
|
270
|
+
import React from 'react';
|
|
271
|
+
import GovGRFooter from '@digigov/ui/govgr/Footer';
|
|
272
|
+
import Header from '@digigov/ui/app/Header';
|
|
273
|
+
import HeaderSection from '@digigov/ui/app/Header/HeaderSection';
|
|
274
|
+
import HeaderContent from '@digigov/ui/app/Header/HeaderContent';
|
|
275
|
+
import GovGRLogo from '@digigov/ui/govgr/Logo';
|
|
276
|
+
import BasicLayout, {
|
|
277
|
+
Top,
|
|
278
|
+
Content,
|
|
279
|
+
Main,
|
|
280
|
+
Bottom,
|
|
281
|
+
} from '@digigov/ui/layouts/Basic';
|
|
282
|
+
import Questions, { Step, StepForm, StepTitle } from '@digigov/form/Questions';
|
|
283
|
+
import { Field } from '@digigov/form';
|
|
284
|
+
import TranslatorsHeader from 'translators-landing/components/TranslatorsHeader';
|
|
285
|
+
|
|
286
|
+
const steps = [
|
|
287
|
+
{
|
|
288
|
+
name: 'age',
|
|
289
|
+
title: 'What is your age?',
|
|
290
|
+
fields: [
|
|
291
|
+
{
|
|
292
|
+
key: 'age',
|
|
293
|
+
type: 'int',
|
|
294
|
+
required: true,
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
nextStep: (data) => {
|
|
298
|
+
return data.age < 18 ? 'citizen-adult' : 'citizen-underage';
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
name: 'citizen-underage',
|
|
303
|
+
title: 'Are you a student?',
|
|
304
|
+
fields: [
|
|
305
|
+
{
|
|
306
|
+
key: 'citizen-underage-student',
|
|
307
|
+
type: 'choice:single',
|
|
308
|
+
required: true,
|
|
309
|
+
extra: {
|
|
310
|
+
options: [
|
|
311
|
+
{
|
|
312
|
+
label: {primary: "Yes"},
|
|
313
|
+
value: 'yes',
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
label: {primary: "No"},
|
|
317
|
+
value: 'no',
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
]
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
name: 'citizen-adult',
|
|
326
|
+
title: 'Are you currently employed?',
|
|
327
|
+
fields: [
|
|
328
|
+
{
|
|
329
|
+
key: 'citizen-adult-employed',
|
|
330
|
+
type: 'choice:single',
|
|
331
|
+
required: true,
|
|
332
|
+
extra: {
|
|
333
|
+
options: [
|
|
334
|
+
{
|
|
335
|
+
label: {primary: "Yes"},
|
|
336
|
+
value: 'yes',
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
label: {primary: "No"},
|
|
340
|
+
value: 'no',
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
];
|
|
348
|
+
|
|
349
|
+
export default function Index() {
|
|
350
|
+
return (
|
|
351
|
+
<BasicLayout>
|
|
352
|
+
<Top>
|
|
353
|
+
<Header>
|
|
354
|
+
<HeaderSection>
|
|
355
|
+
<HeaderContent>
|
|
356
|
+
<GovGRLogo href="#" />
|
|
357
|
+
</HeaderContent>
|
|
358
|
+
</HeaderSection>
|
|
359
|
+
</Header>
|
|
360
|
+
</Top>
|
|
361
|
+
<Content>
|
|
362
|
+
<Main>
|
|
363
|
+
<Questions
|
|
364
|
+
name={'example'}
|
|
365
|
+
steps={steps}
|
|
366
|
+
onSubmit={(data) => {
|
|
367
|
+
console.log(data);
|
|
368
|
+
}}
|
|
369
|
+
>
|
|
370
|
+
<Step name="age">
|
|
371
|
+
<StepTitle />
|
|
372
|
+
<StepForm submitButton={true}>
|
|
373
|
+
<Field name="age" />
|
|
374
|
+
</StepForm>
|
|
375
|
+
</Step>
|
|
376
|
+
<Step name="citizen-underage">
|
|
377
|
+
<StepTitle />
|
|
378
|
+
<StepForm submitButton={true}>
|
|
379
|
+
<Field name="citizen-underage-student" />
|
|
380
|
+
</StepForm>
|
|
381
|
+
</Step>
|
|
382
|
+
<Step name="citizen-adult">
|
|
383
|
+
<StepTitle />
|
|
384
|
+
<StepForm submitButton={true}>
|
|
385
|
+
<Field name="citizen-adult-employed" />
|
|
386
|
+
</StepForm>
|
|
387
|
+
</Step>
|
|
388
|
+
</Questions>
|
|
389
|
+
</Main>
|
|
390
|
+
</Content>
|
|
391
|
+
<Bottom>
|
|
392
|
+
<GovGRFooter />
|
|
393
|
+
</Bottom>
|
|
394
|
+
</BasicLayout>
|
|
395
|
+
);
|
|
396
|
+
}
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
## Prop types
|
|
400
|
+
|
|
401
|
+
<TableContainer>
|
|
402
|
+
<Table>
|
|
403
|
+
<TableHead>
|
|
404
|
+
<TableRow>
|
|
405
|
+
<TableHeadCell>Περίοδος</TableHeadCell>
|
|
406
|
+
<TableHeadCell>Κανονικό ποσό</TableHeadCell>
|
|
407
|
+
<TableHeadCell>Μειωμένο ποσό</TableHeadCell>
|
|
408
|
+
</TableRow>
|
|
409
|
+
</TableHead>
|
|
410
|
+
<TableBody>
|
|
411
|
+
<TableRow>
|
|
412
|
+
<TableDataCell>Πρώτες 6 εβδομάδες </TableDataCell>
|
|
413
|
+
<TableDataCell> €109.80 / εβδομάδα</TableDataCell>
|
|
414
|
+
<TableDataCell> €69.80 / εβδομάδα</TableDataCell>
|
|
415
|
+
</TableRow>
|
|
416
|
+
</TableBody>
|
|
417
|
+
</Table>
|
|
418
|
+
</TableContainer>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/{dist/es → es}/index.js
RENAMED
|
File without changes
|
package/{dist/es → es}/index.mdx
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -2,5 +2,6 @@ import Checkboxes from '@digigov/form/inputs/Checkboxes';
|
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/Checkboxes',
|
|
4
4
|
component: Checkboxes,
|
|
5
|
+
displayName: 'Checkboxes'
|
|
5
6
|
};
|
|
6
|
-
export * from '@digigov/form/inputs/Checkboxes/__stories__/Default';
|
|
7
|
+
export * from '@digigov/form/inputs/Checkboxes/__stories__/Default';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,5 +2,6 @@ import DateInput from '@digigov/form/inputs/DateInput';
|
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/DateInput',
|
|
4
4
|
component: DateInput,
|
|
5
|
+
displayName: 'DateInput'
|
|
5
6
|
};
|
|
6
|
-
export * from '@digigov/form/inputs/DateInput/__stories__/Default';
|
|
7
|
+
export * from '@digigov/form/inputs/DateInput/__stories__/Default';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,5 +2,6 @@ import FileInput from '@digigov/form/inputs/FileInput';
|
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/FileInput',
|
|
4
4
|
component: FileInput,
|
|
5
|
+
displayName: 'FileInput'
|
|
5
6
|
};
|
|
6
|
-
export * from '@digigov/form/inputs/FileInput/__stories__/Default';
|
|
7
|
+
export * from '@digigov/form/inputs/FileInput/__stories__/Default';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,6 +2,7 @@ import Input from '@digigov/form/inputs/Input';
|
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/Input',
|
|
4
4
|
component: Input,
|
|
5
|
+
displayName: 'Input'
|
|
5
6
|
};
|
|
6
7
|
export * from '@digigov/form/inputs/Input/__stories__/Default';
|
|
7
8
|
export * from '@digigov/form/inputs/Input/__stories__/Integer';
|
|
@@ -10,4 +11,4 @@ export * from '@digigov/form/inputs/Input/__stories__/PhoneNumber';
|
|
|
10
11
|
export * from '@digigov/form/inputs/Input/__stories__/MobilePhone';
|
|
11
12
|
export * from '@digigov/form/inputs/Input/__stories__/AFM';
|
|
12
13
|
export * from '@digigov/form/inputs/Input/__stories__/IBAN';
|
|
13
|
-
export * from '@digigov/form/inputs/Input/__stories__/PostalCode';
|
|
14
|
+
export * from '@digigov/form/inputs/Input/__stories__/PostalCode';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,5 +2,6 @@ import Label from '@digigov/form/inputs/Label';
|
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/Label',
|
|
4
4
|
component: Label,
|
|
5
|
+
displayName: 'Label'
|
|
5
6
|
};
|
|
6
|
-
export * from '@digigov/form/inputs/Label/__stories__/Default';
|
|
7
|
+
export * from '@digigov/form/inputs/Label/__stories__/Default';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,5 +2,6 @@ import Radio from '@digigov/form/inputs/Radio';
|
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/Radio',
|
|
4
4
|
component: Radio,
|
|
5
|
+
displayName: 'Radio'
|
|
5
6
|
};
|
|
6
|
-
export * from '@digigov/form/inputs/Radio/__stories__/Default';
|
|
7
|
+
export * from '@digigov/form/inputs/Radio/__stories__/Default';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|