@digigov/ui 1.0.0-6b93ebf2 → 1.0.0-88820b1e
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/CloseButton/index.d.ts +3 -0
- package/app/CloseButton/index.js +30 -0
- package/app/{FilterSection → FilterContainer}/index.d.ts +4 -5
- package/app/{FilterSection → FilterContainer}/index.js +9 -23
- package/app/Footer/Footer.stories.playwright.json +2 -2
- package/app/Footer/__stories__/DefaultCopyright.js +10 -7
- package/app/Footer/__stories__/FooterAllInclusive.js +22 -15
- package/app/Footer/__stories__/FooterWithLink.js +14 -11
- package/app/Footer/__stories__/FooterWithLogo.js +10 -8
- package/app/Footer/__stories__/FooterWithSecondaryNavigation.js +18 -13
- package/app/Footer/__stories__/YearCopyright.js +8 -5
- package/app/Footer/index.d.ts +3 -5
- package/app/Footer/index.js +12 -40
- package/app/Footer/index.mdx +4 -20
- package/app/Header/Header.stories.playwright.json +1 -1
- package/app/Header/__stories__/Default.js +1 -1
- package/app/Header/__stories__/WithHeaderNavigation.js +5 -5
- package/app/Header/__stories__/WithNavigation.js +1 -1
- package/app/Header/__stories__/WithServiceName.js +1 -1
- package/app/Header/__stories__/WithServiceNameAndLogo.js +1 -1
- package/app/Header/index.mdx +4 -21
- package/app/Header/index.spec.js +1 -1
- package/app/Modal/__stories__/Default.js +1 -1
- package/app/Modal/index.mdx +1 -5
- package/app/NotFound/index.js +5 -9
- package/app/PageTitleContainer/index.d.ts +5 -0
- package/app/PageTitleContainer/index.js +58 -0
- package/app/Panel/index.mdx +1 -5
- package/app/PhaseBannerHeader/index.js +2 -2
- package/app/PhaseBannerHeader/index.mdx +1 -5
- package/app/QrCodeViewer/index.mdx +2 -10
- package/app/index.d.ts +2 -3
- package/app/index.js +8 -8
- package/content/Accordion/index.d.ts +1 -1
- package/content/Accordion/index.mdx +2 -10
- package/content/Blockquote/index.mdx +1 -5
- package/content/Card/index.mdx +8 -40
- package/content/Chip/__stories__/GroupOfChips.js +1 -1
- package/content/Chip/index.d.ts +1 -2
- package/content/Chip/index.js +4 -18
- package/content/Chip/index.mdx +39 -0
- package/content/Details/index.mdx +1 -5
- package/content/List/__stories__/HorizontalList.js +1 -1
- package/content/List/__stories__/WithExtraSpace.js +1 -1
- package/content/List/index.mdx +3 -15
- package/content/StepNav/__stories__/Default.js +3 -5
- package/content/StepNav/__stories__/WithHints.js +2 -4
- package/content/StepNav/index.mdx +21 -0
- package/content/SummaryList/index.mdx +3 -15
- package/content/Table/__stories__/DefinedWidth.js +3 -3
- package/content/Table/index.js +4 -4
- package/content/TaskList/__stories__/Default.js +5 -5
- package/content/TaskList/index.mdx +21 -0
- package/content/Timeline/__stories__/Default.js +2 -2
- package/content/Timeline/index.mdx +23 -0
- package/es/app/CloseButton/index.js +3 -0
- package/{esm/app/FilterSection → es/app/FilterContainer}/index.js +4 -5
- package/es/app/Footer/Footer.stories.playwright.json +2 -2
- package/es/app/Footer/__stories__/DefaultCopyright.js +11 -9
- package/es/app/Footer/__stories__/FooterAllInclusive.js +19 -13
- package/es/app/Footer/__stories__/FooterWithLink.js +13 -11
- package/es/app/Footer/__stories__/FooterWithLogo.js +9 -8
- package/es/app/Footer/__stories__/FooterWithSecondaryNavigation.js +16 -12
- package/es/app/Footer/__stories__/YearCopyright.js +9 -7
- package/es/app/Footer/index.js +3 -5
- package/es/app/Footer/index.mdx +4 -20
- package/es/app/Header/Header.stories.playwright.json +1 -1
- package/es/app/Header/__stories__/Default.js +1 -1
- package/es/app/Header/__stories__/WithHeaderNavigation.js +5 -5
- package/es/app/Header/__stories__/WithNavigation.js +1 -1
- package/es/app/Header/__stories__/WithServiceName.js +1 -1
- package/es/app/Header/__stories__/WithServiceNameAndLogo.js +1 -1
- package/es/app/Header/index.mdx +4 -21
- package/es/app/Header/index.spec.js +2 -2
- package/es/app/Modal/__stories__/Default.js +1 -1
- package/es/app/Modal/index.mdx +1 -5
- package/es/app/NotFound/index.js +4 -3
- package/es/app/PageTitleContainer/index.js +5 -0
- package/es/app/Panel/index.mdx +1 -5
- package/es/app/PhaseBannerHeader/index.js +2 -2
- package/es/app/PhaseBannerHeader/index.mdx +1 -5
- package/es/app/QrCodeViewer/index.mdx +2 -10
- package/es/app/index.js +3 -4
- package/es/content/Accordion/index.mdx +2 -10
- package/es/content/Blockquote/index.mdx +1 -5
- package/es/content/Card/index.mdx +8 -40
- package/es/content/Chip/__stories__/GroupOfChips.js +2 -2
- package/es/content/Chip/index.js +1 -2
- package/es/content/Chip/index.mdx +39 -0
- package/es/content/Details/index.mdx +1 -5
- package/es/content/List/__stories__/HorizontalList.js +1 -1
- package/es/content/List/__stories__/WithExtraSpace.js +1 -1
- package/es/content/List/index.mdx +3 -15
- package/es/content/StepNav/__stories__/Default.js +3 -5
- package/es/content/StepNav/__stories__/WithHints.js +2 -4
- package/es/content/StepNav/index.mdx +21 -0
- package/es/content/SummaryList/index.mdx +3 -15
- package/es/content/Table/__stories__/DefinedWidth.js +3 -3
- package/es/content/Table/index.js +4 -4
- package/es/content/TaskList/__stories__/Default.js +5 -5
- package/es/content/TaskList/index.mdx +21 -0
- package/es/content/Timeline/__stories__/Default.js +2 -2
- package/es/content/Timeline/index.mdx +23 -0
- package/es/feedback/CopyToClipboard/index.mdx +2 -10
- package/es/feedback/ErrorSummary/index.mdx +4 -20
- package/es/feedback/NotificationBanner/index.mdx +2 -10
- package/es/feedback/PhaseBanner/index.mdx +2 -10
- package/es/feedback/WarningText/WarningText.stories.js +2 -1
- package/es/feedback/WarningText/__stories__/AssistiveText.js +11 -0
- package/es/feedback/WarningText/index.mdx +1 -5
- package/es/form/AutoComplete/__stories__/Default.js +1 -1
- package/es/form/AutoComplete/index.js +10 -5
- package/es/form/AutoComplete/index.mdx +7 -35
- package/es/form/Button/index.mdx +4 -20
- package/es/form/Checkbox/__stories__/ConditionalReveal.js +1 -1
- package/es/form/Checkbox/index.mdx +7 -35
- package/es/form/DateInputContainer/index.mdx +4 -20
- package/es/form/ErrorMessage/index.mdx +1 -5
- package/es/form/FileUpload/index.mdx +1 -5
- package/es/form/RadioContainer/__stories__/ConditionalReveal.js +1 -1
- package/es/form/RadioContainer/index.mdx +7 -35
- package/es/form/SearchContainer/index.js +5 -0
- package/es/form/SelectContainer/__stories__/Default.js +4 -4
- package/es/form/SelectContainer/index.mdx +3 -15
- package/es/form/SingleCharacterInputs/SingleCharacterInput.stories.js +12 -0
- package/es/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/Default.js +13 -13
- package/{esm/form/SingleCharacterInputContainer → es/form/SingleCharacterInputs}/__stories__/WithDefaultError.js +7 -7
- package/{esm/form/SingleCharacterInputContainer → es/form/SingleCharacterInputs}/__stories__/WithErrorMessageInvalidCode.js +14 -14
- package/{esm/form/SingleCharacterInputContainer → es/form/SingleCharacterInputs}/__stories__/WithErrorMessageLessDigit.js +11 -11
- package/es/form/SingleCharacterInputs/index.js +4 -0
- package/es/form/SingleCharacterInputs/index.mdx +24 -0
- package/es/form/TextArea/index.mdx +7 -35
- package/es/form/TextInput/__stories__/FixedWidths.js +6 -6
- package/es/form/TextInput/__stories__/FluidWidths.js +6 -6
- package/es/form/TextInput/index.mdx +8 -40
- package/es/form/index.js +2 -2
- package/es/govgr/Footer/index.js +4 -4
- package/es/layouts/Admin/index.js +1 -1
- package/es/layouts/Basic/__snapshots__/index.spec.tsx.snap +2 -2
- package/es/layouts/Section/index.js +3 -0
- package/es/layouts/Stack/Stack.stories.js +12 -0
- package/es/layouts/Stack/__stories__/AlignItems.js +67 -0
- package/es/layouts/Stack/__stories__/Default.js +24 -0
- package/es/layouts/Stack/__stories__/JustifyContent.js +84 -0
- package/es/layouts/Stack/__stories__/NoWrap.js +26 -0
- package/es/layouts/Stack/__stories__/Row.js +25 -0
- package/es/layouts/Stack/__stories__/Spacing.js +55 -0
- package/es/layouts/Stack/index.js +2 -0
- package/es/layouts/index.js +3 -1
- package/es/navigation/BackLink/index.mdx +1 -5
- package/es/navigation/Breadcrumbs/index.mdx +1 -5
- package/es/navigation/Drawer/index.mdx +1 -5
- package/es/navigation/Dropdown/index.js +0 -1
- package/es/navigation/Dropdown/index.mdx +3 -15
- package/es/navigation/Link/index.mdx +5 -25
- package/es/navigation/NavList/index.mdx +2 -10
- package/es/navigation/Pagination/__stories__/Default.js +2 -2
- package/es/navigation/Pagination/__stories__/PaginationSmall.js +1 -1
- package/es/navigation/Pagination/__stories__/PaginationWithSmallFont.js +1 -1
- package/es/navigation/Pagination/__stories__/WithInactiveValues.js +2 -2
- package/es/navigation/Pagination/index.mdx +7 -14
- package/es/navigation/SkipLink/SkipLink.stories.js +8 -0
- package/es/navigation/SkipLink/__stories__/Default.js +12 -0
- package/es/navigation/Tabs/Tabs.stories.playwright.json +2 -2
- package/es/navigation/Tabs/__stories__/Default.js +9 -5
- package/es/navigation/Tabs/index.js +1 -1
- package/es/navigation/Tabs/index.mdx +1 -5
- package/es/registry.js +20 -10
- package/es/typography/Heading/__stories__/Default.js +9 -4
- package/es/typography/Heading/index.mdx +1 -5
- package/es/typography/HeadingCaption/index.mdx +1 -5
- package/es/typography/Hint/__stories__/FontSizes.js +3 -3
- package/es/typography/Hint/index.mdx +1 -5
- package/es/typography/NormalText/__stories__/FontSizes.js +7 -7
- package/es/typography/NormalText/__stories__/Variants.js +4 -4
- package/es/typography/NormalText/index.mdx +3 -15
- package/es/typography/Paragraph/__stories__/FontSizes.js +7 -7
- package/es/typography/Paragraph/__stories__/LeadVariant.js +1 -1
- package/es/typography/Paragraph/__stories__/SmallVariant.js +1 -1
- package/es/typography/Paragraph/index.mdx +4 -20
- package/es/utils/Kitchensink/KitchensinkDashboard.js +1 -1
- package/esm/app/CloseButton/index.js +3 -0
- package/{es/app/FilterSection → esm/app/FilterContainer}/index.js +4 -5
- package/esm/app/Footer/Footer.stories.playwright.json +2 -2
- package/esm/app/Footer/__stories__/DefaultCopyright.js +11 -9
- package/esm/app/Footer/__stories__/FooterAllInclusive.js +19 -13
- package/esm/app/Footer/__stories__/FooterWithLink.js +13 -11
- package/esm/app/Footer/__stories__/FooterWithLogo.js +9 -8
- package/esm/app/Footer/__stories__/FooterWithSecondaryNavigation.js +16 -12
- package/esm/app/Footer/__stories__/YearCopyright.js +9 -7
- package/esm/app/Footer/index.js +3 -5
- package/esm/app/Footer/index.mdx +4 -20
- package/esm/app/Header/Header.stories.playwright.json +1 -1
- package/esm/app/Header/__stories__/Default.js +1 -1
- package/esm/app/Header/__stories__/WithHeaderNavigation.js +5 -5
- package/esm/app/Header/__stories__/WithNavigation.js +1 -1
- package/esm/app/Header/__stories__/WithServiceName.js +1 -1
- package/esm/app/Header/__stories__/WithServiceNameAndLogo.js +1 -1
- package/esm/app/Header/index.mdx +4 -21
- package/esm/app/Header/index.spec.js +2 -2
- package/esm/app/Modal/__stories__/Default.js +1 -1
- package/esm/app/Modal/index.mdx +1 -5
- package/esm/app/NotFound/index.js +4 -3
- package/esm/app/PageTitleContainer/index.js +5 -0
- package/esm/app/Panel/index.mdx +1 -5
- package/esm/app/PhaseBannerHeader/index.js +2 -2
- package/esm/app/PhaseBannerHeader/index.mdx +1 -5
- package/esm/app/QrCodeViewer/index.mdx +2 -10
- package/esm/app/index.js +3 -4
- package/esm/content/Accordion/index.mdx +2 -10
- package/esm/content/Blockquote/index.mdx +1 -5
- package/esm/content/Card/index.mdx +8 -40
- package/esm/content/Chip/__stories__/GroupOfChips.js +2 -2
- package/esm/content/Chip/index.js +1 -2
- package/esm/content/Chip/index.mdx +39 -0
- package/esm/content/Details/index.mdx +1 -5
- package/esm/content/List/__stories__/HorizontalList.js +1 -1
- package/esm/content/List/__stories__/WithExtraSpace.js +1 -1
- package/esm/content/List/index.mdx +3 -15
- package/esm/content/StepNav/__stories__/Default.js +3 -5
- package/esm/content/StepNav/__stories__/WithHints.js +2 -4
- package/esm/content/StepNav/index.mdx +21 -0
- package/esm/content/SummaryList/index.mdx +3 -15
- package/esm/content/Table/__stories__/DefinedWidth.js +3 -3
- package/esm/content/Table/index.js +4 -4
- package/esm/content/TaskList/__stories__/Default.js +5 -5
- package/esm/content/TaskList/index.mdx +21 -0
- package/esm/content/Timeline/__stories__/Default.js +2 -2
- package/esm/content/Timeline/index.mdx +23 -0
- package/esm/feedback/CopyToClipboard/index.mdx +2 -10
- package/esm/feedback/ErrorSummary/index.mdx +4 -20
- package/esm/feedback/NotificationBanner/index.mdx +2 -10
- package/esm/feedback/PhaseBanner/index.mdx +2 -10
- package/esm/feedback/WarningText/WarningText.stories.js +2 -1
- package/esm/feedback/WarningText/__stories__/AssistiveText.js +11 -0
- package/esm/feedback/WarningText/index.mdx +1 -5
- package/esm/form/AutoComplete/__stories__/Default.js +1 -1
- package/esm/form/AutoComplete/index.js +10 -5
- package/esm/form/AutoComplete/index.mdx +7 -35
- package/esm/form/Button/index.mdx +4 -20
- package/esm/form/Checkbox/__stories__/ConditionalReveal.js +1 -1
- package/esm/form/Checkbox/index.mdx +7 -35
- package/esm/form/DateInputContainer/index.mdx +4 -20
- package/esm/form/ErrorMessage/index.mdx +1 -5
- package/esm/form/FileUpload/index.mdx +1 -5
- package/esm/form/RadioContainer/__stories__/ConditionalReveal.js +1 -1
- package/esm/form/RadioContainer/index.mdx +7 -35
- package/esm/form/SearchContainer/index.js +5 -0
- package/esm/form/SelectContainer/__stories__/Default.js +4 -4
- package/esm/form/SelectContainer/index.mdx +3 -15
- package/esm/form/SingleCharacterInputs/SingleCharacterInput.stories.js +12 -0
- package/esm/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/Default.js +13 -13
- package/{es/form/SingleCharacterInputContainer → esm/form/SingleCharacterInputs}/__stories__/WithDefaultError.js +7 -7
- package/{es/form/SingleCharacterInputContainer → esm/form/SingleCharacterInputs}/__stories__/WithErrorMessageInvalidCode.js +14 -14
- package/{es/form/SingleCharacterInputContainer → esm/form/SingleCharacterInputs}/__stories__/WithErrorMessageLessDigit.js +11 -11
- package/esm/form/SingleCharacterInputs/index.js +4 -0
- package/esm/form/SingleCharacterInputs/index.mdx +24 -0
- package/esm/form/TextArea/index.mdx +7 -35
- package/esm/form/TextInput/__stories__/FixedWidths.js +6 -6
- package/esm/form/TextInput/__stories__/FluidWidths.js +6 -6
- package/esm/form/TextInput/index.mdx +8 -40
- package/esm/form/index.js +2 -2
- package/esm/govgr/Footer/index.js +4 -4
- package/esm/index.js +1 -1
- package/esm/layouts/Admin/index.js +1 -1
- package/esm/layouts/Basic/__snapshots__/index.spec.tsx.snap +2 -2
- package/esm/layouts/Section/index.js +3 -0
- package/esm/layouts/Stack/Stack.stories.js +12 -0
- package/esm/layouts/Stack/__stories__/AlignItems.js +67 -0
- package/esm/layouts/Stack/__stories__/Default.js +24 -0
- package/esm/layouts/Stack/__stories__/JustifyContent.js +84 -0
- package/esm/layouts/Stack/__stories__/NoWrap.js +26 -0
- package/esm/layouts/Stack/__stories__/Row.js +25 -0
- package/esm/layouts/Stack/__stories__/Spacing.js +55 -0
- package/esm/layouts/Stack/index.js +2 -0
- package/esm/layouts/index.js +3 -1
- package/esm/navigation/BackLink/index.mdx +1 -5
- package/esm/navigation/Breadcrumbs/index.mdx +1 -5
- package/esm/navigation/Drawer/index.mdx +1 -5
- package/esm/navigation/Dropdown/index.js +0 -1
- package/esm/navigation/Dropdown/index.mdx +3 -15
- package/esm/navigation/Link/index.mdx +5 -25
- package/esm/navigation/NavList/index.mdx +2 -10
- package/esm/navigation/Pagination/__stories__/Default.js +2 -2
- package/esm/navigation/Pagination/__stories__/PaginationSmall.js +1 -1
- package/esm/navigation/Pagination/__stories__/PaginationWithSmallFont.js +1 -1
- package/esm/navigation/Pagination/__stories__/WithInactiveValues.js +2 -2
- package/esm/navigation/Pagination/index.mdx +7 -14
- package/esm/navigation/SkipLink/SkipLink.stories.js +8 -0
- package/esm/navigation/SkipLink/__stories__/Default.js +12 -0
- package/esm/navigation/Tabs/Tabs.stories.playwright.json +2 -2
- package/esm/navigation/Tabs/__stories__/Default.js +9 -5
- package/esm/navigation/Tabs/index.js +1 -1
- package/esm/navigation/Tabs/index.mdx +1 -5
- package/esm/registry.js +20 -10
- package/esm/typography/Heading/__stories__/Default.js +9 -4
- package/esm/typography/Heading/index.mdx +1 -5
- package/esm/typography/HeadingCaption/index.mdx +1 -5
- package/esm/typography/Hint/__stories__/FontSizes.js +3 -3
- package/esm/typography/Hint/index.mdx +1 -5
- package/esm/typography/NormalText/__stories__/FontSizes.js +7 -7
- package/esm/typography/NormalText/__stories__/Variants.js +4 -4
- package/esm/typography/NormalText/index.mdx +3 -15
- package/esm/typography/Paragraph/__stories__/FontSizes.js +7 -7
- package/esm/typography/Paragraph/__stories__/LeadVariant.js +1 -1
- package/esm/typography/Paragraph/__stories__/SmallVariant.js +1 -1
- package/esm/typography/Paragraph/index.mdx +4 -20
- package/esm/utils/Kitchensink/KitchensinkDashboard.js +1 -1
- package/feedback/CopyToClipboard/index.mdx +2 -10
- package/feedback/ErrorSummary/index.mdx +4 -20
- package/feedback/NotificationBanner/index.mdx +2 -10
- package/feedback/PhaseBanner/index.mdx +2 -10
- package/feedback/WarningText/WarningText.stories.d.ts +1 -0
- package/feedback/WarningText/WarningText.stories.js +14 -0
- package/feedback/WarningText/__stories__/AssistiveText.d.ts +2 -0
- package/feedback/WarningText/__stories__/AssistiveText.js +24 -0
- package/feedback/WarningText/index.mdx +1 -5
- package/form/AutoComplete/__stories__/Default.js +1 -1
- package/form/AutoComplete/index.d.ts +3 -3
- package/form/AutoComplete/index.js +11 -6
- package/form/AutoComplete/index.mdx +7 -35
- package/form/Button/index.mdx +4 -20
- package/form/Checkbox/__stories__/ConditionalReveal.js +1 -1
- package/form/Checkbox/index.mdx +7 -35
- package/form/DateInputContainer/index.mdx +4 -20
- package/form/ErrorMessage/index.mdx +1 -5
- package/form/FileUpload/index.mdx +1 -5
- package/form/RadioContainer/__stories__/ConditionalReveal.js +1 -1
- package/form/RadioContainer/index.mdx +7 -35
- package/form/SearchContainer/index.d.ts +5 -0
- package/form/{SearchSection → SearchContainer}/index.js +5 -5
- package/form/SelectContainer/__stories__/Default.js +4 -4
- package/form/SelectContainer/index.mdx +3 -15
- package/form/SingleCharacterInputs/SingleCharacterInput.stories.d.ts +13 -0
- package/form/{SingleCharacterInputContainer/SingleCharacterInputContainer.stories.js → SingleCharacterInputs/SingleCharacterInput.stories.js} +8 -8
- package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/Default.js +13 -13
- package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithDefaultError.js +7 -7
- package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageInvalidCode.js +14 -14
- package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageLessDigit.js +11 -11
- package/form/SingleCharacterInputs/index.d.ts +4 -0
- package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/index.js +9 -9
- package/form/SingleCharacterInputs/index.mdx +24 -0
- package/form/TextArea/index.mdx +7 -35
- package/form/TextInput/__stories__/FixedWidths.js +6 -6
- package/form/TextInput/__stories__/FluidWidths.js +6 -6
- package/form/TextInput/index.mdx +8 -40
- package/form/index.d.ts +2 -2
- package/form/index.js +8 -8
- package/govgr/Footer/index.js +4 -4
- package/layouts/Admin/index.d.ts +1 -1
- package/layouts/Admin/index.js +4 -4
- package/layouts/Basic/__snapshots__/index.spec.tsx.snap +2 -2
- package/layouts/Section/index.d.ts +3 -0
- package/{app/PageTitle → layouts/Section}/index.js +1 -23
- package/layouts/Stack/Stack.stories.d.ts +13 -0
- package/layouts/Stack/Stack.stories.js +101 -0
- package/layouts/Stack/__stories__/AlignItems.d.ts +2 -0
- package/layouts/Stack/__stories__/AlignItems.js +81 -0
- package/layouts/Stack/__stories__/Default.d.ts +2 -0
- package/layouts/Stack/__stories__/Default.js +38 -0
- package/layouts/Stack/__stories__/JustifyContent.d.ts +2 -0
- package/layouts/Stack/__stories__/JustifyContent.js +98 -0
- package/layouts/Stack/__stories__/NoWrap.d.ts +2 -0
- package/layouts/Stack/__stories__/NoWrap.js +40 -0
- package/layouts/Stack/__stories__/Row.d.ts +2 -0
- package/layouts/Stack/__stories__/Row.js +39 -0
- package/layouts/Stack/__stories__/Spacing.d.ts +2 -0
- package/layouts/Stack/__stories__/Spacing.js +69 -0
- package/layouts/Stack/index.d.ts +2 -0
- package/layouts/Stack/index.js +13 -0
- package/layouts/index.d.ts +2 -0
- package/layouts/index.js +21 -0
- package/navigation/BackLink/index.mdx +1 -5
- package/navigation/Breadcrumbs/index.mdx +1 -5
- package/navigation/Drawer/index.mdx +1 -5
- package/navigation/Dropdown/index.d.ts +0 -1
- package/navigation/Dropdown/index.js +0 -14
- package/navigation/Dropdown/index.mdx +3 -15
- package/navigation/Link/index.mdx +5 -25
- package/navigation/NavList/index.mdx +2 -10
- package/navigation/Pagination/__stories__/Default.js +2 -2
- package/navigation/Pagination/__stories__/PaginationSmall.js +1 -1
- package/navigation/Pagination/__stories__/PaginationWithSmallFont.js +1 -1
- package/navigation/Pagination/__stories__/WithInactiveValues.js +2 -2
- package/navigation/Pagination/index.mdx +7 -14
- package/navigation/SkipLink/SkipLink.stories.d.ts +9 -0
- package/navigation/SkipLink/SkipLink.stories.js +32 -0
- package/navigation/SkipLink/__stories__/Default.d.ts +2 -0
- package/navigation/SkipLink/__stories__/Default.js +26 -0
- package/navigation/Tabs/Tabs.stories.playwright.json +2 -2
- package/navigation/Tabs/__stories__/Default.js +8 -4
- package/navigation/Tabs/index.js +1 -1
- package/navigation/Tabs/index.mdx +1 -5
- package/package.json +3 -3
- package/registry.d.ts +13 -6
- package/registry.js +25 -10
- package/src/app/CloseButton/index.tsx +4 -0
- package/src/app/{FilterSection → FilterContainer}/index.tsx +4 -5
- package/src/app/Footer/Footer.stories.playwright.json +2 -2
- package/src/app/Footer/__stories__/DefaultCopyright.tsx +27 -25
- package/src/app/Footer/__stories__/FooterAllInclusive.tsx +98 -89
- package/src/app/Footer/__stories__/FooterWithLink.tsx +48 -40
- package/src/app/Footer/__stories__/FooterWithLogo.tsx +41 -33
- package/src/app/Footer/__stories__/FooterWithSecondaryNavigation.tsx +22 -20
- package/src/app/Footer/__stories__/YearCopyright.tsx +24 -23
- package/src/app/Footer/index.mdx +4 -20
- package/src/app/Footer/index.tsx +3 -5
- package/src/app/Header/Header.stories.playwright.json +1 -1
- package/src/app/Header/__stories__/Default.tsx +4 -4
- package/src/app/Header/__stories__/WithHeaderNavigation.tsx +34 -32
- package/src/app/Header/__stories__/WithNavigation.tsx +4 -4
- package/src/app/Header/__stories__/WithServiceName.tsx +4 -4
- package/src/app/Header/__stories__/WithServiceNameAndLogo.tsx +4 -4
- package/src/app/Header/index.mdx +4 -21
- package/src/app/Header/index.spec.tsx +6 -1
- package/src/app/Modal/__stories__/Default.tsx +1 -1
- package/src/app/Modal/index.mdx +1 -5
- package/src/app/NotFound/index.tsx +5 -4
- package/src/app/PageTitleContainer/index.tsx +5 -0
- package/src/app/Panel/index.mdx +1 -5
- package/src/app/PhaseBannerHeader/index.mdx +1 -5
- package/src/app/PhaseBannerHeader/index.tsx +3 -3
- package/src/app/QrCodeViewer/index.mdx +2 -10
- package/src/app/index.ts +2 -3
- package/src/content/Accordion/index.mdx +2 -10
- package/src/content/Blockquote/index.mdx +1 -5
- package/src/content/Card/index.mdx +8 -40
- package/src/content/Chip/__stories__/GroupOfChips.tsx +3 -3
- package/src/content/Chip/index.mdx +39 -0
- package/src/content/Chip/index.tsx +1 -2
- package/src/content/Details/index.mdx +1 -5
- package/src/content/List/__stories__/HorizontalList.tsx +1 -1
- package/src/content/List/__stories__/WithExtraSpace.tsx +1 -1
- package/src/content/List/index.mdx +3 -15
- package/src/content/StepNav/__stories__/Default.tsx +3 -4
- package/src/content/StepNav/__stories__/WithHints.tsx +4 -4
- package/src/content/StepNav/index.mdx +21 -0
- package/src/content/SummaryList/index.mdx +3 -15
- package/src/content/Table/__stories__/DefinedWidth.tsx +3 -3
- package/src/content/Table/index.tsx +4 -4
- package/src/content/TaskList/__stories__/Default.tsx +5 -5
- package/src/content/TaskList/index.mdx +21 -0
- package/src/content/Timeline/__stories__/Default.tsx +55 -57
- package/src/content/Timeline/index.mdx +23 -0
- package/src/feedback/CopyToClipboard/index.mdx +2 -10
- package/src/feedback/ErrorSummary/index.mdx +4 -20
- package/src/feedback/NotificationBanner/index.mdx +2 -10
- package/src/feedback/PhaseBanner/index.mdx +2 -10
- package/src/feedback/WarningText/WarningText.stories.js +1 -0
- package/src/feedback/WarningText/__stories__/AssistiveText.tsx +10 -0
- package/src/feedback/WarningText/index.mdx +1 -5
- package/src/form/AutoComplete/__stories__/Default.tsx +1 -1
- package/src/form/AutoComplete/index.mdx +7 -35
- package/src/form/AutoComplete/index.tsx +6 -12
- package/src/form/Button/index.mdx +4 -20
- package/src/form/Checkbox/__stories__/ConditionalReveal.tsx +1 -1
- package/src/form/Checkbox/index.mdx +7 -35
- package/src/form/DateInputContainer/index.mdx +4 -20
- package/src/form/ErrorMessage/index.mdx +1 -5
- package/src/form/FileUpload/index.mdx +1 -5
- package/src/form/RadioContainer/__stories__/ConditionalReveal.tsx +1 -1
- package/src/form/RadioContainer/index.mdx +7 -35
- package/src/form/SearchContainer/index.tsx +6 -0
- package/src/form/SelectContainer/__stories__/Default.tsx +4 -4
- package/src/form/SelectContainer/index.mdx +3 -15
- package/src/form/SingleCharacterInputs/SingleCharacterInput.stories.js +13 -0
- package/src/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/Default.tsx +11 -11
- package/src/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithDefaultError.tsx +11 -11
- package/src/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageInvalidCode.tsx +11 -11
- package/src/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageLessDigit.tsx +11 -11
- package/src/form/SingleCharacterInputs/index.mdx +24 -0
- package/src/form/SingleCharacterInputs/index.tsx +4 -0
- package/src/form/TextArea/index.mdx +7 -35
- package/src/form/TextInput/__stories__/FixedWidths.tsx +6 -6
- package/src/form/TextInput/__stories__/FluidWidths.tsx +6 -6
- package/src/form/TextInput/index.mdx +8 -40
- package/src/form/index.ts +2 -2
- package/src/govgr/Footer/index.tsx +8 -8
- package/src/layouts/Admin/index.tsx +1 -1
- package/src/layouts/Basic/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/layouts/Section/index.tsx +3 -0
- package/src/layouts/Stack/Stack.stories.js +12 -0
- package/src/layouts/Stack/__stories__/AlignItems.tsx +36 -0
- package/src/layouts/Stack/__stories__/Default.tsx +17 -0
- package/src/layouts/Stack/__stories__/JustifyContent.tsx +47 -0
- package/src/layouts/Stack/__stories__/NoWrap.tsx +17 -0
- package/src/layouts/Stack/__stories__/Row.tsx +17 -0
- package/src/layouts/Stack/__stories__/Spacing.tsx +35 -0
- package/src/layouts/Stack/index.tsx +3 -0
- package/src/layouts/index.ts +2 -0
- package/src/navigation/BackLink/index.mdx +1 -5
- package/src/navigation/Breadcrumbs/index.mdx +1 -5
- package/src/navigation/Drawer/index.mdx +1 -5
- package/src/navigation/Dropdown/index.mdx +3 -15
- package/src/navigation/Dropdown/index.tsx +0 -1
- package/src/navigation/Link/index.mdx +5 -25
- package/src/navigation/NavList/index.mdx +2 -10
- package/src/navigation/Pagination/__stories__/Default.tsx +2 -2
- package/src/navigation/Pagination/__stories__/PaginationSmall.tsx +1 -1
- package/src/navigation/Pagination/__stories__/PaginationWithSmallFont.tsx +1 -1
- package/src/navigation/Pagination/__stories__/WithInactiveValues.tsx +2 -2
- package/src/navigation/Pagination/index.mdx +7 -14
- package/src/navigation/SkipLink/SkipLink.stories.js +9 -0
- package/src/navigation/SkipLink/__stories__/Default.tsx +15 -0
- package/src/navigation/Tabs/Tabs.stories.playwright.json +2 -2
- package/src/navigation/Tabs/__stories__/Default.tsx +2 -0
- package/src/navigation/Tabs/index.mdx +1 -5
- package/src/navigation/Tabs/index.tsx +1 -1
- package/src/registry.js +20 -10
- package/src/typography/Heading/__stories__/Default.tsx +6 -6
- package/src/typography/Heading/index.mdx +1 -5
- package/src/typography/HeadingCaption/index.mdx +1 -5
- package/src/typography/Hint/__stories__/FontSizes.tsx +3 -3
- package/src/typography/Hint/index.mdx +1 -5
- package/src/typography/NormalText/__stories__/FontSizes.tsx +7 -7
- package/src/typography/NormalText/__stories__/Variants.tsx +2 -2
- package/src/typography/NormalText/index.mdx +3 -15
- package/src/typography/Paragraph/__stories__/FontSizes.tsx +7 -7
- package/src/typography/Paragraph/__stories__/LeadVariant.tsx +1 -1
- package/src/typography/Paragraph/__stories__/SmallVariant.tsx +1 -1
- package/src/typography/Paragraph/index.mdx +4 -20
- package/src/utils/Kitchensink/KitchensinkDashboard.tsx +1 -1
- package/typography/Caption/index.d.ts +1 -1
- package/typography/Heading/__stories__/Default.js +9 -4
- package/typography/Heading/index.mdx +1 -5
- package/typography/HeadingCaption/index.mdx +1 -5
- package/typography/Hint/__stories__/FontSizes.js +3 -3
- package/typography/Hint/index.mdx +1 -5
- package/typography/NormalText/__stories__/FontSizes.js +7 -7
- package/typography/NormalText/__stories__/Variants.js +4 -4
- package/typography/NormalText/index.mdx +3 -15
- package/typography/Paragraph/__stories__/FontSizes.js +7 -7
- package/typography/Paragraph/__stories__/LeadVariant.js +1 -1
- package/typography/Paragraph/__stories__/SmallVariant.js +1 -1
- package/typography/Paragraph/index.mdx +4 -20
- package/utils/Kitchensink/KitchensinkDashboard.js +1 -1
- package/app/PageTitle/index.d.ts +0 -5
- package/es/app/PageTitle/index.js +0 -5
- package/es/form/SearchSection/index.js +0 -5
- package/es/form/SingleCharacterInputContainer/SingleCharacterInputContainer.stories.js +0 -12
- package/es/form/SingleCharacterInputContainer/index.js +0 -4
- package/es/form/SingleCharacterInputContainer/index.mdx +0 -36
- package/esm/app/PageTitle/index.js +0 -5
- package/esm/form/SearchSection/index.js +0 -5
- package/esm/form/SingleCharacterInputContainer/SingleCharacterInputContainer.stories.js +0 -12
- package/esm/form/SingleCharacterInputContainer/index.js +0 -4
- package/esm/form/SingleCharacterInputContainer/index.mdx +0 -36
- package/form/SearchSection/index.d.ts +0 -5
- package/form/SingleCharacterInputContainer/SingleCharacterInputContainer.stories.d.ts +0 -13
- package/form/SingleCharacterInputContainer/index.d.ts +0 -4
- package/form/SingleCharacterInputContainer/index.mdx +0 -36
- package/src/app/PageTitle/index.tsx +0 -5
- package/src/form/SearchSection/index.tsx +0 -6
- package/src/form/SingleCharacterInputContainer/SingleCharacterInputContainer.stories.js +0 -13
- package/src/form/SingleCharacterInputContainer/index.mdx +0 -36
- package/src/form/SingleCharacterInputContainer/index.tsx +0 -4
- /package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/Default.d.ts +0 -0
- /package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithDefaultError.d.ts +0 -0
- /package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageInvalidCode.d.ts +0 -0
- /package/form/{SingleCharacterInputContainer → SingleCharacterInputs}/__stories__/WithErrorMessageLessDigit.d.ts +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Card from '@digigov/ui/content/Card';
|
|
3
|
+
import Stack from '@digigov/ui/layouts/Stack';
|
|
4
|
+
|
|
5
|
+
var _ref = /*#__PURE__*/React.createElement(Stack, {
|
|
6
|
+
spacing: 6
|
|
7
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
8
|
+
direction: "row"
|
|
9
|
+
}, /*#__PURE__*/React.createElement(Card, {
|
|
10
|
+
variant: "border"
|
|
11
|
+
}, " Item 1 "), /*#__PURE__*/React.createElement(Card, {
|
|
12
|
+
variant: "border"
|
|
13
|
+
}, " Item 2 "), /*#__PURE__*/React.createElement(Card, {
|
|
14
|
+
variant: "border"
|
|
15
|
+
}, " Item 3 "), /*#__PURE__*/React.createElement(Card, {
|
|
16
|
+
variant: "border"
|
|
17
|
+
}, " Item 4 ")), /*#__PURE__*/React.createElement(Stack, {
|
|
18
|
+
direction: "row",
|
|
19
|
+
spacing: 4
|
|
20
|
+
}, /*#__PURE__*/React.createElement(Card, {
|
|
21
|
+
variant: "border"
|
|
22
|
+
}, " Item 1 "), /*#__PURE__*/React.createElement(Card, {
|
|
23
|
+
variant: "border"
|
|
24
|
+
}, " Item 2 "), /*#__PURE__*/React.createElement(Card, {
|
|
25
|
+
variant: "border"
|
|
26
|
+
}, " Item 3 "), /*#__PURE__*/React.createElement(Card, {
|
|
27
|
+
variant: "border"
|
|
28
|
+
}, " Item 4 ")), /*#__PURE__*/React.createElement(Stack, {
|
|
29
|
+
direction: "row",
|
|
30
|
+
spacing: 8
|
|
31
|
+
}, /*#__PURE__*/React.createElement(Card, {
|
|
32
|
+
variant: "border"
|
|
33
|
+
}, " Item 1 "), /*#__PURE__*/React.createElement(Card, {
|
|
34
|
+
variant: "border"
|
|
35
|
+
}, " Item 2 "), /*#__PURE__*/React.createElement(Card, {
|
|
36
|
+
variant: "border"
|
|
37
|
+
}, " Item 3 "), /*#__PURE__*/React.createElement(Card, {
|
|
38
|
+
variant: "border"
|
|
39
|
+
}, " Item 4 ")), /*#__PURE__*/React.createElement(Stack, {
|
|
40
|
+
direction: "row",
|
|
41
|
+
spacing: 12
|
|
42
|
+
}, /*#__PURE__*/React.createElement(Card, {
|
|
43
|
+
variant: "border"
|
|
44
|
+
}, " Item 1 "), /*#__PURE__*/React.createElement(Card, {
|
|
45
|
+
variant: "border"
|
|
46
|
+
}, " Item 2 "), /*#__PURE__*/React.createElement(Card, {
|
|
47
|
+
variant: "border"
|
|
48
|
+
}, " Item 3 "), /*#__PURE__*/React.createElement(Card, {
|
|
49
|
+
variant: "border"
|
|
50
|
+
}, " Item 4 ")));
|
|
51
|
+
|
|
52
|
+
export var Spacing = function Spacing() {
|
|
53
|
+
return _ref;
|
|
54
|
+
};
|
|
55
|
+
export default Spacing;
|
package/es/layouts/index.js
CHANGED
|
@@ -2,10 +2,12 @@ export * from '@digigov/ui/layouts/Admin';
|
|
|
2
2
|
export * from '@digigov/ui/layouts/Basic';
|
|
3
3
|
export * from '@digigov/ui/layouts/Divider';
|
|
4
4
|
export * from '@digigov/ui/layouts/Grid';
|
|
5
|
+
export * from '@digigov/ui/layouts/Stack';
|
|
5
6
|
export * from '@digigov/ui/layouts/Hidden';
|
|
6
7
|
export * from '@digigov/ui/layouts/SectionBreak';
|
|
7
8
|
export { default as AdminLayout } from '@digigov/ui/layouts/Admin';
|
|
8
9
|
export { default as BasicLayout } from '@digigov/ui/layouts/Basic';
|
|
9
10
|
export { default as Divider } from '@digigov/ui/layouts/Divider';
|
|
10
11
|
export { default as SectionBreak } from '@digigov/ui/layouts/SectionBreak';
|
|
11
|
-
export { default as Grid } from '@digigov/ui/layouts/Grid';
|
|
12
|
+
export { default as Grid } from '@digigov/ui/layouts/Grid';
|
|
13
|
+
export { default as Stack } from '@digigov/ui/layouts/Stack';
|
|
@@ -13,11 +13,7 @@ import BackLink from "@digigov/ui/navigation/BackLink";
|
|
|
13
13
|
|
|
14
14
|
## How to use
|
|
15
15
|
|
|
16
|
-
<Story
|
|
17
|
-
packageName="@digigov/ui"
|
|
18
|
-
component="navigation/BackLink"
|
|
19
|
-
story="Default.tsx"
|
|
20
|
-
/>
|
|
16
|
+
<Story packageName="@digigov/ui" component="navigation/BackLink" story="Default.tsx" />
|
|
21
17
|
|
|
22
18
|
## API
|
|
23
19
|
|
|
@@ -15,11 +15,7 @@ import Breadcrumbs from '@digigov/ui/navigation/Breadcrumbs';
|
|
|
15
15
|
|
|
16
16
|
## How to use
|
|
17
17
|
|
|
18
|
-
<Story
|
|
19
|
-
packageName="@digigov/ui"
|
|
20
|
-
component="navigation/Breadcrumbs"
|
|
21
|
-
story="Default.tsx"
|
|
22
|
-
/>
|
|
18
|
+
<Story packageName="@digigov/ui" component="navigation/Breadcrumbs" story="Default.tsx" />
|
|
23
19
|
|
|
24
20
|
## API
|
|
25
21
|
|
|
@@ -9,11 +9,7 @@ import Drawer from '@digigov/ui/app/Drawer';
|
|
|
9
9
|
|
|
10
10
|
## How to use
|
|
11
11
|
|
|
12
|
-
<Story
|
|
13
|
-
packageName="@digigov/ui"
|
|
14
|
-
component="navigation/Drawer"
|
|
15
|
-
story="Default.tsx"
|
|
16
|
-
/>
|
|
12
|
+
<Story packageName="@digigov/ui" component="navigation/Drawer" story="Default.tsx" />
|
|
17
13
|
|
|
18
14
|
## API
|
|
19
15
|
|
|
@@ -5,7 +5,6 @@ import React, { useEffect, useRef } from 'react';
|
|
|
5
5
|
import DropdownBase from '@digigov/react-core/DropdownBase';
|
|
6
6
|
export * from '@digigov/react-core/DropdownButton';
|
|
7
7
|
export * from '@digigov/react-core/DropdownContent';
|
|
8
|
-
export * from '@digigov/react-core/DropdownArrowDown';
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* Dropdown component is used for showing more options with a button.
|
|
@@ -11,31 +11,19 @@ import Dropdown from '@digigov/ui/navigation/Dropdown';
|
|
|
11
11
|
|
|
12
12
|
## How to use
|
|
13
13
|
|
|
14
|
-
<Story
|
|
15
|
-
packageName="@digigov/ui"
|
|
16
|
-
component="navigation/Dropdown"
|
|
17
|
-
story="Default.tsx"
|
|
18
|
-
/>
|
|
14
|
+
<Story packageName="@digigov/ui" component="navigation/Dropdown" story="Default.tsx" />
|
|
19
15
|
|
|
20
16
|
### Dropdown with align right
|
|
21
17
|
|
|
22
18
|
You can display the dropdown menu to the right side of the `Dropdown` button.
|
|
23
19
|
|
|
24
|
-
<Story
|
|
25
|
-
packageName="@digigov/ui"
|
|
26
|
-
component="navigation/Dropdown"
|
|
27
|
-
story="AlignRight.tsx"
|
|
28
|
-
/>
|
|
20
|
+
<Story packageName="@digigov/ui" component="navigation/Dropdown" story="AlignRight.tsx" />
|
|
29
21
|
|
|
30
22
|
### Dropdown with placement top
|
|
31
23
|
|
|
32
24
|
You can display the dropdown menu to the top of the `Dropdown` button.
|
|
33
25
|
|
|
34
|
-
<Story
|
|
35
|
-
packageName="@digigov/ui"
|
|
36
|
-
component="navigation/Dropdown"
|
|
37
|
-
story="PlacementTop.tsx"
|
|
38
|
-
/>
|
|
26
|
+
<Story packageName="@digigov/ui" component="navigation/Dropdown" story="PlacementTop.tsx" />
|
|
39
27
|
|
|
40
28
|
You can read more about the accessibility patterns used in our Dropdown
|
|
41
29
|
implementation in the ARIA Authoring Practices Guide (APG) at
|
|
@@ -11,43 +11,23 @@ import Link from '@digigov/ui/navigation/Link';
|
|
|
11
11
|
|
|
12
12
|
### Default
|
|
13
13
|
|
|
14
|
-
<Story
|
|
15
|
-
packageName="@digigov/ui"
|
|
16
|
-
component="navigation/Link"
|
|
17
|
-
story="Default.tsx"
|
|
18
|
-
/>
|
|
14
|
+
<Story packageName="@digigov/ui" component="navigation/Link" story="Default.tsx" />
|
|
19
15
|
|
|
20
16
|
### No Underline
|
|
21
17
|
|
|
22
|
-
<Story
|
|
23
|
-
packageName="@digigov/ui"
|
|
24
|
-
component="navigation/Link"
|
|
25
|
-
story="NoUnderline.tsx"
|
|
26
|
-
/>
|
|
18
|
+
<Story packageName="@digigov/ui" component="navigation/Link"story="NoUnderline.tsx" />
|
|
27
19
|
|
|
28
20
|
### Opens in a new tab
|
|
29
21
|
|
|
30
|
-
<Story
|
|
31
|
-
packageName="@digigov/ui"
|
|
32
|
-
component="navigation/Link"
|
|
33
|
-
story="OpensInNewTab.tsx"
|
|
34
|
-
/>
|
|
22
|
+
<Story packageName="@digigov/ui" component="navigation/Link" story="OpensInNewTab.tsx" />
|
|
35
23
|
|
|
36
24
|
### At dark background
|
|
37
25
|
|
|
38
|
-
<Story
|
|
39
|
-
packageName="@digigov/ui"
|
|
40
|
-
component="navigation/Link"
|
|
41
|
-
story="DarkBackground.tsx"
|
|
42
|
-
/>
|
|
26
|
+
<Story packageName="@digigov/ui" component="navigation/Link" story="DarkBackground.tsx" />
|
|
43
27
|
|
|
44
28
|
### At dark background and no underline
|
|
45
29
|
|
|
46
|
-
<Story
|
|
47
|
-
packageName="@digigov/ui"
|
|
48
|
-
component="navigation/Link"
|
|
49
|
-
story="DarkBackgroundNoUnderline.tsx"
|
|
50
|
-
/>
|
|
30
|
+
<Story packageName="@digigov/ui" component="navigation/Link" story="DarkBackgroundNoUnderline.tsx" />
|
|
51
31
|
|
|
52
32
|
You can read more about the accessibility patterns used in our Link
|
|
53
33
|
implementation in the ARIA Authoring Practices Guide (APG) at
|
|
@@ -11,19 +11,11 @@ import NavList, { NavListItem } from '@digigov/ui/navigation/NavList';
|
|
|
11
11
|
|
|
12
12
|
### Vertical NavList
|
|
13
13
|
|
|
14
|
-
<Story
|
|
15
|
-
packageName="@digigov/ui"
|
|
16
|
-
component="navigation/NavList"
|
|
17
|
-
story="Default.tsx"
|
|
18
|
-
/>
|
|
14
|
+
<Story packageName="@digigov/ui" component="navigation/NavList" story="Default.tsx" />
|
|
19
15
|
|
|
20
16
|
### Horizontal NavList
|
|
21
17
|
|
|
22
|
-
<Story
|
|
23
|
-
packageName="@digigov/ui"
|
|
24
|
-
component="navigation/NavList"
|
|
25
|
-
story="NavVerticalLayout.tsx"
|
|
26
|
-
/>
|
|
18
|
+
<Story packageName="@digigov/ui" component="navigation/NavList" story="NavVerticalLayout.tsx" />
|
|
27
19
|
|
|
28
20
|
## Accessibility
|
|
29
21
|
|
|
@@ -38,7 +38,7 @@ var _ref3 = /*#__PURE__*/React.createElement(Pagination, null, /*#__PURE__*/Reac
|
|
|
38
38
|
end: 20,
|
|
39
39
|
total: 10000
|
|
40
40
|
}), /*#__PURE__*/React.createElement(PaginationList, null, /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
41
|
-
|
|
41
|
+
active: false
|
|
42
42
|
}, /*#__PURE__*/React.createElement(Link, null, /*#__PURE__*/React.createElement(ArrowIcon, {
|
|
43
43
|
direction: "left"
|
|
44
44
|
}), "\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF")), /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
@@ -82,7 +82,7 @@ var _ref5 = /*#__PURE__*/React.createElement(Pagination, null, /*#__PURE__*/Reac
|
|
|
82
82
|
}, "8")), /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
83
83
|
currentPage: true
|
|
84
84
|
}, "9"), /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
85
|
-
|
|
85
|
+
active: false
|
|
86
86
|
}, /*#__PURE__*/React.createElement(Link, null, "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF", /*#__PURE__*/React.createElement(ArrowIcon, {
|
|
87
87
|
direction: "right"
|
|
88
88
|
})))));
|
|
@@ -10,7 +10,7 @@ var _ref = /*#__PURE__*/React.createElement(Pagination, null, /*#__PURE__*/React
|
|
|
10
10
|
end: 10,
|
|
11
11
|
total: 15
|
|
12
12
|
}), /*#__PURE__*/React.createElement(PaginationList, null, /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
13
|
-
|
|
13
|
+
active: false
|
|
14
14
|
}, /*#__PURE__*/React.createElement(Link, null, /*#__PURE__*/React.createElement(ArrowIcon, {
|
|
15
15
|
direction: "left"
|
|
16
16
|
}))), /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
@@ -7,7 +7,7 @@ import { Pagination, PaginationList, PaginationListItem, PaginationLabel } from
|
|
|
7
7
|
import { ArrowIcon } from '@digigov/ui/utils/SvgIcon';
|
|
8
8
|
|
|
9
9
|
var _ref = /*#__PURE__*/React.createElement(Pagination, {
|
|
10
|
-
|
|
10
|
+
size: "sm"
|
|
11
11
|
}, /*#__PURE__*/React.createElement(PaginationLabel, {
|
|
12
12
|
start: 1,
|
|
13
13
|
end: 10,
|
|
@@ -10,7 +10,7 @@ var _ref = /*#__PURE__*/React.createElement(Pagination, null, /*#__PURE__*/React
|
|
|
10
10
|
end: 20,
|
|
11
11
|
total: 10000
|
|
12
12
|
}), /*#__PURE__*/React.createElement(PaginationList, null, /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
13
|
-
|
|
13
|
+
active: false
|
|
14
14
|
}, /*#__PURE__*/React.createElement(Link, null, /*#__PURE__*/React.createElement(ArrowIcon, {
|
|
15
15
|
direction: "left"
|
|
16
16
|
}), "\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF")), /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
@@ -54,7 +54,7 @@ var _ref3 = /*#__PURE__*/React.createElement(Pagination, null, /*#__PURE__*/Reac
|
|
|
54
54
|
}, "8")), /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
55
55
|
currentPage: true
|
|
56
56
|
}, "9"), /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
57
|
-
|
|
57
|
+
active: false
|
|
58
58
|
}, /*#__PURE__*/React.createElement(Link, null, "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF", /*#__PURE__*/React.createElement(ArrowIcon, {
|
|
59
59
|
direction: "right"
|
|
60
60
|
})))));
|
|
@@ -9,27 +9,20 @@ import Pagination from '@digigov/ui/app/Pagination';
|
|
|
9
9
|
|
|
10
10
|
## How to use
|
|
11
11
|
|
|
12
|
-
<Story
|
|
13
|
-
packageName="@digigov/ui"
|
|
14
|
-
component="navigation/Pagination"
|
|
15
|
-
story="Default.tsx"
|
|
12
|
+
<Story packageName="@digigov/ui" component="navigation/Pagination" story="Default.tsx"
|
|
16
13
|
/>
|
|
17
14
|
|
|
18
15
|
## With inactive values
|
|
19
16
|
|
|
20
|
-
<Story
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/>
|
|
17
|
+
<Story packageName="@digigov/ui" component="navigation/Pagination" story="WithInactiveValues.tsx" />
|
|
18
|
+
|
|
19
|
+
## With small fonts
|
|
20
|
+
|
|
21
|
+
<Story packageName="@digigov/ui" component="navigation/Pagination"story="PaginationWithSmallFont.tsx" />
|
|
25
22
|
|
|
26
23
|
## With results per page
|
|
27
24
|
|
|
28
|
-
<Story
|
|
29
|
-
packageName="@digigov/ui"
|
|
30
|
-
component="navigation/Pagination"
|
|
31
|
-
story="WithResultsPerPage.tsx"
|
|
32
|
-
/>
|
|
25
|
+
<Story packageName="@digigov/ui" component="navigation/Pagination"story="WithResultsPerPage.tsx" />
|
|
33
26
|
|
|
34
27
|
## API
|
|
35
28
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import SkipLink from '@digigov/ui/navigation/SkipLink';
|
|
2
|
+
export default {
|
|
3
|
+
title: 'Digigov UI/navigation/SkipLink',
|
|
4
|
+
description: 'Use the skip link component to help keyboard-only users skip to the main content on a page.',
|
|
5
|
+
component: SkipLink,
|
|
6
|
+
displayName: 'SkipLink'
|
|
7
|
+
};
|
|
8
|
+
export * from '@digigov/ui/navigation/SkipLink/__stories__/Default';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SkipLink } from '@digigov/ui/navigation/SkipLink';
|
|
3
|
+
import { Paragraph } from '@digigov/ui/typography/Paragraph';
|
|
4
|
+
|
|
5
|
+
var _ref = /*#__PURE__*/React.createElement(Paragraph, null, "\u0393\u03B9\u03B1 \u03BD\u03B1 \u03B5\u03BC\u03C6\u03B1\u03BD\u03B9\u03C3\u03C4\u03B5\u03AF \u03BF \u03C3\u03CD\u03BD\u03B4\u03B5\u03C3\u03BC\u03BF\u03C2, \u03C0\u03B5\u03C1\u03B9\u03B7\u03B3\u03B7\u03B8\u03B5\u03AF\u03C4\u03B5 \u03BC\u03B5 \u03C4\u03BF \u03BA\u03BF\u03C5\u03BC\u03C0\u03AF tab \u03AE \u03BA\u03AC\u03BD\u03BF\u03BD\u03C4\u03B1\u03C2 \u03BA\u03BB\u03B9\u03BA \u03C3\u03C4\u03BF \u03C0\u03B5\u03C1\u03B9\u03B5\u03C7\u03CC\u03BC\u03B5\u03BD\u03BF \u03BA\u03B1\u03B9 \u03BC\u03B5\u03C4\u03AC \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C4\u03BF \u03BA\u03BF\u03C5\u03BC\u03C0\u03AF tab.");
|
|
6
|
+
|
|
7
|
+
var _ref2 = /*#__PURE__*/React.createElement(SkipLink, null, "\u039C\u03B5\u03C4\u03AC\u03B2\u03B1\u03C3\u03B7 \u03C3\u03C4\u03BF \u03B2\u03B1\u03C3\u03B9\u03BA\u03CC \u03C0\u03B5\u03C1\u03B9\u03B5\u03C7\u03CC\u03BC\u03B5\u03BD\u03BF");
|
|
8
|
+
|
|
9
|
+
export var Default = function Default() {
|
|
10
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _ref, _ref2);
|
|
11
|
+
};
|
|
12
|
+
export default Default;
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
{
|
|
9
9
|
"name": "hover",
|
|
10
10
|
"args": {
|
|
11
|
-
"selector": "html>body>div:nth-child(5)>div>ul>li:nth-child(2)>
|
|
11
|
+
"selector": "html>body>div:nth-child(5)>div>ul>li:nth-child(2)>button"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"name": "click",
|
|
16
16
|
"args": {
|
|
17
|
-
"selector": "html>body>div:nth-child(5)>div>ul>li:nth-child(2)>
|
|
17
|
+
"selector": "html>body>div:nth-child(5)>div>ul>li:nth-child(2)>button"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
],
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SummaryList, SummaryListItem, SummaryListItemKey, SummaryListItemValue, SummaryListItemAction } from '@digigov/ui/content/SummaryList';
|
|
3
3
|
import { Link } from '@digigov/ui/navigation/Link';
|
|
4
|
-
import { Tabs, TabsList, TabsListItem, TabsPanel, useTabs } from '@digigov/ui/navigation/Tabs';
|
|
4
|
+
import { Tabs, TabsHeading, TabsList, TabsListItem, TabsPanel, useTabs } from '@digigov/ui/navigation/Tabs';
|
|
5
5
|
import { Heading } from '@digigov/ui/typography/Heading';
|
|
6
6
|
import { VisuallyHidden } from '@digigov/ui/utils/VisuallyHidden';
|
|
7
7
|
|
|
8
|
-
var _ref = /*#__PURE__*/React.createElement(
|
|
8
|
+
var _ref = /*#__PURE__*/React.createElement(TabsHeading, {
|
|
9
|
+
size: "md"
|
|
10
|
+
}, "\u03A0\u03B5\u03C1\u03B9\u03B5\u03C7\u03CC\u03BC\u03B5\u03BD\u03B1");
|
|
11
|
+
|
|
12
|
+
var _ref2 = /*#__PURE__*/React.createElement(Heading, {
|
|
9
13
|
size: "md",
|
|
10
14
|
element: "h3"
|
|
11
15
|
}, "\u03A3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1 \u03C0\u03BF\u03BB\u03AF\u03C4\u03B7");
|
|
12
16
|
|
|
13
|
-
var
|
|
17
|
+
var _ref3 = /*#__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, {
|
|
14
18
|
href: "#"
|
|
15
19
|
}, "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE ", /*#__PURE__*/React.createElement(VisuallyHidden, null, " \u03BF\u03BD\u03CC\u03BC\u03B1\u03C4\u03BF\u03C2 ")))), /*#__PURE__*/React.createElement(SummaryListItem, null, /*#__PURE__*/React.createElement(SummaryListItemKey, null, "\u0397\u03BC. \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"), /*#__PURE__*/React.createElement(SummaryListItemAction, null, ' ', /*#__PURE__*/React.createElement(Link, null, ' ', "\u0391\u03BB\u03BB\u03B1\u03B3\u03AE ", /*#__PURE__*/React.createElement(VisuallyHidden, null, " \u03C4\u03B7\u03BB\u03B5\u03C6\u03CE\u03BD\u03BF\u03C5 ")))));
|
|
16
20
|
|
|
17
|
-
var
|
|
21
|
+
var _ref4 = /*#__PURE__*/React.createElement(Heading, {
|
|
18
22
|
size: "md",
|
|
19
23
|
element: "h3"
|
|
20
24
|
}, "Y\u03C0\u03BF\u03B8\u03AD\u03C3\u03B5\u03B9\u03C2");
|
|
@@ -24,6 +28,6 @@ export function Default() {
|
|
|
24
28
|
register = _useTabs.register,
|
|
25
29
|
panel = _useTabs.panel;
|
|
26
30
|
|
|
27
|
-
return /*#__PURE__*/React.createElement(Tabs, null, /*#__PURE__*/React.createElement(TabsList, null, /*#__PURE__*/React.createElement(TabsListItem, register('a'), "\u03A3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1 \u03C0\u03BF\u03BB\u03AF\u03C4\u03B7"), /*#__PURE__*/React.createElement(TabsListItem, register('b'), "Y\u03C0\u03BF\u03B8\u03AD\u03C3\u03B5\u03B9\u03C2")), /*#__PURE__*/React.createElement(TabsPanel, panel('a'),
|
|
31
|
+
return /*#__PURE__*/React.createElement(Tabs, null, _ref, /*#__PURE__*/React.createElement(TabsList, null, /*#__PURE__*/React.createElement(TabsListItem, register('a'), "\u03A3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1 \u03C0\u03BF\u03BB\u03AF\u03C4\u03B7"), /*#__PURE__*/React.createElement(TabsListItem, register('b'), "Y\u03C0\u03BF\u03B8\u03AD\u03C3\u03B5\u03B9\u03C2")), /*#__PURE__*/React.createElement(TabsPanel, panel('a'), _ref2, _ref3), /*#__PURE__*/React.createElement(TabsPanel, panel('b'), _ref4, "\u03A0\u03B5\u03C1\u03B9\u03B5\u03C7\u03CC\u03BC\u03B5\u03BD\u03B1 \u03C5\u03C0\u03BF\u03B8\u03AD\u03C3\u03B5\u03C9\u03BD"));
|
|
28
32
|
}
|
|
29
33
|
export default Default;
|
|
@@ -11,11 +11,7 @@ import Tabs from '@digigov/ui/navigation/Tabs';
|
|
|
11
11
|
|
|
12
12
|
## How to use
|
|
13
13
|
|
|
14
|
-
<Story
|
|
15
|
-
packageName="@digigov/ui"
|
|
16
|
-
component="navigation/Tabs"
|
|
17
|
-
story="Default.tsx"
|
|
18
|
-
/>
|
|
14
|
+
<Story packageName="@digigov/ui" component="navigation/Tabs" story="Default.tsx" />
|
|
19
15
|
|
|
20
16
|
## API
|
|
21
17
|
|
package/es/registry.js
CHANGED
|
@@ -10,7 +10,8 @@ import * as _digigov_ui_app_AccessibilityMenu from '@digigov/ui/app/Accessibilit
|
|
|
10
10
|
import * as _digigov_ui_app_App from '@digigov/ui/app/App';
|
|
11
11
|
import * as _digigov_ui_app_BannerContainer from '@digigov/ui/app/BannerContainer';
|
|
12
12
|
import * as _digigov_ui_app_BottomInfo from '@digigov/ui/app/BottomInfo';
|
|
13
|
-
import * as
|
|
13
|
+
import * as _digigov_ui_app_CloseButton from '@digigov/ui/app/CloseButton';
|
|
14
|
+
import * as _digigov_ui_app_FilterContainer from '@digigov/ui/app/FilterContainer';
|
|
14
15
|
import * as _digigov_ui_app_Footer from '@digigov/ui/app/Footer';
|
|
15
16
|
import * as _digigov_ui_app_Header_HeaderContent from '@digigov/ui/app/Header/HeaderContent';
|
|
16
17
|
import * as _digigov_ui_app_Header_HeaderLogo from '@digigov/ui/app/Header/HeaderLogo';
|
|
@@ -33,7 +34,7 @@ import * as _digigov_ui_app_NotFound from '@digigov/ui/app/NotFound';
|
|
|
33
34
|
import * as _digigov_ui_app_OutdatedBrowserBanner_hooks_evaluateBrowserVersion from '@digigov/ui/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion';
|
|
34
35
|
import * as _digigov_ui_app_OutdatedBrowserBanner_hooks_useOutdatedBrowserCheck from '@digigov/ui/app/OutdatedBrowserBanner/hooks/useOutdatedBrowserCheck';
|
|
35
36
|
import * as _digigov_ui_app_OutdatedBrowserBanner from '@digigov/ui/app/OutdatedBrowserBanner';
|
|
36
|
-
import * as
|
|
37
|
+
import * as _digigov_ui_app_PageTitleContainer from '@digigov/ui/app/PageTitleContainer';
|
|
37
38
|
import * as _digigov_ui_app_Panel from '@digigov/ui/app/Panel';
|
|
38
39
|
import * as _digigov_ui_app_PhaseBannerHeader from '@digigov/ui/app/PhaseBannerHeader';
|
|
39
40
|
import * as _digigov_ui_app_QrCodeScanner from '@digigov/ui/app/QrCodeScanner';
|
|
@@ -88,9 +89,9 @@ import * as _digigov_ui_form_Form from '@digigov/ui/form/Form';
|
|
|
88
89
|
import * as _digigov_ui_form from '@digigov/ui/form';
|
|
89
90
|
import * as _digigov_ui_form_LabelContainer from '@digigov/ui/form/LabelContainer';
|
|
90
91
|
import * as _digigov_ui_form_RadioContainer from '@digigov/ui/form/RadioContainer';
|
|
91
|
-
import * as
|
|
92
|
+
import * as _digigov_ui_form_SearchContainer from '@digigov/ui/form/SearchContainer';
|
|
92
93
|
import * as _digigov_ui_form_SelectContainer from '@digigov/ui/form/SelectContainer';
|
|
93
|
-
import * as
|
|
94
|
+
import * as _digigov_ui_form_SingleCharacterInputs from '@digigov/ui/form/SingleCharacterInputs';
|
|
94
95
|
import * as _digigov_ui_form_TextArea from '@digigov/ui/form/TextArea';
|
|
95
96
|
import * as _digigov_ui_form_TextInput from '@digigov/ui/form/TextInput';
|
|
96
97
|
import * as _digigov_ui_govgr_Footer_Copyright from '@digigov/ui/govgr/Footer/Copyright';
|
|
@@ -131,7 +132,9 @@ import * as _digigov_ui_layouts_Divider from '@digigov/ui/layouts/Divider';
|
|
|
131
132
|
import * as _digigov_ui_layouts_Grid from '@digigov/ui/layouts/Grid';
|
|
132
133
|
import * as _digigov_ui_layouts_Hidden from '@digigov/ui/layouts/Hidden';
|
|
133
134
|
import * as _digigov_ui_layouts from '@digigov/ui/layouts';
|
|
135
|
+
import * as _digigov_ui_layouts_Section from '@digigov/ui/layouts/Section';
|
|
134
136
|
import * as _digigov_ui_layouts_SectionBreak from '@digigov/ui/layouts/SectionBreak';
|
|
137
|
+
import * as _digigov_ui_layouts_Stack from '@digigov/ui/layouts/Stack';
|
|
135
138
|
import * as _digigov_ui_misc_KitchenSink from '@digigov/ui/misc/KitchenSink';
|
|
136
139
|
import * as _digigov_ui_navigation_BackLink from '@digigov/ui/navigation/BackLink';
|
|
137
140
|
import * as _digigov_ui_navigation_Breadcrumbs from '@digigov/ui/navigation/Breadcrumbs';
|
|
@@ -220,7 +223,8 @@ export default {
|
|
|
220
223
|
'@digigov/ui/app/App': lazyImport(_digigov_ui_app_App),
|
|
221
224
|
'@digigov/ui/app/BannerContainer': lazyImport(_digigov_ui_app_BannerContainer),
|
|
222
225
|
'@digigov/ui/app/BottomInfo': lazyImport(_digigov_ui_app_BottomInfo),
|
|
223
|
-
'@digigov/ui/app/
|
|
226
|
+
'@digigov/ui/app/CloseButton': lazyImport(_digigov_ui_app_CloseButton),
|
|
227
|
+
'@digigov/ui/app/FilterContainer': lazyImport(_digigov_ui_app_FilterContainer),
|
|
224
228
|
'@digigov/ui/app/Footer': lazyImport(_digigov_ui_app_Footer),
|
|
225
229
|
'@digigov/ui/app/Header/HeaderContent': lazyImport(_digigov_ui_app_Header_HeaderContent),
|
|
226
230
|
'@digigov/ui/app/Header/HeaderLogo': lazyImport(_digigov_ui_app_Header_HeaderLogo),
|
|
@@ -243,7 +247,7 @@ export default {
|
|
|
243
247
|
'@digigov/ui/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion': lazyImport(_digigov_ui_app_OutdatedBrowserBanner_hooks_evaluateBrowserVersion),
|
|
244
248
|
'@digigov/ui/app/OutdatedBrowserBanner/hooks/useOutdatedBrowserCheck': lazyImport(_digigov_ui_app_OutdatedBrowserBanner_hooks_useOutdatedBrowserCheck),
|
|
245
249
|
'@digigov/ui/app/OutdatedBrowserBanner': lazyImport(_digigov_ui_app_OutdatedBrowserBanner),
|
|
246
|
-
'@digigov/ui/app/
|
|
250
|
+
'@digigov/ui/app/PageTitleContainer': lazyImport(_digigov_ui_app_PageTitleContainer),
|
|
247
251
|
'@digigov/ui/app/Panel': lazyImport(_digigov_ui_app_Panel),
|
|
248
252
|
'@digigov/ui/app/PhaseBannerHeader': lazyImport(_digigov_ui_app_PhaseBannerHeader),
|
|
249
253
|
'@digigov/ui/app/QrCodeScanner': lazyImport(_digigov_ui_app_QrCodeScanner),
|
|
@@ -298,9 +302,9 @@ export default {
|
|
|
298
302
|
'@digigov/ui/form': lazyImport(_digigov_ui_form),
|
|
299
303
|
'@digigov/ui/form/LabelContainer': lazyImport(_digigov_ui_form_LabelContainer),
|
|
300
304
|
'@digigov/ui/form/RadioContainer': lazyImport(_digigov_ui_form_RadioContainer),
|
|
301
|
-
'@digigov/ui/form/
|
|
305
|
+
'@digigov/ui/form/SearchContainer': lazyImport(_digigov_ui_form_SearchContainer),
|
|
302
306
|
'@digigov/ui/form/SelectContainer': lazyImport(_digigov_ui_form_SelectContainer),
|
|
303
|
-
'@digigov/ui/form/
|
|
307
|
+
'@digigov/ui/form/SingleCharacterInputs': lazyImport(_digigov_ui_form_SingleCharacterInputs),
|
|
304
308
|
'@digigov/ui/form/TextArea': lazyImport(_digigov_ui_form_TextArea),
|
|
305
309
|
'@digigov/ui/form/TextInput': lazyImport(_digigov_ui_form_TextInput),
|
|
306
310
|
'@digigov/ui/govgr/Footer/Copyright': lazyImport(_digigov_ui_govgr_Footer_Copyright),
|
|
@@ -341,7 +345,9 @@ export default {
|
|
|
341
345
|
'@digigov/ui/layouts/Grid': lazyImport(_digigov_ui_layouts_Grid),
|
|
342
346
|
'@digigov/ui/layouts/Hidden': lazyImport(_digigov_ui_layouts_Hidden),
|
|
343
347
|
'@digigov/ui/layouts': lazyImport(_digigov_ui_layouts),
|
|
348
|
+
'@digigov/ui/layouts/Section': lazyImport(_digigov_ui_layouts_Section),
|
|
344
349
|
'@digigov/ui/layouts/SectionBreak': lazyImport(_digigov_ui_layouts_SectionBreak),
|
|
350
|
+
'@digigov/ui/layouts/Stack': lazyImport(_digigov_ui_layouts_Stack),
|
|
345
351
|
'@digigov/ui/misc/KitchenSink': lazyImport(_digigov_ui_misc_KitchenSink),
|
|
346
352
|
'@digigov/ui/navigation/BackLink': lazyImport(_digigov_ui_navigation_BackLink),
|
|
347
353
|
'@digigov/ui/navigation/Breadcrumbs': lazyImport(_digigov_ui_navigation_Breadcrumbs),
|
|
@@ -436,12 +442,13 @@ import * as _digigov_ui_form_ErrorMessage_ErrorMessage_stories from '@digigov/ui
|
|
|
436
442
|
import * as _digigov_ui_form_FileUpload_FileUpload_stories from '@digigov/ui/form/FileUpload/FileUpload.stories';
|
|
437
443
|
import * as _digigov_ui_form_RadioContainer_RadioContainer_stories from '@digigov/ui/form/RadioContainer/RadioContainer.stories';
|
|
438
444
|
import * as _digigov_ui_form_SelectContainer_Select_stories from '@digigov/ui/form/SelectContainer/Select.stories';
|
|
439
|
-
import * as
|
|
445
|
+
import * as _digigov_ui_form_SingleCharacterInputs_SingleCharacterInput_stories from '@digigov/ui/form/SingleCharacterInputs/SingleCharacterInput.stories';
|
|
440
446
|
import * as _digigov_ui_form_TextArea_TextArea_stories from '@digigov/ui/form/TextArea/TextArea.stories';
|
|
441
447
|
import * as _digigov_ui_form_TextInput_TextInput_stories from '@digigov/ui/form/TextInput/TextInput.stories';
|
|
442
448
|
import * as _digigov_ui_layouts_Basic_Basic_stories from '@digigov/ui/layouts/Basic/Basic.stories';
|
|
443
449
|
import * as _digigov_ui_layouts_Divider_Divider_stories from '@digigov/ui/layouts/Divider/Divider.stories';
|
|
444
450
|
import * as _digigov_ui_layouts_Grid_Grid_stories from '@digigov/ui/layouts/Grid/Grid.stories';
|
|
451
|
+
import * as _digigov_ui_layouts_Stack_Stack_stories from '@digigov/ui/layouts/Stack/Stack.stories';
|
|
445
452
|
import * as _digigov_ui_navigation_BackLink_BackLink_stories from '@digigov/ui/navigation/BackLink/BackLink.stories';
|
|
446
453
|
import * as _digigov_ui_navigation_Breadcrumbs_Breadcrumbs_stories from '@digigov/ui/navigation/Breadcrumbs/Breadcrumbs.stories';
|
|
447
454
|
import * as _digigov_ui_navigation_Drawer_Drawer_stories from '@digigov/ui/navigation/Drawer/Drawer.stories';
|
|
@@ -449,6 +456,7 @@ import * as _digigov_ui_navigation_Dropdown_Dropdown_stories from '@digigov/ui/n
|
|
|
449
456
|
import * as _digigov_ui_navigation_Link_Link_stories from '@digigov/ui/navigation/Link/Link.stories';
|
|
450
457
|
import * as _digigov_ui_navigation_NavList_NavList_stories from '@digigov/ui/navigation/NavList/NavList.stories';
|
|
451
458
|
import * as _digigov_ui_navigation_Pagination_Pagination_stories from '@digigov/ui/navigation/Pagination/Pagination.stories';
|
|
459
|
+
import * as _digigov_ui_navigation_SkipLink_SkipLink_stories from '@digigov/ui/navigation/SkipLink/SkipLink.stories';
|
|
452
460
|
import * as _digigov_ui_navigation_Tabs_Tabs_stories from '@digigov/ui/navigation/Tabs/Tabs.stories';
|
|
453
461
|
import * as _digigov_ui_typography_Heading_Heading_stories from '@digigov/ui/typography/Heading/Heading.stories';
|
|
454
462
|
import * as _digigov_ui_typography_HeadingCaption_HeadingCaption_stories from '@digigov/ui/typography/HeadingCaption/HeadingCaption.stories';
|
|
@@ -491,12 +499,13 @@ export var stories = {
|
|
|
491
499
|
'@digigov/ui/form/FileUpload/FileUpload.stories': _digigov_ui_form_FileUpload_FileUpload_stories,
|
|
492
500
|
'@digigov/ui/form/RadioContainer/RadioContainer.stories': _digigov_ui_form_RadioContainer_RadioContainer_stories,
|
|
493
501
|
'@digigov/ui/form/SelectContainer/Select.stories': _digigov_ui_form_SelectContainer_Select_stories,
|
|
494
|
-
'@digigov/ui/form/
|
|
502
|
+
'@digigov/ui/form/SingleCharacterInputs/SingleCharacterInput.stories': _digigov_ui_form_SingleCharacterInputs_SingleCharacterInput_stories,
|
|
495
503
|
'@digigov/ui/form/TextArea/TextArea.stories': _digigov_ui_form_TextArea_TextArea_stories,
|
|
496
504
|
'@digigov/ui/form/TextInput/TextInput.stories': _digigov_ui_form_TextInput_TextInput_stories,
|
|
497
505
|
'@digigov/ui/layouts/Basic/Basic.stories': _digigov_ui_layouts_Basic_Basic_stories,
|
|
498
506
|
'@digigov/ui/layouts/Divider/Divider.stories': _digigov_ui_layouts_Divider_Divider_stories,
|
|
499
507
|
'@digigov/ui/layouts/Grid/Grid.stories': _digigov_ui_layouts_Grid_Grid_stories,
|
|
508
|
+
'@digigov/ui/layouts/Stack/Stack.stories': _digigov_ui_layouts_Stack_Stack_stories,
|
|
500
509
|
'@digigov/ui/navigation/BackLink/BackLink.stories': _digigov_ui_navigation_BackLink_BackLink_stories,
|
|
501
510
|
'@digigov/ui/navigation/Breadcrumbs/Breadcrumbs.stories': _digigov_ui_navigation_Breadcrumbs_Breadcrumbs_stories,
|
|
502
511
|
'@digigov/ui/navigation/Drawer/Drawer.stories': _digigov_ui_navigation_Drawer_Drawer_stories,
|
|
@@ -504,6 +513,7 @@ export var stories = {
|
|
|
504
513
|
'@digigov/ui/navigation/Link/Link.stories': _digigov_ui_navigation_Link_Link_stories,
|
|
505
514
|
'@digigov/ui/navigation/NavList/NavList.stories': _digigov_ui_navigation_NavList_NavList_stories,
|
|
506
515
|
'@digigov/ui/navigation/Pagination/Pagination.stories': _digigov_ui_navigation_Pagination_Pagination_stories,
|
|
516
|
+
'@digigov/ui/navigation/SkipLink/SkipLink.stories': _digigov_ui_navigation_SkipLink_SkipLink_stories,
|
|
507
517
|
'@digigov/ui/navigation/Tabs/Tabs.stories': _digigov_ui_navigation_Tabs_Tabs_stories,
|
|
508
518
|
'@digigov/ui/typography/Heading/Heading.stories': _digigov_ui_typography_Heading_Heading_stories,
|
|
509
519
|
'@digigov/ui/typography/HeadingCaption/HeadingCaption.stories': _digigov_ui_typography_HeadingCaption_HeadingCaption_stories,
|
|
@@ -6,19 +6,24 @@ var _ref = /*#__PURE__*/React.createElement(Heading, null, " govgr-heading-xl ")
|
|
|
6
6
|
var _ref2 = /*#__PURE__*/React.createElement(Heading, {
|
|
7
7
|
size: "lg",
|
|
8
8
|
element: "h2"
|
|
9
|
-
},
|
|
9
|
+
}, "govgr-heading-lg");
|
|
10
10
|
|
|
11
11
|
var _ref3 = /*#__PURE__*/React.createElement(Heading, {
|
|
12
12
|
size: "md",
|
|
13
13
|
element: "h3"
|
|
14
|
-
},
|
|
14
|
+
}, "govgr-heading-md");
|
|
15
15
|
|
|
16
16
|
var _ref4 = /*#__PURE__*/React.createElement(Heading, {
|
|
17
17
|
size: "sm",
|
|
18
18
|
element: "h4"
|
|
19
|
-
},
|
|
19
|
+
}, "govgr-heading-sm");
|
|
20
|
+
|
|
21
|
+
var _ref5 = /*#__PURE__*/React.createElement(Heading, {
|
|
22
|
+
size: "xs",
|
|
23
|
+
element: "h5"
|
|
24
|
+
}, "govgr-heading-xs");
|
|
20
25
|
|
|
21
26
|
export var Default = function Default() {
|
|
22
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, _ref, _ref2, _ref3, _ref4);
|
|
27
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _ref, _ref2, _ref3, _ref4, _ref5);
|
|
23
28
|
};
|
|
24
29
|
export default Default;
|
|
@@ -9,11 +9,7 @@ import Heading from '@digigov/ui/typography/Heading';
|
|
|
9
9
|
|
|
10
10
|
## How to use
|
|
11
11
|
|
|
12
|
-
<Story
|
|
13
|
-
packageName="@digigov/ui"
|
|
14
|
-
component="typography/Heading"
|
|
15
|
-
story="Default.tsx"
|
|
16
|
-
/>
|
|
12
|
+
<Story packageName="@digigov/ui" component="typography/Heading"story="Default.tsx" />
|
|
17
13
|
|
|
18
14
|
## API
|
|
19
15
|
|
|
@@ -9,11 +9,7 @@ import HeadingCaption from '@digigov/ui/typography/HeadingCaption';
|
|
|
9
9
|
|
|
10
10
|
## How to use
|
|
11
11
|
|
|
12
|
-
<Story
|
|
13
|
-
packageName="@digigov/ui"
|
|
14
|
-
component="typography/HeadingCaption"
|
|
15
|
-
story="Default.tsx"
|
|
16
|
-
/>
|
|
12
|
+
<Story packageName="@digigov/ui" component="typography/HeadingCaption" story="Default.tsx" />
|
|
17
13
|
|
|
18
14
|
### Nested caption to title
|
|
19
15
|
|