@digigov/form 1.0.0-00643e1d → 1.0.0-05af31dd
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/Field/FieldBase.js +1 -1
- package/Field/FieldBaseContainer.js +1 -1
- package/Field/FieldConditional.js +2 -2
- package/Field/index.js +5 -5
- package/Field/utils.js +9 -9
- package/FieldArray/FieldArray.stories.js +4 -4
- package/FieldArray/__stories__/Default.js +5 -5
- package/FieldArray/__stories__/WithExactLength.js +5 -5
- package/FieldArray/index.js +3 -3
- package/FieldObject/index.js +3 -3
- package/Fieldset/FieldsetWithContext.js +5 -5
- package/FormBuilder/FormBuilder.js +5 -5
- package/FormBuilder/FormBuilder.stories.js +3 -3
- package/FormBuilder/__stories__/Default.js +3 -3
- package/FormBuilder/index.js +1 -1
- package/MultiplicityField/MultiplicityField.stories.js +8 -8
- package/MultiplicityField/__stories__/Default.js +5 -5
- package/MultiplicityField/__stories__/WithExactLength.js +5 -5
- package/MultiplicityField/__stories__/WithMaxLength.js +5 -5
- package/MultiplicityField/__stories__/WithMinAndMaxLength.js +5 -5
- package/MultiplicityField/__stories__/WithMinLength.js +5 -5
- package/MultiplicityField/add-objects.js +3 -3
- package/MultiplicityField/index.js +3 -3
- package/Questions/Questions.js +2 -2
- package/Questions/Questions.stories.js +3 -3
- package/Questions/Step/ReviewStep.js +3 -3
- package/Questions/Step/Step.js +3 -3
- package/Questions/Step/StepArrayReview.js +6 -6
- package/Questions/Step/StepDescription.js +1 -1
- package/Questions/Step/StepForm.js +4 -4
- package/Questions/Step/StepTitle.js +1 -1
- package/Questions/Step/index.js +14 -14
- package/Questions/__stories__/Default.js +13 -13
- package/Questions/index.js +2 -2
- package/Questions/index.spec.js +9 -9
- package/es/Field/FieldBase.js +1 -1
- package/es/Field/FieldBaseContainer.js +1 -1
- package/es/Field/FieldConditional.js +2 -2
- package/es/Field/index.js +5 -5
- package/es/Field/utils.js +9 -9
- package/es/FieldArray/FieldArray.stories.js +3 -3
- package/es/FieldArray/__stories__/Default.js +1 -1
- package/es/FieldArray/__stories__/WithExactLength.js +1 -1
- package/es/FieldArray/index.js +3 -3
- package/es/FieldObject/index.js +3 -3
- package/es/Fieldset/FieldsetWithContext.js +3 -3
- package/es/FormBuilder/FormBuilder.js +5 -5
- package/es/FormBuilder/FormBuilder.stories.js +2 -2
- package/es/FormBuilder/__stories__/Default.js +1 -1
- package/es/FormBuilder/index.js +1 -1
- package/es/MultiplicityField/MultiplicityField.stories.js +7 -7
- package/es/MultiplicityField/__stories__/Default.js +1 -1
- package/es/MultiplicityField/__stories__/WithExactLength.js +1 -1
- package/es/MultiplicityField/__stories__/WithMaxLength.js +1 -1
- package/es/MultiplicityField/__stories__/WithMinAndMaxLength.js +1 -1
- package/es/MultiplicityField/__stories__/WithMinLength.js +1 -1
- package/es/MultiplicityField/add-objects.js +3 -3
- package/es/MultiplicityField/index.js +3 -3
- package/es/Questions/Questions.js +2 -2
- package/es/Questions/Questions.stories.js +2 -2
- package/es/Questions/Step/ReviewStep.js +3 -3
- package/es/Questions/Step/Step.js +3 -3
- package/es/Questions/Step/StepArrayReview.js +6 -6
- package/es/Questions/Step/StepDescription.js +1 -1
- package/es/Questions/Step/StepForm.js +4 -4
- package/es/Questions/Step/StepTitle.js +1 -1
- package/es/Questions/Step/index.js +12 -12
- package/es/Questions/__stories__/Default.js +2 -2
- package/es/Questions/index.js +2 -2
- package/es/Questions/index.spec.js +3 -3
- package/es/index.js +2 -2
- package/es/inputs/AutoComplete/AutoComplete.stories.js +2 -2
- package/es/inputs/AutoComplete/__stories__/Default.js +2 -2
- package/es/inputs/Checkboxes/Checkboxes.stories.js +4 -4
- package/es/inputs/Checkboxes/__stories__/Conditional.js +1 -1
- package/es/inputs/Checkboxes/__stories__/Default.js +1 -1
- package/es/inputs/Checkboxes/__stories__/WithDivider.js +1 -1
- package/es/inputs/Checkboxes/index.js +1 -1
- package/es/inputs/DateInput/DateInput.stories.js +2 -2
- package/es/inputs/DateInput/__stories__/Default.js +1 -1
- package/es/inputs/FileInput/FileInput.stories.js +2 -2
- package/es/inputs/FileInput/__stories__/Default.js +1 -1
- package/es/inputs/Input/Input.stories.js +10 -10
- package/es/inputs/Input/__stories__/AFM.js +1 -1
- package/es/inputs/Input/__stories__/Boolean.js +1 -1
- package/es/inputs/Input/__stories__/Default.js +1 -1
- package/es/inputs/Input/__stories__/IBAN.js +1 -1
- package/es/inputs/Input/__stories__/Integer.js +1 -1
- package/es/inputs/Input/__stories__/MobilePhone.js +1 -1
- package/es/inputs/Input/__stories__/PhoneNumber.js +1 -1
- package/es/inputs/Input/__stories__/PostalCode.js +1 -1
- package/es/inputs/Input/__stories__/TextWithCharacterLimit.js +1 -1
- package/es/inputs/Label/Label.stories.js +2 -2
- package/es/inputs/Label/__stories__/Default.js +1 -1
- package/es/inputs/OtpInput/OtpInput.stories.js +2 -2
- package/es/inputs/OtpInput/__stories__/Default.js +1 -1
- package/es/inputs/Radio/Radio.stories.js +4 -4
- package/es/inputs/Radio/__stories__/Conditional.js +1 -1
- package/es/inputs/Radio/__stories__/Default.js +1 -1
- package/es/inputs/Radio/__stories__/WithDivider.js +1 -1
- package/es/inputs/Radio/index.js +1 -1
- package/es/inputs/Select/Select.stories.js +2 -2
- package/es/inputs/Select/__stories__/Default.js +1 -1
- package/es/inputs/index.js +8 -8
- package/es/internal.js +34 -34
- package/es/registry.js +59 -59
- package/es/validators/index.js +3 -3
- package/es/validators/utils/index.js +8 -8
- package/es/validators/validators.spec.js +1 -1
- package/esm/Field/FieldBase.js +1 -1
- package/esm/Field/FieldBaseContainer.js +1 -1
- package/esm/Field/FieldConditional.js +2 -2
- package/esm/Field/index.js +5 -5
- package/esm/Field/utils.js +9 -9
- package/esm/FieldArray/FieldArray.stories.js +3 -3
- package/esm/FieldArray/__stories__/Default.js +1 -1
- package/esm/FieldArray/__stories__/WithExactLength.js +1 -1
- package/esm/FieldArray/index.js +3 -3
- package/esm/FieldObject/index.js +3 -3
- package/esm/Fieldset/FieldsetWithContext.js +3 -3
- package/esm/FormBuilder/FormBuilder.js +5 -5
- package/esm/FormBuilder/FormBuilder.stories.js +2 -2
- package/esm/FormBuilder/__stories__/Default.js +1 -1
- package/esm/FormBuilder/index.js +1 -1
- package/esm/MultiplicityField/MultiplicityField.stories.js +7 -7
- package/esm/MultiplicityField/__stories__/Default.js +1 -1
- package/esm/MultiplicityField/__stories__/WithExactLength.js +1 -1
- package/esm/MultiplicityField/__stories__/WithMaxLength.js +1 -1
- package/esm/MultiplicityField/__stories__/WithMinAndMaxLength.js +1 -1
- package/esm/MultiplicityField/__stories__/WithMinLength.js +1 -1
- package/esm/MultiplicityField/add-objects.js +3 -3
- package/esm/MultiplicityField/index.js +3 -3
- package/esm/Questions/Questions.js +2 -2
- package/esm/Questions/Questions.stories.js +2 -2
- package/esm/Questions/Step/ReviewStep.js +3 -3
- package/esm/Questions/Step/Step.js +3 -3
- package/esm/Questions/Step/StepArrayReview.js +6 -6
- package/esm/Questions/Step/StepDescription.js +1 -1
- package/esm/Questions/Step/StepForm.js +4 -4
- package/esm/Questions/Step/StepTitle.js +1 -1
- package/esm/Questions/Step/index.js +12 -12
- package/esm/Questions/__stories__/Default.js +2 -2
- package/esm/Questions/index.js +2 -2
- package/esm/Questions/index.spec.js +3 -3
- package/esm/index.js +3 -3
- package/esm/inputs/AutoComplete/AutoComplete.stories.js +2 -2
- package/esm/inputs/AutoComplete/__stories__/Default.js +2 -2
- package/esm/inputs/Checkboxes/Checkboxes.stories.js +4 -4
- package/esm/inputs/Checkboxes/__stories__/Conditional.js +1 -1
- package/esm/inputs/Checkboxes/__stories__/Default.js +1 -1
- package/esm/inputs/Checkboxes/__stories__/WithDivider.js +1 -1
- package/esm/inputs/Checkboxes/index.js +1 -1
- package/esm/inputs/DateInput/DateInput.stories.js +2 -2
- package/esm/inputs/DateInput/__stories__/Default.js +1 -1
- package/esm/inputs/FileInput/FileInput.stories.js +2 -2
- package/esm/inputs/FileInput/__stories__/Default.js +1 -1
- package/esm/inputs/Input/Input.stories.js +10 -10
- package/esm/inputs/Input/__stories__/AFM.js +1 -1
- package/esm/inputs/Input/__stories__/Boolean.js +1 -1
- package/esm/inputs/Input/__stories__/Default.js +1 -1
- package/esm/inputs/Input/__stories__/IBAN.js +1 -1
- package/esm/inputs/Input/__stories__/Integer.js +1 -1
- package/esm/inputs/Input/__stories__/MobilePhone.js +1 -1
- package/esm/inputs/Input/__stories__/PhoneNumber.js +1 -1
- package/esm/inputs/Input/__stories__/PostalCode.js +1 -1
- package/esm/inputs/Input/__stories__/TextWithCharacterLimit.js +1 -1
- package/esm/inputs/Label/Label.stories.js +2 -2
- package/esm/inputs/Label/__stories__/Default.js +1 -1
- package/esm/inputs/OtpInput/OtpInput.stories.js +2 -2
- package/esm/inputs/OtpInput/__stories__/Default.js +1 -1
- package/esm/inputs/Radio/Radio.stories.js +4 -4
- package/esm/inputs/Radio/__stories__/Conditional.js +1 -1
- package/esm/inputs/Radio/__stories__/Default.js +1 -1
- package/esm/inputs/Radio/__stories__/WithDivider.js +1 -1
- package/esm/inputs/Radio/index.js +1 -1
- package/esm/inputs/Select/Select.stories.js +2 -2
- package/esm/inputs/Select/__stories__/Default.js +1 -1
- package/esm/inputs/index.js +8 -8
- package/esm/internal.js +34 -34
- package/esm/registry.js +59 -59
- package/esm/validators/index.js +3 -3
- package/esm/validators/utils/index.js +8 -8
- package/esm/validators/validators.spec.js +1 -1
- package/index.js +2 -2
- package/inputs/AutoComplete/AutoComplete.stories.js +3 -3
- package/inputs/AutoComplete/__stories__/Default.js +2 -2
- package/inputs/Checkboxes/Checkboxes.stories.js +5 -5
- package/inputs/Checkboxes/__stories__/Conditional.js +3 -3
- package/inputs/Checkboxes/__stories__/Default.js +3 -3
- package/inputs/Checkboxes/__stories__/WithDivider.js +3 -3
- package/inputs/Checkboxes/index.js +2 -2
- package/inputs/DateInput/DateInput.stories.js +3 -3
- package/inputs/DateInput/__stories__/Default.js +3 -3
- package/inputs/FileInput/FileInput.stories.js +3 -3
- package/inputs/FileInput/__stories__/Default.js +3 -3
- package/inputs/Input/Input.stories.js +11 -11
- package/inputs/Input/__stories__/AFM.js +3 -3
- package/inputs/Input/__stories__/Boolean.js +3 -3
- package/inputs/Input/__stories__/Default.js +3 -3
- package/inputs/Input/__stories__/IBAN.js +3 -3
- package/inputs/Input/__stories__/Integer.js +4 -4
- package/inputs/Input/__stories__/MobilePhone.js +3 -3
- package/inputs/Input/__stories__/PhoneNumber.js +3 -3
- package/inputs/Input/__stories__/PostalCode.js +3 -3
- package/inputs/Input/__stories__/TextWithCharacterLimit.js +5 -5
- package/inputs/Label/Label.stories.js +3 -3
- package/inputs/Label/__stories__/Default.js +4 -4
- package/inputs/OtpInput/OtpInput.stories.js +3 -3
- package/inputs/OtpInput/__stories__/Default.js +4 -4
- package/inputs/Radio/Radio.stories.js +5 -5
- package/inputs/Radio/__stories__/Conditional.js +3 -3
- package/inputs/Radio/__stories__/Default.js +3 -3
- package/inputs/Radio/__stories__/WithDivider.js +3 -3
- package/inputs/Radio/index.js +2 -2
- package/inputs/Select/Select.stories.js +3 -3
- package/inputs/Select/__stories__/Default.js +3 -3
- package/inputs/index.js +8 -8
- package/internal.js +20 -20
- package/package.json +4 -4
- package/registry.js +59 -59
- package/validators/index.js +3 -3
- package/validators/utils/index.js +8 -8
- package/validators/validators.spec.js +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useContext } from 'react';
|
|
2
|
-
import { QuestionsContext } from
|
|
3
|
-
import { StepContext } from
|
|
4
|
-
import { StepTitleBase } from
|
|
2
|
+
import { QuestionsContext } from "../QuestionsContext";
|
|
3
|
+
import { StepContext } from "./StepContext";
|
|
4
|
+
import { StepTitleBase } from "./StepTitle";
|
|
5
5
|
import { SummaryList, SummaryListItem, SummaryListItemKey, SummaryListItemValue, SummaryListItemAction } from '@digigov/ui/content/SummaryList';
|
|
6
6
|
import { Button } from '@digigov/ui/form/Button';
|
|
7
7
|
import { useTranslation } from '@digigov/ui/i18n';
|
|
@@ -2,9 +2,9 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import React, { useContext, useState } from 'react';
|
|
5
|
-
import { QuestionsContext } from
|
|
6
|
-
import { StepArrayReview } from
|
|
7
|
-
import { StepContext } from
|
|
5
|
+
import { QuestionsContext } from "../QuestionsContext";
|
|
6
|
+
import { StepArrayReview } from "./StepArrayReview";
|
|
7
|
+
import { StepContext } from "./StepContext";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* The Step component accepts Step data as props
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { useContext } from 'react';
|
|
2
|
-
import { Field } from
|
|
3
|
-
import { Fieldset } from
|
|
4
|
-
import FormBuilder from
|
|
5
|
-
import Label from
|
|
6
|
-
import { QuestionsContext } from
|
|
7
|
-
import { getAddMoreFields } from
|
|
2
|
+
import { Field } from "../../Field";
|
|
3
|
+
import { Fieldset } from "../../Fieldset";
|
|
4
|
+
import FormBuilder from "../../FormBuilder";
|
|
5
|
+
import Label from "../../inputs/Label";
|
|
6
|
+
import { QuestionsContext } from "../QuestionsContext";
|
|
7
|
+
import { getAddMoreFields } from "./getAddMoreFields";
|
|
8
8
|
import PageTitleContainer, { PageTitleHeading } from '@digigov/ui/app/PageTitleContainer';
|
|
9
9
|
import { SummaryList, SummaryListItem, SummaryListItemKey, SummaryListItemValue, SummaryListItemAction } from '@digigov/ui/content/SummaryList';
|
|
10
10
|
import Button from '@digigov/ui/form/Button';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["children", "description"];
|
|
4
4
|
import React, { useContext } from 'react';
|
|
5
|
-
import { StepContext } from
|
|
5
|
+
import { StepContext } from "./StepContext";
|
|
6
6
|
import { useTranslation } from '@digigov/ui/i18n';
|
|
7
7
|
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
8
8
|
export var StepDescriptionBase = function StepDescriptionBase(_ref) {
|
|
@@ -2,10 +2,10 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
2
2
|
var _excluded = ["children", "submitButton"],
|
|
3
3
|
_excluded2 = ["name", "submitStep"];
|
|
4
4
|
import React, { useContext } from 'react';
|
|
5
|
-
import Field from
|
|
6
|
-
import Fieldset from
|
|
7
|
-
import FormBuilder from
|
|
8
|
-
import { StepContext } from
|
|
5
|
+
import Field from "../../Field";
|
|
6
|
+
import Fieldset from "../../Fieldset";
|
|
7
|
+
import FormBuilder from "../../FormBuilder";
|
|
8
|
+
import { StepContext } from "./StepContext";
|
|
9
9
|
import Button from '@digigov/ui/form/Button';
|
|
10
10
|
import { useTranslation } from '@digigov/ui/i18n';
|
|
11
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useContext } from 'react';
|
|
2
|
-
import { StepContext } from
|
|
2
|
+
import { StepContext } from "./StepContext";
|
|
3
3
|
import PageTitleContainer, { PageTitleCaption } from '@digigov/ui/app/PageTitleContainer';
|
|
4
4
|
import BackButton from '@digigov/ui/form/Button/BackButton';
|
|
5
5
|
import { useTranslation } from '@digigov/ui/i18n';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
import Step from
|
|
1
|
+
export * from "./ReviewStep";
|
|
2
|
+
export * from "./Step";
|
|
3
|
+
export * from "./StepArrayReview";
|
|
4
|
+
export * from "./StepContext";
|
|
5
|
+
export * from "./StepDescription";
|
|
6
|
+
export * from "./StepForm";
|
|
7
|
+
export * from "./StepQuote";
|
|
8
|
+
export * from "./StepTitle";
|
|
9
|
+
export * from "./getAddMoreFields";
|
|
10
|
+
export * from "./";
|
|
11
|
+
export * from "./types";
|
|
12
|
+
import Step from "./Step";
|
|
13
13
|
export default Step;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Field } from
|
|
3
|
-
import Questions, { Step, StepForm, StepTitle } from
|
|
2
|
+
import { Field } from "../..";
|
|
3
|
+
import Questions, { Step, StepForm, StepTitle } from "./..";
|
|
4
4
|
import Header from '@digigov/ui/app/Header';
|
|
5
5
|
import HeaderContent from '@digigov/ui/app/Header/HeaderContent';
|
|
6
6
|
import HeaderSection from '@digigov/ui/app/Header/HeaderSection';
|
package/es/Questions/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Questions } from
|
|
1
|
+
import { Questions } from "./Questions";
|
|
2
2
|
export default Questions;
|
|
3
|
-
export * from
|
|
3
|
+
export * from "./Step";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { mount } from 'enzyme';
|
|
3
|
-
import { Field } from
|
|
4
|
-
import { Step, StepForm, StepQuote, StepTitle } from
|
|
5
|
-
import Questions from
|
|
3
|
+
import { Field } from "./..";
|
|
4
|
+
import { Step, StepForm, StepQuote, StepTitle } from "./";
|
|
5
|
+
import Questions from "./";
|
|
6
6
|
var steps = [{
|
|
7
7
|
name: 'intro',
|
|
8
8
|
caption: 'intro.caption',
|
package/es/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
import FormBuilder from
|
|
1
|
+
export * from "./internal";
|
|
2
|
+
import FormBuilder from "./FormBuilder";
|
|
3
3
|
export default FormBuilder;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import AutoComplete from
|
|
1
|
+
import AutoComplete from "./";
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/AutoComplete',
|
|
4
4
|
component: AutoComplete,
|
|
5
5
|
displayName: 'AutoComplete'
|
|
6
6
|
};
|
|
7
|
-
export * from
|
|
7
|
+
export * from "./__stories__/Default";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Suspense } from 'react';
|
|
2
|
-
import { Field } from
|
|
3
|
-
import FormBuilder from
|
|
2
|
+
import { Field } from "../../../Field";
|
|
3
|
+
import FormBuilder from "../../../FormBuilder";
|
|
4
4
|
import { results } from '@digigov/ui/form/AutoComplete/utils';
|
|
5
5
|
import Button from '@digigov/ui/form/Button';
|
|
6
6
|
var fields = [{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import Checkboxes from
|
|
1
|
+
import Checkboxes from "./";
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/Checkboxes',
|
|
4
4
|
component: Checkboxes,
|
|
5
5
|
displayName: 'Checkboxes'
|
|
6
6
|
};
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
7
|
+
export * from "./__stories__/Default";
|
|
8
|
+
export * from "./__stories__/WithDivider";
|
|
9
|
+
export * from "./__stories__/Conditional";
|
|
@@ -4,7 +4,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
4
4
|
var _excluded = ["name", "onChange", "value", "extra", "disabled"],
|
|
5
5
|
_excluded2 = ["label", "value", "show", "disabled", "selected"];
|
|
6
6
|
import React, { useState } from 'react';
|
|
7
|
-
import { Field } from
|
|
7
|
+
import { Field } from "../..";
|
|
8
8
|
import { CheckboxConditional } from '@digigov/react-core';
|
|
9
9
|
import CoreCheckboxes from '@digigov/react-core/Checkbox';
|
|
10
10
|
import CheckboxItem from '@digigov/react-core/CheckboxItem';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import DateInput from
|
|
1
|
+
import DateInput from "./";
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/DateInput',
|
|
4
4
|
component: DateInput,
|
|
5
5
|
displayName: 'DateInput'
|
|
6
6
|
};
|
|
7
|
-
export * from
|
|
7
|
+
export * from "./__stories__/Default";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import FileInput from
|
|
1
|
+
import FileInput from "./";
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/FileInput',
|
|
4
4
|
component: FileInput,
|
|
5
5
|
displayName: 'FileInput'
|
|
6
6
|
};
|
|
7
|
-
export * from
|
|
7
|
+
export * from "./__stories__/Default";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import FormBuilder, { Field } from
|
|
2
|
+
import FormBuilder, { Field } from "../../..";
|
|
3
3
|
import { Button } from '@digigov/ui/form/Button';
|
|
4
4
|
|
|
5
5
|
var _ref = /*#__PURE__*/React.createElement(Button, null, "\u03A3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import Input from
|
|
1
|
+
import Input from "./";
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/Input',
|
|
4
4
|
component: Input,
|
|
5
5
|
displayName: 'Input'
|
|
6
6
|
};
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
7
|
+
export * from "./__stories__/Default";
|
|
8
|
+
export * from "./__stories__/Integer";
|
|
9
|
+
export * from "./__stories__/Boolean";
|
|
10
|
+
export * from "./__stories__/PhoneNumber";
|
|
11
|
+
export * from "./__stories__/MobilePhone";
|
|
12
|
+
export * from "./__stories__/AFM";
|
|
13
|
+
export * from "./__stories__/IBAN";
|
|
14
|
+
export * from "./__stories__/PostalCode";
|
|
15
|
+
export * from "./__stories__/TextWithCharacterLimit";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Label from
|
|
1
|
+
import Label from "./";
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/Label',
|
|
4
4
|
component: Label,
|
|
5
5
|
displayName: 'Label'
|
|
6
6
|
};
|
|
7
|
-
export * from
|
|
7
|
+
export * from "./__stories__/Default";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import OtpInput from
|
|
1
|
+
import OtpInput from "./";
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/OtpInput',
|
|
4
4
|
component: OtpInput,
|
|
5
5
|
displayName: 'OtpInput'
|
|
6
6
|
};
|
|
7
|
-
export * from
|
|
7
|
+
export * from "./__stories__/Default";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import Radio from
|
|
1
|
+
import Radio from "./";
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/Radio',
|
|
4
4
|
component: Radio,
|
|
5
5
|
displayName: 'Radio'
|
|
6
6
|
};
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
7
|
+
export * from "./__stories__/Default";
|
|
8
|
+
export * from "./__stories__/WithDivider";
|
|
9
|
+
export * from "./__stories__/Conditional";
|
package/es/inputs/Radio/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _excluded = ["name", "control", "register", "extra", "disabled"],
|
|
|
4
4
|
_excluded2 = ["label", "value", "show", "disabled", "selected"];
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { useWatch } from 'react-hook-form';
|
|
7
|
-
import { Field } from
|
|
7
|
+
import { Field } from "../..";
|
|
8
8
|
import { RadioConditional } from '@digigov/react-core';
|
|
9
9
|
import Hint from '@digigov/react-core/Hint';
|
|
10
10
|
import RadioContainer from '@digigov/react-core/RadioContainer';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Select from
|
|
1
|
+
import Select from "./";
|
|
2
2
|
export default {
|
|
3
3
|
title: 'Digigov Form/inputs/Select',
|
|
4
4
|
component: Select,
|
|
5
5
|
displayName: 'Select'
|
|
6
6
|
};
|
|
7
|
-
export * from
|
|
7
|
+
export * from "./__stories__/Default";
|
package/es/inputs/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { default as Checkboxes } from
|
|
2
|
-
export { default as DateInput } from
|
|
3
|
-
export { default as OtpInput } from
|
|
4
|
-
export { default as FileInput } from
|
|
5
|
-
export { default as Input } from
|
|
6
|
-
export { default as Label } from
|
|
7
|
-
export { default as Radio } from
|
|
8
|
-
export { default as Select } from
|
|
1
|
+
export { default as Checkboxes } from "./Checkboxes";
|
|
2
|
+
export { default as DateInput } from "./DateInput";
|
|
3
|
+
export { default as OtpInput } from "./OtpInput";
|
|
4
|
+
export { default as FileInput } from "./FileInput";
|
|
5
|
+
export { default as Input } from "./Input";
|
|
6
|
+
export { default as Label } from "./Label";
|
|
7
|
+
export { default as Radio } from "./Radio";
|
|
8
|
+
export { default as Select } from "./Select";
|
package/es/internal.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export { default as Field } from
|
|
2
|
-
export * from
|
|
3
|
-
export { default as FieldArray } from
|
|
4
|
-
export * from
|
|
5
|
-
export { default as FieldConditional } from
|
|
6
|
-
export * from
|
|
7
|
-
export { default as Fieldset } from
|
|
8
|
-
export * from
|
|
9
|
-
export { default as FormBuilder } from
|
|
10
|
-
export * from
|
|
11
|
-
export { Step } from
|
|
12
|
-
export * from
|
|
13
|
-
export { default as Questions } from
|
|
14
|
-
export * from
|
|
15
|
-
export { default as Checkboxes } from
|
|
16
|
-
export * from
|
|
17
|
-
export { default as DateInput } from
|
|
18
|
-
export * from
|
|
19
|
-
export { default as FileInput } from
|
|
20
|
-
export * from
|
|
21
|
-
export { default as Input } from
|
|
22
|
-
export * from
|
|
23
|
-
export { default as Label } from
|
|
24
|
-
export * from
|
|
25
|
-
export { default as Radio } from
|
|
26
|
-
export * from
|
|
27
|
-
export { default as Select } from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
1
|
+
export { default as Field } from "./Field";
|
|
2
|
+
export * from "./Field";
|
|
3
|
+
export { default as FieldArray } from "./FieldArray";
|
|
4
|
+
export * from "./FieldArray";
|
|
5
|
+
export { default as FieldConditional } from "./Field/FieldConditional";
|
|
6
|
+
export * from "./Field/FieldConditional";
|
|
7
|
+
export { default as Fieldset } from "./Fieldset";
|
|
8
|
+
export * from "./Fieldset";
|
|
9
|
+
export { default as FormBuilder } from "./FormBuilder";
|
|
10
|
+
export * from "./FormBuilder";
|
|
11
|
+
export { Step } from "./Questions/Step";
|
|
12
|
+
export * from "./Questions/Step";
|
|
13
|
+
export { default as Questions } from "./Questions";
|
|
14
|
+
export * from "./Questions";
|
|
15
|
+
export { default as Checkboxes } from "./inputs/Checkboxes";
|
|
16
|
+
export * from "./inputs/Checkboxes";
|
|
17
|
+
export { default as DateInput } from "./inputs/DateInput";
|
|
18
|
+
export * from "./inputs/DateInput";
|
|
19
|
+
export { default as FileInput } from "./inputs/FileInput";
|
|
20
|
+
export * from "./inputs/FileInput";
|
|
21
|
+
export { default as Input } from "./inputs/Input";
|
|
22
|
+
export * from "./inputs/Input";
|
|
23
|
+
export { default as Label } from "./inputs/Label";
|
|
24
|
+
export * from "./inputs/Label";
|
|
25
|
+
export { default as Radio } from "./inputs/Radio";
|
|
26
|
+
export * from "./inputs/Radio";
|
|
27
|
+
export { default as Select } from "./inputs/Select";
|
|
28
|
+
export * from "./FormContext";
|
|
29
|
+
export * from "./inputs/Select";
|
|
30
|
+
export * from "./inputs";
|
|
31
|
+
export * from "./internal";
|
|
32
|
+
export * from "./types";
|
|
33
|
+
export * from "./utils";
|
|
34
|
+
export * from "./validators";
|