@digigov/form 0.8.2 → 0.8.4
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 +17 -1
- package/{libs/form/src/Field → Field}/FieldBase.d.ts +0 -0
- package/Field/FieldBase.js +1 -0
- package/{libs/form/src/Field → Field}/FieldConditional.d.ts +0 -0
- package/{libs/form/src/Field → Field}/FieldContainer.d.ts +0 -0
- package/{libs/form/src/Field → Field}/index.d.ts +0 -0
- package/{libs/form/src/Field → Field}/types.d.ts +0 -0
- package/{libs/form/src/Field → Field}/utils.d.ts +0 -0
- package/Field/utils.js +6 -0
- package/{libs/form/src/FieldArray → FieldArray}/FieldArray.stories.d.ts +0 -0
- package/{libs/form/src/FieldArray → FieldArray}/__stories__/Default.d.ts +0 -0
- package/{libs/form/src/FieldArray → FieldArray}/__stories__/WithExactLength.d.ts +0 -0
- package/{libs/form/src/FieldArray → FieldArray}/index.d.ts +0 -0
- package/{libs/form/src/FieldObject → FieldObject}/index.d.ts +0 -0
- package/{libs/form/src/Fieldset → Fieldset}/FieldsetWithContext.d.ts +0 -0
- package/{libs/form/src/Fieldset → Fieldset}/index.d.ts +0 -0
- package/{libs/form/src/Fieldset → Fieldset}/types.d.ts +0 -0
- package/{libs/form/src/Form.stories.d.ts → Form.stories.d.ts} +1 -0
- package/Form.stories.js +14 -0
- package/{libs/form/src/FormBuilder.d.ts → FormBuilder.d.ts} +0 -0
- package/{libs/form/src/FormContext.d.ts → FormContext.d.ts} +0 -0
- package/{libs/form/src/MultiplicityField → MultiplicityField}/MultiplicityField.stories.d.ts +0 -0
- package/{libs/form/src/MultiplicityField → MultiplicityField}/__stories__/Default.d.ts +0 -0
- package/{libs/form/src/MultiplicityField → MultiplicityField}/__stories__/WithExactLength.d.ts +0 -0
- package/{libs/form/src/MultiplicityField → MultiplicityField}/__stories__/WithMaxLength.d.ts +0 -0
- package/{libs/form/src/MultiplicityField → MultiplicityField}/__stories__/WithMinAndMaxLength.d.ts +0 -0
- package/{libs/form/src/MultiplicityField → MultiplicityField}/__stories__/WithMinLength.d.ts +0 -0
- package/{libs/form/src/MultiplicityField → MultiplicityField}/add-objects.d.ts +0 -0
- package/{libs/form/src/MultiplicityField → MultiplicityField}/index.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Questions.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/QuestionsContext.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Step/ReviewStep.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Step/Step.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Step/StepArrayReview.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Step/StepContext.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Step/StepDescription.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Step/StepForm.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Step/StepQuote.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Step/StepTitle.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Step/getAddMoreFields.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Step/index.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/Step/types.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/getNextStep.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/index.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/index.spec.d.ts +0 -0
- package/{libs/form/src/Questions → Questions}/types.d.ts +0 -0
- package/__stories__/AutoCompleteField.d.ts +1 -0
- package/__stories__/AutoCompleteField.js +61 -0
- package/{libs/form/src/__stories__ → __stories__}/IntField.d.ts +0 -0
- package/__stories__/IntField.js +5 -9
- package/es/Field/FieldBase.js +1 -0
- package/es/Field/utils.js +5 -0
- package/es/Form.stories.js +2 -1
- package/es/__stories__/AutoCompleteField.js +45 -0
- package/es/__stories__/IntField.js +2 -1
- package/es/inputs/AutoComplete/index.js +45 -0
- package/es/inputs/Checkboxes/index.js +1 -0
- package/es/inputs/FileInput/index.js +4 -6
- package/es/inputs/Input/index.js +2 -0
- package/es/inputs/Radio/index.js +4 -3
- package/es/inputs/Select/index.js +1 -0
- package/esm/Field/FieldBase.js +1 -0
- package/esm/Field/utils.js +5 -0
- package/esm/Form.stories.js +2 -1
- package/esm/__stories__/AutoCompleteField.js +45 -0
- package/esm/__stories__/IntField.js +2 -1
- package/esm/index.js +1 -1
- package/esm/inputs/AutoComplete/index.js +45 -0
- package/esm/inputs/Checkboxes/index.js +1 -0
- package/esm/inputs/FileInput/index.js +4 -6
- package/esm/inputs/Input/index.js +2 -0
- package/esm/inputs/Radio/index.js +4 -3
- package/esm/inputs/Select/index.js +1 -0
- package/{libs/form/src/index.d.ts → index.d.ts} +0 -0
- package/inputs/AutoComplete/index.d.ts +14 -0
- package/inputs/AutoComplete/index.js +68 -0
- package/{libs/form/src/inputs → inputs}/Checkboxes/index.d.ts +0 -0
- package/inputs/Checkboxes/index.js +1 -0
- package/{libs/form/src/inputs → inputs}/DateInput/index.d.ts +0 -0
- package/{libs/form/src/inputs → inputs}/FileInput/FileInput.stories.d.ts +0 -0
- package/{libs/form/src/inputs → inputs}/FileInput/__stories__/Default.d.ts +0 -0
- package/{libs/form/src/inputs → inputs}/FileInput/index.d.ts +0 -0
- package/inputs/FileInput/index.js +5 -8
- package/{libs/form/src/inputs → inputs}/Input/index.d.ts +0 -0
- package/inputs/Input/index.js +2 -0
- package/{libs/form/src/inputs → inputs}/Label/index.d.ts +0 -0
- package/{libs/form/src/inputs → inputs}/Radio/index.d.ts +0 -0
- package/inputs/Radio/index.js +4 -3
- package/{libs/form/src/inputs → inputs}/Select/index.d.ts +0 -0
- package/inputs/Select/index.js +1 -0
- package/{libs/form/src/inputs → inputs}/index.d.ts +0 -0
- package/{libs/form/src/internal.d.ts → internal.d.ts} +0 -0
- package/package.json +4 -3
- package/{libs/form/src/types.d.ts → types.d.ts} +0 -0
- package/{libs/form/src/utils.d.ts → utils.d.ts} +0 -0
- package/{libs/form/src/validators → validators}/index.d.ts +0 -0
- package/{libs/form/src/validators → validators}/types.d.ts +0 -0
- package/{libs/form/src/validators → validators}/utils/afm.d.ts +0 -0
- package/{libs/form/src/validators → validators}/utils/file.d.ts +0 -0
- package/{libs/form/src/validators → validators}/utils/iban.d.ts +0 -0
- package/{libs/form/src/validators → validators}/utils/index.d.ts +0 -0
- package/{libs/form/src/validators → validators}/utils/int.d.ts +0 -0
- package/{libs/form/src/validators → validators}/utils/number.d.ts +0 -0
- package/{libs/form/src/validators → validators}/utils/phone.d.ts +0 -0
- package/{libs/form/src/validators → validators}/utils/postal_code.d.ts +0 -0
- package/{libs/form/src/validators → validators}/utils/uuid4.d.ts +0 -0
- package/{libs/form/src/validators → validators}/validators.spec.d.ts +0 -0
- package/libs/ui/src/app/PageTitle.d.ts +0 -10
- package/libs/ui/src/app/i18n.d.ts +0 -12
- package/libs/ui/src/core/Accordion/index.d.ts +0 -23
- package/libs/ui/src/core/BackLink/index.d.ts +0 -3
- package/libs/ui/src/core/Base/index.d.ts +0 -3
- package/libs/ui/src/core/Blockquote/index.d.ts +0 -3
- package/libs/ui/src/core/Breadcrumbs/index.d.ts +0 -5
- package/libs/ui/src/core/Button/BackButton.d.ts +0 -3
- package/libs/ui/src/core/Button/ButtonLink.d.ts +0 -4
- package/libs/ui/src/core/Button/CallToAction.d.ts +0 -7
- package/libs/ui/src/core/Button/Icon.d.ts +0 -2
- package/libs/ui/src/core/Button/index.d.ts +0 -15
- package/libs/ui/src/core/Card/index.d.ts +0 -6
- package/libs/ui/src/core/Confirmation/index.d.ts +0 -5
- package/libs/ui/src/core/Details/index.d.ts +0 -5
- package/libs/ui/src/core/Divider/index.d.ts +0 -5
- package/libs/ui/src/core/ErrorSummary/index.d.ts +0 -3
- package/libs/ui/src/core/FileUpload/index.d.ts +0 -3
- package/libs/ui/src/core/Form/index.d.ts +0 -3
- package/libs/ui/src/core/Hidden/index.d.ts +0 -1
- package/libs/ui/src/core/Label/index.d.ts +0 -4
- package/libs/ui/src/core/Link/index.d.ts +0 -13
- package/libs/ui/src/core/List/List.d.ts +0 -3
- package/libs/ui/src/core/List/ListItem.d.ts +0 -3
- package/libs/ui/src/core/List/ListItemContent.d.ts +0 -6
- package/libs/ui/src/core/List/ListItemIcon.d.ts +0 -5
- package/libs/ui/src/core/List/ListItemText.d.ts +0 -7
- package/libs/ui/src/core/List/ListItemTitle.d.ts +0 -9
- package/libs/ui/src/core/List/index.d.ts +0 -7
- package/libs/ui/src/core/NavList/NavHorizontal.d.ts +0 -3
- package/libs/ui/src/core/NavList/NavHorizontalList.d.ts +0 -3
- package/libs/ui/src/core/NavList/NavHorizontalListItem.d.ts +0 -3
- package/libs/ui/src/core/NavList/NavList.d.ts +0 -4
- package/libs/ui/src/core/NavList/NavListBase.d.ts +0 -4
- package/libs/ui/src/core/NavList/NavListContext.d.ts +0 -20
- package/libs/ui/src/core/NavList/NavListItem.d.ts +0 -14
- package/libs/ui/src/core/NavList/NavListItemBase.d.ts +0 -17
- package/libs/ui/src/core/NavList/NavListSubMenu.d.ts +0 -8
- package/libs/ui/src/core/NavList/NavVertical.d.ts +0 -3
- package/libs/ui/src/core/NavList/NavVerticalItem.d.ts +0 -3
- package/libs/ui/src/core/NavList/index.d.ts +0 -10
- package/libs/ui/src/core/NavList/types.d.ts +0 -14
- package/libs/ui/src/core/NotificationBanner/index.d.ts +0 -18
- package/libs/ui/src/core/PhaseBanner/index.d.ts +0 -6
- package/libs/ui/src/core/ServiceBadge/index.d.ts +0 -8
- package/libs/ui/src/core/SkipLink/index.d.ts +0 -3
- package/libs/ui/src/core/SummaryList/index.d.ts +0 -7
- package/libs/ui/src/core/SvgIcon/index.d.ts +0 -10
- package/libs/ui/src/core/Table/TableFloatingScroll.d.ts +0 -2
- package/libs/ui/src/core/Table/index.d.ts +0 -10
- package/libs/ui/src/core/Tabs/index.d.ts +0 -16
- package/libs/ui/src/core/TextArea/index.d.ts +0 -3
- package/libs/ui/src/core/TextInput/index.d.ts +0 -3
- package/libs/ui/src/core/VisuallyHidden/index.d.ts +0 -3
- package/libs/ui/src/core/WarningText/index.d.ts +0 -3
- package/libs/ui/src/core/index.d.ts +0 -32
- package/libs/ui/src/hooks/useTogglableSections.d.ts +0 -19
- package/libs/ui/src/layouts/Grid/index.d.ts +0 -4
- package/libs/ui/src/locales/el.d.ts +0 -84
- package/libs/ui/src/router/index.d.ts +0 -9
- package/libs/ui/src/typography/Caption/index.d.ts +0 -8
- package/libs/ui/src/typography/NormalText/index.d.ts +0 -5
- package/libs/ui/src/typography/Paragraph/index.d.ts +0 -6
- package/libs/ui/src/typography/Title/index.d.ts +0 -10
- package/libs/ui/src/utils/withDeprecation.d.ts +0 -16
- package/libs-ui/react-core/src/Accordion/index.d.ts +0 -10
- package/libs-ui/react-core/src/AccordionControls/index.d.ts +0 -9
- package/libs-ui/react-core/src/AccordionSection/index.d.ts +0 -16
- package/libs-ui/react-core/src/AccordionSectionContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/AccordionSectionHeader/index.d.ts +0 -9
- package/libs-ui/react-core/src/AccordionSectionSummary/index.d.ts +0 -10
- package/libs-ui/react-core/src/AccordionSectionSummaryHeading/index.d.ts +0 -9
- package/libs-ui/react-core/src/ArrowIcon/index.d.ts +0 -16
- package/libs-ui/react-core/src/Aside/index.d.ts +0 -10
- package/libs-ui/react-core/src/BackLink/index.d.ts +0 -13
- package/libs-ui/react-core/src/Base/index.d.ts +0 -43
- package/libs-ui/react-core/src/Blockquote/index.d.ts +0 -9
- package/libs-ui/react-core/src/Bottom/index.d.ts +0 -9
- package/libs-ui/react-core/src/Breadcrumbs/index.d.ts +0 -10
- package/libs-ui/react-core/src/BreadcrumbsList/index.d.ts +0 -9
- package/libs-ui/react-core/src/BreadcrumbsListItem/index.d.ts +0 -14
- package/libs-ui/react-core/src/BurgerIcon/index.d.ts +0 -28
- package/libs-ui/react-core/src/Button/index.d.ts +0 -25
- package/libs-ui/react-core/src/ButtonGroup/index.d.ts +0 -9
- package/libs-ui/react-core/src/ButtonLink/index.d.ts +0 -17
- package/libs-ui/react-core/src/CallToAction/index.d.ts +0 -10
- package/libs-ui/react-core/src/Card/index.d.ts +0 -29
- package/libs-ui/react-core/src/CardAction/index.d.ts +0 -11
- package/libs-ui/react-core/src/CardHeading/index.d.ts +0 -10
- package/libs-ui/react-core/src/CardText/index.d.ts +0 -10
- package/libs-ui/react-core/src/CaretIcon/index.d.ts +0 -16
- package/libs-ui/react-core/src/CheckIcon/index.d.ts +0 -15
- package/libs-ui/react-core/src/Checkbox/index.d.ts +0 -11
- package/libs-ui/react-core/src/CheckboxConditional/index.d.ts +0 -11
- package/libs-ui/react-core/src/CheckboxItem/index.d.ts +0 -19
- package/libs-ui/react-core/src/CloseIcon/index.d.ts +0 -16
- package/libs-ui/react-core/src/Confirmation/index.d.ts +0 -9
- package/libs-ui/react-core/src/ConfirmationBody/index.d.ts +0 -9
- package/libs-ui/react-core/src/ConfirmationTitle/index.d.ts +0 -9
- package/libs-ui/react-core/src/Container/index.d.ts +0 -17
- package/libs-ui/react-core/src/Copyright/index.d.ts +0 -10
- package/libs-ui/react-core/src/DateInput/index.d.ts +0 -12
- package/libs-ui/react-core/src/DateInputItem/index.d.ts +0 -25
- package/libs-ui/react-core/src/Details/index.d.ts +0 -10
- package/libs-ui/react-core/src/DetailsContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/DetailsSummary/index.d.ts +0 -9
- package/libs-ui/react-core/src/ErrorMessage/index.d.ts +0 -11
- package/libs-ui/react-core/src/ErrorSummary/index.d.ts +0 -9
- package/libs-ui/react-core/src/Field/index.d.ts +0 -13
- package/libs-ui/react-core/src/Fieldset/index.d.ts +0 -10
- package/libs-ui/react-core/src/FieldsetLegend/index.d.ts +0 -19
- package/libs-ui/react-core/src/FileUpload/index.d.ts +0 -22
- package/libs-ui/react-core/src/Footer/index.d.ts +0 -9
- package/libs-ui/react-core/src/FooterContainer/index.d.ts +0 -16
- package/libs-ui/react-core/src/FooterContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/FooterContentLogos/index.d.ts +0 -11
- package/libs-ui/react-core/src/FooterHeading/index.d.ts +0 -15
- package/libs-ui/react-core/src/FooterImage/index.d.ts +0 -15
- package/libs-ui/react-core/src/FooterInlineList/index.d.ts +0 -11
- package/libs-ui/react-core/src/FooterInlineListItem/index.d.ts +0 -9
- package/libs-ui/react-core/src/FooterLink/index.d.ts +0 -13
- package/libs-ui/react-core/src/FooterList/index.d.ts +0 -15
- package/libs-ui/react-core/src/FooterListItem/index.d.ts +0 -10
- package/libs-ui/react-core/src/FooterMeta/index.d.ts +0 -11
- package/libs-ui/react-core/src/FooterMetaItem/index.d.ts +0 -14
- package/libs-ui/react-core/src/FooterNavigation/index.d.ts +0 -11
- package/libs-ui/react-core/src/FooterSection/index.d.ts +0 -11
- package/libs-ui/react-core/src/Form/index.d.ts +0 -11
- package/libs-ui/react-core/src/GovGRFooter/index.d.ts +0 -9
- package/libs-ui/react-core/src/GovGRLogo/govgr-logo-base64.d.ts +0 -2
- package/libs-ui/react-core/src/GovGRLogo/index.d.ts +0 -9
- package/libs-ui/react-core/src/Grid/index.d.ts +0 -20
- package/libs-ui/react-core/src/Header/index.d.ts +0 -10
- package/libs-ui/react-core/src/HeaderContent/index.d.ts +0 -9
- package/libs-ui/react-core/src/HeaderLogo/index.d.ts +0 -21
- package/libs-ui/react-core/src/HeaderSecondaryLogo/index.d.ts +0 -21
- package/libs-ui/react-core/src/HeaderSection/index.d.ts +0 -9
- package/libs-ui/react-core/src/HeaderSubtitle/index.d.ts +0 -9
- package/libs-ui/react-core/src/HeaderTitle/index.d.ts +0 -13
- package/libs-ui/react-core/src/Heading/index.d.ts +0 -21
- package/libs-ui/react-core/src/HeadingCaption/index.d.ts +0 -15
- package/libs-ui/react-core/src/HellenicRepublicLogo/index.d.ts +0 -20
- package/libs-ui/react-core/src/HellenicRepublicLogo/logo-el.d.ts +0 -2
- package/libs-ui/react-core/src/HellenicRepublicLogo/logo-en.d.ts +0 -2
- package/libs-ui/react-core/src/Hidden/index.d.ts +0 -17
- package/libs-ui/react-core/src/Hint/index.d.ts +0 -14
- package/libs-ui/react-core/src/Label/index.d.ts +0 -9
- package/libs-ui/react-core/src/LabelTitle/index.d.ts +0 -19
- package/libs-ui/react-core/src/Layout/index.d.ts +0 -10
- package/libs-ui/react-core/src/Link/index.d.ts +0 -14
- package/libs-ui/react-core/src/List/index.d.ts +0 -18
- package/libs-ui/react-core/src/ListItem/index.d.ts +0 -9
- package/libs-ui/react-core/src/Main/index.d.ts +0 -9
- package/libs-ui/react-core/src/Masthead/index.d.ts +0 -9
- package/libs-ui/react-core/src/MastheadBody/index.d.ts +0 -9
- package/libs-ui/react-core/src/MoreVertIcon/index.d.ts +0 -15
- package/libs-ui/react-core/src/NavHorizontal/index.d.ts +0 -16
- package/libs-ui/react-core/src/NavHorizontalList/index.d.ts +0 -10
- package/libs-ui/react-core/src/NavHorizontalListItem/index.d.ts +0 -18
- package/libs-ui/react-core/src/NavVertical/index.d.ts +0 -11
- package/libs-ui/react-core/src/NavVerticalItem/index.d.ts +0 -14
- package/libs-ui/react-core/src/NormalText/index.d.ts +0 -28
- package/libs-ui/react-core/src/NotificationBanner/index.d.ts +0 -17
- package/libs-ui/react-core/src/NotificationBannerContent/index.d.ts +0 -12
- package/libs-ui/react-core/src/NotificationBannerHeader/index.d.ts +0 -11
- package/libs-ui/react-core/src/NotificationBannerHeading/index.d.ts +0 -11
- package/libs-ui/react-core/src/NotificationBannerLink/index.d.ts +0 -15
- package/libs-ui/react-core/src/PageTitle/index.d.ts +0 -9
- package/libs-ui/react-core/src/PageTitleCaption/index.d.ts +0 -14
- package/libs-ui/react-core/src/PageTitleHeading/index.d.ts +0 -13
- package/libs-ui/react-core/src/PageTitleSection/index.d.ts +0 -10
- package/libs-ui/react-core/src/Paragraph/index.d.ts +0 -26
- package/libs-ui/react-core/src/PhaseBanner/index.d.ts +0 -15
- package/libs-ui/react-core/src/PhaseBannerHeaderContainer/index.d.ts +0 -8
- package/libs-ui/react-core/src/PhaseBannerTag/index.d.ts +0 -9
- package/libs-ui/react-core/src/PhaseBannerText/index.d.ts +0 -11
- package/libs-ui/react-core/src/Radio/index.d.ts +0 -14
- package/libs-ui/react-core/src/RadioConditional/index.d.ts +0 -11
- package/libs-ui/react-core/src/RadioItem/index.d.ts +0 -18
- package/libs-ui/react-core/src/SectionBreak/index.d.ts +0 -18
- package/libs-ui/react-core/src/Select/index.d.ts +0 -14
- package/libs-ui/react-core/src/SelectOption/index.d.ts +0 -18
- package/libs-ui/react-core/src/ServiceBadge/index.d.ts +0 -11
- package/libs-ui/react-core/src/SkipLink/index.d.ts +0 -10
- package/libs-ui/react-core/src/SummaryList/index.d.ts +0 -16
- package/libs-ui/react-core/src/SummaryListItem/index.d.ts +0 -10
- package/libs-ui/react-core/src/SummaryListItemAction/index.d.ts +0 -10
- package/libs-ui/react-core/src/SummaryListItemKey/index.d.ts +0 -10
- package/libs-ui/react-core/src/SummaryListItemValue/index.d.ts +0 -9
- package/libs-ui/react-core/src/SvgIcon/index.d.ts +0 -20
- package/libs-ui/react-core/src/Table/index.d.ts +0 -34
- package/libs-ui/react-core/src/TableBody/index.d.ts +0 -9
- package/libs-ui/react-core/src/TableCaption/index.d.ts +0 -15
- package/libs-ui/react-core/src/TableContainer/index.d.ts +0 -13
- package/libs-ui/react-core/src/TableDataCell/index.d.ts +0 -15
- package/libs-ui/react-core/src/TableHead/index.d.ts +0 -9
- package/libs-ui/react-core/src/TableHeadCell/index.d.ts +0 -21
- package/libs-ui/react-core/src/TableNoDataRow/index.d.ts +0 -10
- package/libs-ui/react-core/src/TableRow/index.d.ts +0 -9
- package/libs-ui/react-core/src/Tabs/index.d.ts +0 -10
- package/libs-ui/react-core/src/TabsHeading/index.d.ts +0 -15
- package/libs-ui/react-core/src/TabsList/index.d.ts +0 -10
- package/libs-ui/react-core/src/TabsListItem/index.d.ts +0 -20
- package/libs-ui/react-core/src/TabsPanel/index.d.ts +0 -16
- package/libs-ui/react-core/src/TextArea/index.d.ts +0 -23
- package/libs-ui/react-core/src/TextInput/index.d.ts +0 -28
- package/libs-ui/react-core/src/Top/index.d.ts +0 -9
- package/libs-ui/react-core/src/UncheckIcon/index.d.ts +0 -15
- package/libs-ui/react-core/src/VisuallyHidden/index.d.ts +0 -10
- package/libs-ui/react-core/src/WarningText/index.d.ts +0 -11
- package/libs-ui/react-core/src/index.d.ts +0 -141
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["name", "extra", "onChange", "value"];
|
|
4
|
+
import React, { useCallback } from 'react';
|
|
5
|
+
import UIAutoComplete from '@digigov/ui/admin/AutoComplete';
|
|
6
|
+
import { Hint } from '@digigov/react-core';
|
|
7
|
+
export var AutoComplete = function AutoComplete(_ref) {
|
|
8
|
+
var name = _ref.name,
|
|
9
|
+
options = _ref.extra.options,
|
|
10
|
+
onChange = _ref.onChange,
|
|
11
|
+
value = _ref.value,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
|
|
14
|
+
var suggest = useCallback(function suggest(query, syncResults) {
|
|
15
|
+
syncResults(query ? options.filter(function (option) {
|
|
16
|
+
var _option$label, _option$label2;
|
|
17
|
+
|
|
18
|
+
return "".concat(option.value, " ").concat(((_option$label = option.label) === null || _option$label === void 0 ? void 0 : _option$label.primary) || '', " ").concat(((_option$label2 = option.label) === null || _option$label2 === void 0 ? void 0 : _option$label2.secondary) || '').toLowerCase().indexOf(query.toLowerCase()) !== -1;
|
|
19
|
+
}) : []);
|
|
20
|
+
}, []);
|
|
21
|
+
return /*#__PURE__*/React.createElement(UIAutoComplete, _extends({
|
|
22
|
+
source: suggest,
|
|
23
|
+
onConfirm: function onConfirm(value) {
|
|
24
|
+
onChange(value.value);
|
|
25
|
+
},
|
|
26
|
+
templates: {
|
|
27
|
+
suggestion: function suggestion(_ref2) {
|
|
28
|
+
var label = _ref2.label,
|
|
29
|
+
value = _ref2.value;
|
|
30
|
+
return /*#__PURE__*/React.createElement("div", null, label && label.primary && label.primary || value, label && label.secondary && /*#__PURE__*/React.createElement(Hint, null, label.secondary));
|
|
31
|
+
},
|
|
32
|
+
inputValue: function inputValue(option) {
|
|
33
|
+
if (!option) {
|
|
34
|
+
return '';
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return option.label.primary || option.value;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}, props, {
|
|
41
|
+
id: "".concat(name, "-id"),
|
|
42
|
+
defaultValue: value
|
|
43
|
+
}));
|
|
44
|
+
};
|
|
45
|
+
export default AutoComplete;
|
|
@@ -53,6 +53,7 @@ export var Checkboxes = function Checkboxes(_ref) {
|
|
|
53
53
|
checked: value.includes(option.value),
|
|
54
54
|
onChange: handleChange(option.value)
|
|
55
55
|
}, option, _extends({}, props, {
|
|
56
|
+
reset: undefined,
|
|
56
57
|
defaultValue: undefined,
|
|
57
58
|
onBlur: undefined,
|
|
58
59
|
required: undefined,
|
|
@@ -2,15 +2,14 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
5
|
-
var _excluded = ["name", "extra", "disabled", "reset", "onChange"
|
|
5
|
+
var _excluded = ["name", "extra", "disabled", "reset", "onChange"];
|
|
6
6
|
import React, { useState } from 'react';
|
|
7
|
-
import clsx from 'clsx';
|
|
8
7
|
import { useTranslation } from '@digigov/ui/app/i18n';
|
|
9
8
|
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
10
9
|
import CoreHint from '@digigov/react-core/Hint';
|
|
11
10
|
import Button from '@digigov/ui/core/Button';
|
|
11
|
+
import FileUploadContainer from '@digigov/react-core/FileUploadContainer';
|
|
12
12
|
import FileUpload from '@digigov/react-core/FileUpload';
|
|
13
|
-
import Field from '@digigov/react-core/Field';
|
|
14
13
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
15
14
|
export var FileInput = /*#__PURE__*/React.forwardRef(function FileInput(_ref, ref) {
|
|
16
15
|
var name = _ref.name,
|
|
@@ -19,7 +18,6 @@ export var FileInput = /*#__PURE__*/React.forwardRef(function FileInput(_ref, re
|
|
|
19
18
|
disabled = _ref.disabled,
|
|
20
19
|
reset = _ref.reset,
|
|
21
20
|
onChange = _ref.onChange,
|
|
22
|
-
control = _ref.control,
|
|
23
21
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
24
22
|
|
|
25
23
|
var _useTranslation = useTranslation(),
|
|
@@ -42,8 +40,8 @@ export var FileInput = /*#__PURE__*/React.forwardRef(function FileInput(_ref, re
|
|
|
42
40
|
onChange(e);
|
|
43
41
|
};
|
|
44
42
|
|
|
45
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(
|
|
46
|
-
|
|
43
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FileUploadContainer, {
|
|
44
|
+
hasUploadedFile: files && files.length > 0
|
|
47
45
|
}, files !== null && files !== void 0 && files.length ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Paragraph, null, /*#__PURE__*/React.createElement("b", null, t('upload.file'), ":"), " ", "".concat(files.join(', ')))) : /*#__PURE__*/React.createElement(CoreHint, null, t('upload.no_file')), /*#__PURE__*/React.createElement(FileUpload, _extends({
|
|
48
46
|
ref: ref,
|
|
49
47
|
hasFiles: !!(files !== null && files !== void 0 && files.length),
|
|
@@ -38,6 +38,7 @@ export var Input = /*#__PURE__*/React.forwardRef(function WrappedInput(_ref, ref
|
|
|
38
38
|
rows: rows,
|
|
39
39
|
ref: ref
|
|
40
40
|
}, _extends({}, props, {
|
|
41
|
+
reset: undefined,
|
|
41
42
|
required: undefined,
|
|
42
43
|
type: fieldType
|
|
43
44
|
})));
|
|
@@ -48,6 +49,7 @@ export var Input = /*#__PURE__*/React.forwardRef(function WrappedInput(_ref, ref
|
|
|
48
49
|
className: className,
|
|
49
50
|
ref: ref
|
|
50
51
|
}, _extends({}, props, {
|
|
52
|
+
reset: undefined,
|
|
51
53
|
required: undefined
|
|
52
54
|
})));
|
|
53
55
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["
|
|
3
|
+
var _excluded = ["name", "control", "register", "extra", "disabled"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import Radio from '@digigov/react-core/Radio';
|
|
6
6
|
import RadioItem from '@digigov/react-core/RadioItem';
|
|
@@ -8,9 +8,9 @@ import { useTranslation } from '@digigov/ui/app/i18n';
|
|
|
8
8
|
import { useWatch } from 'react-hook-form';
|
|
9
9
|
import Hint from '@digigov/react-core/Hint';
|
|
10
10
|
export var RadioButtonsGroup = function RadioButtonsGroup(_ref) {
|
|
11
|
-
var
|
|
12
|
-
name = _ref.name,
|
|
11
|
+
var name = _ref.name,
|
|
13
12
|
control = _ref.control,
|
|
13
|
+
register = _ref.register,
|
|
14
14
|
_ref$extra = _ref.extra,
|
|
15
15
|
options = _ref$extra.options,
|
|
16
16
|
className = _ref$extra.className,
|
|
@@ -40,6 +40,7 @@ export var RadioButtonsGroup = function RadioButtonsGroup(_ref) {
|
|
|
40
40
|
value: v,
|
|
41
41
|
disabled: disabled || optionDisabled
|
|
42
42
|
}, _extends({}, props, {
|
|
43
|
+
reset: undefined,
|
|
43
44
|
required: undefined,
|
|
44
45
|
'aria-describedby': undefined,
|
|
45
46
|
type: 'radio'
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AutoCompleteProps as UIAutoCompleteProps } from '@digigov/ui/admin/AutoComplete';
|
|
3
|
+
import { FieldOptionProps } from '@digigov/form/inputs/Label';
|
|
4
|
+
import { ControlledFieldProps } from '@digigov/form/Field/types';
|
|
5
|
+
export interface AutoCompleteExtra extends Omit<UIAutoCompleteProps, 'source' | 'id' | 'templates' | 'defaultValue' | 'onConfirm' | 'dropdownArrow'> {
|
|
6
|
+
options: Array<FieldOptionProps>;
|
|
7
|
+
}
|
|
8
|
+
export interface AutoCompleteProps extends Omit<ControlledFieldProps, 'value' | 'onChange' | 'extra'> {
|
|
9
|
+
extra: AutoCompleteExtra;
|
|
10
|
+
value: string;
|
|
11
|
+
onChange: (v: string) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
|
14
|
+
export default AutoComplete;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports["default"] = exports.AutoComplete = void 0;
|
|
11
|
+
|
|
12
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
|
+
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
|
|
16
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
17
|
+
|
|
18
|
+
var _AutoComplete = _interopRequireDefault(require("@digigov/ui/admin/AutoComplete"));
|
|
19
|
+
|
|
20
|
+
var _reactCore = require("@digigov/react-core");
|
|
21
|
+
|
|
22
|
+
var _excluded = ["name", "extra", "onChange", "value"];
|
|
23
|
+
|
|
24
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
|
+
|
|
28
|
+
var AutoComplete = function AutoComplete(_ref) {
|
|
29
|
+
var name = _ref.name,
|
|
30
|
+
options = _ref.extra.options,
|
|
31
|
+
onChange = _ref.onChange,
|
|
32
|
+
value = _ref.value,
|
|
33
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
34
|
+
var suggest = (0, _react.useCallback)(function suggest(query, syncResults) {
|
|
35
|
+
syncResults(query ? options.filter(function (option) {
|
|
36
|
+
var _option$label, _option$label2;
|
|
37
|
+
|
|
38
|
+
return "".concat(option.value, " ").concat(((_option$label = option.label) === null || _option$label === void 0 ? void 0 : _option$label.primary) || '', " ").concat(((_option$label2 = option.label) === null || _option$label2 === void 0 ? void 0 : _option$label2.secondary) || '').toLowerCase().indexOf(query.toLowerCase()) !== -1;
|
|
39
|
+
}) : []);
|
|
40
|
+
}, []);
|
|
41
|
+
return /*#__PURE__*/_react["default"].createElement(_AutoComplete["default"], (0, _extends2["default"])({
|
|
42
|
+
source: suggest,
|
|
43
|
+
onConfirm: function onConfirm(value) {
|
|
44
|
+
onChange(value.value);
|
|
45
|
+
},
|
|
46
|
+
templates: {
|
|
47
|
+
suggestion: function suggestion(_ref2) {
|
|
48
|
+
var label = _ref2.label,
|
|
49
|
+
value = _ref2.value;
|
|
50
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, label && label.primary && label.primary || value, label && label.secondary && /*#__PURE__*/_react["default"].createElement(_reactCore.Hint, null, label.secondary));
|
|
51
|
+
},
|
|
52
|
+
inputValue: function inputValue(option) {
|
|
53
|
+
if (!option) {
|
|
54
|
+
return '';
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
return option.label.primary || option.value;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}, props, {
|
|
61
|
+
id: "".concat(name, "-id"),
|
|
62
|
+
defaultValue: value
|
|
63
|
+
}));
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
exports.AutoComplete = AutoComplete;
|
|
67
|
+
var _default = AutoComplete;
|
|
68
|
+
exports["default"] = _default;
|
|
File without changes
|
|
@@ -69,6 +69,7 @@ var Checkboxes = function Checkboxes(_ref) {
|
|
|
69
69
|
checked: value.includes(option.value),
|
|
70
70
|
onChange: handleChange(option.value)
|
|
71
71
|
}, option, (0, _extends2["default"])({}, props, {
|
|
72
|
+
reset: undefined,
|
|
72
73
|
defaultValue: undefined,
|
|
73
74
|
onBlur: undefined,
|
|
74
75
|
required: undefined,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -19,8 +19,6 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
19
19
|
|
|
20
20
|
var _react = _interopRequireWildcard(require("react"));
|
|
21
21
|
|
|
22
|
-
var _clsx = _interopRequireDefault(require("clsx"));
|
|
23
|
-
|
|
24
22
|
var _i18n = require("@digigov/ui/app/i18n");
|
|
25
23
|
|
|
26
24
|
var _Paragraph = _interopRequireDefault(require("@digigov/ui/typography/Paragraph"));
|
|
@@ -29,11 +27,11 @@ var _Hint = _interopRequireDefault(require("@digigov/react-core/Hint"));
|
|
|
29
27
|
|
|
30
28
|
var _Button = _interopRequireDefault(require("@digigov/ui/core/Button"));
|
|
31
29
|
|
|
32
|
-
var
|
|
30
|
+
var _FileUploadContainer = _interopRequireDefault(require("@digigov/react-core/FileUploadContainer"));
|
|
33
31
|
|
|
34
|
-
var
|
|
32
|
+
var _FileUpload = _interopRequireDefault(require("@digigov/react-core/FileUpload"));
|
|
35
33
|
|
|
36
|
-
var _excluded = ["name", "extra", "disabled", "reset", "onChange"
|
|
34
|
+
var _excluded = ["name", "extra", "disabled", "reset", "onChange"];
|
|
37
35
|
|
|
38
36
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
39
37
|
|
|
@@ -47,7 +45,6 @@ var FileInput = /*#__PURE__*/_react["default"].forwardRef(function FileInput(_re
|
|
|
47
45
|
disabled = _ref.disabled,
|
|
48
46
|
reset = _ref.reset,
|
|
49
47
|
onChange = _ref.onChange,
|
|
50
|
-
control = _ref.control,
|
|
51
48
|
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
52
49
|
|
|
53
50
|
var _useTranslation = (0, _i18n.useTranslation)(),
|
|
@@ -70,8 +67,8 @@ var FileInput = /*#__PURE__*/_react["default"].forwardRef(function FileInput(_re
|
|
|
70
67
|
onChange(e);
|
|
71
68
|
};
|
|
72
69
|
|
|
73
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(
|
|
74
|
-
|
|
70
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_FileUploadContainer["default"], {
|
|
71
|
+
hasUploadedFile: files && files.length > 0
|
|
75
72
|
}, files !== null && files !== void 0 && files.length ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Paragraph["default"], null, /*#__PURE__*/_react["default"].createElement("b", null, t('upload.file'), ":"), " ", "".concat(files.join(', ')))) : /*#__PURE__*/_react["default"].createElement(_Hint["default"], null, t('upload.no_file')), /*#__PURE__*/_react["default"].createElement(_FileUpload["default"], (0, _extends2["default"])({
|
|
76
73
|
ref: ref,
|
|
77
74
|
hasFiles: !!(files !== null && files !== void 0 && files.length),
|
|
File without changes
|
package/inputs/Input/index.js
CHANGED
|
@@ -53,6 +53,7 @@ var Input = /*#__PURE__*/_react["default"].forwardRef(function WrappedInput(_ref
|
|
|
53
53
|
rows: rows,
|
|
54
54
|
ref: ref
|
|
55
55
|
}, (0, _extends2["default"])({}, props, {
|
|
56
|
+
reset: undefined,
|
|
56
57
|
required: undefined,
|
|
57
58
|
type: fieldType
|
|
58
59
|
})));
|
|
@@ -63,6 +64,7 @@ var Input = /*#__PURE__*/_react["default"].forwardRef(function WrappedInput(_ref
|
|
|
63
64
|
className: className,
|
|
64
65
|
ref: ref
|
|
65
66
|
}, (0, _extends2["default"])({}, props, {
|
|
67
|
+
reset: undefined,
|
|
66
68
|
required: undefined
|
|
67
69
|
})));
|
|
68
70
|
}
|
|
File without changes
|
|
File without changes
|
package/inputs/Radio/index.js
CHANGED
|
@@ -23,12 +23,12 @@ var _reactHookForm = require("react-hook-form");
|
|
|
23
23
|
|
|
24
24
|
var _Hint = _interopRequireDefault(require("@digigov/react-core/Hint"));
|
|
25
25
|
|
|
26
|
-
var _excluded = ["
|
|
26
|
+
var _excluded = ["name", "control", "register", "extra", "disabled"];
|
|
27
27
|
|
|
28
28
|
var RadioButtonsGroup = function RadioButtonsGroup(_ref) {
|
|
29
|
-
var
|
|
30
|
-
name = _ref.name,
|
|
29
|
+
var name = _ref.name,
|
|
31
30
|
control = _ref.control,
|
|
31
|
+
register = _ref.register,
|
|
32
32
|
_ref$extra = _ref.extra,
|
|
33
33
|
options = _ref$extra.options,
|
|
34
34
|
className = _ref$extra.className,
|
|
@@ -57,6 +57,7 @@ var RadioButtonsGroup = function RadioButtonsGroup(_ref) {
|
|
|
57
57
|
value: v,
|
|
58
58
|
disabled: disabled || optionDisabled
|
|
59
59
|
}, (0, _extends2["default"])({}, props, {
|
|
60
|
+
reset: undefined,
|
|
60
61
|
required: undefined,
|
|
61
62
|
'aria-describedby': undefined,
|
|
62
63
|
type: 'radio'
|
|
File without changes
|
package/inputs/Select/index.js
CHANGED
|
@@ -32,6 +32,7 @@ var Select = /*#__PURE__*/_react["default"].forwardRef(function WrappedSelect(_r
|
|
|
32
32
|
name: name,
|
|
33
33
|
disabled: disabled
|
|
34
34
|
}, (0, _extends2["default"])({}, props, {
|
|
35
|
+
reset: undefined,
|
|
35
36
|
required: undefined
|
|
36
37
|
})), options.map(function (_ref2) {
|
|
37
38
|
var value = _ref2.value,
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/form",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"description": "@digigov form builder",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -18,8 +18,9 @@
|
|
|
18
18
|
"@hookform/resolvers": "2.9.6"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@digigov/ui": "0.26.
|
|
22
|
-
"@digigov/react-core": "0.16.
|
|
21
|
+
"@digigov/ui": "0.26.4",
|
|
22
|
+
"@digigov/react-core": "0.16.3",
|
|
23
|
+
"@digigov/react-extensions": "0.18.2",
|
|
23
24
|
"clsx": "1.1.1",
|
|
24
25
|
"react": "16.14.0",
|
|
25
26
|
"react-dom": "16.14.0"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CaptionProps } from '@digigov/ui/typography/Caption';
|
|
3
|
-
import { TitleProps } from '@digigov/ui/typography/Title';
|
|
4
|
-
export declare const PageTitle: React.FC<{}>;
|
|
5
|
-
export default PageTitle;
|
|
6
|
-
export declare const PageTitleSection: React.FC<{}>;
|
|
7
|
-
export declare const PageTitleCaption: React.FC<CaptionProps>;
|
|
8
|
-
export interface PageTitleHeadingProps extends TitleProps {
|
|
9
|
-
}
|
|
10
|
-
export declare const PageTitleHeading: React.FC<TitleProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface I18NContextProps {
|
|
3
|
-
Trans?: any;
|
|
4
|
-
t: (str: string, context?: any) => string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
i18n?: any;
|
|
7
|
-
}
|
|
8
|
-
export declare const defaultTranslate: (key: string, context?: Record<string, any> | undefined) => string;
|
|
9
|
-
export declare const I18NContext: React.Context<I18NContextProps>;
|
|
10
|
-
export declare const I18NProvider: React.FC<I18NContextProps>;
|
|
11
|
-
export declare const useTranslation: () => I18NContextProps;
|
|
12
|
-
export default I18NProvider;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Accordion from '@digigov/react-core/Accordion';
|
|
3
|
-
import AccordionSection from '@digigov/react-core/AccordionSection';
|
|
4
|
-
import AccordionSectionContent from '@digigov/react-core/AccordionSectionContent';
|
|
5
|
-
import AccordionSectionSummaryHeading from '@digigov/react-core/AccordionSectionSummaryHeading';
|
|
6
|
-
import AccordionSectionSummary from '@digigov/react-core/AccordionSectionSummary';
|
|
7
|
-
import AccordionControls from '@digigov/react-core/AccordionControls';
|
|
8
|
-
import { UseTogglableSectionsReturn } from '@digigov/ui/hooks/useTogglableSections';
|
|
9
|
-
export declare const AccordionSectionHeader: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionHeader").AccordionSectionHeaderProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & React.RefAttributes<HTMLElement>>;
|
|
10
|
-
export declare const AccordionItemDetails: React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSectionContent").AccordionSectionContentProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export declare const AccordionItemSummary: ({ children, ...props }: {
|
|
12
|
-
[x: string]: any;
|
|
13
|
-
children: any;
|
|
14
|
-
}) => JSX.Element;
|
|
15
|
-
export declare const AccordionItem: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<import("@digigov/react-core/AccordionSection").AccordionSectionProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "open" | "onToggle" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & React.RefAttributes<HTMLDetailsElement>>>;
|
|
16
|
-
export interface UseAccordionProps {
|
|
17
|
-
singleOpen?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export interface UseAccordionReturn extends UseTogglableSectionsReturn {
|
|
20
|
-
}
|
|
21
|
-
declare const useAccordion: (props: UseAccordionProps) => UseAccordionReturn;
|
|
22
|
-
export { Accordion, AccordionControls, AccordionSection, AccordionSectionContent, AccordionSectionSummary, AccordionSectionSummaryHeading, useAccordion, };
|
|
23
|
-
export default Accordion;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Blockquote: import("react").ForwardRefExoticComponent<Pick<import("@digigov/react-core/Blockquote").BlockquoteProps, "cite" | "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & import("react").RefAttributes<HTMLElement>>;
|
|
3
|
-
export default Blockquote;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const BackButton: import("react").ForwardRefExoticComponent<Pick<import("@digigov/react-core/BackLink").BackLinkProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
3
|
-
export default BackButton;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ButtonLinkProps as CoreButtonLinkProps } from '@digigov/react-core/ButtonLink';
|
|
3
|
-
export declare type ButtonLinkProps = CoreButtonLinkProps;
|
|
4
|
-
export declare const ButtonLink: import("react").ForwardRefExoticComponent<Pick<CoreButtonLinkProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CallToActionProps as CoreCallToActionProps } from '@digigov/react-core/CallToAction';
|
|
3
|
-
export interface CallToActionProps extends CoreCallToActionProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const CallToAction: React.FC<CallToActionProps>;
|
|
7
|
-
export default CallToAction;
|