@digigov/ui 1.0.0-266e80f3 → 1.0.0-3bfc7d37
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/app/BannerContainer/BannerContainer.stories.d.ts +10 -0
- package/app/BannerContainer/BannerContainer.stories.js +35 -0
- package/app/BannerContainer/__stories__/CookiesBanner.d.ts +2 -0
- package/app/BannerContainer/__stories__/CookiesBanner.js +42 -0
- package/app/Footer/__stories__/FooterAllInclusive.js +33 -23
- package/app/Footer/__stories__/FooterWithLink.js +16 -12
- package/app/Footer/__stories__/FooterWithLogo.js +17 -15
- package/app/Footer/__stories__/FooterWithSecondaryNavigation.js +18 -14
- package/app/Masthead/Masthead.stories.d.ts +2 -0
- package/app/Masthead/Masthead.stories.js +28 -0
- package/app/Masthead/__stories__/WithElements.d.ts +2 -0
- package/app/Masthead/__stories__/WithElements.js +41 -0
- package/app/Masthead/__stories__/WithLogo.d.ts +2 -0
- package/app/Masthead/__stories__/WithLogo.js +37 -0
- package/content/Blockquote/Blockquote.stories.d.ts +1 -0
- package/content/Blockquote/Blockquote.stories.js +14 -0
- package/content/Blockquote/__stories__/Dense.d.ts +2 -0
- package/content/Blockquote/__stories__/Dense.js +24 -0
- package/content/Card/Card.stories.d.ts +2 -0
- package/content/Card/Card.stories.js +28 -0
- package/content/Card/__stories__/Default.js +1 -1
- package/content/Card/__stories__/Dense.d.ts +2 -0
- package/content/Card/__stories__/Dense.js +28 -0
- package/content/Card/__stories__/WithLink.d.ts +2 -0
- package/content/Card/__stories__/WithLink.js +24 -0
- package/content/StepNav/StepNav.stories.d.ts +1 -0
- package/content/StepNav/StepNav.stories.js +14 -0
- package/content/StepNav/__stories__/Dense.d.ts +2 -0
- package/content/StepNav/__stories__/Dense.js +204 -0
- package/content/SummaryList/SummaryList.stories.d.ts +1 -0
- package/content/SummaryList/SummaryList.stories.js +14 -0
- package/content/SummaryList/__stories__/Default.js +7 -3
- package/content/SummaryList/__stories__/WithActions.js +13 -7
- package/content/SummaryList/__stories__/WithoutActions.d.ts +2 -0
- package/content/SummaryList/__stories__/WithoutActions.js +22 -0
- package/content/SummaryList/__stories__/WithoutBorders.js +12 -2
- package/content/Table/__stories__/RowColors.js +5 -5
- package/content/TaskList/TaskList.stories.d.ts +1 -0
- package/content/TaskList/TaskList.stories.js +14 -0
- package/content/TaskList/__stories__/Dense.d.ts +2 -0
- package/content/TaskList/__stories__/Dense.js +93 -0
- package/content/Timeline/Timeline.stories.d.ts +1 -0
- package/content/Timeline/Timeline.stories.js +14 -0
- package/content/Timeline/__stories__/Default.js +2 -4
- package/content/Timeline/__stories__/Dense.d.ts +2 -0
- package/content/Timeline/__stories__/Dense.js +141 -0
- package/es/app/BannerContainer/BannerContainer.stories.js +10 -0
- package/es/app/BannerContainer/__stories__/CookiesBanner.js +18 -0
- package/es/app/Footer/__stories__/FooterAllInclusive.js +33 -23
- package/es/app/Footer/__stories__/FooterWithLink.js +16 -12
- package/es/app/Footer/__stories__/FooterWithLogo.js +17 -15
- package/es/app/Footer/__stories__/FooterWithSecondaryNavigation.js +18 -14
- package/es/app/Masthead/Masthead.stories.js +3 -1
- package/es/app/Masthead/__stories__/WithElements.js +21 -0
- package/es/app/Masthead/__stories__/WithLogo.js +19 -0
- package/es/content/Blockquote/Blockquote.stories.js +2 -1
- package/es/content/Blockquote/__stories__/Dense.js +11 -0
- package/es/content/Card/Card.stories.js +3 -1
- package/es/content/Card/__stories__/Default.js +1 -1
- package/es/content/Card/__stories__/Dense.js +14 -0
- package/es/content/Card/__stories__/WithLink.js +10 -0
- package/es/content/StepNav/StepNav.stories.js +2 -1
- package/es/content/StepNav/__stories__/Dense.js +180 -0
- package/es/content/SummaryList/SummaryList.stories.js +1 -0
- package/es/content/SummaryList/__stories__/Default.js +7 -3
- package/es/content/SummaryList/__stories__/WithActions.js +5 -5
- package/es/content/SummaryList/__stories__/WithoutActions.js +9 -0
- package/es/content/SummaryList/__stories__/WithoutBorders.js +10 -2
- package/es/content/Table/__stories__/RowColors.js +5 -5
- package/es/content/TaskList/TaskList.stories.js +2 -1
- package/es/content/TaskList/__stories__/Dense.js +76 -0
- package/es/content/Timeline/Timeline.stories.js +2 -1
- package/es/content/Timeline/__stories__/Default.js +2 -4
- package/es/content/Timeline/__stories__/Dense.js +124 -0
- package/es/feedback/ErrorSummary/ErrorSummary.stories.js +2 -1
- package/es/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +2 -1
- package/es/feedback/ErrorSummary/__stories__/LinkedToField.js +3 -3
- package/es/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +35 -0
- package/es/form/Button/__stories__/CallToActionButton.js +1 -4
- package/es/form/Button/__stories__/GroupingButtons.js +0 -3
- package/es/form/Button/__stories__/GroupingButtonsAndLinks.js +0 -3
- package/es/form/Button/__stories__/Primary.js +0 -3
- package/es/form/Button/__stories__/Secondary.js +0 -3
- package/es/form/Button/__stories__/WithVariantLink.js +0 -4
- package/es/form/Checkbox/__stories__/WithHint.js +1 -1
- package/es/form/DateInputContainer/__stories__/Default.js +1 -1
- package/es/form/DateInputContainer/__stories__/MultipleQuestions.js +2 -2
- package/es/form/DateInputContainer/__stories__/WithErrorMessage.js +1 -1
- package/es/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +1 -1
- package/es/form/ErrorMessage/ErrorMessage.stories.js +3 -1
- package/es/form/ErrorMessage/__stories__/DateInputError.js +24 -0
- package/es/form/ErrorMessage/__stories__/Default.js +11 -8
- package/es/form/ErrorMessage/__stories__/ErrorMessageOnly.js +12 -0
- package/es/form/FileUpload/__stories__/Default.js +2 -2
- package/es/form/FileUpload/__stories__/WithErrorMessage.js +2 -2
- package/es/form/RadioContainer/RadioContainer.stories.js +1 -0
- package/es/form/RadioContainer/__stories__/Default.js +7 -4
- package/es/form/RadioContainer/__stories__/InlineWithDivider.js +5 -5
- package/es/form/RadioContainer/__stories__/MultipleQuestions.js +1 -1
- package/es/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
- package/es/form/RadioContainer/__stories__/WithErrorMessage.js +3 -1
- package/es/form/RadioContainer/__stories__/WithHints.js +1 -1
- package/es/form/RadioContainer/__stories__/WithMediumLegend.js +24 -0
- package/es/form/TextInput/__stories__/FixedWidths.js +8 -18
- package/es/form/TextInput/__stories__/FluidWidths.js +8 -18
- package/es/govgr/Footer/Copyright.js +3 -3
- package/es/navigation/NavList/NavList.stories.js +5 -1
- package/es/navigation/NavList/NavList.stories.playwright.json +5 -5
- package/es/navigation/NavList/__stories__/Default.js +20 -54
- package/es/navigation/NavList/__stories__/NavVertical.js +37 -0
- package/es/navigation/NavList/__stories__/NavVerticalWithTitle.js +43 -0
- package/es/navigation/NavList/__stories__/WithBurgerIcon.js +56 -0
- package/es/navigation/NavList/__stories__/WithSubMenu.js +73 -0
- package/es/navigation/Tabs/__stories__/Default.js +15 -4
- package/es/registry.js +4 -2
- package/esm/app/BannerContainer/BannerContainer.stories.js +10 -0
- package/esm/app/BannerContainer/__stories__/CookiesBanner.js +18 -0
- package/esm/app/Footer/__stories__/FooterAllInclusive.js +33 -23
- package/esm/app/Footer/__stories__/FooterWithLink.js +16 -12
- package/esm/app/Footer/__stories__/FooterWithLogo.js +17 -15
- package/esm/app/Footer/__stories__/FooterWithSecondaryNavigation.js +18 -14
- package/esm/app/Masthead/Masthead.stories.js +3 -1
- package/esm/app/Masthead/__stories__/WithElements.js +21 -0
- package/esm/app/Masthead/__stories__/WithLogo.js +19 -0
- package/esm/content/Blockquote/Blockquote.stories.js +2 -1
- package/esm/content/Blockquote/__stories__/Dense.js +11 -0
- package/esm/content/Card/Card.stories.js +3 -1
- package/esm/content/Card/__stories__/Default.js +1 -1
- package/esm/content/Card/__stories__/Dense.js +14 -0
- package/esm/content/Card/__stories__/WithLink.js +10 -0
- package/esm/content/StepNav/StepNav.stories.js +2 -1
- package/esm/content/StepNav/__stories__/Dense.js +180 -0
- package/esm/content/SummaryList/SummaryList.stories.js +1 -0
- package/esm/content/SummaryList/__stories__/Default.js +7 -3
- package/esm/content/SummaryList/__stories__/WithActions.js +5 -5
- package/esm/content/SummaryList/__stories__/WithoutActions.js +9 -0
- package/esm/content/SummaryList/__stories__/WithoutBorders.js +10 -2
- package/esm/content/Table/__stories__/RowColors.js +5 -5
- package/esm/content/TaskList/TaskList.stories.js +2 -1
- package/esm/content/TaskList/__stories__/Dense.js +76 -0
- package/esm/content/Timeline/Timeline.stories.js +2 -1
- package/esm/content/Timeline/__stories__/Default.js +2 -4
- package/esm/content/Timeline/__stories__/Dense.js +124 -0
- package/esm/feedback/ErrorSummary/ErrorSummary.stories.js +2 -1
- package/esm/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +2 -1
- package/esm/feedback/ErrorSummary/__stories__/LinkedToField.js +3 -3
- package/esm/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +35 -0
- package/esm/form/Button/__stories__/CallToActionButton.js +1 -4
- package/esm/form/Button/__stories__/GroupingButtons.js +0 -3
- package/esm/form/Button/__stories__/GroupingButtonsAndLinks.js +0 -3
- package/esm/form/Button/__stories__/Primary.js +0 -3
- package/esm/form/Button/__stories__/Secondary.js +0 -3
- package/esm/form/Button/__stories__/WithVariantLink.js +0 -4
- package/esm/form/Checkbox/__stories__/WithHint.js +1 -1
- package/esm/form/DateInputContainer/__stories__/Default.js +1 -1
- package/esm/form/DateInputContainer/__stories__/MultipleQuestions.js +2 -2
- package/esm/form/DateInputContainer/__stories__/WithErrorMessage.js +1 -1
- package/esm/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +1 -1
- package/esm/form/ErrorMessage/ErrorMessage.stories.js +3 -1
- package/esm/form/ErrorMessage/__stories__/DateInputError.js +24 -0
- package/esm/form/ErrorMessage/__stories__/Default.js +11 -8
- package/esm/form/ErrorMessage/__stories__/ErrorMessageOnly.js +12 -0
- package/esm/form/FileUpload/__stories__/Default.js +2 -2
- package/esm/form/FileUpload/__stories__/WithErrorMessage.js +2 -2
- package/esm/form/RadioContainer/RadioContainer.stories.js +1 -0
- package/esm/form/RadioContainer/__stories__/Default.js +7 -4
- package/esm/form/RadioContainer/__stories__/InlineWithDivider.js +5 -5
- package/esm/form/RadioContainer/__stories__/MultipleQuestions.js +1 -1
- package/esm/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
- package/esm/form/RadioContainer/__stories__/WithErrorMessage.js +3 -1
- package/esm/form/RadioContainer/__stories__/WithHints.js +1 -1
- package/esm/form/RadioContainer/__stories__/WithMediumLegend.js +24 -0
- package/esm/form/TextInput/__stories__/FixedWidths.js +8 -18
- package/esm/form/TextInput/__stories__/FluidWidths.js +8 -18
- package/esm/govgr/Footer/Copyright.js +3 -3
- package/esm/index.js +1 -1
- package/esm/navigation/NavList/NavList.stories.js +5 -1
- package/esm/navigation/NavList/NavList.stories.playwright.json +5 -5
- package/esm/navigation/NavList/__stories__/Default.js +20 -54
- package/esm/navigation/NavList/__stories__/NavVertical.js +37 -0
- package/esm/navigation/NavList/__stories__/NavVerticalWithTitle.js +43 -0
- package/esm/navigation/NavList/__stories__/WithBurgerIcon.js +56 -0
- package/esm/navigation/NavList/__stories__/WithSubMenu.js +73 -0
- package/esm/navigation/Tabs/__stories__/Default.js +15 -4
- package/esm/registry.js +4 -2
- package/feedback/ErrorSummary/ErrorSummary.stories.d.ts +1 -0
- package/feedback/ErrorSummary/ErrorSummary.stories.js +14 -0
- package/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js +3 -1
- package/feedback/ErrorSummary/__stories__/LinkedToField.js +3 -3
- package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.d.ts +2 -0
- package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js +57 -0
- package/form/Button/__stories__/CallToActionButton.d.ts +0 -3
- package/form/Button/__stories__/CallToActionButton.js +1 -4
- package/form/Button/__stories__/GroupingButtons.d.ts +0 -3
- package/form/Button/__stories__/GroupingButtons.js +0 -3
- package/form/Button/__stories__/GroupingButtonsAndLinks.d.ts +0 -3
- package/form/Button/__stories__/GroupingButtonsAndLinks.js +0 -3
- package/form/Button/__stories__/Primary.d.ts +0 -3
- package/form/Button/__stories__/Primary.js +0 -3
- package/form/Button/__stories__/Secondary.d.ts +0 -3
- package/form/Button/__stories__/Secondary.js +0 -3
- package/form/Button/__stories__/WithVariantLink.d.ts +0 -3
- package/form/Button/__stories__/WithVariantLink.js +0 -3
- package/form/Checkbox/__stories__/WithHint.js +1 -1
- package/form/DateInputContainer/__stories__/Default.js +1 -1
- package/form/DateInputContainer/__stories__/MultipleQuestions.js +2 -2
- package/form/DateInputContainer/__stories__/WithErrorMessage.js +1 -1
- package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js +1 -1
- package/form/ErrorMessage/ErrorMessage.stories.d.ts +2 -0
- package/form/ErrorMessage/ErrorMessage.stories.js +28 -0
- package/form/ErrorMessage/__stories__/DateInputError.d.ts +2 -0
- package/form/ErrorMessage/__stories__/DateInputError.js +41 -0
- package/form/ErrorMessage/__stories__/Default.js +11 -8
- package/form/ErrorMessage/__stories__/ErrorMessageOnly.d.ts +2 -0
- package/form/ErrorMessage/__stories__/ErrorMessageOnly.js +26 -0
- package/form/FileUpload/__stories__/Default.js +2 -2
- package/form/FileUpload/__stories__/WithErrorMessage.js +2 -2
- package/form/RadioContainer/RadioContainer.stories.d.ts +1 -0
- package/form/RadioContainer/RadioContainer.stories.js +14 -0
- package/form/RadioContainer/__stories__/Default.js +7 -4
- package/form/RadioContainer/__stories__/InlineWithDivider.js +6 -6
- package/form/RadioContainer/__stories__/MultipleQuestions.js +1 -1
- package/form/RadioContainer/__stories__/NoneAnswer.js +6 -2
- package/form/RadioContainer/__stories__/WithErrorMessage.js +3 -1
- package/form/RadioContainer/__stories__/WithHints.js +1 -1
- package/form/RadioContainer/__stories__/WithMediumLegend.d.ts +2 -0
- package/form/RadioContainer/__stories__/WithMediumLegend.js +38 -0
- package/form/TextInput/__stories__/FixedWidths.js +8 -18
- package/form/TextInput/__stories__/FluidWidths.js +8 -18
- package/govgr/Footer/Copyright.js +3 -3
- package/navigation/NavList/NavList.stories.d.ts +4 -0
- package/navigation/NavList/NavList.stories.js +56 -0
- package/navigation/NavList/NavList.stories.playwright.json +5 -5
- package/navigation/NavList/__stories__/Default.js +19 -60
- package/navigation/NavList/__stories__/NavVertical.d.ts +2 -0
- package/navigation/NavList/__stories__/NavVertical.js +53 -0
- package/navigation/NavList/__stories__/NavVerticalWithTitle.d.ts +2 -0
- package/navigation/NavList/__stories__/NavVerticalWithTitle.js +59 -0
- package/navigation/NavList/__stories__/WithBurgerIcon.d.ts +2 -0
- package/navigation/NavList/__stories__/WithBurgerIcon.js +82 -0
- package/navigation/NavList/__stories__/WithSubMenu.d.ts +2 -0
- package/navigation/NavList/__stories__/WithSubMenu.js +96 -0
- package/navigation/Tabs/__stories__/Default.js +16 -4
- package/package.json +3 -3
- package/registry.d.ts +4 -2
- package/registry.js +5 -2
- package/src/app/BannerContainer/BannerContainer.stories.js +12 -0
- package/src/app/BannerContainer/__stories__/CookiesBanner.tsx +32 -0
- package/src/app/Footer/__stories__/Default.tsx +1 -1
- package/src/app/Footer/__stories__/FooterAllInclusive.tsx +14 -18
- package/src/app/Footer/__stories__/FooterWithLink.tsx +5 -7
- package/src/app/Footer/__stories__/FooterWithLogo.tsx +11 -13
- package/src/app/Footer/__stories__/FooterWithSecondaryNavigation.tsx +58 -58
- package/src/app/Masthead/Masthead.stories.js +2 -0
- package/src/app/Masthead/__stories__/WithElements.tsx +31 -0
- package/src/app/Masthead/__stories__/WithLogo.tsx +28 -0
- package/src/content/Blockquote/Blockquote.stories.js +1 -0
- package/src/content/Blockquote/__stories__/Dense.tsx +11 -0
- package/src/content/Card/Card.stories.js +2 -0
- package/src/content/Card/__stories__/Default.tsx +1 -1
- package/src/content/Card/__stories__/Dense.tsx +24 -0
- package/src/content/Card/__stories__/WithLink.tsx +25 -0
- package/src/content/StepNav/StepNav.stories.js +1 -0
- package/src/content/StepNav/__stories__/Dense.tsx +261 -0
- package/src/content/SummaryList/SummaryList.stories.js +1 -0
- package/src/content/SummaryList/__stories__/Default.tsx +30 -21
- package/src/content/SummaryList/__stories__/WithActions.tsx +37 -41
- package/src/content/SummaryList/__stories__/WithoutActions.tsx +27 -0
- package/src/content/SummaryList/__stories__/WithoutBorders.tsx +31 -17
- package/src/content/Table/__stories__/RowColors.tsx +5 -5
- package/src/content/TaskList/TaskList.stories.js +1 -0
- package/src/content/TaskList/__stories__/Dense.tsx +118 -0
- package/src/content/Timeline/Timeline.stories.js +1 -0
- package/src/content/Timeline/__stories__/Default.tsx +2 -2
- package/src/content/Timeline/__stories__/Dense.tsx +196 -0
- package/src/feedback/ErrorSummary/ErrorSummary.stories.js +1 -0
- package/src/feedback/ErrorSummary/__stories__/LinkedToCheckbox.tsx +2 -1
- package/src/feedback/ErrorSummary/__stories__/LinkedToField.tsx +4 -6
- package/src/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.tsx +49 -0
- package/src/form/Button/__stories__/CallToActionButton.tsx +1 -4
- package/src/form/Button/__stories__/GroupingButtons.tsx +0 -3
- package/src/form/Button/__stories__/GroupingButtonsAndLinks.tsx +0 -3
- package/src/form/Button/__stories__/Primary.tsx +1 -3
- package/src/form/Button/__stories__/Secondary.tsx +0 -3
- package/src/form/Button/__stories__/WithVariantLink.tsx +1 -3
- package/src/form/Checkbox/__stories__/WithHint.tsx +1 -1
- package/src/form/DateInputContainer/__stories__/Default.tsx +1 -1
- package/src/form/DateInputContainer/__stories__/MultipleQuestions.tsx +2 -2
- package/src/form/DateInputContainer/__stories__/WithErrorMessage.tsx +1 -1
- package/src/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.tsx +1 -1
- package/src/form/ErrorMessage/ErrorMessage.stories.js +2 -0
- package/src/form/ErrorMessage/__stories__/DateInputError.tsx +34 -0
- package/src/form/ErrorMessage/__stories__/Default.tsx +12 -6
- package/src/form/ErrorMessage/__stories__/ErrorMessageOnly.tsx +12 -0
- package/src/form/FileUpload/__stories__/Default.tsx +2 -2
- package/src/form/FileUpload/__stories__/WithErrorMessage.tsx +2 -2
- package/src/form/RadioContainer/RadioContainer.stories.js +1 -0
- package/src/form/RadioContainer/__stories__/Default.tsx +7 -4
- package/src/form/RadioContainer/__stories__/InlineWithDivider.tsx +5 -5
- package/src/form/RadioContainer/__stories__/MultipleQuestions.tsx +1 -1
- package/src/form/RadioContainer/__stories__/NoneAnswer.tsx +3 -3
- package/src/form/RadioContainer/__stories__/WithErrorMessage.tsx +1 -1
- package/src/form/RadioContainer/__stories__/WithHints.tsx +1 -1
- package/src/form/RadioContainer/__stories__/WithMediumLegend.tsx +32 -0
- package/src/form/TextInput/__stories__/FixedWidths.tsx +8 -8
- package/src/form/TextInput/__stories__/FluidWidths.tsx +2 -2
- package/src/govgr/Footer/Copyright.tsx +11 -11
- package/src/navigation/NavList/NavList.stories.js +4 -0
- package/src/navigation/NavList/NavList.stories.playwright.json +5 -5
- package/src/navigation/NavList/__stories__/Default.tsx +16 -80
- package/src/navigation/NavList/__stories__/NavVertical.tsx +36 -0
- package/src/navigation/NavList/__stories__/NavVerticalWithTitle.tsx +40 -0
- package/src/navigation/NavList/__stories__/WithBurgerIcon.tsx +49 -0
- package/src/navigation/NavList/__stories__/WithSubMenu.tsx +101 -0
- package/src/navigation/Tabs/__stories__/Default.tsx +14 -9
- package/src/registry.js +6 -4
- /package/es/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
- /package/es/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
- /package/esm/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
- /package/esm/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
- /package/form/SelectContainer/{Select.stories.d.ts → SelectContainer.stories.d.ts} +0 -0
- /package/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
- /package/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
- /package/src/form/SelectContainer/{Select.stories.js → SelectContainer.stories.js} +0 -0
- /package/src/form/SelectContainer/{Select.stories.playwright.json → SelectContainer.stories.playwright.json} +0 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
+
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { StepNav, StepNavCircleNumber, StepNavControls, StepNavList, StepNavListItem, StepNavAccordion, StepNavAccordionContent, StepNavAccordionSummary, StepNavAccordionSummaryHeading, StepNavAccordionHeadingTitle, StepNavAccordionHeadingText } from '@digigov/ui/content/StepNav';
|
|
5
|
+
import { Button, ButtonGroup } from '@digigov/ui/form/Button';
|
|
6
|
+
import { VisuallyHidden } from '@digigov/ui/utils/VisuallyHidden';
|
|
7
|
+
import { SummaryList, SummaryListItem, SummaryListItemAction, SummaryListItemKey, SummaryListItemValue } from '@digigov/ui/content/SummaryList';
|
|
8
|
+
var data = [{
|
|
9
|
+
title: 'Απάντηση',
|
|
10
|
+
codename: '(KEP-APA)',
|
|
11
|
+
date: '7 Απριλίου 2023, 12:32μ.μ.',
|
|
12
|
+
details: [{
|
|
13
|
+
name: 'Ημερομηνία',
|
|
14
|
+
value: '7 Απριλίου 2023, 12:32μ.μ.'
|
|
15
|
+
}, {
|
|
16
|
+
name: 'Χειριστής',
|
|
17
|
+
value: 'Καλλιόπη Παπαδοπούλου',
|
|
18
|
+
actions: ['Ανάθεση']
|
|
19
|
+
}, {
|
|
20
|
+
name: 'Κωδικός επαλήθευσης',
|
|
21
|
+
value: '637283494'
|
|
22
|
+
}, {
|
|
23
|
+
name: 'Κατάσταση',
|
|
24
|
+
value: 'Εισερχόμενη',
|
|
25
|
+
actions: ['Αλλαγή']
|
|
26
|
+
}]
|
|
27
|
+
}, {
|
|
28
|
+
title: 'Συμπληρωματικά έγγραφα ',
|
|
29
|
+
codename: '(MORE-DOCS)',
|
|
30
|
+
date: '5 Απριλίου 2023, 8:32π.μ.',
|
|
31
|
+
details: [{
|
|
32
|
+
name: 'Ημερομηνία',
|
|
33
|
+
value: '7 Απριλίου 2023, 12:32μ.μ.'
|
|
34
|
+
}, {
|
|
35
|
+
name: 'Χειριστής',
|
|
36
|
+
value: 'Μαρία Φλούπη',
|
|
37
|
+
actions: ['Ανάθεση']
|
|
38
|
+
}, {
|
|
39
|
+
name: 'Κωδικός επαλήθευσης',
|
|
40
|
+
value: '637283494'
|
|
41
|
+
}, {
|
|
42
|
+
name: 'Κατάσταση',
|
|
43
|
+
value: 'Εισερχόμενη',
|
|
44
|
+
actions: ['Αλλαγή']
|
|
45
|
+
}]
|
|
46
|
+
}, {
|
|
47
|
+
title: 'Αίτηση για συμπληρωματικά έγγραφα',
|
|
48
|
+
codename: '(MORE-DOCS-REQUEST)',
|
|
49
|
+
date: '5 Απριλίου 2023, 8:32π.μ.',
|
|
50
|
+
details: [{
|
|
51
|
+
name: 'Ημερομηνία',
|
|
52
|
+
value: '5 Απριλίου 2023, 8:32π.μ.'
|
|
53
|
+
}, {
|
|
54
|
+
name: 'Χειριστής',
|
|
55
|
+
value: 'Μαρία Φλούπη',
|
|
56
|
+
actions: ['Ανάθεση']
|
|
57
|
+
}, {
|
|
58
|
+
name: 'Κωδικός επαλήθευσης',
|
|
59
|
+
value: '974256'
|
|
60
|
+
}, {
|
|
61
|
+
name: 'Κατάσταση',
|
|
62
|
+
value: 'Εισερχόμενη',
|
|
63
|
+
actions: ['Αλλαγή']
|
|
64
|
+
}]
|
|
65
|
+
}, {
|
|
66
|
+
title: 'Αίτηση Βεβαίωσης Μόνιμης Κατοικίας',
|
|
67
|
+
codename: '(PERMRES-FOREIS)',
|
|
68
|
+
date: '3 Απριλίου 2023, 5:42μ.μ.',
|
|
69
|
+
actions: [{
|
|
70
|
+
label: 'Απάντηση'
|
|
71
|
+
}, {
|
|
72
|
+
label: 'Αίτημα για συμπληρωματικά έγγραφα'
|
|
73
|
+
}],
|
|
74
|
+
details: [{
|
|
75
|
+
name: 'Ημερομηνία',
|
|
76
|
+
value: '3 Απριλίου 2023, 5:42μ.μ.'
|
|
77
|
+
}, {
|
|
78
|
+
name: 'Χειριστής',
|
|
79
|
+
value: 'Μαρία Φλούπη',
|
|
80
|
+
actions: ['Ανάθεση']
|
|
81
|
+
}, {
|
|
82
|
+
name: 'Κωδικός επαλήθευσης',
|
|
83
|
+
value: '475747'
|
|
84
|
+
}, {
|
|
85
|
+
name: 'Κατάσταση',
|
|
86
|
+
value: 'Εισερχόμενη',
|
|
87
|
+
actions: ['Αλλαγή']
|
|
88
|
+
}]
|
|
89
|
+
}];
|
|
90
|
+
|
|
91
|
+
var _ref = /*#__PURE__*/React.createElement(StepNavCircleNumber, {
|
|
92
|
+
border: false
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
var _ref2 = /*#__PURE__*/React.createElement(StepNavCircleNumber, {
|
|
96
|
+
border: false
|
|
97
|
+
}, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u0392\u03AE\u03BC\u03B1"), "\u03BA\u03B1\u03B9");
|
|
98
|
+
|
|
99
|
+
var _ref3 = /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u0392\u03AE\u03BC\u03B1");
|
|
100
|
+
|
|
101
|
+
var _ref4 = /*#__PURE__*/React.createElement(Button, {
|
|
102
|
+
color: "secondary"
|
|
103
|
+
}, "\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5");
|
|
104
|
+
|
|
105
|
+
export var Dense = function Dense() {
|
|
106
|
+
var _useState = useState(false),
|
|
107
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
108
|
+
open = _useState2[0],
|
|
109
|
+
setOpen = _useState2[1];
|
|
110
|
+
|
|
111
|
+
var _useState3 = useState(Array(data.length).fill(false)),
|
|
112
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
113
|
+
openItem = _useState4[0],
|
|
114
|
+
setOpenItem = _useState4[1];
|
|
115
|
+
|
|
116
|
+
useEffect(function () {
|
|
117
|
+
var stateArray = [];
|
|
118
|
+
|
|
119
|
+
if (open === false) {
|
|
120
|
+
openItem.map(function () {
|
|
121
|
+
stateArray.push(false);
|
|
122
|
+
});
|
|
123
|
+
setOpenItem(stateArray);
|
|
124
|
+
} else {
|
|
125
|
+
openItem.map(function () {
|
|
126
|
+
stateArray.push(true);
|
|
127
|
+
});
|
|
128
|
+
setOpenItem(stateArray);
|
|
129
|
+
}
|
|
130
|
+
}, [open]);
|
|
131
|
+
|
|
132
|
+
function openCloseItem(index) {
|
|
133
|
+
var statusOpenItem = _toConsumableArray(openItem);
|
|
134
|
+
|
|
135
|
+
statusOpenItem[index] = !statusOpenItem[index];
|
|
136
|
+
setOpenItem(statusOpenItem);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
function openCloseAll() {
|
|
140
|
+
setOpen(!open);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
return /*#__PURE__*/React.createElement(StepNav, {
|
|
144
|
+
dense: true
|
|
145
|
+
}, /*#__PURE__*/React.createElement(StepNavControls, null, /*#__PURE__*/React.createElement(Button, {
|
|
146
|
+
variant: "link",
|
|
147
|
+
onClick: function onClick() {
|
|
148
|
+
openCloseAll();
|
|
149
|
+
}
|
|
150
|
+
}, open === false ? 'Εμφάνιση όλων' : 'Απόκρυψη όλων')), /*#__PURE__*/React.createElement(StepNavList, null, data && data.map(function (field, index) {
|
|
151
|
+
return /*#__PURE__*/React.createElement(StepNavListItem, {
|
|
152
|
+
key: index
|
|
153
|
+
}, /*#__PURE__*/React.createElement(StepNavAccordion, {
|
|
154
|
+
open: open
|
|
155
|
+
}, /*#__PURE__*/React.createElement(StepNavAccordionSummary, {
|
|
156
|
+
onClick: function onClick() {
|
|
157
|
+
openCloseItem(index);
|
|
158
|
+
}
|
|
159
|
+
}, /*#__PURE__*/React.createElement(StepNavAccordionSummaryHeading, {
|
|
160
|
+
"aria-controls": "content1"
|
|
161
|
+
}, _ref, index === 1 ? _ref2 : /*#__PURE__*/React.createElement(StepNavCircleNumber, null, _ref3, index > 1 ? index : index + 1), /*#__PURE__*/React.createElement(StepNavAccordionHeadingTitle, null, /*#__PURE__*/React.createElement(StepNavAccordionHeadingText, null, field.title, field.codename && /*#__PURE__*/React.createElement(React.Fragment, null, ' - ', " ", field.codename))))), /*#__PURE__*/React.createElement(StepNavAccordionContent, {
|
|
162
|
+
id: "content1"
|
|
163
|
+
}, /*#__PURE__*/React.createElement(ButtonGroup, null, (field.actions || []).map(function (action, subIndex) {
|
|
164
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
165
|
+
color: "primary",
|
|
166
|
+
key: subIndex
|
|
167
|
+
}, action.label);
|
|
168
|
+
}), _ref4), field.details && /*#__PURE__*/React.createElement(SummaryList, null, field.details.map(function (field, index) {
|
|
169
|
+
return /*#__PURE__*/React.createElement(SummaryListItem, {
|
|
170
|
+
key: index
|
|
171
|
+
}, /*#__PURE__*/React.createElement(SummaryListItemKey, null, field.name), /*#__PURE__*/React.createElement(SummaryListItemValue, null, field.value), field.actions && /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(ButtonGroup, null, field.actions && field.actions.map(function (action, subIndex) {
|
|
172
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
173
|
+
key: subIndex,
|
|
174
|
+
variant: "link"
|
|
175
|
+
}, action);
|
|
176
|
+
}))));
|
|
177
|
+
})))));
|
|
178
|
+
})));
|
|
179
|
+
};
|
|
180
|
+
export default Dense;
|
|
@@ -9,6 +9,7 @@ export default {
|
|
|
9
9
|
};
|
|
10
10
|
export * from './__stories__/Default';
|
|
11
11
|
export * from './__stories__/WithActions';
|
|
12
|
+
export * from './__stories__/WithoutActions';
|
|
12
13
|
export * from './__stories__/WithoutBorders';
|
|
13
14
|
export * from './__stories__/WithKeyAndAction';
|
|
14
15
|
export * from './__stories__/RowVariations';
|
|
@@ -3,11 +3,15 @@ import { SummaryList, SummaryListItem, SummaryListItemAction, SummaryListItemKey
|
|
|
3
3
|
import { Link } from '@digigov/ui/navigation/Link';
|
|
4
4
|
import { VisuallyHidden } from '@digigov/ui/utils/VisuallyHidden';
|
|
5
5
|
|
|
6
|
-
var _ref = /*#__PURE__*/React.createElement(SummaryList, null, /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u038C\u03BD\u03BF\u03BC\u03B1"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "\u0393\u03B9\u03CE\u03C1\u03B3\u03BF\u03C2 \u03A0\u03B1\u03C0\u03B1\u03B4\u03CC\u03C0\u03BF\u03C5\u03BB\u03BF\u03C2")
|
|
6
|
+
var _ref = /*#__PURE__*/React.createElement(SummaryList, null, /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u038C\u03BD\u03BF\u03BC\u03B1"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "\u0393\u03B9\u03CE\u03C1\u03B3\u03BF\u03C2 \u03A0\u03B1\u03C0\u03B1\u03B4\u03CC\u03C0\u03BF\u03C5\u03BB\u03BF\u03C2"), /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(Link, {
|
|
7
7
|
href: "#"
|
|
8
|
-
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u0394\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7\u03C2")))), /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\
|
|
8
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u0394\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7\u03C2")))), /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u0393\u03AD\u03BD\u03BD\u03B7\u03C3\u03B7\u03C2"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "11 \u039C\u03B1\u03CA\u03BF\u03C5 1990"), /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(Link, {
|
|
9
|
+
href: "#"
|
|
10
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u0394\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7\u03C2")))), /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u03A4\u03B7\u03BB\u03AD\u03C6\u03C9\u03BD\u03BF \u03B5\u03C0\u03B9\u03BA\u03BF\u03B9\u03BD\u03C9\u03BD\u03AF\u03B1\u03C2"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "6941234567"), /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(Link, {
|
|
11
|
+
href: "#"
|
|
12
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u0394\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7\u03C2")))));
|
|
9
13
|
|
|
10
14
|
export var Default = function Default() {
|
|
11
|
-
return
|
|
15
|
+
return _ref;
|
|
12
16
|
};
|
|
13
17
|
export default Default;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SummaryList, SummaryListItem, SummaryListItemAction, SummaryListItemKey, SummaryListItemValue } from '@digigov/ui/content/SummaryList';
|
|
3
|
-
import { ButtonGroup, Button } from '@digigov/ui/form/Button';
|
|
4
3
|
import { Link } from '@digigov/ui/navigation/Link';
|
|
5
4
|
import { VisuallyHidden } from '@digigov/ui/utils/VisuallyHidden';
|
|
5
|
+
import Button, { ButtonGroup } from '@digigov/ui/form/Button';
|
|
6
6
|
|
|
7
|
-
var _ref = /*#__PURE__*/React.createElement(SummaryList, null, /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u038C\u03BD\u03BF\u03BC\u03B1"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "
|
|
7
|
+
var _ref = /*#__PURE__*/React.createElement(SummaryList, null, /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u038C\u03BD\u03BF\u03BC\u03B1"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "\u0393\u03B9\u03CE\u03C1\u03B3\u03BF\u03C2 \u03A0\u03B1\u03C0\u03B1\u03B4\u03CC\u03C0\u03BF\u03C5\u03BB\u03BF\u03C2"), /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(Link, {
|
|
8
8
|
href: "#"
|
|
9
|
-
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\
|
|
9
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7\u03C2")))), /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u0393\u03AD\u03BD\u03BD\u03B7\u03C3\u03B7\u03C2"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "11 \u039C\u03B1\u03CA\u03BF\u03C5 1990"), /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(Link, {
|
|
10
10
|
href: "#"
|
|
11
|
-
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\
|
|
11
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1\u03C2")))), /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u03A4\u03B7\u03BB\u03AD\u03C6\u03C9\u03BD\u03BF \u03B5\u03C0\u03B9\u03BA\u03BF\u03B9\u03BD\u03C9\u03BD\u03AF\u03B1\u03C2"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "6941234567"), /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(ButtonGroup, null, /*#__PURE__*/React.createElement(Button, {
|
|
12
12
|
variant: "link"
|
|
13
13
|
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE ", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u03C4\u03B7\u03BB\u03B5\u03C6\u03CE\u03BD\u03BF\u03C5")), /*#__PURE__*/React.createElement(Button, {
|
|
14
14
|
variant: "link"
|
|
15
15
|
}, "\u0394\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE ", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u03C4\u03B7\u03BB\u03B5\u03C6\u03CE\u03BD\u03BF\u03C5"))))));
|
|
16
16
|
|
|
17
17
|
export var WithActions = function WithActions() {
|
|
18
|
-
return
|
|
18
|
+
return _ref;
|
|
19
19
|
};
|
|
20
20
|
export default WithActions;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SummaryList, SummaryListItem, SummaryListItemKey, SummaryListItemValue } from '@digigov/ui/content/SummaryList';
|
|
3
|
+
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(SummaryList, null, /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u038C\u03BD\u03BF\u03BC\u03B1"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "\u0393\u03B9\u03CE\u03C1\u03B3\u03BF\u03C2 \u03A0\u03B1\u03C0\u03B1\u03B4\u03CC\u03C0\u03BF\u03C5\u03BB\u03BF\u03C2")), /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u0393\u03AD\u03BD\u03BD\u03B7\u03C3\u03B7\u03C2"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "11 \u039C\u03B1\u03CA\u03BF\u03C5 1990")), /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u03A4\u03B7\u03BB\u03AD\u03C6\u03C9\u03BD\u03BF \u03B5\u03C0\u03B9\u03BA\u03BF\u03B9\u03BD\u03C9\u03BD\u03AF\u03B1\u03C2"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "6941234567")));
|
|
5
|
+
|
|
6
|
+
export var WithoutActions = function WithoutActions() {
|
|
7
|
+
return _ref;
|
|
8
|
+
};
|
|
9
|
+
export default WithoutActions;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SummaryList, SummaryListItem, SummaryListItemAction, SummaryListItemKey, SummaryListItemValue } from '@digigov/ui/content/SummaryList';
|
|
3
|
+
import VisuallyHidden from '@digigov/ui/utils/VisuallyHidden';
|
|
4
|
+
import Link from '@digigov/ui/navigation/Link';
|
|
3
5
|
|
|
4
6
|
var _ref = /*#__PURE__*/React.createElement(SummaryList, {
|
|
5
7
|
border: false
|
|
6
|
-
}, /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u038C\u03BD\u03BF\u03BC\u03B1"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "\u0393\u03B9\u03CE\u03C1\u03B3\u03BF\u03C2 \u03A0\u03B1\u03C0\u03B1\u03B4\u03CC\u03C0\u03BF\u03C5\u03BB\u03BF\u03C2")
|
|
8
|
+
}, /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u038C\u03BD\u03BF\u03BC\u03B1"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "\u0393\u03B9\u03CE\u03C1\u03B3\u03BF\u03C2 \u03A0\u03B1\u03C0\u03B1\u03B4\u03CC\u03C0\u03BF\u03C5\u03BB\u03BF\u03C2"), /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(Link, {
|
|
9
|
+
href: "#"
|
|
10
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7\u03C2")))), /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u0393\u03AD\u03BD\u03BD\u03B7\u03C3\u03B7\u03C2"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "11 \u039C\u03B1\u03CA\u03BF\u03C5 1990"), /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(Link, {
|
|
11
|
+
href: "#"
|
|
12
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1\u03C2")))), /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u03A4\u03B7\u03BB\u03AD\u03C6\u03C9\u03BD\u03BF \u03B5\u03C0\u03B9\u03BA\u03BF\u03B9\u03BD\u03C9\u03BD\u03AF\u03B1\u03C2"), /*#__PURE__*/React.createElement(SummaryListItemValue, null, "6941234567"), /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(Link, {
|
|
13
|
+
href: "#"
|
|
14
|
+
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE", /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u03C4\u03B7\u03BB\u03B5\u03C6\u03CE\u03BD\u03BF\u03C5")))));
|
|
7
15
|
|
|
8
16
|
export var WithoutBorders = function WithoutBorders() {
|
|
9
|
-
return
|
|
17
|
+
return _ref;
|
|
10
18
|
};
|
|
11
19
|
export default WithoutBorders;
|
|
@@ -11,27 +11,27 @@ var data = {
|
|
|
11
11
|
content: [{
|
|
12
12
|
date: '24-07-23 16:34',
|
|
13
13
|
title: 'Ειδοποίηση',
|
|
14
|
-
actions: '
|
|
14
|
+
actions: 'Λεπτομέρειες',
|
|
15
15
|
"new": true
|
|
16
16
|
}, {
|
|
17
17
|
date: '24-07-23 12:41',
|
|
18
18
|
title: 'Μήνυμα υπηρεσίας',
|
|
19
|
-
actions: '
|
|
19
|
+
actions: 'Λεπτομέρειες',
|
|
20
20
|
"new": true
|
|
21
21
|
}, {
|
|
22
22
|
date: '24-07-23 12:40',
|
|
23
23
|
title: 'Μήνυμα από τον διαχειριστή',
|
|
24
|
-
actions: '
|
|
24
|
+
actions: 'Λεπτομέρειες',
|
|
25
25
|
"new": false
|
|
26
26
|
}, {
|
|
27
27
|
date: '23-07-23 15:14',
|
|
28
28
|
title: 'Έχετε συνδεθεί',
|
|
29
|
-
actions: '
|
|
29
|
+
actions: 'Λεπτομέρειες',
|
|
30
30
|
"new": false
|
|
31
31
|
}, {
|
|
32
32
|
date: '23-07-23 13:25',
|
|
33
33
|
title: 'Ο κωδικός άλλαξε',
|
|
34
|
-
actions: '
|
|
34
|
+
actions: 'Λεπτομέρειες',
|
|
35
35
|
"new": false
|
|
36
36
|
}]
|
|
37
37
|
};
|
|
@@ -5,4 +5,5 @@ export default {
|
|
|
5
5
|
component: TaskList,
|
|
6
6
|
displayName: 'TaskList'
|
|
7
7
|
};
|
|
8
|
-
export * from '@digigov/ui/content/TaskList/__stories__/Default';
|
|
8
|
+
export * from '@digigov/ui/content/TaskList/__stories__/Default';
|
|
9
|
+
export * from '@digigov/ui/content/TaskList/__stories__/Dense';
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SummaryList, SummaryListItem, SummaryListItemAction, SummaryListItemKey } from '@digigov/ui/content/SummaryList';
|
|
3
|
+
import { TaskList, TaskListItem, TaskListItemHeading, TaskListItemContent, TaskListItemTag } from '@digigov/ui/content/TaskList';
|
|
4
|
+
import { LinkBase } from '@digigov/ui/navigation/Link';
|
|
5
|
+
var fields = [{
|
|
6
|
+
title: 'Έλεγχοι πριν ξεκινήσετε',
|
|
7
|
+
tasks: [{
|
|
8
|
+
text: 'Ελέγξτε την καταλληλότητα',
|
|
9
|
+
status: 'Ολοκληρωθηκε'
|
|
10
|
+
}, {
|
|
11
|
+
text: 'Εμφάνιση δήλωσης',
|
|
12
|
+
status: 'Ολοκληρωθηκε'
|
|
13
|
+
}]
|
|
14
|
+
}, {
|
|
15
|
+
title: 'Προετοιμασία αίτησης',
|
|
16
|
+
tasks: [{
|
|
17
|
+
text: 'Στοιχεία εταιρείας',
|
|
18
|
+
status: 'Ολοκληρωθηκε'
|
|
19
|
+
}, {
|
|
20
|
+
text: 'Στοιχεία επικοινωνίας',
|
|
21
|
+
status: 'Σε εξελιξη'
|
|
22
|
+
}, {
|
|
23
|
+
text: 'Λίστα αποδείξεων',
|
|
24
|
+
status: 'Δεν εχει ξεκινησει'
|
|
25
|
+
}, {
|
|
26
|
+
text: 'Παροχή οικονομικών στοιχείων',
|
|
27
|
+
status: 'Σε αναμονη'
|
|
28
|
+
}, {
|
|
29
|
+
text: 'Παροχή ιατρικών πληροφοριών',
|
|
30
|
+
status: 'Σε αναμονη'
|
|
31
|
+
}]
|
|
32
|
+
}, {
|
|
33
|
+
title: 'Αίτηση',
|
|
34
|
+
tasks: [{
|
|
35
|
+
text: 'Υποβολή και πληρωμή',
|
|
36
|
+
status: 'Σε αναμονη'
|
|
37
|
+
}]
|
|
38
|
+
}];
|
|
39
|
+
export var Dense = function Dense() {
|
|
40
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(TaskList, {
|
|
41
|
+
dense: true
|
|
42
|
+
}, fields && fields.map(function (field, index) {
|
|
43
|
+
return /*#__PURE__*/React.createElement(TaskListItem, {
|
|
44
|
+
key: index
|
|
45
|
+
}, /*#__PURE__*/React.createElement(TaskListItemHeading, {
|
|
46
|
+
size: "md"
|
|
47
|
+
}, "".concat(index + 1, ". ").concat(field.title)), /*#__PURE__*/React.createElement(TaskListItemContent, null, /*#__PURE__*/React.createElement(SummaryList, null, field.tasks.map(function (task, key) {
|
|
48
|
+
var tagColor;
|
|
49
|
+
|
|
50
|
+
switch (task.status) {
|
|
51
|
+
case 'Ολοκληρωθηκε':
|
|
52
|
+
tagColor = 'info';
|
|
53
|
+
break;
|
|
54
|
+
|
|
55
|
+
case 'Σε εξελιξη':
|
|
56
|
+
tagColor = 'primary';
|
|
57
|
+
break;
|
|
58
|
+
|
|
59
|
+
case 'Δεν εχει ξεκινησει':
|
|
60
|
+
tagColor = 'secondary';
|
|
61
|
+
break;
|
|
62
|
+
|
|
63
|
+
case 'Σε αναμονη':
|
|
64
|
+
tagColor = 'secondary';
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return /*#__PURE__*/React.createElement(SummaryListItem, {
|
|
69
|
+
key: key
|
|
70
|
+
}, /*#__PURE__*/React.createElement(SummaryListItemKey, null, /*#__PURE__*/React.createElement(LinkBase, null, task.text)), /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(TaskListItemTag, {
|
|
71
|
+
color: tagColor
|
|
72
|
+
}, task.status)));
|
|
73
|
+
}))));
|
|
74
|
+
})));
|
|
75
|
+
};
|
|
76
|
+
export default Dense;
|
|
@@ -5,4 +5,5 @@ export default {
|
|
|
5
5
|
component: Timeline,
|
|
6
6
|
displayName: 'Timeline'
|
|
7
7
|
};
|
|
8
|
-
export * from '@digigov/ui/content/Timeline/__stories__/Default';
|
|
8
|
+
export * from '@digigov/ui/content/Timeline/__stories__/Default';
|
|
9
|
+
export * from '@digigov/ui/content/Timeline/__stories__/Dense';
|
|
@@ -99,11 +99,9 @@ var _ref2 = /*#__PURE__*/React.createElement(Button, {
|
|
|
99
99
|
export var Default = function Default() {
|
|
100
100
|
return /*#__PURE__*/React.createElement(Timeline, null, data && data.map(function (field, index) {
|
|
101
101
|
return /*#__PURE__*/React.createElement(TimelineItem, {
|
|
102
|
-
key: index
|
|
103
|
-
marginBottom: 10
|
|
102
|
+
key: index
|
|
104
103
|
}, /*#__PURE__*/React.createElement(TimelineHeading, {
|
|
105
|
-
size: "md"
|
|
106
|
-
marginBottom: 2
|
|
104
|
+
size: "md"
|
|
107
105
|
}, field.title, field.codename && /*#__PURE__*/React.createElement(React.Fragment, null, ' - ', " ", field.codename)), /*#__PURE__*/React.createElement(Hint, null, field.date), /*#__PURE__*/React.createElement(TimelineContent, null, field.details && /*#__PURE__*/React.createElement(SummaryList, null, field.details.map(function (field, index) {
|
|
108
106
|
return /*#__PURE__*/React.createElement(SummaryListItem, {
|
|
109
107
|
key: index
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Timeline, TimelineItem, TimelineHeading, TimelineContent, TimelineActions } from '@digigov/ui/content/Timeline';
|
|
3
|
+
import { Button, ButtonGroup } from '@digigov/ui/form/Button';
|
|
4
|
+
import { Hint } from '@digigov/ui/typography/Hint';
|
|
5
|
+
import { SummaryList, SummaryListItem, SummaryListItemAction, SummaryListItemKey, SummaryListItemValue } from '@digigov/ui/content/SummaryList';
|
|
6
|
+
var data = [{
|
|
7
|
+
title: 'Απάντηση',
|
|
8
|
+
codename: '(KEP-APA)',
|
|
9
|
+
date: '7 Απριλίου 2023, 12:32μ.μ.',
|
|
10
|
+
details: [{
|
|
11
|
+
name: 'Ημερομηνία',
|
|
12
|
+
value: '7 Απριλίου 2023, 12:32μ.μ.'
|
|
13
|
+
}, {
|
|
14
|
+
name: 'Χειριστής',
|
|
15
|
+
value: 'Καλλιόπη Παπαδοπούλου',
|
|
16
|
+
actions: ['Ανάθεση']
|
|
17
|
+
}, {
|
|
18
|
+
name: 'Κωδικός επαλήθευσης',
|
|
19
|
+
value: '637283494'
|
|
20
|
+
}, {
|
|
21
|
+
name: 'Κατάσταση',
|
|
22
|
+
value: 'Εισερχόμενη',
|
|
23
|
+
actions: ['Αλλαγή']
|
|
24
|
+
}]
|
|
25
|
+
}, {
|
|
26
|
+
title: 'Συμπληρωματικά έγγραφα ',
|
|
27
|
+
codename: '(MORE-DOCS)',
|
|
28
|
+
date: '5 Απριλίου 2023, 8:32π.μ.',
|
|
29
|
+
details: [{
|
|
30
|
+
name: 'Ημερομηνία',
|
|
31
|
+
value: '7 Απριλίου 2023, 12:32μ.μ.'
|
|
32
|
+
}, {
|
|
33
|
+
name: 'Χειριστής',
|
|
34
|
+
value: 'Μαρία Φλούπη',
|
|
35
|
+
actions: ['Ανάθεση']
|
|
36
|
+
}, {
|
|
37
|
+
name: 'Κωδικός επαλήθευσης',
|
|
38
|
+
value: '637283494'
|
|
39
|
+
}, {
|
|
40
|
+
name: 'Κατάσταση',
|
|
41
|
+
value: 'Εισερχόμενη',
|
|
42
|
+
actions: ['Αλλαγή']
|
|
43
|
+
}]
|
|
44
|
+
}, {
|
|
45
|
+
title: 'Αίτηση για συμπληρωματικά έγγραφα',
|
|
46
|
+
codename: '(MORE-DOCS-REQUEST)',
|
|
47
|
+
date: '5 Απριλίου 2023, 8:32π.μ.',
|
|
48
|
+
details: [{
|
|
49
|
+
name: 'Ημερομηνία',
|
|
50
|
+
value: '5 Απριλίου 2023, 8:32π.μ.'
|
|
51
|
+
}, {
|
|
52
|
+
name: 'Χειριστής',
|
|
53
|
+
value: 'Μαρία Φλούπη',
|
|
54
|
+
actions: ['Ανάθεση']
|
|
55
|
+
}, {
|
|
56
|
+
name: 'Κωδικός επαλήθευσης',
|
|
57
|
+
value: '974256'
|
|
58
|
+
}, {
|
|
59
|
+
name: 'Κατάσταση',
|
|
60
|
+
value: 'Εισερχόμενη',
|
|
61
|
+
actions: ['Αλλαγή']
|
|
62
|
+
}]
|
|
63
|
+
}, {
|
|
64
|
+
title: 'Αίτηση Βεβαίωσης Μόνιμης Κατοικίας',
|
|
65
|
+
codename: '(PERMRES-FOREIS)',
|
|
66
|
+
date: '3 Απριλίου 2023, 5:42μ.μ.',
|
|
67
|
+
actions: [{
|
|
68
|
+
label: 'Απάντηση'
|
|
69
|
+
}, {
|
|
70
|
+
label: 'Αίτημα για συμπληρωματικά έγγραφα'
|
|
71
|
+
}],
|
|
72
|
+
details: [{
|
|
73
|
+
name: 'Ημερομηνία',
|
|
74
|
+
value: '3 Απριλίου 2023, 5:42μ.μ.'
|
|
75
|
+
}, {
|
|
76
|
+
name: 'Χειριστής',
|
|
77
|
+
value: 'Μαρία Φλούπη',
|
|
78
|
+
actions: ['Ανάθεση']
|
|
79
|
+
}, {
|
|
80
|
+
name: 'Κωδικός επαλήθευσης',
|
|
81
|
+
value: '475747'
|
|
82
|
+
}, {
|
|
83
|
+
name: 'Κατάσταση',
|
|
84
|
+
value: 'Εισερχόμενη',
|
|
85
|
+
actions: ['Αλλαγή']
|
|
86
|
+
}]
|
|
87
|
+
}];
|
|
88
|
+
|
|
89
|
+
var _ref = /*#__PURE__*/React.createElement(Button, {
|
|
90
|
+
color: "secondary",
|
|
91
|
+
variant: "link"
|
|
92
|
+
}, "\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5");
|
|
93
|
+
|
|
94
|
+
var _ref2 = /*#__PURE__*/React.createElement(Button, {
|
|
95
|
+
color: "secondary",
|
|
96
|
+
variant: "link"
|
|
97
|
+
}, "\u039B\u03AE\u03C8\u03B7 PDF");
|
|
98
|
+
|
|
99
|
+
export var Dense = function Dense() {
|
|
100
|
+
return /*#__PURE__*/React.createElement(Timeline, {
|
|
101
|
+
dense: true
|
|
102
|
+
}, data && data.map(function (field, index) {
|
|
103
|
+
return /*#__PURE__*/React.createElement(TimelineItem, {
|
|
104
|
+
key: index
|
|
105
|
+
}, /*#__PURE__*/React.createElement(TimelineHeading, {
|
|
106
|
+
size: "md"
|
|
107
|
+
}, field.title, field.codename && /*#__PURE__*/React.createElement(React.Fragment, null, ' - ', " ", field.codename)), /*#__PURE__*/React.createElement(Hint, null, field.date), /*#__PURE__*/React.createElement(TimelineContent, null, field.details && /*#__PURE__*/React.createElement(SummaryList, null, field.details.map(function (field, index) {
|
|
108
|
+
return /*#__PURE__*/React.createElement(SummaryListItem, {
|
|
109
|
+
key: index
|
|
110
|
+
}, /*#__PURE__*/React.createElement(SummaryListItemKey, null, field.name), /*#__PURE__*/React.createElement(SummaryListItemValue, null, field.value), field.actions && /*#__PURE__*/React.createElement(SummaryListItemAction, null, /*#__PURE__*/React.createElement(ButtonGroup, null, field.actions && field.actions.map(function (action, subIndex) {
|
|
111
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
112
|
+
key: subIndex,
|
|
113
|
+
variant: "link"
|
|
114
|
+
}, action);
|
|
115
|
+
}))));
|
|
116
|
+
}))), /*#__PURE__*/React.createElement(TimelineActions, null, /*#__PURE__*/React.createElement(ButtonGroup, null, (field.actions || []).map(function (action, subIndex) {
|
|
117
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
118
|
+
key: subIndex,
|
|
119
|
+
variant: "link"
|
|
120
|
+
}, action.label);
|
|
121
|
+
}), _ref, _ref2)));
|
|
122
|
+
}));
|
|
123
|
+
};
|
|
124
|
+
export default Dense;
|
|
@@ -9,4 +9,5 @@ export default {
|
|
|
9
9
|
export * from '@digigov/ui/feedback/ErrorSummary/__stories__/Default';
|
|
10
10
|
export * from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToInput';
|
|
11
11
|
export * from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToField';
|
|
12
|
-
export * from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToCheckbox';
|
|
12
|
+
export * from '@digigov/ui/feedback/ErrorSummary/__stories__/LinkedToCheckbox';
|
|
13
|
+
export * from '@digigov/ui/feedback/ErrorSummary/__stories__/WithBackLinkAndButton';
|
|
@@ -6,6 +6,7 @@ import { FieldContainer, Fieldset, FieldsetLegend } from '@digigov/ui/form/Field
|
|
|
6
6
|
import { Link } from '@digigov/ui/navigation/Link';
|
|
7
7
|
import { Heading } from '@digigov/ui/typography/Heading';
|
|
8
8
|
import { VisuallyHidden } from '@digigov/ui/utils/VisuallyHidden';
|
|
9
|
+
import { Hint } from '@digigov/ui/typography/Hint';
|
|
9
10
|
|
|
10
11
|
var _ref = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ErrorSummary, null, /*#__PURE__*/React.createElement(Heading, {
|
|
11
12
|
size: "sm"
|
|
@@ -13,7 +14,7 @@ var _ref = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.crea
|
|
|
13
14
|
href: "#england"
|
|
14
15
|
}, "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03BC\u03AF\u03B1 \u03AE \u03C0\u03B1\u03C1\u03B1\u03C0\u03AC\u03BD\u03C9 \u03C7\u03CE\u03C1\u03B5\u03C2.")), /*#__PURE__*/React.createElement(FieldContainer, {
|
|
15
16
|
error: true
|
|
16
|
-
}, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u0398\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03B5\u03C4\u03B5 \u03C3\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2;"), /*#__PURE__*/React.createElement(ErrorMessage, null, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), " \u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03BC\u03AF\u03B1 \u03AE \u03C0\u03B1\u03C1\u03B1\u03C0\u03AC\u03BD\u03C9 \u03C7\u03CE\u03C1\u03B5\u03C2."), /*#__PURE__*/React.createElement(Checkbox, null, /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
17
|
+
}, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u0398\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03B5\u03C4\u03B5 \u03C3\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2;"), /*#__PURE__*/React.createElement(Hint, null, "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BC\u03B1\u03C2 \u03C3\u03C7\u03B5\u03C4\u03B9\u03BA\u03AC \u03BC\u03B5 \u03C0\u03C1\u03CC\u03C3\u03C6\u03B1\u03C4\u03B5\u03C2 \u03B1\u03BB\u03BB\u03B1\u03B3\u03AD\u03C2. \u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03CC,\u03C4\u03B9 \u03B9\u03C3\u03C7\u03CD\u03B5\u03B9."), /*#__PURE__*/React.createElement(ErrorMessage, null, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), " \u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03BC\u03AF\u03B1 \u03AE \u03C0\u03B1\u03C1\u03B1\u03C0\u03AC\u03BD\u03C9 \u03C7\u03CE\u03C1\u03B5\u03C2."), /*#__PURE__*/React.createElement(Checkbox, null, /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
17
18
|
name: "england",
|
|
18
19
|
value: "\u0391\u03B3\u03B3\u03BB\u03AF\u03B1",
|
|
19
20
|
id: "england"
|
|
@@ -12,10 +12,10 @@ var _ref = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.crea
|
|
|
12
12
|
size: "sm"
|
|
13
13
|
}, "\u03A5\u03C0\u03AE\u03C1\u03BE\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03C0\u03C1\u03CC\u03B2\u03BB\u03B7\u03BC\u03B1"), /*#__PURE__*/React.createElement(Link, {
|
|
14
14
|
href: "#passport-date"
|
|
15
|
-
}, "\
|
|
15
|
+
}, "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C3\u03C5\u03BC\u03C0\u03BB\u03B7\u03C1\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03BF \u03AD\u03C4\u03BF\u03C2.")), /*#__PURE__*/React.createElement(FieldContainer, {
|
|
16
16
|
error: true,
|
|
17
17
|
id: "passport-date"
|
|
18
|
-
}, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u03A0\
|
|
18
|
+
}, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u03A0\u03BF\u03B9\u03AC \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B3\u03AD\u03BD\u03BD\u03B7\u03C3\u03AE\u03C2 \u03C3\u03B1\u03C2;"), /*#__PURE__*/React.createElement(Hint, null, "\u0393\u03B9\u03B1 \u03C0\u03B1\u03C1\u03AC\u03B4\u03B5\u03B9\u03B3\u03BC\u03B1, 05 11 2020"), /*#__PURE__*/React.createElement(ErrorMessage, null, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), "\u0397 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B3\u03AD\u03BD\u03BD\u03B7\u03C3\u03B7\u03C2 \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03AD\u03C4\u03BF\u03C2."), /*#__PURE__*/React.createElement(DateInputContainer, null, /*#__PURE__*/React.createElement(DateInputItem, {
|
|
19
19
|
name: "day"
|
|
20
20
|
}, "\u0397\u03BC\u03AD\u03C1\u03B1"), /*#__PURE__*/React.createElement(DateInputItem, {
|
|
21
21
|
name: "month"
|
|
@@ -23,7 +23,7 @@ var _ref = /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.crea
|
|
|
23
23
|
error: true,
|
|
24
24
|
width: 4,
|
|
25
25
|
name: "year"
|
|
26
|
-
}, "\
|
|
26
|
+
}, "\u0388\u03C4\u03BF\u03C2")))));
|
|
27
27
|
|
|
28
28
|
export var LinkedToField = function LinkedToField() {
|
|
29
29
|
return _ref;
|