@digigov/ui 1.2.0-dcbd7ded → 2.0.0-4be8f7cc
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/Footer/index.mdx +18 -5
- package/app/Header/index.mdx +7 -5
- package/app/Masthead/index.mdx +9 -4
- package/app/Modal/auto.d.ts +2 -2
- package/app/Modal/index.d.ts +2 -2
- package/app/Modal/index.js +1 -1
- package/app/Modal/index.mdx +11 -4
- package/app/NotFound/index.mdx +2 -0
- package/app/Panel/index.mdx +9 -4
- package/app/PhaseBannerHeader/index.mdx +4 -4
- package/app/QrCodeViewer/index.mdx +4 -4
- package/app/Skeleton/Skeleton.stories/index.js +16 -0
- package/{form/AutoComplete/__stories__/WithInLine → app/Skeleton/Skeleton.stories}/package.json +1 -1
- package/app/Skeleton/Skeleton.stories.d.ts +17 -0
- package/app/Skeleton/__stories__/Button/index.js +9 -0
- package/app/Skeleton/__stories__/Button/package.json +6 -0
- package/app/Skeleton/__stories__/Button.d.ts +3 -0
- package/app/Skeleton/__stories__/Circular/index.js +11 -0
- package/app/Skeleton/__stories__/Circular/package.json +6 -0
- package/app/Skeleton/__stories__/Circular.d.ts +3 -0
- package/app/Skeleton/__stories__/Default/index.js +7 -0
- package/app/Skeleton/__stories__/Default/package.json +6 -0
- package/app/Skeleton/__stories__/Default.d.ts +3 -0
- package/app/Skeleton/__stories__/NoAnimation/index.js +9 -0
- package/app/Skeleton/__stories__/NoAnimation/package.json +6 -0
- package/app/Skeleton/__stories__/NoAnimation.d.ts +3 -0
- package/app/Skeleton/__stories__/Rectangular/index.js +10 -0
- package/app/Skeleton/__stories__/Rectangular/package.json +6 -0
- package/app/Skeleton/__stories__/Rectangular.d.ts +3 -0
- package/app/Skeleton/__stories__/SpecificWidthAndHeight/index.js +10 -0
- package/app/Skeleton/__stories__/SpecificWidthAndHeight/package.json +6 -0
- package/app/Skeleton/__stories__/SpecificWidthAndHeight.d.ts +3 -0
- package/app/Skeleton/__stories__/UnderTypography/index.js +10 -0
- package/app/Skeleton/__stories__/UnderTypography/package.json +6 -0
- package/app/Skeleton/__stories__/UnderTypography.d.ts +3 -0
- package/app/Skeleton/__stories__/WithChildren/index.js +8 -0
- package/app/Skeleton/__stories__/WithChildren/package.json +6 -0
- package/app/Skeleton/__stories__/WithChildren.d.ts +3 -0
- package/app/Skeleton/index.d.ts +3 -0
- package/app/Skeleton/index.js +3 -0
- package/app/Skeleton/package.json +6 -0
- package/app/ThemeOptions/index.d.ts +1 -1
- package/cjs/app/Footer/index.mdx +18 -5
- package/cjs/app/Header/index.mdx +7 -5
- package/cjs/app/Masthead/index.mdx +9 -4
- package/cjs/app/Modal/index.js +1 -1
- package/cjs/app/Modal/index.mdx +11 -4
- package/cjs/app/NotFound/index.mdx +2 -0
- package/cjs/app/Panel/index.mdx +9 -4
- package/cjs/app/PhaseBannerHeader/index.mdx +4 -4
- package/cjs/app/QrCodeViewer/index.mdx +4 -4
- package/cjs/app/Skeleton/Skeleton.stories/index.js +111 -0
- package/cjs/app/Skeleton/__stories__/Button/index.js +16 -0
- package/cjs/app/Skeleton/__stories__/Circular/index.js +18 -0
- package/cjs/app/Skeleton/__stories__/Default/index.js +14 -0
- package/cjs/app/Skeleton/__stories__/NoAnimation/index.js +16 -0
- package/cjs/app/Skeleton/__stories__/Rectangular/index.js +17 -0
- package/cjs/app/Skeleton/__stories__/SpecificWidthAndHeight/index.js +17 -0
- package/cjs/app/Skeleton/__stories__/UnderTypography/index.js +17 -0
- package/cjs/app/Skeleton/__stories__/WithChildren/index.js +15 -0
- package/cjs/app/Skeleton/index.js +23 -0
- package/cjs/content/Accordion/__stories__/Auto/index.js +2 -3
- package/cjs/content/Accordion/hooks/index.js +0 -1
- package/cjs/content/Accordion/index.mdx +9 -5
- package/cjs/content/Blockquote/index.mdx +3 -5
- package/cjs/content/Card/index.mdx +3 -5
- package/cjs/content/Chip/index.mdx +4 -5
- package/cjs/content/Details/index.mdx +3 -5
- package/cjs/content/List/__stories__/Default/index.js +1 -2
- package/cjs/content/List/index.mdx +3 -5
- package/cjs/content/SafeHTML/index.js +5 -8
- package/cjs/content/StepNav/index.mdx +28 -5
- package/cjs/content/SummaryList/index.mdx +10 -5
- package/cjs/content/Table/index.js +2 -2
- package/cjs/content/Table/index.mdx +13 -14
- package/cjs/content/TaskList/index.mdx +9 -5
- package/cjs/content/Timeline/index.mdx +10 -5
- package/cjs/feedback/CopyToClipboard/index.mdx +3 -5
- package/cjs/feedback/ErrorSummary/index.mdx +3 -5
- package/cjs/feedback/NotificationBanner/index.mdx +14 -5
- package/cjs/feedback/PhaseBanner/index.mdx +8 -5
- package/cjs/feedback/WarningText/index.mdx +5 -5
- package/cjs/form/AutoComplete/AutoComplete.stories/index.js +44 -8
- package/cjs/form/AutoComplete/AutoComplete.stories.playwright.json +33 -0
- package/cjs/form/AutoComplete/Status/index.js +12 -5
- package/cjs/form/AutoComplete/__stories__/Multiple/index.js +24 -0
- package/cjs/form/AutoComplete/__stories__/{WithInLine → MultipleShowingTwoSelected}/index.js +7 -6
- package/cjs/form/AutoComplete/__stories__/MultipleWithDefaultValues/index.js +23 -0
- package/cjs/form/AutoComplete/__stories__/MultipleWithMinLength/index.js +26 -0
- package/cjs/form/AutoComplete/__stories__/WithShowAllValues/index.js +0 -1
- package/cjs/form/AutoComplete/index.js +312 -202
- package/cjs/form/AutoComplete/index.mdx +13 -20
- package/cjs/form/AutoComplete/utils/index.js +2 -1
- package/cjs/form/Button/index.mdx +3 -5
- package/cjs/form/Checkbox/index.mdx +3 -5
- package/cjs/form/DateInputContainer/index.mdx +3 -5
- package/cjs/form/ErrorMessage/index.mdx +3 -5
- package/cjs/form/FileUpload/index.mdx +3 -5
- package/cjs/form/RadioContainer/index.mdx +2 -14
- package/cjs/form/SelectContainer/index.mdx +3 -1
- package/cjs/form/SingleCharacterInputs/index.mdx +3 -5
- package/cjs/form/TextArea/index.mdx +3 -5
- package/cjs/form/TextInput/TextInput.stories/index.js +12 -0
- package/cjs/form/TextInput/__stories__/DisabledInputWithValue/index.js +31 -0
- package/cjs/form/TextInput/index.mdx +3 -5
- package/cjs/govgr/Footer/index.mdx +1 -1
- package/cjs/i18n/locales/el/index.js +2 -2
- package/cjs/i18n/locales/en/index.js +2 -2
- package/cjs/layouts/Basic/Bottom/__stories__/Default/index.js +22 -0
- package/cjs/layouts/Basic/Bottom/index.mdx +9 -28
- package/cjs/layouts/Basic/Container/__stories__/Default/index.js +20 -0
- package/cjs/layouts/Basic/Container/index.mdx +23 -0
- package/cjs/layouts/Basic/Main/__stories__/Default/index.js +20 -0
- package/cjs/layouts/Basic/Main/index.mdx +10 -47
- package/cjs/layouts/Basic/Top/__stories__/Default/index.js +20 -0
- package/cjs/layouts/Basic/Top/index.mdx +10 -55
- package/cjs/layouts/Basic/index.mdx +27 -25
- package/cjs/layouts/Grid/index.mdx +39 -0
- package/cjs/lazy/index.js +152 -17
- package/cjs/navigation/BackLink/index.mdx +4 -5
- package/cjs/navigation/Breadcrumbs/index.mdx +6 -5
- package/cjs/navigation/Drawer/index.mdx +4 -10
- package/cjs/navigation/Dropdown/Dropdown.stories/index.js +12 -0
- package/cjs/navigation/Dropdown/Dropdown.stories.playwright.json +16 -0
- package/cjs/navigation/Dropdown/__stories__/ScrollableContent/index.js +68 -0
- package/cjs/navigation/Dropdown/index.mdx +3 -5
- package/cjs/navigation/Link/index.mdx +5 -15
- package/cjs/navigation/NavList/__stories__/Default/index.js +14 -2
- package/cjs/navigation/NavList/__stories__/HorizontalWithDrawer/index.js +35 -2
- package/cjs/navigation/NavList/__stories__/HorizontalWithoutDrawer/index.js +35 -2
- package/cjs/navigation/NavList/__stories__/NavListWithoutNav/index.js +14 -2
- package/cjs/navigation/NavList/__stories__/UsingNavListAuto/index.js +37 -4
- package/cjs/navigation/NavList/__stories__/Vertical/index.js +14 -2
- package/cjs/navigation/NavList/__stories__/VerticalWithoutDrawer/index.js +35 -2
- package/cjs/navigation/NavList/index.mdx +23 -7
- package/cjs/navigation/Pagination/index.mdx +9 -5
- package/cjs/navigation/Tabs/index.mdx +9 -5
- package/cjs/registry/index.js +6 -0
- package/cjs/typography/Heading/index.mdx +3 -5
- package/cjs/typography/HeadingCaption/index.mdx +3 -5
- package/cjs/typography/Hint/index.mdx +3 -5
- package/cjs/typography/NormalText/index.mdx +3 -5
- package/cjs/typography/Paragraph/index.mdx +9 -30
- package/cjs/typography/Typography/index.js +23 -0
- package/cjs/typography/Typography/index.mdx +12 -0
- package/cjs/typography/index.js +11 -0
- package/cjs/utils/Base/index.mdx +13 -0
- package/cjs/utils/VisuallyHidden/index.mdx +10 -5
- package/content/Accordion/__stories__/Auto/index.js +2 -3
- package/content/Accordion/auto.d.ts +3 -3
- package/content/Accordion/hooks/index.js +0 -1
- package/content/Accordion/index.mdx +9 -5
- package/content/Blockquote/index.mdx +3 -5
- package/content/Card/index.mdx +3 -5
- package/content/Chip/index.mdx +4 -5
- package/content/Details/index.mdx +3 -5
- package/content/List/__stories__/Default/index.js +1 -2
- package/content/List/index.mdx +3 -5
- package/content/SafeHTML/index.d.ts +1 -1
- package/content/SafeHTML/index.js +5 -8
- package/content/StepNav/auto.d.ts +3 -3
- package/content/StepNav/index.mdx +28 -5
- package/content/SummaryList/index.mdx +10 -5
- package/content/Table/index.d.ts +1 -1
- package/content/Table/index.js +2 -2
- package/content/Table/index.mdx +13 -14
- package/content/TaskList/index.mdx +9 -5
- package/content/Timeline/index.mdx +10 -5
- package/feedback/CopyToClipboard/index.d.ts +1 -1
- package/feedback/CopyToClipboard/index.mdx +3 -5
- package/feedback/ErrorSummary/index.mdx +3 -5
- package/feedback/NotificationBanner/index.mdx +14 -5
- package/feedback/PhaseBanner/index.mdx +8 -5
- package/feedback/WarningText/index.mdx +5 -5
- package/form/AutoComplete/AutoComplete.stories/index.js +4 -1
- package/form/AutoComplete/AutoComplete.stories.d.ts +4 -1
- package/form/AutoComplete/AutoComplete.stories.playwright.json +33 -0
- package/form/AutoComplete/Status/index.d.ts +4 -2
- package/form/AutoComplete/Status/index.js +11 -4
- package/form/AutoComplete/__stories__/Multiple/index.js +17 -0
- package/form/AutoComplete/__stories__/Multiple/package.json +6 -0
- package/form/AutoComplete/__stories__/Multiple.d.ts +3 -0
- package/form/AutoComplete/__stories__/{WithInLine → MultipleShowingTwoSelected}/index.js +6 -5
- package/form/AutoComplete/__stories__/MultipleShowingTwoSelected/package.json +6 -0
- package/form/AutoComplete/__stories__/MultipleShowingTwoSelected.d.ts +3 -0
- package/form/AutoComplete/__stories__/MultipleWithDefaultValues/index.js +16 -0
- package/form/AutoComplete/__stories__/MultipleWithDefaultValues/package.json +6 -0
- package/form/AutoComplete/__stories__/MultipleWithDefaultValues.d.ts +3 -0
- package/form/AutoComplete/__stories__/MultipleWithMinLength/index.js +19 -0
- package/form/AutoComplete/__stories__/MultipleWithMinLength/package.json +6 -0
- package/form/AutoComplete/__stories__/MultipleWithMinLength.d.ts +3 -0
- package/form/AutoComplete/__stories__/WithShowAllValues/index.js +0 -1
- package/form/AutoComplete/index.d.ts +12 -18
- package/form/AutoComplete/index.js +295 -197
- package/form/AutoComplete/index.mdx +13 -20
- package/form/AutoComplete/utils/index.js +2 -1
- package/form/AutoComplete/utils.d.ts +1 -0
- package/form/Button/index.mdx +3 -5
- package/form/Checkbox/index.mdx +3 -5
- package/form/DateInputContainer/index.mdx +3 -5
- package/form/ErrorMessage/index.mdx +3 -5
- package/form/FileUpload/index.mdx +3 -5
- package/form/RadioContainer/index.mdx +2 -14
- package/form/SelectContainer/index.mdx +3 -1
- package/form/SingleCharacterInputs/index.mdx +3 -5
- package/form/TextArea/index.mdx +3 -5
- package/form/TextInput/TextInput.stories/index.js +1 -0
- package/form/TextInput/TextInput.stories.d.ts +1 -0
- package/form/TextInput/__stories__/DisabledInputWithValue/index.js +25 -0
- package/form/TextInput/__stories__/DisabledInputWithValue/package.json +6 -0
- package/form/TextInput/__stories__/DisabledInputWithValue.d.ts +3 -0
- package/form/TextInput/index.mdx +3 -5
- package/govgr/Footer/index.mdx +1 -1
- package/i18n/locales/el/index.js +2 -2
- package/i18n/locales/en/index.js +2 -2
- package/index.js +1 -1
- package/layouts/Basic/Bottom/__stories__/Default/index.js +15 -0
- package/layouts/Basic/Bottom/__stories__/Default/package.json +6 -0
- package/layouts/Basic/Bottom/__stories__/Default.d.ts +3 -0
- package/layouts/Basic/Bottom/index.mdx +9 -28
- package/layouts/Basic/Container/__stories__/Default/index.js +13 -0
- package/layouts/Basic/Container/__stories__/Default/package.json +6 -0
- package/layouts/Basic/Container/__stories__/Default.d.ts +3 -0
- package/layouts/Basic/Container/index.mdx +23 -0
- package/layouts/Basic/Main/__stories__/Default/index.js +13 -0
- package/layouts/Basic/Main/__stories__/Default/package.json +6 -0
- package/layouts/Basic/Main/__stories__/Default.d.ts +3 -0
- package/layouts/Basic/Main/index.mdx +10 -47
- package/layouts/Basic/Top/__stories__/Default/index.js +13 -0
- package/layouts/Basic/Top/__stories__/Default/package.json +6 -0
- package/layouts/Basic/Top/__stories__/Default.d.ts +3 -0
- package/layouts/Basic/Top/index.mdx +10 -55
- package/layouts/Basic/index.mdx +27 -25
- package/layouts/Grid/index.mdx +39 -0
- package/lazy/index.js +120 -15
- package/lazy.d.ts +269 -254
- package/navigation/BackLink/index.mdx +4 -5
- package/navigation/Breadcrumbs/index.mdx +6 -5
- package/navigation/Drawer/auto.d.ts +3 -3
- package/navigation/Drawer/index.mdx +4 -10
- package/navigation/Dropdown/Dropdown.stories/index.js +1 -0
- package/navigation/Dropdown/Dropdown.stories.d.ts +1 -0
- package/navigation/Dropdown/Dropdown.stories.playwright.json +16 -0
- package/navigation/Dropdown/__stories__/ScrollableContent/index.js +61 -0
- package/navigation/Dropdown/__stories__/ScrollableContent/package.json +6 -0
- package/navigation/Dropdown/__stories__/ScrollableContent.d.ts +3 -0
- package/navigation/Dropdown/index.d.ts +1 -1
- package/navigation/Dropdown/index.mdx +3 -5
- package/navigation/Link/index.mdx +5 -15
- package/navigation/NavList/__stories__/Default/index.js +13 -1
- package/navigation/NavList/__stories__/HorizontalWithDrawer/index.js +34 -1
- package/navigation/NavList/__stories__/HorizontalWithoutDrawer/index.js +34 -1
- package/navigation/NavList/__stories__/NavListWithoutNav/index.js +13 -1
- package/navigation/NavList/__stories__/UsingNavListAuto/index.js +35 -2
- package/navigation/NavList/__stories__/Vertical/index.js +13 -1
- package/navigation/NavList/__stories__/VerticalWithoutDrawer/index.js +34 -1
- package/navigation/NavList/index.mdx +23 -7
- package/navigation/NavList/types.d.ts +1 -2
- package/navigation/Pagination/auto.d.ts +4 -4
- package/navigation/Pagination/index.d.ts +2 -2
- package/navigation/Pagination/index.mdx +9 -5
- package/navigation/Tabs/auto.d.ts +2 -2
- package/navigation/Tabs/index.mdx +9 -5
- package/package.json +4 -6
- package/registry/index.js +6 -0
- package/registry.d.ts +4 -0
- package/src/app/Footer/index.mdx +18 -5
- package/src/app/Header/index.mdx +7 -5
- package/src/app/Masthead/index.mdx +9 -4
- package/src/app/Modal/index.mdx +11 -4
- package/src/app/Modal/index.tsx +1 -1
- package/src/app/NotFound/index.mdx +2 -0
- package/src/app/Panel/index.mdx +9 -4
- package/src/app/PhaseBannerHeader/index.mdx +4 -4
- package/src/app/QrCodeViewer/index.mdx +4 -4
- package/src/app/Skeleton/Skeleton.stories.js +18 -0
- package/src/app/Skeleton/__stories__/Button.tsx +6 -0
- package/src/app/Skeleton/__stories__/Circular.tsx +8 -0
- package/src/app/Skeleton/__stories__/Default.tsx +6 -0
- package/src/app/Skeleton/__stories__/NoAnimation.tsx +6 -0
- package/src/app/Skeleton/__stories__/Rectangular.tsx +8 -0
- package/src/app/Skeleton/__stories__/SpecificWidthAndHeight.tsx +8 -0
- package/src/app/Skeleton/__stories__/UnderTypography.tsx +17 -0
- package/src/app/Skeleton/__stories__/WithChildren.tsx +11 -0
- package/src/app/Skeleton/index.tsx +4 -0
- package/src/content/Accordion/__stories__/Auto.tsx +2 -2
- package/src/content/Accordion/auto.tsx +1 -1
- package/src/content/Accordion/hooks.ts +0 -1
- package/src/content/Accordion/index.mdx +9 -5
- package/src/content/Blockquote/index.mdx +3 -5
- package/src/content/Card/index.mdx +3 -5
- package/src/content/Chip/index.mdx +4 -5
- package/src/content/Details/index.mdx +3 -5
- package/src/content/List/__stories__/Default.tsx +3 -4
- package/src/content/List/index.mdx +3 -5
- package/src/content/SafeHTML/index.tsx +3 -4
- package/src/content/StepNav/index.mdx +28 -5
- package/src/content/SummaryList/index.mdx +10 -5
- package/src/content/Table/index.mdx +13 -14
- package/src/content/Table/index.tsx +2 -2
- package/src/content/TaskList/index.mdx +9 -5
- package/src/content/Timeline/index.mdx +10 -5
- package/src/feedback/CopyToClipboard/index.mdx +3 -5
- package/src/feedback/ErrorSummary/index.mdx +3 -5
- package/src/feedback/NotificationBanner/index.mdx +14 -5
- package/src/feedback/PhaseBanner/index.mdx +8 -5
- package/src/feedback/WarningText/index.mdx +5 -5
- package/src/form/AutoComplete/AutoComplete.stories.js +4 -1
- package/src/form/AutoComplete/AutoComplete.stories.playwright.json +33 -0
- package/src/form/AutoComplete/Status/index.tsx +10 -6
- package/src/form/AutoComplete/__stories__/Multiple.tsx +18 -0
- package/src/form/AutoComplete/__stories__/{WithInLine.tsx → MultipleShowingTwoSelected.tsx} +3 -8
- package/src/form/AutoComplete/__stories__/MultipleWithDefaultValues.tsx +16 -0
- package/src/form/AutoComplete/__stories__/MultipleWithMinLength.tsx +29 -0
- package/src/form/AutoComplete/__stories__/WithShowAllValues.tsx +0 -1
- package/src/form/AutoComplete/index.mdx +13 -20
- package/src/form/AutoComplete/index.tsx +351 -213
- package/src/form/AutoComplete/utils.ts +3 -2
- package/src/form/Button/index.mdx +3 -5
- package/src/form/Checkbox/index.mdx +3 -5
- package/src/form/DateInputContainer/index.mdx +3 -5
- package/src/form/ErrorMessage/index.mdx +3 -5
- package/src/form/FileUpload/index.mdx +3 -5
- package/src/form/RadioContainer/index.mdx +2 -14
- package/src/form/SelectContainer/index.mdx +3 -1
- package/src/form/SingleCharacterInputs/index.mdx +3 -5
- package/src/form/TextArea/index.mdx +3 -5
- package/src/form/TextInput/TextInput.stories.js +1 -0
- package/src/form/TextInput/__stories__/DisabledInputWithValue.tsx +27 -0
- package/src/form/TextInput/index.mdx +3 -5
- package/src/govgr/Footer/index.mdx +1 -1
- package/src/i18n/locales/el.ts +2 -2
- package/src/i18n/locales/en.ts +2 -2
- package/src/layouts/Basic/Bottom/__stories__/Default.tsx +35 -0
- package/src/layouts/Basic/Bottom/index.mdx +9 -28
- package/src/layouts/Basic/Container/__stories__/Default.tsx +30 -0
- package/src/layouts/Basic/Container/index.mdx +23 -0
- package/src/layouts/Basic/Main/__stories__/Default.tsx +30 -0
- package/src/layouts/Basic/Main/index.mdx +10 -47
- package/src/layouts/Basic/Top/__stories__/Default.tsx +28 -0
- package/src/layouts/Basic/Top/index.mdx +10 -55
- package/src/layouts/Basic/index.mdx +27 -25
- package/src/layouts/Grid/index.mdx +39 -0
- package/src/lazy.js +18 -3
- package/src/navigation/BackLink/index.mdx +4 -5
- package/src/navigation/Breadcrumbs/index.mdx +6 -5
- package/src/navigation/Drawer/index.mdx +4 -10
- package/src/navigation/Dropdown/Dropdown.stories.js +1 -0
- package/src/navigation/Dropdown/Dropdown.stories.playwright.json +16 -0
- package/src/navigation/Dropdown/__stories__/ScrollableContent.tsx +82 -0
- package/src/navigation/Dropdown/index.mdx +3 -5
- package/src/navigation/Link/index.mdx +5 -15
- package/src/navigation/NavList/__stories__/Default.tsx +18 -1
- package/src/navigation/NavList/__stories__/HorizontalWithDrawer.tsx +37 -1
- package/src/navigation/NavList/__stories__/HorizontalWithoutDrawer.tsx +37 -1
- package/src/navigation/NavList/__stories__/NavListWithoutNav.tsx +18 -1
- package/src/navigation/NavList/__stories__/UsingNavListAuto.tsx +39 -2
- package/src/navigation/NavList/__stories__/Vertical.tsx +18 -1
- package/src/navigation/NavList/__stories__/VerticalWithoutDrawer.tsx +37 -1
- package/src/navigation/NavList/index.mdx +23 -7
- package/src/navigation/NavList/types.tsx +1 -2
- package/src/navigation/Pagination/index.mdx +9 -5
- package/src/navigation/Tabs/index.mdx +9 -5
- package/src/registry.js +6 -0
- package/src/typography/Heading/index.mdx +3 -5
- package/src/typography/HeadingCaption/index.mdx +3 -5
- package/src/typography/Hint/index.mdx +3 -5
- package/src/typography/NormalText/index.mdx +3 -5
- package/src/typography/Paragraph/index.mdx +9 -30
- package/src/typography/Typography/index.mdx +12 -0
- package/src/typography/Typography/index.tsx +4 -0
- package/src/typography/index.ts +1 -0
- package/src/utils/Base/index.mdx +13 -0
- package/src/utils/VisuallyHidden/index.mdx +10 -5
- package/typography/Heading/index.mdx +3 -5
- package/typography/HeadingCaption/index.mdx +3 -5
- package/typography/Hint/index.mdx +3 -5
- package/typography/NormalText/index.mdx +3 -5
- package/typography/Paragraph/index.mdx +9 -30
- package/typography/Typography/index.d.ts +3 -0
- package/typography/Typography/index.js +3 -0
- package/typography/Typography/index.mdx +12 -0
- package/typography/Typography/package.json +6 -0
- package/typography/index.d.ts +1 -0
- package/typography/index.js +2 -1
- package/utils/Base/index.mdx +13 -0
- package/utils/VisuallyHidden/index.mdx +10 -5
- package/cjs/content/List/List.stories.playwright.json +0 -27
- package/cjs/layouts/Basic/Masthead/index.mdx +0 -65
- package/content/List/List.stories.playwright.json +0 -27
- package/form/AutoComplete/__stories__/WithInLine.d.ts +0 -3
- package/layouts/Basic/Masthead/index.mdx +0 -65
- package/src/content/List/List.stories.playwright.json +0 -27
- package/src/layouts/Basic/Masthead/index.mdx +0 -65
|
@@ -6,63 +6,18 @@ parent: docs/ui/components
|
|
|
6
6
|
|
|
7
7
|
# Top
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
```jsx live path=layouts/Basic/index.tsx
|
|
12
|
-
import Header, { HeaderTitle } from '@digigov/ui/app/Header';
|
|
13
|
-
import GovGRLogo from '@digigov/ui/govgr/GovGRLogo';
|
|
14
|
-
import PhaseBanner, { PhaseBannerTag } from '@digigov/ui/feedback/PhaseBanner';
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
function Top{
|
|
18
|
-
return (
|
|
19
|
-
<Top dense>
|
|
20
|
-
<Header>
|
|
21
|
-
<GovGRLogo />
|
|
22
|
-
<HeaderTitle>
|
|
23
|
-
<PhaseBanner>
|
|
24
|
-
<PhaseBannerTag>ALPHA</PhaseBannerTag>
|
|
25
|
-
</PhaseBanner>
|
|
26
|
-
</HeaderTitle>
|
|
27
|
-
</Header>
|
|
28
|
-
</Top>
|
|
29
|
-
)
|
|
30
|
-
}
|
|
31
|
-
export Top
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Example with bottom margin
|
|
36
|
-
|
|
37
|
-
```jsx live path=layouts/Basic/index.tsx
|
|
38
|
-
import Header, { HeaderTitle } from '@digigov/ui/app/Header';
|
|
39
|
-
import GovGRLogo from '@digigov/ui/govgr/GovGRLogo';
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
function Top{
|
|
43
|
-
return (
|
|
44
|
-
<Top>
|
|
45
|
-
<Header>
|
|
46
|
-
<GovGRLogo />
|
|
47
|
-
<HeaderTitle>
|
|
48
|
-
<PhaseBanner>
|
|
49
|
-
<PhaseBannerTag>ALPHA</PhaseBannerTag>
|
|
50
|
-
</PhaseBanner>
|
|
51
|
-
</HeaderTitle>
|
|
52
|
-
</Header>
|
|
53
|
-
</Top>
|
|
54
|
-
)
|
|
55
|
-
}
|
|
56
|
-
export Top
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
<br />
|
|
9
|
+
The Top component is used to group the Header components.
|
|
61
10
|
|
|
62
|
-
## How
|
|
11
|
+
## How to use
|
|
63
12
|
|
|
64
|
-
|
|
13
|
+
<Story
|
|
14
|
+
packageName="@digigov/ui"
|
|
15
|
+
component="layouts/Basic/Top"
|
|
16
|
+
story="Default.tsx"
|
|
17
|
+
/>
|
|
65
18
|
|
|
66
19
|
## API
|
|
67
20
|
|
|
68
|
-
|
|
21
|
+
See below for a complete reference to all of the props available to the components mentioned here.
|
|
22
|
+
|
|
23
|
+
<ComponentProps componentName={["Top"]} />
|
package/layouts/Basic/index.mdx
CHANGED
|
@@ -1,40 +1,42 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: basic
|
|
3
3
|
title: Basic Layout
|
|
4
|
-
parent: docs/ui/components
|
|
5
4
|
---
|
|
6
5
|
|
|
7
|
-
#
|
|
6
|
+
# Layout
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
The Layout component is used in combination with the Top, Side, Main,
|
|
9
|
+
Content and Bottom components.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
import BasicLayout, { Top, Aside, Main , Container, Bottom } from '@digigov/ui/layouts/Basic';
|
|
13
|
-
function CustomLayout (props){
|
|
14
|
-
return (
|
|
15
|
-
<BasicLayout>
|
|
16
|
-
<Top>Header content</Top>
|
|
17
|
-
<Container>
|
|
18
|
-
<Main>Main content</Main>
|
|
19
|
-
<Aside>Side content</Aside>
|
|
20
|
-
</Container>
|
|
21
|
-
<Bottom>Bottom content</Bottom>
|
|
22
|
-
</BasicLayout>
|
|
23
|
-
)
|
|
24
|
-
}
|
|
25
|
-
export CustomLayout
|
|
11
|
+
## How to use
|
|
26
12
|
|
|
27
|
-
|
|
13
|
+
### Default layout
|
|
28
14
|
|
|
29
|
-
<
|
|
15
|
+
<Story
|
|
16
|
+
packageName="@digigov/ui"
|
|
17
|
+
component="layouts/Basic"
|
|
18
|
+
story="Default.tsx"
|
|
19
|
+
/>
|
|
30
20
|
|
|
31
|
-
|
|
21
|
+
### Two thirds one third columns layout
|
|
22
|
+
<Story
|
|
23
|
+
packageName="@digigov/ui"
|
|
24
|
+
component="layouts/Basic"
|
|
25
|
+
story="TwoThirdsOneThirdColumns.tsx"
|
|
26
|
+
/>
|
|
32
27
|
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
### Multiple rows lyout
|
|
29
|
+
|
|
30
|
+
<Story
|
|
31
|
+
packageName="@digigov/ui"
|
|
32
|
+
component="layouts/Basic"
|
|
33
|
+
story="MultipleRowsLayout.tsx"
|
|
34
|
+
/>
|
|
35
35
|
|
|
36
36
|
## API
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
See below for a complete reference to all of the props available to the components mentioned here.
|
|
39
|
+
|
|
40
|
+
<ComponentProps componentName={["Layout"]} />
|
|
41
|
+
|
|
39
42
|
|
|
40
|
-
<br />
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: grid
|
|
3
|
+
title: Grid
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## How to use
|
|
7
|
+
|
|
8
|
+
Grid compoment is a layout system that allows you to design complex web page layouts with rows and columns.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Default Grid
|
|
12
|
+
|
|
13
|
+
<Story
|
|
14
|
+
packageName="@digigov/ui"
|
|
15
|
+
component="layouts/Grid"
|
|
16
|
+
story="Default.tsx"
|
|
17
|
+
/>
|
|
18
|
+
|
|
19
|
+
### Responsive spacing Grid
|
|
20
|
+
|
|
21
|
+
<Story
|
|
22
|
+
packageName="@digigov/ui"
|
|
23
|
+
component="layouts/Grid"
|
|
24
|
+
story="ResponsiveSpacing.tsx"
|
|
25
|
+
/>
|
|
26
|
+
|
|
27
|
+
### Inline Grid
|
|
28
|
+
|
|
29
|
+
<Story
|
|
30
|
+
packageName="@digigov/ui"
|
|
31
|
+
component="layouts/Grid"
|
|
32
|
+
story="Inline.tsx"
|
|
33
|
+
/>
|
|
34
|
+
|
|
35
|
+
## API
|
|
36
|
+
|
|
37
|
+
See below for a complete reference to all of the props available to the components mentioned here.
|
|
38
|
+
|
|
39
|
+
<ComponentProps componentName={["Grid"]} />
|
package/lazy/index.js
CHANGED
|
@@ -469,6 +469,13 @@ export default {
|
|
|
469
469
|
};
|
|
470
470
|
});
|
|
471
471
|
}),
|
|
472
|
+
'Skeleton': /*#__PURE__*/lazy(function () {
|
|
473
|
+
return import('@digigov/ui/app/Skeleton').then(function (module) {
|
|
474
|
+
return {
|
|
475
|
+
"default": module['Skeleton']
|
|
476
|
+
};
|
|
477
|
+
});
|
|
478
|
+
}),
|
|
472
479
|
'AccordionAuto': /*#__PURE__*/lazy(function () {
|
|
473
480
|
return import('@digigov/ui/content/Accordion/auto').then(function (module) {
|
|
474
481
|
return {
|
|
@@ -1085,6 +1092,13 @@ export default {
|
|
|
1085
1092
|
};
|
|
1086
1093
|
});
|
|
1087
1094
|
}),
|
|
1095
|
+
'AutoCompleteContainer': /*#__PURE__*/lazy(function () {
|
|
1096
|
+
return import('@digigov/ui/form/AutoComplete').then(function (module) {
|
|
1097
|
+
return {
|
|
1098
|
+
"default": module['AutoCompleteContainer']
|
|
1099
|
+
};
|
|
1100
|
+
});
|
|
1101
|
+
}),
|
|
1088
1102
|
'AutoCompleteInput': /*#__PURE__*/lazy(function () {
|
|
1089
1103
|
return import('@digigov/ui/form/AutoComplete').then(function (module) {
|
|
1090
1104
|
return {
|
|
@@ -1099,24 +1113,31 @@ export default {
|
|
|
1099
1113
|
};
|
|
1100
1114
|
});
|
|
1101
1115
|
}),
|
|
1102
|
-
'
|
|
1116
|
+
'AutoCompleteMultipleInput': /*#__PURE__*/lazy(function () {
|
|
1103
1117
|
return import('@digigov/ui/form/AutoComplete').then(function (module) {
|
|
1104
1118
|
return {
|
|
1105
|
-
"default": module['
|
|
1119
|
+
"default": module['AutoCompleteMultipleInput']
|
|
1106
1120
|
};
|
|
1107
1121
|
});
|
|
1108
1122
|
}),
|
|
1109
|
-
'
|
|
1123
|
+
'AutoCompleteMultipleInputContainer': /*#__PURE__*/lazy(function () {
|
|
1110
1124
|
return import('@digigov/ui/form/AutoComplete').then(function (module) {
|
|
1111
1125
|
return {
|
|
1112
|
-
"default": module['
|
|
1126
|
+
"default": module['AutoCompleteMultipleInputContainer']
|
|
1127
|
+
};
|
|
1128
|
+
});
|
|
1129
|
+
}),
|
|
1130
|
+
'AutoCompleteResultList': /*#__PURE__*/lazy(function () {
|
|
1131
|
+
return import('@digigov/ui/form/AutoComplete').then(function (module) {
|
|
1132
|
+
return {
|
|
1133
|
+
"default": module['AutoCompleteResultList']
|
|
1113
1134
|
};
|
|
1114
1135
|
});
|
|
1115
1136
|
}),
|
|
1116
|
-
'
|
|
1137
|
+
'AutoCompleteResultListItem': /*#__PURE__*/lazy(function () {
|
|
1117
1138
|
return import('@digigov/ui/form/AutoComplete').then(function (module) {
|
|
1118
1139
|
return {
|
|
1119
|
-
"default": module['
|
|
1140
|
+
"default": module['AutoCompleteResultListItem']
|
|
1120
1141
|
};
|
|
1121
1142
|
});
|
|
1122
1143
|
}),
|
|
@@ -1127,10 +1148,10 @@ export default {
|
|
|
1127
1148
|
};
|
|
1128
1149
|
});
|
|
1129
1150
|
}),
|
|
1130
|
-
'
|
|
1151
|
+
'AutoCompleteStatusContainer': /*#__PURE__*/lazy(function () {
|
|
1131
1152
|
return import('@digigov/ui/form/AutoComplete/Status').then(function (module) {
|
|
1132
1153
|
return {
|
|
1133
|
-
"default": module['
|
|
1154
|
+
"default": module['AutoCompleteStatusContainer']
|
|
1134
1155
|
};
|
|
1135
1156
|
});
|
|
1136
1157
|
}),
|
|
@@ -1505,6 +1526,90 @@ export default {
|
|
|
1505
1526
|
};
|
|
1506
1527
|
});
|
|
1507
1528
|
}),
|
|
1529
|
+
'CancelIcon': /*#__PURE__*/lazy(function () {
|
|
1530
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1531
|
+
return {
|
|
1532
|
+
"default": module['CancelIcon']
|
|
1533
|
+
};
|
|
1534
|
+
});
|
|
1535
|
+
}),
|
|
1536
|
+
'LockIcon': /*#__PURE__*/lazy(function () {
|
|
1537
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1538
|
+
return {
|
|
1539
|
+
"default": module['LockIcon']
|
|
1540
|
+
};
|
|
1541
|
+
});
|
|
1542
|
+
}),
|
|
1543
|
+
'DownloadIcon': /*#__PURE__*/lazy(function () {
|
|
1544
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1545
|
+
return {
|
|
1546
|
+
"default": module['DownloadIcon']
|
|
1547
|
+
};
|
|
1548
|
+
});
|
|
1549
|
+
}),
|
|
1550
|
+
'PdfFileIcon': /*#__PURE__*/lazy(function () {
|
|
1551
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1552
|
+
return {
|
|
1553
|
+
"default": module['PdfFileIcon']
|
|
1554
|
+
};
|
|
1555
|
+
});
|
|
1556
|
+
}),
|
|
1557
|
+
'PlusIcon': /*#__PURE__*/lazy(function () {
|
|
1558
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1559
|
+
return {
|
|
1560
|
+
"default": module['PlusIcon']
|
|
1561
|
+
};
|
|
1562
|
+
});
|
|
1563
|
+
}),
|
|
1564
|
+
'MinusIcon': /*#__PURE__*/lazy(function () {
|
|
1565
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1566
|
+
return {
|
|
1567
|
+
"default": module['MinusIcon']
|
|
1568
|
+
};
|
|
1569
|
+
});
|
|
1570
|
+
}),
|
|
1571
|
+
'LoginIcon': /*#__PURE__*/lazy(function () {
|
|
1572
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1573
|
+
return {
|
|
1574
|
+
"default": module['LoginIcon']
|
|
1575
|
+
};
|
|
1576
|
+
});
|
|
1577
|
+
}),
|
|
1578
|
+
'RestoreIcon': /*#__PURE__*/lazy(function () {
|
|
1579
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1580
|
+
return {
|
|
1581
|
+
"default": module['RestoreIcon']
|
|
1582
|
+
};
|
|
1583
|
+
});
|
|
1584
|
+
}),
|
|
1585
|
+
'ReplyIcon': /*#__PURE__*/lazy(function () {
|
|
1586
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1587
|
+
return {
|
|
1588
|
+
"default": module['ReplyIcon']
|
|
1589
|
+
};
|
|
1590
|
+
});
|
|
1591
|
+
}),
|
|
1592
|
+
'ChatIcon': /*#__PURE__*/lazy(function () {
|
|
1593
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1594
|
+
return {
|
|
1595
|
+
"default": module['ChatIcon']
|
|
1596
|
+
};
|
|
1597
|
+
});
|
|
1598
|
+
}),
|
|
1599
|
+
'ExclamationIcon': /*#__PURE__*/lazy(function () {
|
|
1600
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1601
|
+
return {
|
|
1602
|
+
"default": module['ExclamationIcon']
|
|
1603
|
+
};
|
|
1604
|
+
});
|
|
1605
|
+
}),
|
|
1606
|
+
'PrintIcon': /*#__PURE__*/lazy(function () {
|
|
1607
|
+
return import('@digigov/ui/utils/SvgIcon').then(function (module) {
|
|
1608
|
+
return {
|
|
1609
|
+
"default": module['PrintIcon']
|
|
1610
|
+
};
|
|
1611
|
+
});
|
|
1612
|
+
}),
|
|
1508
1613
|
'ImageLogo': /*#__PURE__*/lazy(function () {
|
|
1509
1614
|
return import('@digigov/ui/icons/ImageLogo').then(function (module) {
|
|
1510
1615
|
return {
|
|
@@ -2058,6 +2163,13 @@ export default {
|
|
|
2058
2163
|
};
|
|
2059
2164
|
});
|
|
2060
2165
|
}),
|
|
2166
|
+
'Typography': /*#__PURE__*/lazy(function () {
|
|
2167
|
+
return import('@digigov/ui/typography/Typography').then(function (module) {
|
|
2168
|
+
return {
|
|
2169
|
+
"default": module['Typography']
|
|
2170
|
+
};
|
|
2171
|
+
});
|
|
2172
|
+
}),
|
|
2061
2173
|
'Base': /*#__PURE__*/lazy(function () {
|
|
2062
2174
|
return import('@digigov/ui/utils/Base').then(function (module) {
|
|
2063
2175
|
return {
|
|
@@ -2134,12 +2246,5 @@ export default {
|
|
|
2134
2246
|
"default": module['CodeBlock']
|
|
2135
2247
|
};
|
|
2136
2248
|
});
|
|
2137
|
-
}),
|
|
2138
|
-
'Typography': /*#__PURE__*/lazy(function () {
|
|
2139
|
-
return import('@digigov/ui/utils/Typography').then(function (module) {
|
|
2140
|
-
return {
|
|
2141
|
-
"default": module['Typography']
|
|
2142
|
-
};
|
|
2143
|
-
});
|
|
2144
2249
|
})
|
|
2145
2250
|
};
|